<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16825" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=328400512-22052009><FONT face=Arial size=2>I am currently
running spacewalk 0.5 on CentOS5 (although I have tried this on rhel5 with the
same result). Every time I try to push a package, I get the
following:</FONT></SPAN></DIV>
<DIV><SPAN class=328400512-22052009><FONT face=Arial
size=2></FONT></SPAN> </DIV><FONT face=Arial size=2>Internal server error
500 Internal Server Error<BR>Error pushing /opt/apt/<SPAN
class=328400512-22052009>test-channel-i386</SPAN>/RPMS.stable/MQSeriesClient-6.0.0-0.i386.rpm:
Error 500 (500)<BR>Waiting 1 seconds and trying again...<BR>Internal server
error 500 Internal Server Error<BR>Error pushing /opt/apt/<SPAN
class=328400512-22052009>test-channel-i386</SPAN>/RPMS.stable/MQSeriesClient-6.0.0-0.i386.rpm:
Error 500 (500)<BR>Waiting 3 seconds and trying again...<BR>Internal server
error 500 Internal Server Error<BR>Error pushing /opt/apt/<SPAN
class=328400512-22052009>test-channel-i386</SPAN>/RPMS.stable/MQSeriesClient-6.0.0-0.i386.rpm:
Error 500 (500)<BR>Waiting 5 seconds and trying again...<BR>Giving up after 3
attempts<BR></FONT>
<DIV><SPAN class=328400512-22052009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=328400512-22052009><FONT face=Arial size=2>My push line is as
follows:</FONT></SPAN></DIV>
<DIV><SPAN class=328400512-22052009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><FONT face=Arial size=2>rhnpush --channel=<SPAN
class=328400512-22052009>test-channel</SPAN>-i386 --server=http://localhost/APP
--username=rhnpush --password=<SPAN class=328400512-22052009>xxxxx </SPAN>/<SPAN
class=328400512-22052009>usr/local/src</SPAN>/MQSeriesClient-6.0.0-0.i386.rpm</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=328400512-22052009><FONT face=Arial size=2>I set debug=5 in
/etc/rhn.conf and my output in /var/log/rhn/rhn_upload_package_push.log
is</FONT></SPAN></DIV>
<DIV><SPAN class=328400512-22052009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=328400512-22052009><FONT face=Arial
size=2></FONT></SPAN> </DIV><FONT face=Arial size=2>2009/05/22 08:01:15
-04:00 12947 127.0.0.1: server/rhnPackageUpload.headerParserHandler('Method',
'POST')<BR>2009/05/22 08:01:15 -04:00 12947 127.0.0.1:
rhnSQL/driver_cx_Oracle._execute_wrapper('Executing SQL: "select sysdate as ID
from dual" with bind params: {}',)<BR>2009/05/22 08:01:15 -04:00 12947
127.0.0.1: package_push/package_push.headerParserHandler('Username', None,
'Force', 0)<BR>2009/05/22 08:01:15 -04:00 12947 127.0.0.1:
server/rhnPackageUpload.authenticate_session('9xab26076b444d85ec86a4d62eaf13e751',
0)<BR>2009/05/22 08:01:15 -04:00 12947 127.0.0.1:
server/rhnUser.session_reload('9xab26076b444d85ec86a4d62eaf13e751',)<BR>2009/05/22
08:01:15 -04:00 12947 127.0.0.1:
rhnSQL/driver_cx_Oracle._execute_wrapper('Executing SQL: "select web_user_id,
expires, value from pxtSessions where id = :session_id" with bind params:
{session_id: 9}',)<BR>2009/05/22 08:01:15 -04:00 12947 127.0.0.1:
server/rhnUser.reload(2,)<BR>2009/05/22 08:01:15 -04:00 12947 127.0.0.1:
rhnSQL/driver_cx_Oracle._execute_wrapper('Executing SQL: "select * from
web_contact where id = :hashval" with bind params: {hashval: 2}',)<BR>2009/05/22
08:01:15 -04:00 12947 127.0.0.1:
rhnSQL/driver_cx_Oracle._execute_wrapper('Executing SQL: "select * from
web_customer where id = :hashval" with bind params: {hashval:
1}',)<BR>2009/05/22 08:01:15 -04:00 12947 127.0.0.1:
rhnSQL/driver_cx_Oracle._execute_wrapper('Executing SQL: "select * from
web_user_personal_info where web_user_id = :hashval" with bind params: {hashval:
2}',)<BR>2009/05/22 08:01:15 -04:00 12947 127.0.0.1:
rhnSQL/driver_cx_Oracle._execute_wrapper('Executing SQL: "select * from
web_user_contact_permission where web_user_id = :hashval" with bind params:
{hashval: 2}',)<BR>2009/05/22 08:01:15 -04:00 12947 127.0.0.1:
rhnSQL/driver_cx_Oracle._execute_wrapper('Executing SQL: "select * from
web_user_site_info where web_user_id = :userid and type = \'M\'" with bind
params: {userid: 2}',)<BR>2009/05/22 08:01:15 -04:00 12947 127.0.0.1:
importlib/userAuth.getUserGroupsFromUserInstance(2,)<BR>2009/05/22 08:01:15
-04:00 12947 127.0.0.1: rhnSQL/driver_cx_Oracle._execute_wrapper('Executing SQL:
"select ugt.label from rhnUserGroupType ugt, rhnUserGroup ug,
rhnUserGroupMembers ugm where ugm.user_id = :user_id and ugm.user_group_id =
ug.id and ug.group_type = ugt.id" with bind params: {user_id:
2}',)<BR>2009/05/22 08:01:15 -04:00 12947 127.0.0.1:
importlib/userAuth.auth_session("Groups: ['channel_admin']; org_id: 1; user_id:
2",)<BR>2009/05/22 08:01:15 -04:00 12947 127.0.0.1:
importlib/userAuth.authzOrg('info[orgId]', 1, 'org id', 1)<BR>2009/05/22
08:01:15 -04:00 12947 127.0.0.1: importlib/userAuth.isSuperuser('Is NOT
superuser',)<BR>2009/05/22 08:01:15 -04:00 12947 127.0.0.1:
importlib/userAuth.isOrgAdmin('Is NOT org admin',)<BR>2009/05/22 08:01:15 -04:00
12947 127.0.0.1: importlib/userAuth.isSuperuser('Is NOT
superuser',)<BR>2009/05/22 08:01:15 -04:00 12947 127.0.0.1:
importlib/userAuth.isChannelAdmin('Is channel admin',)<BR>2009/05/22 08:01:15
-04:00 12947 127.0.0.1: importlib/userAuth.authzOrg('Org authorized (org_admin
or channel_admin)',)<BR>2009/05/22 08:01:15 -04:00 12947 127.0.0.1:
server/apacheUploadServer._wrapper('Calling', <bound method
PackagePush.handler of
<upload_server.handlers.package_push.package_push.PackagePush instance at
0xb3315ecc>>)<BR>2009/05/22 08:01:15 -04:00 12947 127.0.0.1:
server/rhnPackageUpload.handler('Method', 'POST')<BR>2009/05/22 08:01:15 -04:00
12947 127.0.0.1: server/rhnPackageUpload.relative_path_from_header('NEVRA',
['MQSeriesClient', None, '6.0.0', '0', 'i386'])<BR>2009/05/22 08:01:15 -04:00
12947 127.0.0.1:
server/rhnPackageUpload.relative_path_from_nevra(['MQSeriesClient', None,
'6.0.0', '0', 'i386'], 0)<BR>2009/05/22 08:01:15 -04:00 12947 127.0.0.1:
server/rhnPackageUpload.push_package('/var/satellite',
'redhat/1/3c1/MQSeriesClient/6.0.0-0/i386/3c1ee87a6941d33e40a98559618c876f/MQSeriesClient-6.0.0-0.i386.rpm',
0, 1)<BR>2009/05/22 08:01:15 -04:00 12947 127.0.0.1:
importlib/headerSource.createPackage('Creating package',)<BR>2009/05/22 08:01:16
-04:00 12947 127.0.0.1: server/apacheUploadServer._wrapper('ERROR', 'Unhandled
exception')<BR>2009/05/22 08:01:16 -04:00 12947 127.0.0.1:
server/apacheUploadServer._wrapper('Calling', <bound method
PackagePush.logHandler of
<upload_server.handlers.package_push.package_push.PackagePush instance at
0xb3315ecc>>)<BR>2009/05/22 08:01:16 -04:00 12947 127.0.0.1:
server/apacheUploadServer._wrapper('Calling', <bound method
PackagePush.cleanupHandler of
<upload_server.handlers.package_push.package_push.PackagePush instance at
0xb3315ecc>>)<BR></FONT>
<DIV><SPAN class=328400512-22052009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=328400512-22052009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=328400512-22052009><FONT face=Arial size=2>Additionally in
/var/log/httpd/error_log I see this</FONT></SPAN></DIV>
<DIV><SPAN class=328400512-22052009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=328400512-22052009><FONT face=Arial size=2>RHN 27199 2009/05/22
08:01:12 -04:00: ('Unhandled exception',)<BR>Exception reported from
shobspwklnprd01.usi.mizuho-sc.com<BR>Time: Fri May 22 08:01:15 2009<BR>Exception
type exceptions.IndexError<BR>Exception while handling function
upload_server._wrapper<BR>Request object information:<BR>URI:
/PACKAGE-PUSH<BR>Remote Host: 127.0.0.1<BR>Server Name:
shobspwklnprd01.usi.mizuho-sc.com:0<BR>Headers passed
in:<BR> Accept-Encoding:
identity<BR> Content-Length:
964127<BR> Content-Type:
application/x-rpm<BR> Host:
localhost<BR> User-Agent:
rhnpush<BR> X-RHN-Upload-Auth-Session:
9xab26076b444d85ec86a4d62eaf13e751<BR>
X-RHN-Upload-File-MD5sum:
3c1ee87a6941d33e40a98559618c876f<BR>
X-RHN-Upload-Force: 0<BR>
X-RHN-Upload-Package-Arch: i386<BR>
X-RHN-Upload-Package-Name:
MQSeriesClient<BR>
X-RHN-Upload-Package-Release: 0<BR>
X-RHN-Upload-Package-Version:
6.0.0<BR> X-RHN-Upload-Packaging:
rpm</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=328400512-22052009><FONT face=Arial size=2>Exception Handler
Information<BR>Traceback (most recent call last):<BR> File
"/usr/share/rhn/server/apacheUploadServer.py", line 107, in
_wrapper<BR> ret = function(req)<BR> File
"/usr/share/rhn/upload_server/handlers/package_push/package_push.py", line 145,
in handler<BR> relative_path=self.rel_package_path,
org_id=self.org_id)<BR> File "/usr/share/rhn/server/rhnPackageUpload.py",
line 223, in push_package<BR> header_end=header_end,
channels=channels)<BR> File
"/usr/share/rhn/server/importlib/mpmSource.py", line 210, in
create_package<BR> header_end=header_end,
channels=channels)<BR> File
"/usr/share/rhn/server/importlib/headerSource.py", line 367, in
createPackage<BR> channels)<BR> File
"/usr/share/rhn/server/importlib/headerSource.py", line 138, in
populate<BR> self._populateFiles(header)<BR> File
"/usr/share/rhn/server/importlib/headerSource.py", line 150, in
_populateFiles<BR> self._populateTag(header, 'files',
rpmFile)<BR> File "/usr/share/rhn/server/importlib/headerSource.py", line
204, in _populateTag<BR> hash[k] = v[i]<BR>IndexError: list
index out of range</FONT></SPAN></DIV>
<DIV><SPAN class=328400512-22052009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=328400512-22052009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=328400512-22052009><FONT face=Arial size=2>So far I have tried
uninstalling everything on this server relating to spacewalk & oracle and
reinstalling from the spacewalk wiki & the centos how-to. Additionally
I built a brand new fresh install of rhel5 and centos5 and tried the
installation from the wiki on both with the same exact
result.</FONT></SPAN></DIV></BODY></HTML>
<HTML><BODY><hr>CONFIDENTIAL: This e-mail, including its contents and attachments, if any, are confidential. It is neither an offer to buy or sell, nor a solicitation of an offer to buy or sell, any securities or any related financial instruments mentioned in it. If you are not the named recipient please notify the sender and immediately delete it. You may not disseminate, distribute, or forward this e-mail message or disclose its contents to anybody else. Unless otherwise indicated, copyright and any other intellectual property rights in its contents are the sole property of Mizuho Securities USA Inc.</p><p>E-mail transmission cannot be guaranteed to be secure or error-free. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.</p><p>Although we routinely screen for viruses, addressees should check this e-mail and any attachments for viruses. We make no representation or warranty as to the absence of viruses in this e-mail or any attachments. Please note that to ensure regulatory compliance and for the protection of our customers and business, we may monitor and read e-mails sent to and from our server(s). </p><hr></font></div></BODY></HTML>