|
FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD. |
|
Thread Tools | Display Modes |
|
|||
Apache 2.2.9 won't start
I am stumped.
I am running FreeBSD 7.0 (GENERIC) with Apache 2.2.9 built from ports with all of the defaults selected in the config. I was receiving an error message [warn] http accept filter failed to load: No such file or directory, which I fixed by running kldload accf_http and inserting the appropriate line in to /boot/loader.conf. However, Apache fails to start in anyway. Here is the tail -f of /var/log/http-error.log: [Mon Jul 07 23:39:44 2008] [info] Init: Seeding PRNG with 136 bytes of entropy [Mon Jul 07 23:39:44 2008] [info] Init: Generating temporary RSA private keys (512/ 1024 bits) [Mon Jul 07 23:39:45 2008] [info] Init: Generating temporary DH parameters (512/102 4 bits) [Mon Jul 07 23:39:45 2008] [warn] Init: Session Cache is not configured [hint: SSLS essionCache] [Mon Jul 07 23:39:45 2008] [info] Init: Initializing (virtual) servers for SSL [Mon Jul 07 23:39:45 2008] [info] mod_ssl/2.2.9 compiled against Server: Apache/2.2 .9, Library: OpenSSL/0.9.8e [Mon Jul 07 23:39:45 2008] [info] mod_unique_id: using ip addr 76.175.163.252 [Mon Jul 07 23:39:46 2008] [info] Init: Seeding PRNG with 136 bytes of entropy [Mon Jul 07 23:39:46 2008] [info] Init: Generating temporary RSA private keys (512/ 1024 bits) [Mon Jul 07 23:39:46 2008] [info] Init: Generating temporary DH parameters (512/102 4 bits) [Mon Jul 07 23:39:46 2008] [info] Init: Initializing (virtual) servers for SSL [Mon Jul 07 23:39:46 2008] [info] mod_ssl/2.2.9 compiled against Server: Apache/2.2 .9, Library: OpenSSL/0.9.8e I have turned SSL on and off, with no luck, and I have have turned virtual Hosts on and off with no luck. Any ideas? |
|
|||
No relevant messages in /var/log/messages. No start-up errors...nothing. same situation with /var/log/httpd-error.log. I set LogLevel to debug, and pretty much all of the messages returned were pertaining to SSL (no warnings. Just confirmation of keys loading, etc.)
Being as impatient as I am, I did a fresh install of this system, and used the ports tree from the sysinstall menu instead of using csup this time around. This tree built Apache v 2.2.6, and I followed the identical method I used on 2.2.9, but this time, everything works fine. I don't know if I got a rotting ports tree on my last install, or what, but something is quirky with Apache 2.2.9. I was also having problems getting PHP pages to parse (kept getting the infamous Firefox download box.) I have configured Apache numerous times across several different OSes and platforms, so I am not exactly a noob at this, but this situation is just baffling. I don't recall the cvsup server that I used (maybe 4??? It was a US server out of San Jose, CA.) |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Upgrade Apache 1.3 mod_ssl to Apache 2.2 | beandip | FreeBSD Ports and Packages | 11 | 26th March 2009 09:12 PM |
Can start rtorrent like apache and mysql when system boot | mfaridi | FreeBSD Ports and Packages | 0 | 26th November 2008 09:27 AM |
How do I start kde4? | PatrickBaer | FreeBSD General | 5 | 26th September 2008 08:18 PM |
can't start apache "httpd not running" | disappearedng | FreeBSD General | 5 | 22nd September 2008 10:18 PM |
MYSQL HOW TO START | disappearedng | FreeBSD General | 7 | 18th September 2008 09:48 AM |