DA doesnt' want to restart Apache

wdeboer

Verified User
Joined
Jul 16, 2005
Messages
40
I have updated Apache to 1.3.37 only since this update DA isn't eager to start Apache after I stopped in the admin user control panel under Service Monitor.

If I login as root under SSH and do apachectl restart it works all fine. Because of this I have readded the bootscript for the directadmin directory this works fine too:

srv001# /usr/local/etc/rc.d/httpd restart
Stopping httpd: [ OK ]
Remaining processes: 1
Stopping httpd: [ FAILED ]
Starting httpd: [ OK ]
[Mon Jul 31 01:47:36 2006] [warn] Loaded DSO modules/libphp5.so uses plain Apache 1.3 API, this module might crash under EAPI! (please recompile it with -DEAPI)

srv001# apachectl start
[Mon Jul 31 01:48:40 2006] [warn] Loaded DSO modules/libphp5.so uses plain Apache 1.3 API, this module might crash under EAPI! (please recompile it with -DEAPI)
/usr/sbin/apachectl start: httpd started


How can make the stop/starting of Apache work again in DA under Service Monitor?
 
Does anyone know? Now I need to restart the computer each morning. Meaning the server is offline for 8-9hours per day.

Because DA doesn't restart automatically anymore... No clue, why it stops running httpd though over night.
 
Instead of trying to figure out why it isn't restarting, try to figure out why it is dying. I am not running FreeBSD (which I am assuming you are using), so I can't be of too much help. Look in your apache log files as well as your DA log files, between the two, you should be able to see why it is dying, and why DA can't start it.

Is httpd shown in the "Show Status of Services" table? If not, that would indicate why it won't restart it. If it is, and there are no pids listed, try to start it and look in the DA logs to see what happened.
 
I think it will work nowm it had something to do with the perl stuff and apache. I have recompiled everything on the server using customapache and the php5, and php5-zlib ports of FreeBSD and it works again.

Now I only need to fix my mailscanner+spamassasin set up :)
 
Back
Top