• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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
550
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 Dec 24, 2018, 5:51 PM

    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 Dec 24, 2018, 6:32 PM

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

      G 1 Reply Last reply Dec 24, 2018, 6:42 PM Reply Quote 0
      • G
        george1421 Moderator @ConJon
        last edited by Dec 24, 2018, 6:42 PM

        @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 Dec 24, 2018, 6:56 PM Reply Quote 0
        • C
          ConJon @george1421
          last edited by Dec 24, 2018, 6:56 PM

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

          G 1 Reply Last reply Dec 24, 2018, 7:05 PM Reply Quote 0
          • G
            george1421 Moderator @ConJon
            last edited by george1421 Dec 24, 2018, 1:06 PM Dec 24, 2018, 7:05 PM

            @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 Dec 24, 2018, 7:08 PM Reply Quote 0
            • C
              ConJon @george1421
              last edited by Dec 24, 2018, 7:08 PM

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

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

              221

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project