All pastes #1321425 Raw Edit

/etc/init.d/apache start

public text v1 · immutable
#1321425 ·published 2009-01-29 04:07 UTC
rendered paste body
Westparkstr42:/home/morten# /etc/init.d/apache  start
Starting apache 1.3 web server....
Westparkstr42:/home/morten# /etc/init.d/apache  restart
Restarting apache 1.3 web server....


 /etc/init.d/apache  stop
Stopping apache 1.3 web server...No process in pidfile `/var/run/apache.pid' found running; none killed..
Westparkstr42:/home/morten# /etc/init.d/apache2  stop
Stopping web server (apache2)...apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
httpd (no pid file) not running


(Reading database ... 146268 files and directories currently installed.)
Removing apache ...
Stopping apache 1.3 web server...No process in pidfile `/var/run/apache.pid' found running; none killed.
.
Removing apache-common ...



 /etc/init.d/apache2  start
Starting web server (apache2)...apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
 failed!


   find  /  -name 'httpd.conf'   -print
/etc/apache/httpd.conf
/etc/apache2/httpd.conf



Westparkstr42:/home/morten# cat  /etc/apache2/httpd.conf
Westparkstr42:/home/morten# ls -l  /etc/apache2/httpd.conf
-rw-r--r-- 1 root root 0 2007-05-26 00:41 /etc/apache2/httpd.conf