trying to start apache
start apache - and get this error message.
casper@casper-laptop:~$ apache2ctl restart apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName httpd not running, trying to start (13)Permission denied: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logs yet when i run a ps check: casper@casper-laptop:~$ ps auxwww | grep apache root 5076 0.0 0.9 15932 4980 Ss 21:14 0:00 /usr/sbin/apache2 -k start www-data 5079 0.0 0.5 15704 3056 21:14 0:00 /usr/sbin/apache2 -k start www-data 5081 0.0 0.7 237284 3 21:14 0:00 /usr/sbin/apache2 -k start www-data 5085 0.0 0.7 237284 21:14 0:00 /usr/sbin/apache2 -k start casper 6902 0 812 pts/0 S+ 21:33 0:00 grep apahe casper@casper-laptop:~$ |
It looks like you are not running the restart command as root, therefore your previous instances of apache are never shut down.
|
Try running the command as root.
|
I start, stop, or restart apache service as below, after logging in as superuser
service httpd start service httpd stop service httpd restart Or if it is needed after every logging it could be permanently set to run at startup by editing the services, by chkconfig or other graphical tools. |
make sure the tux service is not running on port 80
service tux status |
Quote:
I don't know why you singled out tux as the one service he should check for. But, if you want to see what services are bound to which ports, run this command: Code:
lsof -i |
All times are GMT -5. The time now is 08:20 PM. |