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

    CentOS 7 Physical Machine Restart Won't Start FOG

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    2
    6
    549
    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.
    • C
      ConJon
      last edited by

      I installed FOG a couple days ago and it was working fine. But I had slowness when deploying an image so I restarted my FOG machine to start troubleshooting and now my FOG Management console times out. It says “Database connection unavailable” any ideas? It makes me think the reboot didn’t start the services back up. Anyone know how to start those?

      1 Reply Last reply Reply Quote 0
      • C
        ConJon
        last edited by

        Fixed. I needed to run the command “service mysql restart”

        george1421G 1 Reply Last reply Reply Quote 0
        • george1421G
          george1421 Moderator @ConJon
          last edited by

          @ConJon It sounds like you don’t have mysql configured to auto start when the system is started. Issue the following command from the FOG server’s linux console. systemctl enable mysql to enable it to start on each reboot. And then you probably should get use to the systemd service commands instead of the older sys-v commands (i.e. systemctl) moving forward.

          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!

          C 1 Reply Last reply Reply Quote 0
          • C
            ConJon @george1421
            last edited by

            @george1421 Tried that command and it throws an error saying invalid argument

            george1421G 1 Reply Last reply Reply Quote 0
            • george1421G
              george1421 Moderator @ConJon
              last edited by george1421

              @ConJon Yeah I think I had too much eggnog already. The database installed under centos is mariadb

              So you will want to use these commands:
              Start the database server
              systemctl start mariadb
              Restart the database server
              systemctl restart mariadb
              Enable at startup:
              systemctl enable mariadb
              Status:
              systemctl status mariadb

              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!

              C 1 Reply Last reply Reply Quote 0
              • C
                ConJon @george1421
                last edited by

                @george1421 Hahaha, it’s all good. Thank you! Merry Christmas!

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

                150

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project