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

    Solved Can't Reach Fog GUI "Database connection unavailable"

    FOG Problems
    3
    5
    768
    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.
    • Z
      zpoling last edited by

      We began having issues this morning that prevented computers on a different VLAN than the fog server from finding the TFTP server; it would request us to enter the TFTP server address. Going through a few threads, it seems that this is caused by multiple DHCP servers, but we only have one. I have a pcap file showing this.

      Something I always do when we have odd fog issues is reboot the server. If that doesn’t work, I rerun the installer. I did this specifically because I thought /maybe/ the fog DHCP may have turned on somehow. Once the installer finished, it said that the fog password change was failed. No biggie, I know where to change it myself; I verified it’s correct in all the server locations. However, now I’m unable to reach the web GUI at all. All I see on the GUI is “Database connection unavailable.”

      9am-5pm Eastern | Monday-Friday

      george1421 1 Reply Last reply Reply Quote 0
      • george1421
        george1421 Moderator @zpoling last edited by

        @zpoling Is this on a ubuntu fog server?

        If so, please review this: https://forums.fogproject.org/topic/10006/ubuntu-is-fog-s-enemy

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

        Z 1 Reply Last reply Reply Quote 1
        • Z
          zpoling @Sebastian Roth last edited by zpoling

          @Sebastian-Roth I’ve opened another thread about it. I ran a program that scans for DHCP traffic because I’m not too familiar with wireshark, but it does the same thing I imagine. After three hours, the only traffic showing up was our one and only DHCP server.

          https://forums.fogproject.org/topic/12615/tftp-only-working-with-certain-vlans/2

          9am-5pm Eastern | Monday-Friday

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator last edited by

            @zpoling said in Can't Reach Fog GUI "Database connection unavailable":

            Or not. Now it’s just intermittent.

            So you still see the DHCP issue? To me this sounds like you have a rough DHCP server somewhere in your network. Probably best to capture some network traffic using wireshark and see if you can find out where those other DHCP answers are coming from.

            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

            Z 1 Reply Last reply Reply Quote 0
            • Z
              zpoling @george1421 last edited by zpoling

              @george1421 Yes, it is Ubuntu. That article fixed it. 🙂 Time to tackle the other issue. 😞

              Edit: That actually took care of my other issue too!!

              EditEdit: Or not. Now it’s just intermittent.

              9am-5pm Eastern | Monday-Friday

              1 Reply Last reply Reply Quote 0
              • george1421
                george1421 Moderator @zpoling last edited by

                @zpoling Is this on a ubuntu fog server?

                If so, please review this: https://forums.fogproject.org/topic/10006/ubuntu-is-fog-s-enemy

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

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

                149
                Online

                10.4k
                Users

                16.4k
                Topics

                150.5k
                Posts

                Copyright © 2012-2023 FOG Project