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

Fog wants to reinstall schema when machine rebooted

Scheduled Pinned Locked Moved
Linux Problems
4
5
1.9k
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.
  • P
    peterloron
    last edited by Oct 14, 2014, 10:53 PM

    I’m working on installing Fog 1.2.0 on an Ubuntu 14.04 machine. The ubuntu machine is up to date, but has nothing other than SSH installed. I run the install script and everything seems to go ok. Once all the steps are complete, I can log in to the web UI. I can PXE boot a machine and register it, etc. If I reboot the Fog machine, it comes up, but when I visit the web UI, it tries to force me to do the schema install step again.

    Any suggestions?

    Thanks.

    1 Reply Last reply Reply Quote 0
    • J
      Junkhacker Developer
      last edited by Oct 15, 2014, 3:06 PM

      check if mysql is running

      signature:
      Junkhacker
      We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

      1 Reply Last reply Reply Quote 0
      • P
        peterloron
        last edited by Oct 15, 2014, 6:41 PM

        Yes, it is running. I found a bunch of errors in the mysql/error.log file indicating that InnoDB was having problems locking files.

        Further digging seems to indicate that mysqld is configured to start twice. Once in /etc/init.d and once in /etc/init. Not sure where that is wired into the instal scripts, but apparently in 14.04, the mysql-server package installs the daemon control in /etc/init (upstart).

        If somebody can point to where the init.d stuff is handled for Ubuntu, I will take a whack at modifying the scripts to handle the 14.04 case.

        1 Reply Last reply Reply Quote 0
        • P
          pac1085
          last edited by Oct 21, 2014, 1:21 PM

          I am having the same issue on 14.04.

          sudo service mysql stop && sudo service mysql start fixes it.

          Also seems to cause (maybe unrelated, not sure?) issues with FOGMulticastManager

          1 Reply Last reply Reply Quote 0
          • T
            Tom Elliott
            last edited by Oct 21, 2014, 1:34 PM

            [url]https://github.com/mastacontrola/fogproject/issues/1[/url]

            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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

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

            261

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project