View previous topic :: View next topic |
Author |
Message |
ncf n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 29 Apr 2006 Posts: 12
|
Posted: Wed Nov 15, 2006 10:31 am Post subject: Apache not loading properly. (No error; exit status of 1) |
|
|
As stated in the subject, Apache is not loading properly, after years of quality service.
Running apachectl start yields an error stating that it failed to start, but no error messages are logged anywhere. And apache exits with status code of "1".
I have tried rebooting, and have combed through all of the .conf files with no luck.
** /usr/local/apache/bin/httpd -V
Code: | Server version: Apache/1.3.31 (Unix)
Server built: Oct 19 2004 20:20:01
Server's Module Magic Number: 19990320:16
Server compiled with....
-D EAPI
-D HAVE_MMAP
-D HAVE_SHMGET
-D USE_SHMGET_SCOREBOARD
-D USE_MMAP_FILES
-D HAVE_FCNTL_SERIALIZED_ACCEPT
-D HAVE_SYSVSEM_SERIALIZED_ACCEPT
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D DYNAMIC_MODULE_LIMIT=64
-D HARD_SERVER_LIMIT=256
-D HTTPD_ROOT="/usr/local/apache"
-D SUEXEC_BIN="/usr/local/apache/bin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/httpd.scoreboard"
-D DEFAULT_LOCKFILE="logs/httpd.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
-D ACCESS_CONFIG_FILE="conf/access.conf"
-D RESOURCE_CONFIG_FILE="conf/srm.conf" |
Starting apache gives:
Code: | Starting Apache services: Processing config directory: /usr/local/apache/conf/vhosts/
Processing config file: /usr/local/apache/conf/vhosts/<sitename>.conf
/usr/local/apache/bin/apachectl startssl: httpd could not be started |
And running
Code: | /usr/local/apache/bin/httpd ; echo $? |
tells me that the return code is 1.
Any ideas guys? This server *IS* a live server, and I have been working on trying to bring it back up for the last 3 hours. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
xoomix Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/404368753f421b62b1063.gif)
Joined: 02 Jan 2003 Posts: 489
|
Posted: Wed Nov 15, 2006 6:14 pm Post subject: |
|
|
According to your output it looks like an SSL startup issue ... can you post your httpd.conf file and/or any related SSL configs? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Aurisor Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/2852895764556a27de1705.jpg)
Joined: 20 Sep 2003 Posts: 361 Location: Boston MA
|
Posted: Wed Nov 15, 2006 8:28 pm Post subject: |
|
|
I'd bet this is a portage (i.e. busted dependencies) issue rather than a configuration issue.
It could be a broken openssh issue. Did you upgrade openssh and forget to revdep-rebuild?
Did you check /var/log/messages for error messages as well? I'd bet you'll find something interesting in there. The output of "dmesg" is occasionally helpful as well.
If you ever get desperate, you can use this little trick for checking dependencies:
Code: |
emerge -ptev apache
|
That will show you all of apache's dependencies. You can:
on anything that looks promising. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|