Re: Fedora 17, Passenger, Postgresl and Apache

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

 



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@xxxxxxxxxxxxxxxxxxxxxxx
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


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux