HTTPD issues

Fireye

New member
Joined
Jan 9, 2004
Messages
3
Just today, my server stopped responding to http requests. I logged in via SSH, and tried to start the service manually, but no luck. I recieved the following errors:
[root@hinome root]# service httpd start
Starting httpd:
Apache 1.3 configuration directives found
please read /usr/share/doc/httpd-2.0.40/migration.html
[FAILED]
--- and ---
[root@hinome root]# httpd --help
Syntax error on line 215 of /etc/httpd/conf/httpd.conf:
Can't locate API module structure `config_log_module' in file /etc/httpd/modules/mod_log_config.so: /usr/lib/libapr.so.0: undefined symbol: config_log_module

Any idea's? I've changed nothing from the time it works and now...

---Fireye
 
Is this a server running DirectAdmin?

If it is, was it a fresh install of your OS before you installed DirectAdmin?

It seems like you have a custom config that is why I am asking.
 
Yep, it's a virtual installation of RH9.0 running the latest directadmin. The httpd issue has corrected itself, but now other problems exist. I can't send mail via the smtp server, and I can't ftp send (it starts, but craps out at about 16k for every file in every location, and it's not a space issue). I'm going to ask for a fresh install, and hope that resolves the issue.
 
Hello,

Looks like apache 2 is on there and/or the /etc/httpd/modules directory isn't pointing to the correct spot.

rpm -q httpd

Make sure apache 2 isn't installed.
then:
cd /usr/local/directadmin/customapache
./build clean
./build all

Make sure /etc/httpd/modules points to /usr/lib/apache:

cd /etc/httpd
rm -f modules
ln -sf ../../usr/lib/apache modules

John
 
Back
Top