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

Can't Reach Fog GUI "Database connection unavailable"

Scheduled Pinned Locked Moved Solved
FOG Problems
3
5
1.2k
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 Nov 1, 2018, 3:06 PM

    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

    G 1 Reply Last reply Nov 1, 2018, 3:45 PM Reply Quote 0
    • G
      george1421 Moderator @zpoling
      last edited by Nov 1, 2018, 3:45 PM

      @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 Nov 1, 2018, 4:02 PM Reply Quote 1
      • Z
        zpoling @george1421
        last edited by zpoling Nov 1, 2018, 11:57 AM Nov 1, 2018, 4:02 PM

        @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
        • S
          Sebastian Roth Moderator
          last edited by Nov 2, 2018, 8:34 AM

          @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 Nov 2, 2018, 12:54 PM Reply Quote 0
          • Z
            zpoling @Sebastian Roth
            last edited by zpoling Nov 2, 2018, 6:56 AM Nov 2, 2018, 12:54 PM

            @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
            • 1 / 1
            1 / 1
            • First post
              3/5
              Last post

            151

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project