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

    Database unavailable

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    4
    363
    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
      JulianC
      last edited by

      Hi Guys,

      This morning when I tried to login to the interface of the fog server i got the message “Database connection unavailable”
      Even when I try to go on to the ubuntu server it is very slow.

      Can anyone help me with this problem?

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

        @JulianC Maybe Ubuntu unattended updates going on?

        See if the database is up and running: sudo systemctl status mariadb

        As well take a look at the file /var/www/html/fog/lib/fog/config.class.php to get the database credentials. Then try to login to the DB using those on the command line: mysql -u fogmaster -p

        As well

        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

        J 1 Reply Last reply Reply Quote 0
        • J
          JulianC @Sebastian Roth
          last edited by

          @sebastian-roth Hi I had to reset the FOG as it was too full to even start the DB services. Soo now i reconfigured the fog server, but I do get an error message:
          https://imgur.com/a/bzDerWO

          The master node storage is my synology nas: 192.168.190.250 I used the NAS synology tutorial:
          https://forums.fogproject.org/topic/9430/synology-nas-as-fog-storage-node?page=1

          But I am still phasing this problem and I couldn’t find a fix at:
          https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_FTP

          Help would be appreciated!

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

            @julianc said in Database unavailable:

            The master node storage is my synology nas: 192.168.190.250

            Did that setup work before? Or did you setup this just now?

            Did you follow the tutorial to the point? Enabled FTP as well? Do you see the folder mentioned in the error message on you NAS in the images share?

            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 0
            • 1 / 1
            • First post
              Last post

            189

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project