On 08/06/2012 09:30 PM, PS = Pete Stieber wrote:
PS>> Have you tried
PS>>
PS>> setenforce 0
PS>>
PS>> to see if the problem is SELinux relates?

On 8/6/2012 11:47 PM, JZ = Joe Zeff wrote:
JZ> I take it, then, that you haven't been
JZ> following the thread about Cargo Cult
JZ> Sysadminning.

No I haven't.

JZ> Unless the OP's been receiving alerts,
JZ> there's no particular reason to think
JZ> that SELinux is an issue here, so why
JZ> disable it?

Just to see if it is the cause of the problem.  Once this is determined...

setenforce 1

I'm attempting to use redmine on a Fedora 17 box and selinux is giving me grief. There are no AVC messages in the audit log. When I restart the service

systemctl restart httpd.service

I see the following in the apache error log...

[Tue Aug 07 18:40:29 2012] [notice] caught SIGTERM, shutting down
[Tue Aug 07 18:40:29 2012] [notice] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0 [Tue Aug 07 18:40:29 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [ pid=9129 thr=140103797811008 file=ext/common/AgentBase.cpp:419 time=2012-08-07 18:40:29.300 ]: *** ERROR: Unexpected end-of-file encountered
     in 'void Passenger::VariantMap::readFrom(int)' (VariantMap.h:140)
in 'Passenger::VariantMap Passenger::initializeAgent(int, char**, const char*)' (AgentBase.cpp:355)

[Tue Aug 07 18:40:29 2012] [error] *** Passenger could not be initialized because of this error: Unable to start the Phusion Passenger watchdog: it seems to have crashed during startup for an unknown reason, with exit code 1
[Tue Aug 07 18:40:29 2012] [notice] SSL FIPS mode disabled
[Tue Aug 07 18:40:29 2012] [notice] Digest: generating secret for digest authentication ...
[Tue Aug 07 18:40:29 2012] [notice] Digest: done
[ pid=9132 thr=140187981117248 file=ext/common/AgentBase.cpp:419 time=2012-08-07 18:40:29.404 ]: *** ERROR: Unexpected end-of-file encountered
     in 'void Passenger::VariantMap::readFrom(int)' (VariantMap.h:140)
in 'Passenger::VariantMap Passenger::initializeAgent(int, char**, const char*)' (AgentBase.cpp:355)

[Tue Aug 07 18:40:29 2012] [error] *** Passenger could not be initialized because of this error: Unable to start the Phusion Passenger watchdog: it seems to have crashed during startup for an unknown reason, with exit code 1
[Tue Aug 07 18:40:29 2012] [notice] SSL FIPS mode disabled
[Tue Aug 07 18:40:29 2012] [notice] Apache/2.2.22 (Unix) DAV/2 PHP/5.4.5 Phusion_Passenger/3.0.13 mod_ssl/2.2.22 OpenSSL/1.0.0j-fips configured -- resuming normal operations

If I temporarily disable selinux, this doesn't occur.

I grepped for passenger in the recent threads and noticed the OP's message and suggested trying this just to see if selinux was the issue. He has stated it isn't. I was just trying to help.

Daniel Walsh and Miroslav Grepl helped me get my redmine setup running with selinux, but one of the recent selinux updates caused a repeated break break.

Sorry I wasn't helping,
Pete


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to