Apache won't start anymore! Please help!

majglow

Verified User
Joined
Feb 2, 2005
Messages
8
Location
Oregon
I was going to update my PHP and did the following:

Delete everythng in "/usr/local/directadmin/customapache" except "build"

./build clean
./build update
./build php y

Everything went smooth, then I restarted apache, but it won't load. I get no errors in my error log except the following:

Code:
[Thu Jan 19 00:25:11 2006] [warn] pid file /var/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Jan 19 00:26:01 2006] [warn] pid file /var/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Jan 19 00:26:11 2006] [warn] pid file /var/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Jan 19 00:27:01 2006] [warn] pid file /var/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Jan 19 00:27:11 2006] [warn] pid file /var/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Jan 19 00:27:33 2006] [warn] pid file /var/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Jan 19 00:28:01 2006] [warn] pid file /var/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Jan 19 00:28:11 2006] [warn] pid file /var/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Jan 19 00:29:01 2006] [warn] pid file /var/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Jan 19 00:29:11 2006] [warn] pid file /var/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Jan 19 00:30:24 2006] [warn] pid file /var/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?

and a lot more if it....


I'm running on FreeBSD. Please, somebody help.
 
Deleting everything is unnecessary, and eliminates your ability to downgrade.

You can simply delete configure.apache_ssl, but since that might have custom changes we don't even do that. We move it somewhere safe.

Then we run:

# ./build update

Then we compare the new configure.apache_ssl with the old to see if we have to make any modificaitons.

Then we do:

# ./build clean
./build all d
./build zend

Then we check to make sure there's a link from libgdbm.so to the proper library:

# cd /usr/lib
# ls -al libgdbm.so

if not found:

# cd /usr/lib
# ln -s libgdbm.so.2.2.0 libgdbm.so ??? (2.0.0)

then we verify:

# ls -al libgdbm.so*

and finally restart httpd.

Jeff
 
Adding a note to point out that I don't mean to imply you have any ability to downgrade.

I just tried to downgrade PHP and completely broke customapache.

So don't take my statement above as a guarantee you can downgrade even if you keep the files.

Jeff
 
Back
Top