You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Marc Sebastian Pelzer <ma...@have-it.net> on 2001/11/28 20:35:00 UTC

fresh compiled httpd 1.3.22 do not start: please help!

Hiho,

after successfully compiling and installing a apache_1.3.22 with gcc 2.95.3
on SuSE 7.2 the httpd will not start. It prints no msg to STDOUT/STDERR but
writes the following to error_log:

[Wed Nov 28 21:08:25 2001] [warn] pid file /opt/local/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Wed Nov 28 21:08:25 2001] [warn] pid file /opt/local/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Wed Nov 28 21:08:25 2001] [warn] pid file /opt/local/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[...]

./httpd --help works, ./httpd -V says:

larry:/opt/local/apache/bin # ./httpd -V    
Server version: Apache/1.3.22 (Unix)
Server built:   Nov 28 2001 19:09:56
Server's Module Magic Number: 19990320:10
Server compiled with....
 -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 HTTPD_ROOT="/opt/local/apache"
 -D SUEXEC_BIN="/opt/local/apache/bin/suexec"
 -D DEFAULT_PIDLOG="logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/httpd.scoreboard"
 -D DEFAULT_LOCKFILE="logs/httpd.lock"
 -D DEFAULT_XFERLOG="logs/access_log"
 -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"

./apachectl start says "./apachectl start: httpd started" - but it is'nt!

Please help - i dont know what to do now...

Regards, Marc.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: fresh compiled httpd 1.3.22 do not start: please help!

Posted by Owen Boyle <ob...@bourse.ch>.
Marc Sebastian Pelzer wrote:
> 
> Hiho,
> 
> after successfully compiling and installing a apache_1.3.22 with gcc 2.95.3
> on SuSE 7.2 ...

Hold it right there! SuSE comes with an ancient version of apache
pre-installed which automatically starts at boot.. Before installing a
new version, do the following:

- Find the old version and remove it:

# find / -name "httpd*"

will locate the binary (probably /sbin/httpd) and the conf files
(/etc/httpd?) - strip out the whole shooting-match.

- Install the new version where the Good Lord intended
(/usr/local/apache) i.e. run configure with no prefix. Ok... if you
really want to put it somewhere else, now's the time.

- Move the new apachectl script (/usr/local/bin/apachectl) onto the
previously existing start-script (probably /etc/init.d/apache - check
it...)

- Now when you reboot, your new version of apache will start. You can
then be sure that you have only one version running and that you will be
editing the correct file when you edit
/usr/local/apache/conf/httpd.conf.

Rgds,

Owen Boyle.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org