PDA

View Full Version : Apache is down


esteban
2003-09-30, 11:40 AM
Hi, i am having some troubles with apache. It was working quiet well up to last night, and now its down.

I restart apache server, but it doesnt work. Apache failed.

When i restart it i get this:

Sep 29 14:14:23 web httpd: /etc/rc3.d/S85httpd start: httpd (pid 2182) already running Sep 29 14:14:23 web rc: Starting httpd: succeeded Sep 30 01:40:22 web httpd: /etc/rc3.d/S85httpd start: httpd could not be started Sep 30 01:40:22 web httpd: Syntax error on line 221 of /usr/local/apache/conf/httpd.conf: Sep 30 01:40:22 web httpd: Cannot load /usr/local/apache/libexec/libphp4.so into server: libmysqlclient.so.12: cannot open shared object file: No such file or directory Sep 30 01:40:22 web rc: Starting httpd: failed Sep 30 02:45:28 web httpd: /etc/rc3.d/S85httpd start: httpd could not be started Sep 30 02:45:28 web httpd: Syntax error on line 222 of /usr/local/apache/conf/httpd.conf: Sep 30 02:45:28 web httpd: Cannot load /usr/local/apache/libexec/libphp4.so into server: libmysqlclient.so.12: cannot open shared object file: No such file or directory Sep 30 02:45:28 web rc: Starting httpd: failed Sep 30 06:23:23 web httpd: /etc/rc3.d/S85httpd start: httpd could not be started Sep 30 06:23:23 web httpd: Syntax error on line 1 of /usr/local/apache/conf/httpd.conf: Sep 30 06:23:23 web httpd: Invalid command 'b0VIM', perhaps mis-spelled or defined by a module not included in the server configuration Sep 30 06:23:23 web rc: Starting httpd: failed Sep 30 06:55:33 web httpd: /etc/rc3.d/S85httpd start: httpd could not be started Sep 30 06:55:33 web httpd: Syntax error on line 8 of /usr/local/apache/conf/httpd.conf: Sep 30 06:55:33 web httpd: Invalid command 'al/apache/logs/httpd.lockgsyourself', perhaps mis-spelled or defined by a module not included in the server configuration Sep 30 06:55:33 web rc: Starting httpd: failed Sep 30 07:06:14 web httpd: /etc/rc3.d/S85httpd start: httpd could not be started Sep 30 07:06:14 web httpd: Syntax error on line 233 of /usr/local/apache/conf/httpd.conf: Sep 30 07:06:15 web httpd: Cannot load /usr/local/apache/libexec/mod_bwlimited.so into server: /usr/local/apache/libexec/mod_bwlimited.so: cannot open shared object file: No such file or directory Sep 30 07:06:15 web rc: Starting httpd: failed Sep 30 07:47:48 web httpd: /etc/rc3.d/S85httpd start: httpd could not be started Sep 30 07:47:48 web httpd: Syntax error on line 234 of /usr/local/apache/conf/httpd.conf: Sep 30 07:47:48 web httpd: Cannot load /usr/local/apache/libexec/mod_log_bytes.so into server: /usr/local/apache/libexec/mod_log_bytes.so: cannot open shared object file: No such file or directory Sep 30 07:47:48 web rc: Starting httpd: failed Sep 30 07:56:49 web httpd: /etc/rc3.d/S85httpd start: httpd could not be started Sep 30 07:56:49 web httpd: Syntax error on line 532 of /usr/local/apache/conf/httpd.conf: Sep 30 07:56:49 web httpd: ErrorLog not allowed here Sep 30 07:56:49 web rc: Starting httpd: failed Sep 30 09:57:41 web httpd: Syntax error on line 1152 of /usr/local/apache/conf/httpd.conf: Sep 30 09:57:41 web httpd: /etc/rc3.d/S85httpd start: httpd could not be started Sep 30 09:57:41 web httpd:

I cant make Apache work. Please, i need an idea to fix my problem.

Thank you very much.

altp
2003-09-30, 11:43 AM
Sep 30 01:40:22 web httpd: /etc/rc3.d/S85httpd start: httpd could not be started Sep 30 01:40:22 web httpd: Syntax error on line 221 of /usr/local/apache/conf/httpd.conf:


Have you looked at line 221 of your httpd.conf file to see what the syntax error is?

Do you have a previous version of your httpd.conf floating around? you may want to put that in place and see if it is working.

esteban
2003-09-30, 11:59 AM
Than you very much for answering my question.

Here is the error again:

Sep 29 14:14:23 web httpd: /etc/rc3.d/S85httpd start: httpd (pid 2182) already running
Sep 29 14:14:23 web rc: Starting httpd: succeeded

Sep 30 01:40:22 web httpd: /etc/rc3.d/S85httpd start: httpd could not be started
Sep 30 01:40:22 web httpd: Syntax error on line 221 of /usr/local/apache/conf/httpd.conf:
Sep 30 01:40:22 web httpd: Cannot load /usr/local/apache/libexec/libphp4.so into server: libmysqlclient.so.12: cannot open shared object file: No such file or directory
Sep 30 01:40:22 web rc: Starting httpd: failed

Sep 30 02:45:28 web httpd: /etc/rc3.d/S85httpd start: httpd could not be started
Sep 30 02:45:28 web httpd: Syntax error on line 222 of /usr/local/apache/conf/httpd.conf:
Sep 30 02:45:28 web httpd: Cannot load /usr/local/apache/libexec/libphp4.so into server: libmysqlclient.so.12: cannot open shared object file: No such file or directory
Sep 30 02:45:28 web rc: Starting httpd: failed Sep 30 06:23:23 web httpd: /etc/rc3.d/S85httpd start: httpd could not be started

Sep 30 06:23:23 web httpd: Syntax error on line 1 of /usr/local/apache/conf/httpd.conf:
Sep 30 06:23:23 web httpd: Invalid command 'b0VIM', perhaps mis-spelled or defined by a module not included in the server configuration
Sep 30 06:23:23 web rc: Starting httpd: failed

Sep 30 06:55:33 web httpd: /etc/rc3.d/S85httpd start: httpd could not be started
Sep 30 06:55:33 web httpd: Syntax error on line 8 of /usr/local/apache/conf/httpd.conf:
Sep 30 06:55:33 web httpd: Invalid command 'al/apache/logs/httpd.lockgsyourself', perhaps mis-spelled or defined by a module not included in the server configuration
Sep 30 06:55:33 web rc: Starting httpd: failed

Sep 30 07:06:14 web httpd: /etc/rc3.d/S85httpd start: httpd could not be started
Sep 30 07:06:14 web httpd: Syntax error on line 233 of /usr/local/apache/conf/httpd.conf:
Sep 30 07:06:15 web httpd: Cannot load /usr/local/apache/libexec/mod_bwlimited.so into server: /usr/local/apache/libexec/mod_bwlimited.so: cannot open shared object file: No such file or directory
Sep 30 07:06:15 web rc: Starting httpd: failed

Sep 30 07:47:48 web httpd: /etc/rc3.d/S85httpd start: httpd could not be started
Sep 30 07:47:48 web httpd: Syntax error on line 234 of /usr/local/apache/conf/httpd.conf:
Sep 30 07:47:48 web httpd: Cannot load /usr/local/apache/libexec/mod_log_bytes.so into server: /usr/local/apache/libexec/mod_log_bytes.so: cannot open shared object file: No such file or directory
Sep 30 07:47:48 web rc: Starting httpd: failed

Sep 30 07:56:49 web httpd: /etc/rc3.d/S85httpd start: httpd could not be started
Sep 30 07:56:49 web httpd: Syntax error on line 532 of /usr/local/apache/conf/httpd.conf:
Sep 30 07:56:49 web httpd: ErrorLog not allowed here
Sep 30 07:56:49 web rc: Starting httpd: failed

Sep 30 09:57:41 web httpd: Syntax error on line 1152 of /usr/local/apache/conf/httpd.conf:
Sep 30 09:57:41 web httpd: /etc/rc3.d/S85httpd start: httpd could not be started
Sep 30 09:57:41 web httpd:

Note that the line of the error its different every time, and i never edit the httpd.conf

I dont undestand why it got out of order alone.

The .conf is the original, i have this server since last week.

Thans very much again.

QT
2003-09-30, 12:46 PM
Sep 30 02:45:28 web httpd: Cannot load /usr/local/apache/libexec/libphp4.so into server: libmysqlclient.so.12: cannot open shared object file: No such file or directory

Self explanatory.

Sep 30 06:23:23 web httpd: Invalid command 'b0VIM', perhaps mis-spelled or defined by a module not included in the server configuration

That looks like you tried to edit it and added something you shouldnt have.

Sep 30 06:55:33 web httpd: Invalid command 'al/apache/logs/httpd.lockgsyourself', perhaps mis-spelled or defined by a module not included in the server configuration


Typos....

All in all...that's a pretty big mess there. It looks like you have a lot of errors there with several possible causes. You might want to have someone who knows apache configuration take a look at it or submit a support ticket so ServerBeach can look at it.