Find the answer to your Linux question:
Results 1 to 2 of 2
i have installed CentOS along with ISPConfig. For some reason apache will not run it says there are no listening sockets avaliable. I have done a netstat and also tried ...
  1. #1
    Just Joined!
    Join Date
    Aug 2009
    Posts
    23

    Odd Apache Problem - CentOS 5.5

    i have installed CentOS along with ISPConfig. For some reason apache will not run it says there are no listening sockets avaliable. I have done a netstat and also tried nmap to see if any other service was using port 80 but it doesnt show anything. I also tried changing the port number to something like 81 still no go.

    On bootup of CentOS it shows the error and a message saying unable to open logs.

    i dont know what else to try. Any idea.

  2. #2
    Linux Enthusiast meton_magis's Avatar
    Join Date
    Oct 2006
    Location
    arizona
    Posts
    665
    are you running the start command as root?

    only root can bind to ports < 1024 (i think it's 1024) because they are reserved ports. If you want it to be startable by anyone else, you have to make the port 1025 or higher. If you want it to run AS someone else, modify the httpd.conf file to do so (i forget the exact entry, but it's in the httpd.conf).


    That's just a guess, you'll have to post the exact error message for a better answer.
    New to the internet, technical forums, or the hacker / open source community??
    Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html

    RHCE for RHEL version 5
    RHCT for RHEL version 4

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...