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

    Unable to connect to host

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    16
    4.9k
    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.
    • J
      Jared Warren
      last edited by

      This what happens when i try login to webui.

      [IMG]http://fogproject.org/forum/webkit-fake-url://04F8CE80-626F-4EE4-8871-D87C4AC263E8/image.tiff[/IMG]

      Screenshot of config.php file. Thanks for all the help!
      [IMG]http://fogproject.org/forum/webkit-fake-url://F329B544-02DA-47D0-BE43-27DA5C3DBA90/image.tiff[/IMG]

      1 Reply Last reply Reply Quote 0
      • S
        Sk00t3r
        last edited by

        your images are not showing up. Set them up as an attachment.

        1 Reply Last reply Reply Quote 0
        • J
          Jared Warren
          last edited by

          Sorry about that.

          [url=“/_imported_xf_attachments/0/54_Browser screenshot.png?:”]Browser screenshot.png[/url][url=“/_imported_xf_attachments/0/55_config screenshot.png?:”]config screenshot.png[/url]

          1 Reply Last reply Reply Quote 0
          • S
            Sk00t3r
            last edited by

            Ok looks like its not able to connect to the MYSQL database. Scroll down farther in your config.php file (the 3rd red box in my picture above) and make sure you have the correct password in there (the the one you entered while setting up fog initially) (the database should be fog the user should be root), also is your username and password to logon to your ubuntu pc fog/fog?

            1 Reply Last reply Reply Quote 0
            • J
              Jared Warren
              last edited by

              I have the same password entered there as my other ones. Also i login to my ubuntu account with my name as user and fog as my password. Having that password set to fog conflict with something by chance?

              1 Reply Last reply Reply Quote 0
              • S
                Sk00t3r
                last edited by

                Did you use the password “fog” for your MYSQL database when setting it up? or did you leave it blank? (most guides i have read say just leave it blank so if you followed a guide perhaps you also left it blank and thats what it should be). It really sounds like you have the incorrect password set to login to the SQL database “fog”.

                Make sure you have the password entered at the initial setup for the SQL database entered in /var/www/fog/commons/config.php and also check /opt/fog/service/etc/config.php

                1 Reply Last reply Reply Quote 0
                • S
                  Sk00t3r
                  last edited by

                  Oh sorry read your post again your login needs to be set to “fog” as the username NOT USER.

                  1 Reply Last reply Reply Quote 0
                  • J
                    Jared Warren
                    last edited by

                    I’m a bit confused. I didn’t think you could login to the fog account when it creates it. Also I tried leaving the password blank in both files but still got the same error. The guide i followed had me enter a password and i made sure to right it down so i don’t think it is a lack of not know my password. If I somehow fat fingered it when changing in the webui could that be my problem?

                    1 Reply Last reply Reply Quote 0
                    • S
                      Sk00t3r
                      last edited by

                      In your original post you said “Once changing my tftp_ftp_password in webui to my fog password I get “unable to connect to host”.”

                      I am trying everything I can think of but this error does not come from chaging that password. To double check I logged into my fog server changed that password rebooted and logged in again with no issues. Im sure i will not be able to boot a client up to the fog server but the WEBUI should NOT be affected in anyway by this change.

                      The ONLY way I have replicated this error is by typing the WRONG password (the one I DID NOT use at the SQL setup portion of the fog server) into:

                      “MYSQL_PASSWORD” “xxxxxxxxxxxx”

                      does your portion of the config.php look like mine?

                      Im sorry I couldnt be of more assistance.

                      [url=“/_imported_xf_attachments/0/57_Capture2.PNG?:”]Capture2.PNG[/url]

                      1 Reply Last reply Reply Quote 0
                      • J
                        Jared Warren
                        last edited by

                        Sk00t3r,

                        I appreciate you taking your time to help me after making sure all my passwords were correct I started looking through my notes. I found one file that i had documented that I had messed with. This file was /etc/mysql/my.cnf. For some reason when i switched my bind address i must have not hit save when i updated my ip address. Once again thank you for you time.

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

                        151

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project