Re: apache apparently starts, crashes, logs absolutely nothing

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

 



Increase de debug log, those warnings indicate you have more than one directive loading the same module, get rid of them too.

But without further information and seeing how you use "service" and not a httpd own script/binary to start httpd, it could be anything.

I would try with apachectl start or running httpd directly to make sure and increase the log to debug if you don't get enough info. Might be worth to try your OS logs when you run "service".

And yes, 2.4 + prefork + mod_php is by all means not a good combo.

Regards

El Wed Jan 28 2015 at 19:16:18, David Benfell (<benfell@xxxxxxxxxxxxxxxxx>) escribió:
Hi,

This is on FreeBSD:
FreeBSD home.parts-unknown.org 10.1-STABLE FreeBSD 10.1-STABLE #0 r277815: Tue Jan 27 16:02:25 PST 2015     root@xxxxxxxxxxxxxxxxxxxxxx:/usr/obj/usr/src/sys/GENERIC  amd64

[root@home ~]# httpd -V
Server version: Apache/2.4.10 (FreeBSD)
Server built:   Dec  3 2014 05:11:27
Server's Module Magic Number: 20120211:36
Server loaded:  APR 1.5.1, APR-UTIL 1.5.4
Compiled using: APR 1.5.1, APR-UTIL 1.5.4
Architecture:   64-bit
Server MPM:     prefork
  threaded:     no
    forked:     yes (variable process count)
Server compiled with....
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses disabled)
 -D APR_USE_FLOCK_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=256
 -D HTTPD_ROOT="/usr/local"
 -D SUEXEC_BIN="/usr/local/bin/suexec"
 -D DEFAULT_PIDLOG="/var/run/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="etc/apache24/mime.types"
 -D SERVER_CONFIG_FILE="etc/apache24/httpd.conf"

I think the problem is PHP related, because I've been messing with
that, but nothing is telling me anything.

It's crashing pretty quickly, but this is all I get:

[root@home /usr/home/benfell]# service apache24 start
Performing sanity check on apache24 configuration:
[Wed Jan 28 10:14:58.295980 2015] [so:warn] [pid 49946] AH01574:
module php5_module is already loaded, skipping
Syntax OK
Starting apache24.
[Wed Jan 28 10:14:58.370798 2015] [so:warn] [pid 49947] AH01574:
module php5_module is already loaded, skipping
[root@home /usr/home/benfell]# service apache24 status
apache24 is not running.
[root@home /usr/home/benfell]#


Help?

Thanks!
--
David Benfell <benfell@xxxxxxxxxxxxxxxxx>
See https://parts-unknown.org/node/2 if you don't understand the
attachment.

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux