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

    New storage node not showing stats on dashboard

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    2
    2
    301
    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.
    • ?
      A Former User
      last edited by

      Just installed a fresh storage node on a new CentOS VM I spun up. The install went smoothly, but after adding it to the management interface it wouldn’t show the stats on the dashboard. If I click on it to open the details all the hardware stats show, but next to kernel it reads “A valid database connection could not be made”@@general. As far as I can tell everything is set correctly. What can I do to troubleshoot this?

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

        @Shad0wguy Can you please take a screenshot of the message you see in the kernel page where is says “A valid database connection …”?

        Please take a look at /var/www/html/fog/lib/fog/config.class.php to see if the database credentials are set correctly. You can try connection to the database on your main server from your storage node using the mysql command line client:

        mysql -h x.x.x.x -u fogstorage -D fog -p
        

        Put in the master server’s IP instead of x.x.x.x!

        We have someone else reporting a similar issue when upgrading the storage node from 1.5.3 to 1.5.4. Possibly there is a bug/problem that we are not aware of yet. On the other hand I have done storage node installs and tests lately without running into such an issue.

        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

        140

        Online

        12.1k

        Users

        17.3k

        Topics

        155.3k

        Posts
        Copyright © 2012-2024 FOG Project