Did you just type
service apache2 restart
or
/etc/init.d/apache2 restart
and get stuff like:
* Starting web server apache2 ulimit: 88: error setting limit (Operation not permitted)
(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
Action 'start' failed.
The Apache error log may have more information.
It is unlikely to be a big crisis. Looks like you don’t have permissions. Apache needs to be started by root user. Are you root? Try
sudo service apache2 restart
You’re welcome :p
i just realised that i am so dumb !!
I know the feeling 😀
You sir have style. Awesome.
[…] it’s not because I’m not running this as root (as explained here, here and there) : I’ve used the sudo command […]
I keep getting the same error even when I sudo and logged in as root !! any ideas ??
You Complete Me
I am logged in as root over ssh and I still get the same error.
Doesn’t work
It works.
Thank you!!
It is indeed working! Thanks