DIYMacServer » Apache

3 posts

Permission denied: make_sock: could not bind to address

started at 10 Aug 2008
started by mastertk
last reply from richard
  • mastertk
    10 Aug 2008
    #

    Hello,
    I have got a problem when i try to run apache on my normal account.
    I have installed apache within my root account and in the root account everything works fine.
    but when I switch to my normal account and I type in terminal ''apachectl -k start'' I get

    :~ Server$ apachectl -k start
    (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

    Maybe someone knows how to solve this problem.

    Kind Regards, Thomas

  • mastertk
    10 Aug 2008
    #

    Hello,
    I think I have solved the problem.
    When I use Sudo commands like ''sudo apachectl -k stop'' it does work.
    I hope this is correct

  • 10 Aug 2008
    #

    Yes you are correct, you should always use sudo to start and stop Apache.

Reply

You must log in to post.