View Full Version : Apache will not start
teedee
11-12-2003, 12:54 AM
Hi,
I cannot get apache to start up
# service httpd restart
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 253 of /etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/modules/libperl.so into server: /etc/httpd/modules/libperl.so: undefined symbol: ap_ctx_get
[FAILED]
line 253 = LoadModule perl_module modules/libperl.so
If commented out I then get
# service httpd restart
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 262 of /etc/httpd/conf/httpd.conf:
API module structure `php4_module' in file /etc/httpd/modules/libphp4.so is garbled - perhaps this is not an Apache module DSO?
[FAILED]
Any Ideas ??
teedee
11-12-2003, 03:27 AM
Anyone ??
Apache has been down for 3+ hours now and I have no idea what to try........ :( :( :(
chuckd
11-12-2003, 06:01 AM
You need to give some more info to get help.
Which version of Apache? Which Linux distribution?
What has changed recently on the server?
Did you use the DA build update thing to update your Apache? Which version of mod_perl do you have?
I don't know exactly where DA puts its config files, but I suspect it's not in the /etc/httpd/ location that your (presumably Red Hat) current install seems to be looking. Perhaps you've got two conflicting versions of Apache installed - the distribution RPM and the DA custom build.
Just some wild guesses, hard to know without more info.
Cheers,
Chuck
ProWebUK
11-12-2003, 07:32 AM
and also, what were you doing before apache failed to restart?
EDIT:
Search (http://www.directadmin.com/forum/images/da/header_08.jpg) does all the hard work so you dont have to :D
http://www.directadmin.com/forum/showthread.php?s=&threadid=970&highlight=253
DirectAdmin Support
11-12-2003, 02:24 PM
Hello,
I've fixed it on his server. The issue was related to the configure.apache_ssl file still having the path to apache 1.3.28 instead of 1.3.29 after the update.
John
chuckd
11-12-2003, 04:06 PM
Ah, good old Didn't Read The Forum problems...
Maybe you could create a forum that just contains the FAQs? I'm not sure if you can do this - have a thread visible in two threads - but it would be neat. That way as soon as a particular post becomes a FAQ you just mark it as such and then tell people to make sure they read the FAQ forum (which wouldn't be too big, unlike the others, hopefully).
That or make an actual FAQ...
teedee
11-13-2003, 01:01 AM
thanks everyone,
I did search the forums, and even read that thread but missed the line about removing the config file.......
I thing an FAQ forum would be a good idea, maybe different threads for apache, RH, Exim, PHP etc and as issues arise and are solved add it to the appropriate thread.
Teedee
ProWebUK
11-13-2003, 07:25 AM
I recently created a 'known problems & bug fixes' section in the DirectAdmin Server Checklist (http://www.directadmin.com/forum/showthread.php?s=&threadid=65)
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.