Results 1 to 5 of 5

Thread: [SOLVED] Apache

  1. #1
    Join Date
    Nov 2007
    Location
    Okieville, USA
    Beans
    3,178
    Distro
    Ubuntu 10.04 Lucid Lynx

    [SOLVED] Apache

    I'm trying to setup WebDEV on my server and I got it all setup except when I restart Apache it says:

    * Restarting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
    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 0.0.0.0:80
    no listening sockets available, shutting down
    Unable to open logs
    [fail]


    What would be causing this? my ip is 68.15.116,126
    MCP, A+/Linux+ Certified IT Technician
    System Specs | Dress up your "Super Button" FREE
    "If sometimes you can't be good, then be VERY good at being naughty!"

  2. #2
    Join Date
    Jan 2006
    Location
    United Kingdom
    Beans
    2,787
    Distro
    Kubuntu 6.06 Dapper

    Re: Apache

    You have two issues:

    i. You don't have a ServerName directive set in your Apache config i.e. it doesn't know what it (itself) is called. It has to know this for various reasons and so is making an assumption.

    ii. Are you starting Apache using sudo? (binding processes to ports <1024 requires super-user privileges)

    Mathew
    www.NewtonNet.co.uk - Now supporting IPv6!

    ~ Please don't use PM's to request assistance - post your query on the forum and share the discussion - if you've got a problem chances are you won't be the only one! ~

  3. #3
    Join Date
    Nov 2007
    Location
    Okieville, USA
    Beans
    3,178
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Apache

    Quote Originally Posted by MJN View Post
    You have two issues:

    i. You don't have a ServerName directive set in your Apache config i.e. it doesn't know what it (itself) is called. It has to know this for various reasons and so is making an assumption.

    ii. Are you starting Apache using sudo? (binding processes to ports <1024 requires super-user privileges)

    Mathew
    thanks, now where do I put the domain in at? This my first server I've hosted myself.
    MCP, A+/Linux+ Certified IT Technician
    System Specs | Dress up your "Super Button" FREE
    "If sometimes you can't be good, then be VERY good at being naughty!"

  4. #4
    Join Date
    Jan 2006
    Location
    United Kingdom
    Beans
    2,787
    Distro
    Kubuntu 6.06 Dapper

    Re: Apache

    I'm not familiar with WebDEV so don't know where it puts its configuration. However, for a vanilla install of Apache it would be set inside the <Virtualhost>...</Virtualhost> section of /etc/apache2/sites-available/default

    e.g.

    Code:
    <Virtualhost *:80>
    Servername www.domain.com
    .
    .
    </Virtualhost>
    Mathew
    www.NewtonNet.co.uk - Now supporting IPv6!

    ~ Please don't use PM's to request assistance - post your query on the forum and share the discussion - if you've got a problem chances are you won't be the only one! ~

  5. #5
    Join Date
    Nov 2007
    Location
    Okieville, USA
    Beans
    3,178
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Apache

    I put "ServerName www.theozzmicrosystems.com" in my httpd.conf and that seemed to work. FrontPage still wont publish using WebDEV. Bummer, all that for naught.
    MCP, A+/Linux+ Certified IT Technician
    System Specs | Dress up your "Super Button" FREE
    "If sometimes you can't be good, then be VERY good at being naughty!"

Bookmarks

Posting Permissions

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