• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Centos 6.2 installationApache error..

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    2
    4.7k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      bishoptf
      last edited by

      I’ve looked and looked and done this more than once on centos 5.x machines, but I am having an issue getting centos 6.2 up and working…all of the packages are downloading fine but I get an error when it gets to setting up and starting Apache Web Server…Iptables and selinux turned off…

      Configuring services.

      • Setting up fog user…Exists
      • Setting up and starting MySql…OK
      • Backing up user reports…OK
      • Setting up and starting Apache Web Server…Failed! (2)

      Not sure what the error (2) means I have looked at the functions script and it looks straight forward, just not sure what the deal is…any suggestions would be great, thanks!

      ********Solved, geez you can waste more time on the simple things…so it was my hostname wasn’t set for some reason, fixed that and we are good to go…

      service httpd restart
      Stopping httpd: [ OK ]
      Starting httpd: httpd: apr_sockaddr_info_get() failed for xxxx.xxx
      httpd: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName

      1 Reply Last reply Reply Quote 0
      • M
        Matthew Carter
        last edited by

        Check /etc/hosts for your hostname.
        Check /etc/httpd/conf/httpd.conf or other apache conf file for this directive:
        ServerName [url=“http://www.example.com:80”]www.example.com:80[/url]
        Check /etc/sysconfig/network for the :
        HOSTNAME= xxxxxx directive

        Somewhere you haven’t defined your machines hostname and apache is saying, “ok fine, we’re ‘localhost’ then . . .”

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post

        158

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project