FedoraForum.org - Fedora Support Forums and Community
Results 1 to 14 of 14
  1. #1
    Join Date
    Jul 2009
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    "httpd: apr_sockaddr_info_get() failed for buzzport.ken" when starting apache

    I get this response when I try to start Apache:

    httpd: apr_sockaddr_info_get() failed for buzzport.ken
    httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

    What does this mean?

  2. #2
    Join Date
    Aug 2006
    Location
    /dev/realm/{Abba,Carpenters,...stage}
    Posts
    3,285
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That you need help.
    For safer browsing, use OpenDNS nameservers 208.67.222.222 and 208.67.220.220

    SELinux User Guide

    AutoPager

  3. #3
    Join Date
    Apr 2004
    Location
    Euregio
    Posts
    3,612
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Welcome to the forum.

    The thread title has been edited so that it more closely reflects the question that you have asked: other users will be better informed as to the nature of your question.

    How to Ask Questions the Smart Way


    FedoraForum.org Guidelines

    @Nokia, please behave

  4. #4
    Join Date
    Apr 2004
    Location
    Euregio
    Posts
    3,612
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What's the content of the /etc/hosts file?

  5. #5
    Join Date
    Jul 2009
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank for your response.

    The content of /etc/hosts:

    127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
    ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6

  6. #6
    Join Date
    Nov 2006
    Location
    U.S.A.
    Age
    41
    Posts
    473
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'd also assume this is for PHP script or something similar, so there are a few things you'll want to check/do..
    Edit /etc/hosts and add this:
    Code:
    my.ip.ad.dr  domain.com
    Just put in your public IP address of the server, and the main domain name attached to the server.

    Next, open your apache config file (usually in /etc/httpd/conf/httpd.conf) and look for this:
    Code:
    #ServerName www.domain.com:80
    Un-comment it and change the domain name to what you have for your server.
    Then restart apache, and that should do it for you.
    Registered linux user: #475337

    Never underestimate someone with source code, a text editor, and the willingness to completely hose their system.

  7. #7
    Join Date
    Jul 2009
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Many thanks!!!

    Big help

    All that stuff is gone:

    [root@buzzport etc]# apachectl configtest
    Syntax OK
    [root@buzzport etc]# apachectl start
    httpd (pid 2765) already running
    [root@buzzport etc]#

    Just one more problem - The Firefox browser can't find the server. I tried
    http//localhost/
    http//127.0.0.1/
    http//buzzport.ken/

    All come back can't find server.

    Any suggestions, please.

  8. #8
    Join Date
    Apr 2004
    Location
    Euregio
    Posts
    3,612
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Are you using some kind of a proxy? Have you tried another browser?

  9. #9
    Join Date
    Jul 2009
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am one step closer. I am at the Test Page. It gives me this message:

    This page is used to test the proper operation of the Apache HTTP server after it has been installed. If you can read this page, it means that the web server installed at this site is working properly, but has not yet been configured.

    Any ideas???
    Please.

  10. #10
    Join Date
    Nov 2006
    Location
    U.S.A.
    Age
    41
    Posts
    473
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That means it can read the directory but you haven't put any files, or an index file, in the directory that it is reading from. That's a good sign.
    Registered linux user: #475337

    Never underestimate someone with source code, a text editor, and the willingness to completely hose their system.

  11. #11
    Join Date
    Jul 2009
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    neogranas,

    Thanks again, good tip

    buzzport

  12. #12
    Join Date
    Nov 2006
    Location
    U.S.A.
    Age
    41
    Posts
    473
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You're welcome, come back if you have any other issues.
    Registered linux user: #475337

    Never underestimate someone with source code, a text editor, and the willingness to completely hose their system.

  13. #13
    Join Date
    Jan 2012
    Location
    India
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: "httpd: apr_sockaddr_info_get() failed for buzzport.ken" when starting apache

    Error resolved. Appreciated
    Thanks 4 the post neogranas

    Do you have any idea abt how to install and configure subversion.

  14. #14
    Join Date
    Jun 2012
    Location
    India
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: "httpd: apr_sockaddr_info_get() failed for buzzport.ken" when starting apache

    Hi Neogranas,

    I am also facing the same issue that Ravindra was facing long back. But in my case, it is realted to 389DS. I hope, you could as this seems to be a generic error.

    I have changed hostname & IP of the server after installing 389DS. And now Admin server is not coming up.

    httpd.worker: apr_sockaddr_info_get() failed for abc.example.com
    httpd.worker: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
    Server failed to start !!! Please check errors log for problems
    [FAILED]

    I have modified hosts file and httpd.conf file accordingly.

    But still getting the same error.

    Could you please help me in fixing the issue.

    Thanks in advance.

    Rgds,
    Mounika
    Last edited by jsmounika; 16th July 2012 at 02:32 PM. Reason: Giving more clarification on the issue

Similar Threads

  1. "SELinux prevented httpd reading and writing access to http files."
    By DennyCrane in forum Servers & Networking
    Replies: 6
    Last Post: 12th June 2009, 01:15 PM
  2. Replies: 7
    Last Post: 25th February 2007, 04:56 AM
  3. Replies: 2
    Last Post: 2nd November 2005, 10:04 AM
  4. httpd failed. The error was: Starting httpd: [FAILED]
    By surfingdude41 in forum Using Fedora
    Replies: 3
    Last Post: 29th June 2005, 09:12 PM
  5. Replies: 0
    Last Post: 23rd May 2005, 04:59 AM

Tags for this Thread

Posting Permissions

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