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

Your database connection appears to be invalid.

Scheduled Pinned Locked Moved Solved
FOG Problems
5
10
2.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.
  • B
    bmick10
    last edited by Apr 28, 2017, 9:43 PM

    Server VCenter 6.0.0
    • FOG Version: 1.3.5-RC-11
    • OS: Ubuntu
    Client 11.10
    • Service Version:
    • OS: Windows 7 and 10

    So this maybe a VMware question. We are running database on Ubuntu machine on a VM. 600 GB Thick Provision. So we have about 200GB used on the ubuntu Server but the VM says it is at capacity which is giving me this error where database will not start up.

    Any suggestions from others that may have had this problem. Thinking it is a VM issue because the server itself is not full as far as I can see. 200GB used when I do a properties check. So one thing is I deleted a bunch of files yesterday and they seem to be gone and out of trash even. Is there any where that storage maybe taking up or something I am missing. I had another 200GB on there before yesterday. I was working on today and working fine and then all of suddent came to screen database appears invalid. Checked a couple things and seems to point to VM is full.

    One side note related to this when our server is down and pxe is first to boot on the devices any good way to stop looping and restarting without booting into OS. Need to boot in OS and guessing there is a setting in fog or may have to just look at shutting off pxe for a bit. Luckily I have another fog server to point too until this is solved. Thanks for any info or suggestions anyone has!!

    G 1 Reply Last reply Apr 28, 2017, 10:20 PM Reply Quote 0
    • G
      george1421 Moderator @bmick10
      last edited by Apr 28, 2017, 10:20 PM

      @bmick10 from the defective FOG server linux console prompt key in df -h and post the results here.

      Hint: if you connect to the fog server using putty you can copy and paste easier to the forum than from the fog server itself.

      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!

      1 Reply Last reply Reply Quote 0
      • B
        bmick10
        last edited by Apr 28, 2017, 11:28 PM

        0_1493422029101_upload-075d6a27-7e90-4be9-ab4d-c42a688d5a96

        T 1 Reply Last reply Apr 29, 2017, 12:47 AM Reply Quote 0
        • T
          Tom Elliott @bmick10
          last edited by Apr 29, 2017, 12:47 AM

          @bmick10 Please rerun the installer. This has been a common problem overnight apparently.

          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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          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

          1 Reply Last reply Reply Quote 1
          • B
            bmick10
            last edited by Apr 29, 2017, 2:21 AM

            Sorry for this question I am not expert on commands in Ubuntu and want to make sure I am doing right. Best way to rerun installer. I have just been running the updater which would give me latest version but want to just stay at this version I have. 1.3.5r11. So instead of running below best way to rerun installer without updating. Thanks

            cd /root/fogproject
            git checkout dev-branch
            git pull
            cd bin
            ./installfog.sh

            G 1 Reply Last reply Apr 29, 2017, 2:29 AM Reply Quote 0
            • G
              george1421 Moderator @bmick10
              last edited by Apr 29, 2017, 2:29 AM

              @bmick10 use same instructions without the git commands. The git commands update the install files

              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!

              1 Reply Last reply Reply Quote 0
              • B
                bmick10
                last edited by Apr 29, 2017, 2:54 AM

                Thank You!! Solved! Have a great weekend!

                1 Reply Last reply Reply Quote 0
                • G
                  grant1842
                  last edited by Apr 30, 2017, 5:45 PM

                  I had to re run the installer as well as remake my dnsmasq 2.76. For some reason after the server was restarted I also had the invalid database message but my dnsmasq reverted back to 2.75 which was causing the boot file to not be received correctly.

                  W G 2 Replies Last reply Apr 30, 2017, 6:03 PM Reply Quote 0
                  • W
                    Wayne Workman @grant1842
                    last edited by Wayne Workman Apr 30, 2017, 12:07 PM Apr 30, 2017, 6:03 PM

                    @grant1842 check your packages list inside of /opt/fog/.fogsettings and if you see dnsmasq in there, remove it. Also, if you follow @george1421’s instructions on building dnsmasq - that work gets overwritten if you used your package manager (apt-get or yum or dnf or pacman) to install dnsmasq, because the package manager will see that it’s managing dnsmasq and will update it when a newer version than what the package manager installed becomes available, overwriting your custom build. This is because your package manager is not aware that you replaced the binary with a custom one. All it knows is what it’s done itself.

                    Just things to be aware of.

                    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!
                    Daily Clean Installation Results:
                    https://fogtesting.fogproject.us/
                    FOG Reporting:
                    https://fog-external-reporting-results.fogproject.us/

                    1 Reply Last reply Reply Quote 0
                    • G
                      george1421 Moderator @grant1842
                      last edited by Apr 30, 2017, 6:51 PM

                      @grant1842 said in Your database connection appears to be invalid.:

                      I had to re run the installer as well as remake my dnsmasq 2.76. … but my dnsmasq reverted back to 2.75 which was causing the boot file to not be received correctly.

                      This is only speculation, but I’m guessing that the linux distro you use updated dnsmasq from (2.72 or 2.73) to 2.75, thus overwriting your compiled 2.76. As wayne said the package manager only knows about what it does. Hopefully the next time it happens is when your distribution updates to 2.76 or newer. Then it won’t matter at all.

                      On the plus side you were able to discover and fix the problem pretty quickly. So good job there.

                      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!

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

                      192

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project