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

FOG Node setup issues

Scheduled Pinned Locked Moved Solved
FOG Problems
4
12
2.0k
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.
  • N
    nrg
    last edited by nrg Nov 8, 2017, 12:21 PM Nov 8, 2017, 6:16 PM

    ah thank you for that.
    updated now and my main fog sees the node
    but it still gives this message under the storage node disk usage drop down menu: “A valid database connection could not be made”@@general"
    It must be a bug when reading for the kernal info. But i’m able to see the node’s disk useage correctly.

    http://fognodeIP/fog still shows error 500 but that might be by designed. in 1.2.0 it showed a small text message.

    other than that. it’s replicating! thank you. solved!

    J 2 Replies Last reply Nov 8, 2017, 6:36 PM Reply Quote 0
    • J
      JGallo @nrg
      last edited by Nov 8, 2017, 6:36 PM

      @nrg

      I also had the valid database connection error which turned out to be a limit that I was hitting with mysql. Could be related and you could go into mysql and check to see if you are hitting that provided your credentials for your nodes are correct. It sounds like they are because replication is working.

      Discussion about valid database connection

      If you go into mysql, you could check by running the following command:

      mysql> show variables like 'max_connections';
      

      that max value if it’s being hit will show in the following command:

      mysql> show status like '%onn%';
      

      If the output of that is higher than the max connections then there is your problem. Read through the discussion and see if it can help what your dealing with.

      1 Reply Last reply Reply Quote 1
      • J
        JGallo @nrg
        last edited by Nov 8, 2017, 6:38 PM

        @nrg

        Just realized your node is on 1.2 and your FOG server is on 1.5 RC10. I would update your storage node first if that’s an option. Many changes since 1.2

        1 Reply Last reply Reply Quote 1
        • N
          nrg
          last edited by Nov 8, 2017, 6:45 PM

          max connection is 151, show status has a current connetion of 37, max used connection of 1 and threads connected of 1. everything else is 0.

          will read the other thread. both node and main server are 1.5.0-rc10.

          thank you, you’ve been a big help.

          1 Reply Last reply Reply Quote 0
          • N
            nrg
            last edited by Nov 8, 2017, 11:08 PM

            @JGallo
            (0_1510182370293_fog_node.png image url)

            check this out. see that error under kernel? well it looks like the entire info is on the wrong row.
            storage node name is right, the IP is right, the “a valid database…” message shouldn’t be there, so now the Kernal 3.13…" message is pushed down a row. uptime is on the wrong row. So i think it’s an bug in the php code somewhere. the node works and connects and replicates fine. I’ve checked the settings you mention and dont see an issue.

            J 1 Reply Last reply Nov 8, 2017, 11:14 PM Reply Quote 0
            • J
              JGallo @nrg
              last edited by Nov 8, 2017, 11:14 PM

              @nrg

              Possibly could be a bug. Wouldn’t be the first time LOL. Curiously what browser are you on and what size screen are you on? If you try to narrow the window on super wide screen I have seen the dashboard get all weird so I usually keep the window expanded.

              1 Reply Last reply Reply Quote 0
              • W
                Wayne Workman
                last edited by Nov 9, 2017, 1:45 AM

                I would expect this to be resolved once the storage nodes version matches the fog server’s version, just as @JGallo suggested.

                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
                • S
                  Sebastian Roth Moderator
                  last edited by Nov 9, 2017, 10:37 AM

                  @nrg Please report back when you have all servers running the same FOG version.

                  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
                  • N
                    nrg
                    last edited by nrg Nov 9, 2017, 10:52 AM Nov 9, 2017, 4:52 PM

                    @Wayne-Workman My main server was 1.5.0 RC9 and my node was 1.5.0 RC10 which is why it didn’t work. I did update my main server after Jgallo mentioned it and has resolved most of the issues.

                    I think the “(“A valid database connection could not be made” 1.5.0-RC-10)” might be a bug. I’ve found two other threads that mention the same thing but their solution didn’t work on my end. As long as the server is replicating, i’m all good.

                    please marked as solved thanks.

                    W 1 Reply Last reply Nov 9, 2017, 5:44 PM Reply Quote 0
                    • W
                      Wayne Workman @nrg
                      last edited by Nov 9, 2017, 5:44 PM

                      @nrg Marking this as solved then. For the database connection issue, open up another thread please.

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

                      187

                      Online

                      12.2k

                      Users

                      17.4k

                      Topics

                      155.5k

                      Posts
                      Copyright © 2012-2024 FOG Project