Re: awstats munged httpd rights in SElinux, how to fix?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Gene Heskett wrote:
> Greetings;
> 
> Wanting to see who might have visited my simple web page, I installed awstats 
> from the fedora repo today.
> 
> The awstats selinux helper seems to be an empty file, yumex win't dl it or 
> install it even when checked.
> 
>>From the yumex screen:
> 7:59:02 : Package Queue:
> 17:59:02 :  Packages to install
> 17:59:02 :  ---> awstats-selinux-6.7-1.fc8.noarch 
> 17:59:02 : Preparing for install/remove/update
> 17:59:02 : --> Preparing for install
> 17:59:02 : Package awstats-selinux is obsoleted by awstats, trying to install 
> awstats-6.8-1.fc8.noarch instead
> 17:59:02 : Package awstats-6.8-1.fc8.noarch already installed and latest 
> version
> 17:59:06 : Error in Dependency Resolution
> 17:59:06 : Success - empty transaction
> 
> which is self-explanatory.
> 
> But on attempting to look at my page at localhost, I get connection refused.
> 
> So I as root, do:service httpd restart
> Stopping httpd:                                            [FAILED]
> Starting httpd: (13)Permission denied: httpd: could not open error log 
> file /etc/httpd/logs/error_log.
> Unable to open logs
>                                                            [FAILED]
> 
> And an selinux denial that says I can fix it with this:
> #> setsebool -P httpd_unified=1 
> 
> But I've now executed that line several times without success.
> 
> I've also gone through the httpd stuff and made much of it 0644 and owned by 
> apache:apache.
> 
> Obviously I'm suffering from the local heat and missing the flashing red light 
> here, so what is next folks?  It was all working AFAIK before I installed 
> awstats, when running kernel 2.6.26 just yesterday, but now booted to 
> 2.6.27-rc1.  Dunno which is the culprit.  Help!
> 
Did you check the labeling on the log files?

Are you getting any AVC messages.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkiXV2cACgkQrlYvE4MpobPtJwCffwXWURuSA3W9wWFap8rEQUnn
iIMAoJ2/yI5CEcn5KBipFgRCSF92gqLQ
=OIdW
-----END PGP SIGNATURE-----

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux