Apache not responding after hostname change - help?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • camperjohn64
    Confirmed User
    • Feb 2005
    • 1531

    #1

    Apache not responding after hostname change - help?

    I changed the hostname on my new server and I get this error, and now Apache doesn't respond:

    Code:
    Starting httpd: httpd: apr_sockaddr_info_get() failed for bigmetal.ryd0.com
    httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
    So being smart, I said fuck it and changed the hostname back. But Apache is now not responding at all. Dead. Checking logs, Apache isn't even getting called.

    I changed it from bigmetal.ryd2.com to bigmetal.ryd0.com (then back to bigmetal.ryd2.com hoping it would fire up again)

    I've googled this, and made all the fixes I found in other forums, none of them have brought it back to life.

    Maybe I don't understand what the hostname really does...I am using Webmin, and CentOS 5.4. This is a new installation, and there are no websites on the server yet.

    Any ideas? What tests can I run to troubleshoot this?


    .
    www.gimmiegirlproductions.com
  • fatfoo
    ICQ:649699063
    • Mar 2003
    • 27763

    #2
    Good luck with that.
    Send me an email: [email protected]

    Comment

    • mmcfadden
      So Fucking Banned
      • Oct 2008
      • 5099

      #3
      u can ICQ this guy and get your answers 565-982-359

      Comment

      • mikke
        Confirmed User
        • Jan 2010
        • 1327

        #4
        $ host bigmetal.ryd0.com
        Host bigmetal.ryd0.com not found: 3(NXDOMAIN)
        looks like dns problem..
        icq: 395 294 346
        http://www.adultsubmitter.eu - submit any adult site to 20 directories from 1 form!
        now 20 domains!
        http://www.porndeals.eu http://www.ebonybangbros.com

        Comment

        • camperjohn64
          Confirmed User
          • Feb 2005
          • 1531

          #5
          Originally posted by mikke
          looks like dns problem..
          I've actually pointed ryd0.com back to the old server so I can continue to show ads and make sales until the new server is ready, but I still can't get Apache to fire up even when viewing the IP directly (67.21.112.158/phpmyadmin for example)

          I also tried pointing ns1/ns2.ryd0.com to 67.21.112.158 and then tried it just in case it was something to do with the DNS, but still no luck.

          I'm a good programmer, but a lousy admin.
          www.gimmiegirlproductions.com

          Comment

          • camperjohn64
            Confirmed User
            • Feb 2005
            • 1531

            #6
            I am also thinking it is possible the hostname change then revert, was NOT the issue. Perhaps I just think it was and I did something else to halt Apache.

            If we assume that it isn't my hostname change/revert was not the problem, how can I fix it? I am almost thinking yum remove/install httdp and reset everything since I don't yet have any domains on the server.
            www.gimmiegirlproductions.com

            Comment

            • CYF
              Coupon Guru
              • Mar 2009
              • 10973

              #7
              does your hostname resolve? What does /etc/hostname say?
              Webmaster Coupons Coupons and discounts for hosting, domains, SSL Certs, and more!
              AmeriNOC Coupons | Certified Hosting Coupons | Hosting Coupons | Domain Name Coupons

              Comment

              • camperjohn64
                Confirmed User
                • Feb 2005
                • 1531

                #8
                I think it's possible this has nothing to do with hostname - I found this in the error_log

                Code:
                [Sat Apr 03 06:36:29 2010] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
                [Sat Apr 03 06:36:29 2010] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
                [Sat Apr 03 06:36:29 2010] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
                [Sat Apr 03 06:36:29 2010] [error] mod_fcgid: fcgid process manager died, restarting the server
                [Sat Apr 03 06:36:29 2010] [notice] SIGHUP received.  Attempting to restart
                [Sat Apr 03 06:36:29 2010] [notice] Digest: generating secret for digest authentication ...
                [Sat Apr 03 06:36:29 2010] [notice] Digest: done
                [Sat Apr 03 06:36:29 2010] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
                [Sat Apr 03 06:36:29 2010] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
                [Sat Apr 03 06:36:29 2010] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
                www.gimmiegirlproductions.com

                Comment

                • directfiesta
                  Too lazy to set a custom title
                  • Oct 2002
                  • 30135

                  #9
                  Using FastCgi ?

                  you error is similar to:

                  http://www.mail-archive.com/mod-fcgi.../msg00066.html


                  Do you have a control panel ? Which one ? If yes, re-complie apache and php .
                  I know that Asspimple is stoopid ... As he says, it is a FACT !

                  But I can't figure out how he can breathe or type , at the same time ....

                  Comment

                  • Farang
                    one sick puppy
                    • Oct 2004
                    • 11713

                    #10
                    Your server has been hacked.
                    fbm

                    Comment

                    • Ladyboy King
                      Confirmed User
                      • Nov 2008
                      • 215

                      #11
                      Originally posted by fatfoo
                      Good luck with that.
                      Did I ever show you the pic of me raw doggin' Karin O?
                      I'll make you feel dirty and 13.7% gay.
                      XXX - All your ladyboys are belong to me!

                      Comment

                      Working...