[Spacewalk-list] Installing, the 500 error, followup

m.roth2006 at rcn.com m.roth2006 at rcn.com
Tue Feb 3 18:06:54 UTC 2009


Jan,

>Date: Tue, 3 Feb 2009 18:50:40 +0100
>From: Jan Pazdziora <jpazdziora at redhat.com>  
>
>On Tue, Feb 03, 2009 at 09:16:30AM -0800, Mike McCune wrote:
>> m.roth2006 at rcn.com wrote:
>>> So I hit <send> before checking the logs. Guess what: it's back:
>>> [Tue Feb  3 10:04:49 2009] (30309) Apache2::SizeLimit httpd process too big, exiting at SIZE=408792 KB  SHARE=9384 KB  REQUESTS=15 LIFETIME=622 seconds
>>> [Tue Feb 03 10:05:14 2009] [error] Execution of /var/www/html/network/software/channels/manage/index.pxt failed at Tue Feb  3 10:05:14 2009: user_role_acl_test called with no $pxt->user authenticated at /usr/lib/perl5/site_perl/5.8.8/RHN/Access.pm line 60.
>>> [Tue Feb 03 10:05:14 2009] [error] Traceback sent to root at localhost at /usr/lib/perl5/site_perl/5.8.8/PXT/ApacheHandler.pm line 729.
>>>
>>> The same bloody null $pxt->user error.
>>
>> Couple questions since I hit this same error myself:
>>
>> * What selinux mode are you in?

As of this morning, *none*. 
echo 0 > /selinux/enforce
>>
>> * Have you ran "additional Oracle configuration ¶" from here:
>>
>> https://fedorahosted.org/spacewalk/wiki/OracleXeSetup

I'd done that the first go-'round, and Oracle was the only thing I didn't uninstall and reinstall, but yeah, I did them again this morning.
>>
>> After disabling selinux and running those oracle steps the 500 error  
>> went away.
>
>What does
>
>	grep AVC /var/log/audit/audit.log
>
>show?
>
type=USER_AVC msg=audit(1233605913.453:8675): user pid=1973 uid=81 auid=4294967295 subj=system_u:system_r:system_dbusd_t:s0 msg='avc:  received policyload notice (seqno=16) : exe="?" (sauid=81, hostname=?, addr=?, terminal=?)'
type=MAC_POLICY_LOAD msg=audit(1233605913.396:8676): policy loaded auid=501 ses=1278
type=USER_AVC msg=audit(1233605917.838:8677): user pid=1973 uid=81 auid=4294967295 subj=system_u:system_r:system_dbusd_t:s0 msg='avc:  received policyload notice (seqno=17) : exe="?" (sauid=81, hostname=?, addr=?, terminal=?)'
type=USER_ACCT msg=audit(1233606001.651:8678): user pid=13341 uid=0 auid=4294967295 subj=system_u:system_r:crond_t:s0-s0:c0.c1023 msg='PAM: accounting acct="root" : exe="/usr/sbin/crond" (hostname=?, addr=?, terminal=cron res=success)'

are the last two.

Oh, and I seem to have finally gotten rid of the error with rhn being under appBase by moving the thing to /var/www/html/rhn, and then putting a symlink from its original site to there.

      mark




More information about the Spacewalk-list mailing list