Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

When I'm running service apache2 start I get the response

 * Starting web server apache2                                                  /usr/sbin/apache2ctl: 87: ulimit: error setting limit (Operation not permitted)
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
(13)Permission denied: make_sock: could not bind to address [::]:80
(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.
                                                                         [fail]

When running `netstat -tulpn| grep :80

I get the response.

(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp6       0      0 :::80                   :::*                    LISTEN     

How can I solve this?

share|improve this question

migrated from stackoverflow.com Jun 10 '13 at 0:06

This question came from our site for professional and enthusiast programmers.

    
This is off-topic for Stackoverflow. –  Jonathon Reinhart Jun 9 '13 at 17:49

1 Answer 1

up vote 2 down vote accepted

You should run this command with admin permissions. Call sudo service apache2 start.

And if this doesn't help. Go for su and after successfull login run your command. It should work this time.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.