Login | Register
My pages Projects Community openCollabNet

Discussions > users > Current not running on RH enterprise 4.0

Project highlights: Stable Version: 1.6.1, Development Version: 1.7.6

current
Discussion topic

Hide all messages in topic

All messages in topic

Re: [Solved] Spoke too soon - Current not running on RH enterprise 4.0

Reply

Author Jack Neely <jjneely at pams dot ncsu dot edu>
Full name Jack Neely <jjneely at pams dot ncsu dot edu>
Date 2005-06-29 20:54:35 PDT
Message Ryan,

Yeah, package import is slow, mainly because rpmlib is slow. You can
turn up the logging to level 4 and you can at least see in your
current.log file what Current is working on.

Jack

On Wed, Jun 29, 2005 at 04:31:51PM -0700, Ryan C. Spaulding wrote:
>
> Hi Jack,
>
> Sorry, should of sent out the resolution. I was trying to import about
> 1565 rpms. I let it run for about 97 minutes before I killed it. I then
> tried to import 10 and it imported fine. I have been adding them in
> about 100 at a time and it seems to be happy now. Postgresql still
> takes up 99% of the cpu for the last bit of the process but it is doing
> it in about 2 minutes. I think having a smaller initial import to get
> the ball rolling so to speak seems to make this thing fly.
>
> Thank you,
>
> Ryan
> On Jun 29, 2005, at 3:44 PM, Jack Neely wrote:
>
> >On Wed, Jun 29, 2005 at 12:38:21PM -0700, Ryan C. Spaulding wrote:
> >>
> >>Hi Jack,
> >>
> >>That is what I thought, but the IO errors where "no such file or
> >>directory" so I just took a shot at it. Right now it is importing but
> >>I
> >>think I am going to kill the postgresql process that is eating up 99%
> >>of the CPU and has been running for close to 30 minutes now. I think I
> >>am going to try a clean removal of current and reinstall 1.6
> >>(currently
> >>at 1.7) and see if my luck changes.
> >>
> >>What kind of times are people seeing for the first channel scan?
> >>
> >>Thank you,
> >>
> >>Ryan
> >
> >Ryan,
> >
> >How many packages are you importing?
> >
> >Jack
> >
> >--
> >Jack Neely <slack at quackmaster dot net>
> >Realm Linux Administration and Development
> >PAMS Computer Operations at NC State University
> >GPG Fingerprint: 1917 5AC1 E828 9337 7AA4 EA6B 213B 765F 3B6A 5B89
> >
> >----------------​--------------------​--------------------​-------------
> >To unsubscribe, e-mail: users-unsubscribe@cu​rrent.tigris.org
> >For additional commands, e-mail: users-help at current dot tigris dot org
> >
>
>
> --------------------​--------------------​--------------------​---------
> To unsubscribe, e-mail: users-unsubscribe@cu​rrent.tigris.org
> For additional commands, e-mail: users-help at current dot tigris dot org
>

--
Jack Neely <slack at quackmaster dot net>
Realm Linux Administration and Development
PAMS Computer Operations at NC State University
GPG Fingerprint: 1917 5AC1 E828 9337 7AA4 EA6B 213B 765F 3B6A 5B89

Re: [Solved] Spoke too soon - Current not running on RH enterprise 4.0

Reply

Author "Ryan C dot Spaulding" <rspaulding at mail dot arc dot nasa dot gov>
Full name "Ryan C dot Spaulding" <rspaulding at mail dot arc dot nasa dot gov>
Date 2005-06-29 16:31:51 PDT
Message Hi Jack,

Sorry, should of sent out the resolution. I was trying to import about
1565 rpms. I let it run for about 97 minutes before I killed it. I then
tried to import 10 and it imported fine. I have been adding them in
about 100 at a time and it seems to be happy now. Postgresql still
takes up 99% of the cpu for the last bit of the process but it is doing
it in about 2 minutes. I think having a smaller initial import to get
the ball rolling so to speak seems to make this thing fly.

Thank you,

Ryan
On Jun 29, 2005, at 3:44 PM, Jack Neely wrote:

> On Wed, Jun 29, 2005 at 12:38:21PM -0700, Ryan C. Spaulding wrote:
>>
>> Hi Jack,
>>
>> That is what I thought, but the IO errors where "no such file or
>> directory" so I just took a shot at it. Right now it is importing but
>> I
>> think I am going to kill the postgresql process that is eating up 99%
>> of the CPU and has been running for close to 30 minutes now. I think I
>> am going to try a clean removal of current and reinstall 1.6
>> (currently
>> at 1.7) and see if my luck changes.
>>
>> What kind of times are people seeing for the first channel scan?
>>
>> Thank you,
>>
>> Ryan
>
> Ryan,
>
> How many packages are you importing?
>
> Jack
>
> --
> Jack Neely <slack at quackmaster dot net>
> Realm Linux Administration and Development
> PAMS Computer Operations at NC State University
> GPG Fingerprint: 1917 5AC1 E828 9337 7AA4 EA6B 213B 765F 3B6A 5B89
>
> --------------------​--------------------​--------------------​---------
> To unsubscribe, e-mail: users-unsubscribe@cu​rrent.tigris.org
> For additional commands, e-mail: users-help at current dot tigris dot org
>

Re: [Solved] Spoke too soon - Current not running on RH enterprise 4.0

Reply

Author Jack Neely <jjneely at pams dot ncsu dot edu>
Full name Jack Neely <jjneely at pams dot ncsu dot edu>
Date 2005-06-29 15:44:20 PDT
Message On Wed, Jun 29, 2005 at 12:38:21PM -0700, Ryan C. Spaulding wrote:
>
> Hi Jack,
>
> That is what I thought, but the IO errors where "no such file or
> directory" so I just took a shot at it. Right now it is importing but I
> think I am going to kill the postgresql process that is eating up 99%
> of the CPU and has been running for close to 30 minutes now. I think I
> am going to try a clean removal of current and reinstall 1.6 (currently
> at 1.7) and see if my luck changes.
>
> What kind of times are people seeing for the first channel scan?
>
> Thank you,
>
> Ryan

Ryan,

How many packages are you importing?

Jack

--
Jack Neely <slack at quackmaster dot net>
Realm Linux Administration and Development
PAMS Computer Operations at NC State University
GPG Fingerprint: 1917 5AC1 E828 9337 7AA4 EA6B 213B 765F 3B6A 5B89

Re: [Solved] Spoke too soon - Current not running on RH enterprise 4.0

Reply

Author "Ryan C dot Spaulding" <rspaulding at mail dot arc dot nasa dot gov>
Full name "Ryan C dot Spaulding" <rspaulding at mail dot arc dot nasa dot gov>
Date 2005-06-29 12:38:21 PDT
Message Hi Jack,

That is what I thought, but the IO errors where "no such file or
directory" so I just took a shot at it. Right now it is importing but I
think I am going to kill the postgresql process that is eating up 99%
of the CPU and has been running for close to 30 minutes now. I think I
am going to try a clean removal of current and reinstall 1.6 (currently
at 1.7) and see if my luck changes.

What kind of times are people seeing for the first channel scan?

Thank you,

Ryan
On Jun 29, 2005, at 12:29 PM, Jack Neely wrote:

> Ryan,
>
> Odd. You should have to create the directory for Current you have
> defined in the current.conf file. (Normally created by the RPM I
> think.) But then Current should create all the other directories
> itself.
>
> Jack
>
> On Wed, Jun 29, 2005 at 11:37:01AM -0700, Ryan C. Spaulding wrote:
>>
>> Hi ,
>>
>> Had to create the following directories inside of the channel
>> directories:
>>
>> getObsoletes
>> getPackage
>> getPackageHeader
>> getPackageSource
>> listPackages
>>
>> Then chown it to the owner of the httpd process and chmod 755 on the
>> dirs
>>
>>
>> Thank you,
>>
>> Ryan
>> On Jun 28, 2005, at 3:24 PM, Ryan C. Spaulding wrote:
>>
>
> --
> Jack Neely <slack at quackmaster dot net>
> Realm Linux Administration and Development
> PAMS Computer Operations at NC State University
> GPG Fingerprint: 1917 5AC1 E828 9337 7AA4 EA6B 213B 765F 3B6A 5B89
>
> --------------------​--------------------​--------------------​---------
> To unsubscribe, e-mail: users-unsubscribe@cu​rrent.tigris.org
> For additional commands, e-mail: users-help at current dot tigris dot org
>

Re: [Solved] Spoke too soon - Current not running on RH enterprise 4.0

Reply

Author Jack Neely <jjneely at pams dot ncsu dot edu>
Full name Jack Neely <jjneely at pams dot ncsu dot edu>
Date 2005-06-29 12:29:12 PDT
Message Ryan,

Odd. You should have to create the directory for Current you have
defined in the current.conf file. (Normally created by the RPM I
think.) But then Current should create all the other directories
itself.

Jack

On Wed, Jun 29, 2005 at 11:37:01AM -0700, Ryan C. Spaulding wrote:
>
> Hi ,
>
> Had to create the following directories inside of the channel
> directories:
>
> getObsoletes
> getPackage
> getPackageHeader
> getPackageSource
> listPackages
>
> Then chown it to the owner of the httpd process and chmod 755 on the
> dirs
>
>
> Thank you,
>
> Ryan
> On Jun 28, 2005, at 3:24 PM, Ryan C. Spaulding wrote:
>

--
Jack Neely <slack at quackmaster dot net>
Realm Linux Administration and Development
PAMS Computer Operations at NC State University
GPG Fingerprint: 1917 5AC1 E828 9337 7AA4 EA6B 213B 765F 3B6A 5B89

[Solved] Spoke too soon - Current not running on RH enterprise 4.0

Reply

Author "Ryan C dot Spaulding" <rspaulding at mail dot arc dot nasa dot gov>
Full name "Ryan C dot Spaulding" <rspaulding at mail dot arc dot nasa dot gov>
Date 2005-06-29 11:37:01 PDT
Message Hi ,

Had to create the following directories inside of the channel
directories:

getObsoletes
getPackage
getPackageHeader
getPackageSource
listPackages

Then chown it to the owner of the httpd process and chmod 755 on the
dirs


Thank you,

Ryan
On Jun 28, 2005, at 3:24 PM, Ryan C. Spaulding wrote:

>
> Hi All,
>
> I was able to add all of the channels and directories I wanted but now
> I cannot scan the channels:
>
> [root@current RHEL-4WS-i386]# cadmin scan_channel -l RHEL-3WS-i386
> Traceback (most recent call last):
> File "/usr/sbin/cadmin", line 131, in ?
> main()
> File "/usr/sbin/cadmin", line 118, in main
> scan_channels(sys.argv[2:])
> File "/usr/sbin/cadmin", line 55, in scan_channels
> result = rpcServer.doCall(ser​ver.cadmin.scanChann​els, chan)
> File "/usr/share/rhn/up2d​ate_client/rpcServer​.py", line 309, in
> doCall
> ret = apply(method, args, kwargs)
> File "/usr/lib/python2.3/​xmlrpclib.py", line 1029, in __call__
> return self.__send(self.__name, args)
> File "/usr/share/rhn/up2d​ate_client/rpcServer​.py", line 45, in
> _request1
> ret = self._request(methodname, params)
> File "/usr/lib/python2.3/​site-packages/rhn/rp​clib.py", line 308, in
> _request
> verbose=self._verbose
> File "/usr/lib/python2.3/​site-packages/rhn/tr​ansports.py", line 184,
> in request
> return self._process_response(fd, connection)
> File "/usr/lib/python2.3/​site-packages/rhn/tr​ansports.py", line 212,
> in _process_response
> return self.parse_response(fd)
> File "/usr/lib/python2.3/​site-packages/rhn/tr​ansports.py", line 236,
> in parse_response
> return u.close()
> File "/usr/lib/python2.3/​xmlrpclib.py", line 742, in close
> raise Fault(**self._stack[0])
> xmlrpclib.Fault: <Fault 1000: 'Function scanChannels call blew up.
> Bad week.'>
>
> The above output happens regardless of the channel. I logged into the
> database and verified that the channels where there and valid. I have
> a few stupid questions about the process:
>
> 1) Who should create the channel directories under /www? In the last
> install I created them and the sub directories where created but which
> step I am not sure since it was pretty hassle free last time.
> 2)Do the sub directories of the channel directories need to be created
> by me or will they be created by cadmin?
> 3) When the scanning is happening who is it running as (I am assuming
> root but I wanted to be sure)?
> 4) What should the permissions be on the rpm's and the directories?
>
> Below is a snippet from the current.log
>
> Jun 28 15:11:49 Inside Current main hander
> Jun 28 15:11:49 Requesting: cadmin.scanChannels
> Jun 28 15:11:49 with params = [{'channels': ['RHEL-3WS-i386']}]
> Jun 28 15:11:49 method = cadmin.scanChannels
> Jun 28 15:11:49 module = cadmin
> Jun 28 15:11:49 function = scanChannels
> Jun 28 15:11:49 (/usr/share/current/​current_apache.py,
> callAPIMethod(), 288): params = [{'channels': ['RHEL-3WS-i386']}]
> Jun 28 15:11:49 Dispatching: cadmin.scanChannels
> Jun 28 15:11:49
> /usr/share/current/a​pi/cadmin.py:scanCha​nnels({'chanlist':
> {'channels': ['RHEL-3WS-i386']}, 'result': {}})
> Jun 28 15:11:49
> /usr/share/current/d​b/currentdb.py:updat​eChannel({'channel':​
> 'RHEL-3WS-i386'})
> Jun 28 15:11:49
> /usr/share/current/d​b/currentdb.py:_addR​pms({'add_set':
> Set(['/current/RHEL/​3WS/i386-common/kinp​ut2-canna-wnn6-v3.1
> -12.EL.i386.rpm',
> '/current/RHEL/3WS/i​386-common/ethereal-​gnome-0.10.5
> -0.30E.2.i386.rpm',
> '/current/RHEL/3WS/i​386-common/pkgconfig​-0.14.0-5.i386.rpm',​
> '/current/RHEL/3WS/i​386-common/laus-0.1-​70RHEL3.i386.rpm',
> '/current/RHEL/3WS/i​386-common/rh-postgr​esql-jdbc-7.3.10-1.i​386.rpm',
> ---many packages do not want to fill up that in the email
>
> Jun 28 15:11:49 Adding
> /current/RHEL/3WS/i3​86-common/kinput2-ca​nna-wnn6-v3.1-12.EL.​i386.rpm
> to channel RHEL-3WS-i386
> Jun 28 15:11:49 (/usr/share/current/​db/currentdb.py,
> _insertChannelTable(), 358): RPM ID=10 added to channel
> Jun 28 15:11:49 (/usr/share/current/​db/currentdb.py, _createHeader(),
> 365): Inside _createHeader
> Jun 28 15:11:49 Database transaction aborted!
> Jun 28 15:11:49 ERROR: Recognized function cadmin.scanChannels blew up
> with undefined error
> Jun 28 15:1149 : EXCEPTION in /usr/share/current/c​urrent_apache.py,
> callAPIMethod(), 317 [logException()]
> Traceback (most recent call last):
> File "/usr/share/current/​current_apache.py", line 294, in
> callAPIMethod result = apply(func, params)
> File "/usr/share/current/​api/cadmin.py", line 39, in scanChannels
> result[chan] = db.db.updateChannel(chan)
> File "/usr/share/current/​db/currentdb.py", line 158, in updateChannel
> result['addedrpms'] = self._addRpms(channel, added_rpms)
> File "/usr/share/current/​db/currentdb.py", line 329, in _addRpms
> self._createHeader(channel, header)
> File "/usr/share/current/​db/currentdb.py", line 370, in _createHeader
> header.unload(dirname)
> File "/usr/share/current/RPM.py", line 181, in unload h_file =
> file(pathname, 'wb')
> IOError: [Errno 2] No such file or directory:
> '/current/www/RHEL-3​WS-i386/getPackageHe​ader/kinput2-canna-w​nn6-v3.1
> -12.EL.i386.hdr'
> Jun 28 15:11:49 params were: [{'channels': ['RHEL-3WS-i386']}]
> Jun 28 15:11:49 API Result = <Fault 1000: u'Function scanChannels call
> blew up. Bad week.'>
> Jun 28 15:11:49 Fault: <Fault 1000: u'Function scanChannels call blew
> up. Bad week.'>
> Jun 28 15:11:49 (/usr/share/current/​current_apache.py,
> sendClientResult(), 240): Data sent.
> Jun 28 15:11:49 sendClientResult() finished
>
> Thank you,
>
> Ryan
> On Jun 28, 2005, at 1:53 PM, Ryan C. Spaulding wrote:
>
>>
>> Hi Jack,
>>
>> It worked!!
>>
>> [root@current 3WS]# cadmin create_channel -l RHEL-3WS-i386 -a i386 -r
>> 3WS -n "Red Hat Enterprise Linux WS (v.3 for x86)"
>> {'msg': 0, 'status': 'ok', 'call': 'Backend call returned without
>> error'}
>>
>> I had the packages in the distro but was waiting to get current
>> working so I could update the system.
>>
>> Thank you,
>>
>> Ryan
>> On Jun 28, 2005, at 1:27 PM, Jack Neely wrote:
>>
>>> Ryan,
>>>
>>> Crap, looks like you got bitten by the broketastic postgres python
>>> bindings in FC3 that apperently made it into RHEL 4. Are you using
>>> the latest available postgresql packages?
>>>
>>> Depending on if RH has fixed the postgres packages in RHEL 4 or not
>>> you might want to grab the latest ones out of FC3 and use those
>>> instead.
>>>
>>> Jack
>>>
>>> --------------------​--------------------​--------------------​---------
>>> To unsubscribe, e-mail: users-unsubscribe@cu​rrent.tigris.org
>>> For additional commands, e-mail: users-help at current dot tigris dot org
>>>
>>
>>
>> --------------------​--------------------​--------------------​---------
>> To unsubscribe, e-mail: users-unsubscribe@cu​rrent.tigris.org
>> For additional commands, e-mail: users-help at current dot tigris dot org
>>
>
>
> --------------------​--------------------​--------------------​---------
> To unsubscribe, e-mail: users-unsubscribe@cu​rrent.tigris.org
> For additional commands, e-mail: users-help at current dot tigris dot org
>

Spoke to soon - Current not running on RH enterprise 4.0

Reply

Author "Ryan C dot Spaulding" <rspaulding at mail dot arc dot nasa dot gov>
Full name "Ryan C dot Spaulding" <rspaulding at mail dot arc dot nasa dot gov>
Date 2005-06-28 15:24:05 PDT
Message Hi All,

I was able to add all of the channels and directories I wanted but now
I cannot scan the channels:

[root@current RHEL-4WS-i386]# cadmin scan_channel -l RHEL-3WS-i386
Traceback (most recent call last):
   File "/usr/sbin/cadmin", line 131, in ?
     main()
   File "/usr/sbin/cadmin", line 118, in main
     scan_channels(sys.argv[2:])
   File "/usr/sbin/cadmin", line 55, in scan_channels
     result = rpcServer.doCall(ser​ver.cadmin.scanChann​els, chan)
   File "/usr/share/rhn/up2d​ate_client/rpcServer​.py", line 309, in doCall
     ret = apply(method, args, kwargs)
   File "/usr/lib/python2.3/​xmlrpclib.py", line 1029, in __call__
     return self.__send(self.__name, args)
   File "/usr/share/rhn/up2d​ate_client/rpcServer​.py", line 45, in
_request1
     ret = self._request(methodname, params)
   File "/usr/lib/python2.3/​site-packages/rhn/rp​clib.py", line 308, in
_request
     verbose=self._verbose
   File "/usr/lib/python2.3/​site-packages/rhn/tr​ansports.py", line 184,
in request
     return self._process_response(fd, connection)
   File "/usr/lib/python2.3/​site-packages/rhn/tr​ansports.py", line 212,
in _process_response
     return self.parse_response(fd)
   File "/usr/lib/python2.3/​site-packages/rhn/tr​ansports.py", line 236,
in parse_response
     return u.close()
   File "/usr/lib/python2.3/​xmlrpclib.py", line 742, in close
     raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault 1000: 'Function scanChannels call blew up. Bad
week.'>

The above output happens regardless of the channel. I logged into the
database and verified that the channels where there and valid. I have a
few stupid questions about the process:

1) Who should create the channel directories under /www? In the last
install I created them and the sub directories where created but which
step I am not sure since it was pretty hassle free last time.
2)Do the sub directories of the channel directories need to be created
by me or will they be created by cadmin?
3) When the scanning is happening who is it running as (I am assuming
root but I wanted to be sure)?
4) What should the permissions be on the rpm's and the directories?

Below is a snippet from the current.log

Jun 28 15:11:49 Inside Current main hander
Jun 28 15:11:49 Requesting: cadmin.scanChannels
Jun 28 15:11:49 with params = [{'channels': ['RHEL-3WS-i386']}]
Jun 28 15:11:49 method = cadmin.scanChannels
Jun 28 15:11:49 module = cadmin
Jun 28 15:11:49 function = scanChannels
Jun 28 15:11:49 (/usr/share/current/​current_apache.py, callAPIMethod(),
288): params = [{'channels': ['RHEL-3WS-i386']}]
Jun 28 15:11:49 Dispatching: cadmin.scanChannels
Jun 28 15:11:49
/usr/share/current/a​pi/cadmin.py:scanCha​nnels({'chanlist': {'channels':
['RHEL-3WS-i386']}, 'result': {}})
Jun 28 15:11:49
/usr/share/current/d​b/currentdb.py:updat​eChannel({'channel':​
'RHEL-3WS-i386'})
Jun 28 15:11:49 /usr/share/current/d​b/currentdb.py:_addR​pms({'add_set':
Set(['/current/RHEL/​3WS/i386-common/kinp​ut2-canna-wnn6-v3.1
-12.EL.i386.rpm',
'/current/RHEL/3WS/i​386-common/ethereal-​gnome-0.10.5-0.30E.2​.i386.rpm',
'/current/RHEL/3WS/i​386-common/pkgconfig​-0.14.0-5.i386.rpm',​
'/current/RHEL/3WS/i​386-common/laus-0.1-​70RHEL3.i386.rpm',
'/current/RHEL/3WS/i​386-common/rh-postgr​esql-jdbc-7.3.10-1.i​386.rpm',
---many packages do not want to fill up that in the email

Jun 28 15:11:49 Adding
/current/RHEL/3WS/i3​86-common/kinput2-ca​nna-wnn6-v3.1-12.EL.​i386.rpm to
channel RHEL-3WS-i386
Jun 28 15:11:49 (/usr/share/current/​db/currentdb.py,
_insertChannelTable(), 358): RPM ID=10 added to channel
Jun 28 15:11:49 (/usr/share/current/​db/currentdb.py, _createHeader(),
365): Inside _createHeader
Jun 28 15:11:49 Database transaction aborted!
Jun 28 15:11:49 ERROR: Recognized function cadmin.scanChannels blew up
with undefined error
Jun 28 15:1149 : EXCEPTION in /usr/share/current/c​urrent_apache.py,
callAPIMethod(), 317 [logException()]
Traceback (most recent call last):
File "/usr/share/current/​current_apache.py", line 294, in callAPIMethod
    result = apply(func, params)
File "/usr/share/current/​api/cadmin.py", line 39, in scanChannels
result[chan] = db.db.updateChannel(chan)
File "/usr/share/current/​db/currentdb.py", line 158, in updateChannel
  result['addedrpms'] = self._addRpms(channel, added_rpms)
File "/usr/share/current/​db/currentdb.py", line 329, in _addRpms
self._createHeader(channel, header)
File "/usr/share/current/​db/currentdb.py", line 370, in _createHeader
  header.unload(dirname)
File "/usr/share/current/RPM.py", line 181, in unload h_file =
file(pathname, 'wb')
IOError: [Errno 2] No such file or directory:
'/current/www/RHEL-3​WS-i386/getPackageHe​ader/kinput2-canna-w​nn6-v3.1
-12.EL.i386.hdr'
Jun 28 15:11:49 params were: [{'channels': ['RHEL-3WS-i386']}]
Jun 28 15:11:49 API Result = <Fault 1000: u'Function scanChannels call
blew up. Bad week.'>
Jun 28 15:11:49 Fault: <Fault 1000: u'Function scanChannels call blew
up. Bad week.'>
Jun 28 15:11:49 (/usr/share/current/​current_apache.py,
sendClientResult(), 240): Data sent.
Jun 28 15:11:49 sendClientResult() finished

Thank you,

Ryan
On Jun 28, 2005, at 1:53 PM, Ryan C. Spaulding wrote:

>
> Hi Jack,
>
> It worked!!
>
> [root@current 3WS]# cadmin create_channel -l RHEL-3WS-i386 -a i386 -r
> 3WS -n "Red Hat Enterprise Linux WS (v.3 for x86)"
> {'msg': 0, 'status': 'ok', 'call': 'Backend call returned without
> error'}
>
> I had the packages in the distro but was waiting to get current
> working so I could update the system.
>
> Thank you,
>
> Ryan
> On Jun 28, 2005, at 1:27 PM, Jack Neely wrote:
>
>> Ryan,
>>
>> Crap, looks like you got bitten by the broketastic postgres python
>> bindings in FC3 that apperently made it into RHEL 4. Are you using
>> the latest available postgresql packages?
>>
>> Depending on if RH has fixed the postgres packages in RHEL 4 or not
>> you might want to grab the latest ones out of FC3 and use those
>> instead.
>>
>> Jack
>>
>> --------------------​--------------------​--------------------​---------
>> To unsubscribe, e-mail: users-unsubscribe@cu​rrent.tigris.org
>> For additional commands, e-mail: users-help at current dot tigris dot org
>>
>
>
> --------------------​--------------------​--------------------​---------
> To unsubscribe, e-mail: users-unsubscribe@cu​rrent.tigris.org
> For additional commands, e-mail: users-help at current dot tigris dot org
>

Re: Current not running on RH enterprise 4.0

Reply

Author "Ryan C dot Spaulding" <rspaulding at mail dot arc dot nasa dot gov>
Full name "Ryan C dot Spaulding" <rspaulding at mail dot arc dot nasa dot gov>
Date 2005-06-28 13:53:16 PDT
Message Hi Jack,

It worked!!

[root@current 3WS]# cadmin create_channel -l RHEL-3WS-i386 -a i386 -r
3WS -n "Red Hat Enterprise Linux WS (v.3 for x86)"
{'msg': 0, 'status': 'ok', 'call': 'Backend call returned without
error'}

I had the packages in the distro but was waiting to get current working
so I could update the system.

Thank you,

Ryan
On Jun 28, 2005, at 1:27 PM, Jack Neely wrote:

> Ryan,
>
> Crap, looks like you got bitten by the broketastic postgres python
> bindings in FC3 that apperently made it into RHEL 4. Are you using
> the latest available postgresql packages?
>
> Depending on if RH has fixed the postgres packages in RHEL 4 or not
> you might want to grab the latest ones out of FC3 and use those
> instead.
>
> Jack
>
> --------------------​--------------------​--------------------​---------
> To unsubscribe, e-mail: users-unsubscribe@cu​rrent.tigris.org
> For additional commands, e-mail: users-help at current dot tigris dot org
>

Re: Current not running on RH enterprise 4.0

Reply

Author theslack
Full name Jack Neely
Date 2005-06-28 13:27:30 PDT
Message Ryan,

Crap, looks like you got bitten by the broketastic postgres python
bindings in FC3 that apperently made it into RHEL 4. Are you using
the latest available postgresql packages?

Depending on if RH has fixed the postgres packages in RHEL 4 or not
you might want to grab the latest ones out of FC3 and use those
instead.

Jack

Re: Current not running on RH enterprise 4.0

Reply

Author "Ryan C dot Spaulding" <rspaulding at mail dot arc dot nasa dot gov>
Full name "Ryan C dot Spaulding" <rspaulding at mail dot arc dot nasa dot gov>
Date 2005-06-28 12:36:03 PDT
Message Hi Jack,

Jun 28 12:35:17 Inside Current main hander
Jun 28 12:35:17 Requesting: cadmin.createChannel
Jun 28 12:35:17 with params = [{'arch': 'x86_64',
   'desc': '',
   'label': 'RHEL-4WS-x86_64',
   'name': 'Red Hat Enterprise Linux WS (v.4 for 64-bit AMD64/Intel
EM64T',
   'release': '4WS'}]
Jun 28 12:35:17 method = cadmin.createChannel
Jun 28 12:35:17 module = cadmin
Jun 28 12:35:17 function = createChannel
Jun 28 12:35:17 (/usr/share/current/​current_apache.py, callAPIMethod(),
288): params = [{'arch': 'x86_64',
   'desc': '',
   'label': 'RHEL-4WS-x86_64',
   'name': 'Red Hat Enterprise Linux WS (v.4 for 64-bit AMD64/Intel
EM64T',
   'release': '4WS'}]
Jun 28 12:35:17 Dispatching: cadmin.createChannel
Jun 28 12:35:17
/usr/share/current/a​pi/cadmin.py:createC​hannel({'result': {},
'channel': {'release': '4WS', 'label': 'RHEL-4WS-x86_64', 'arch':
'x86_64', 'name': 'Red Hat Enterprise Linux WS (v.4 for 64-bit
AMD64/Intel EM64T', 'desc': ''}})
Jun 28 12:35:17
/usr/share/current/d​b/currentdb.py:makeC​hannel({'channel': {'release':
'4WS', 'label': 'RHEL-4WS-x86_64', 'arch': 'x86_64', 'name': 'Red Hat
Enterprise Linux WS (v.4 for 64-bit AMD64/Intel EM64T', 'desc': ''}})
Jun 28 12:35:17 Database transaction aborted!
Jun 28 12:35:17 ERROR: Recognized function cadmin.createChannel blew up
with undefined error
Jun 28 12:3517 : EXCEPTION in /usr/share/current/c​urrent_apache.py,
callAPIMethod(), 317 [logException()]
Traceback (most recent call last):
   File "/usr/share/current/​current_apache.py", line 294, in
callAPIMethod
     result = apply(func, params)
   File "/usr/share/current/​api/cadmin.py", line 55, in createChannel
     result['msg'] = db.db.makeChannel(channel)
   File "/usr/share/current/​db/currentdb.py", line 106, in makeChannel
     (channel['name'],
   File "/usr/lib/python2.3/​site-packages/pgdb.p​y", line 188, in execute
     self.executemany(operation, (params,))
   File "/usr/lib/python2.3/​site-packages/pgdb.p​y", line 209, in
executemany
     raise OperationalError, "internal error in '%s'" % sql
OperationalError: internal error in 'INIT'
Jun 28 12:35:17 params were: [{'arch': 'x86_64',
   'desc': '',
   'label': 'RHEL-4WS-x86_64',
   'name': 'Red Hat Enterprise Linux WS (v.4 for 64-bit AMD64/Intel
EM64T',
   'release': '4WS'}]
Jun 28 12:35:17 API Result = <Fault 1000: u'Function createChannel call
blew up. Bad week.'>
Jun 28 12:35:17 Fault: <Fault 1000: u'Function createChannel call blew
up. Bad week.'>
Jun 28 12:35:17 (/usr/share/current/​current_apache.py,
sendClientResult(), 240): Data sent.
Jun 28 12:35:17 sendClientResult() finished


Thank you,

Ryan
On Jun 28, 2005, at 12:22 PM, Jack Neely wrote:

> Ryan,
>
> What does your current.log file say?
>
> Jack
> --
> Jack Neely <slack at quackmaster dot net>
> Realm Linux Administration and Development
> PAMS Computer Operations at NC State University
> GPG Fingerprint: 1917 5AC1 E828 9337 7AA4 EA6B 213B 765F 3B6A 5B89
>
> --------------------​--------------------​--------------------​---------
> To unsubscribe, e-mail: users-unsubscribe@cu​rrent.tigris.org
> For additional commands, e-mail: users-help at current dot tigris dot org
>

Re: Current not running on RH enterprise 4.0

Reply

Author Jack Neely <jjneely at pams dot ncsu dot edu>
Full name Jack Neely <jjneely at pams dot ncsu dot edu>
Date 2005-06-28 12:22:52 PDT
Message Ryan,

What does your current.log file say?

Jack
--
Jack Neely <slack at quackmaster dot net>
Realm Linux Administration and Development
PAMS Computer Operations at NC State University
GPG Fingerprint: 1917 5AC1 E828 9337 7AA4 EA6B 213B 765F 3B6A 5B89

Current not running on RH enterprise 4.0

Reply

Author "Ryan C dot Spaulding" <rspaulding at mail dot arc dot nasa dot gov>
Full name "Ryan C dot Spaulding" <rspaulding at mail dot arc dot nasa dot gov>
Date 2005-06-28 11:07:18 PDT
Message Hi,

I am trying to move our current server onto new hardware (actually the
hardware is identical but we wanted to move it onto its own system) and
upgrading the OS to 4.0WS.

Old System (working):
current - 1.5
OS - 3.0 AS
Postgresql - 7.3
Apache - 2.0
Python - 2.2.3

New System:
Tried current versions 1.5, 1.6 and 1.7
OS - 4.0 WS
Postgresql - 7.4
Apache - 2.0
Python - 2.3.4

Anytime I try to use cadmin to add a channel I get the following error
(with all versions 1.5, 1.6 and 1.7):

[root@current ~]# cadmin create_channel -l RHEL-3WS-i386 -a i386 -r 3WS
-n "Red Hat Enterprise Linux WS (v.3 for 32-bit)"
Traceback (most recent call last):
   File "/usr/sbin/cadmin", line 131, in ?
     main()
   File "/usr/sbin/cadmin", line 114, in main
     create_channel(sys.argv[2:])
   File "/usr/sbin/cadmin", line 80, in create_channel
     result = rpcServer.doCall(ser​ver.cadmin.createCha​nnel, chan)
   File "/usr/share/rhn/up2d​ate_client/rpcServer​.py", line 309, in doCall
     ret = apply(method, args, kwargs)
   File "/usr/lib/python2.3/​xmlrpclib.py", line 1029, in __call__
     return self.__send(self.__name, args)
   File "/usr/share/rhn/up2d​ate_client/rpcServer​.py", line 45, in
_request1
     ret = self._request(methodname, params)
   File "/usr/lib/python2.3/​site-packages/rhn/rp​clib.py", line 308, in
_request
     verbose=self._verbose
   File "/usr/lib/python2.3/​site-packages/rhn/tr​ansports.py", line 184,
in request
     return self._process_response(fd, connection)
   File "/usr/lib/python2.3/​site-packages/rhn/tr​ansports.py", line 212,
in _process_response
     return self.parse_response(fd)
   File "/usr/lib/python2.3/​site-packages/rhn/tr​ansports.py", line 236,
in parse_response
     return u.close()
   File "/usr/lib/python2.3/​xmlrpclib.py", line 742, in close
     raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault 1000: 'Function createChannel call blew up.
Bad week.'>

The connection to Postgresql works:
Jun 28 10:03:10 current postgres[29378]: [1-1] LOG: connection
received: host=[local] port=
Jun 28 10:03:10 current postgres[29378]: [2-1] LOG: connection
authorized: user=currentuser database=current

Am I missing a configuration file or something since the error message
is the same regardless of the version of current I am attempting to
run. I followed the same set up from the previous installation which
came together will little effort. I also went back to the online
documentation and followed all of the installation and set up steps to
make sure I was not skipping anything.

Any help will be appreciated.

Thank you,

Ryan
Messages per page: