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

My database connection appears to be invalid?

Scheduled Pinned Locked Moved Solved
Bug Reports
5
25
9.5k
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.
  • W
    Wayne Workman
    last edited by Nov 8, 2016, 10:02 PM

    This post is deleted!
    J 1 Reply Last reply Nov 8, 2016, 10:36 PM Reply Quote 0
    • J
      JJ Fullmer Testers
      last edited by Nov 8, 2016, 10:35 PM

      This sounds like a mariaDB (aka mySql) issue. And it sounds like it’s just not configured to start on startup if systemctl start mysqld.service fixes it. This article might could help.
      https://mariadb.com/kb/en/mariadb/starting-and-stopping-mariadb-automatically/

      I thought that the database got configured to automatically start on the apt-get/yum install.
      I have cent os 7 and have never had to do any sort of configuration for fog services to run on startup.

      W 1 Reply Last reply Nov 8, 2016, 11:41 PM Reply Quote 0
      • J
        JJ Fullmer Testers @Wayne Workman
        last edited by Nov 8, 2016, 10:36 PM

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • W
          Wayne Workman @JJ Fullmer
          last edited by Nov 8, 2016, 11:41 PM

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • W
            Wayne Workman
            last edited by Nov 8, 2016, 11:47 PM

            In centos 7 the way to start maridadb on boot is probably:
            systemctl eanble mysqld

            I’m still waiting to hear back on the commands I posted.

            A 1 Reply Last reply Nov 9, 2016, 1:36 PM Reply Quote 0
            • A
              AngryScientist @Wayne Workman
              last edited by Nov 9, 2016, 1:36 PM

              @Wayne-Workman

              systemctl enable mysqld
              

              Typo correction!

              I will reboot my FOG server later today and give you the results of your suggestions. Right now I am reveling in the wonders of 5GBps imagine speed. 1.2.0 on my old hardware topped out at 1.2GBps

              W 1 Reply Last reply Nov 9, 2016, 2:33 PM Reply Quote 1
              • W
                Wayne Workman @AngryScientist
                last edited by Nov 9, 2016, 2:33 PM

                @AngryScientist said in My database connection appears to be invalid?:

                Right now I am reveling in the wonders of 5GBps imagine speed. 1.2.0 on my old hardware topped out at 1.2GBps

                A lot of that has to do with the performance improvements of FOG 1.3.0 RC, a change was made to how the images are compressed and decompressed for imaging and some people reported 50 to 100% speed increases.

                1 Reply Last reply Reply Quote 1
                • T
                  Tom Elliott
                  last edited by Nov 9, 2016, 6:50 PM

                  RC-22 Officially released.

                  Please update and hopefully you’ll see all the latest goodies and what not. (Hopefully this will be fixed for you too.)

                  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

                  A 1 Reply Last reply Nov 9, 2016, 9:10 PM Reply Quote 0
                  • A
                    AngryScientist @Tom Elliott
                    last edited by Nov 9, 2016, 9:10 PM

                    @Tom-Elliott
                    I know how to do a git pull, but what is the official upgrade procedure?

                    W 1 Reply Last reply Nov 10, 2016, 2:43 AM Reply Quote 0
                    • W
                      Wayne Workman @AngryScientist
                      last edited by Nov 10, 2016, 2:43 AM

                      @AngryScientist here:

                      https://wiki.fogproject.org/wiki/index.php?title=Upgrade_to_trunk

                      1 Reply Last reply Reply Quote 0
                      • T
                        Tom Elliott
                        last edited by Nov 10, 2016, 11:37 AM

                        In very simple terms:

                        https://wiki.fogproject.org/wiki/index.php?title=Upgrade_to_trunk

                        Essentially, open a terminal.

                        Cd to the installer directory.

                        If you loaded the repo from git, make sure you’re on the dev-branch:

                        git checkout dev-branch

                        Ensure you’re environment is setup without customizations:

                        git reset --hard

                        Pull the latest:

                        git pull

                        Cd to the BIN directory:

                        cd bin

                        Install as normal.

                        ./installfog.sh -y

                        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

                        A 1 Reply Last reply Dec 15, 2016, 7:01 PM Reply Quote 1
                        • A
                          AngryScientist @Tom Elliott
                          last edited by Dec 15, 2016, 7:01 PM

                          @Tom-Elliott

                          Time to un-zombie the thread.

                          I updated to RC-36, and same same. I had to sudo systemctl start mysqld to get the database connection running.

                          T G 2 Replies Last reply Dec 15, 2016, 9:50 PM Reply Quote 0
                          • T
                            Tom Elliott @AngryScientist
                            last edited by Dec 15, 2016, 9:50 PM

                            @AngryScientist Are you sure it wasn’t:

                            systemctl start mysql or even systemctl start mariadb?

                            I’m trying to validate what the problem is here, and I’m fairly sure we’d have seen a bunch of issues with this operationally speaking. (We have a bunch of people using CentOS 7).

                            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
                            • G
                              george1421 Moderator @AngryScientist
                              last edited by george1421 Dec 15, 2016, 3:58 PM Dec 15, 2016, 9:57 PM

                              @AngryScientist It would be interesting to know if the contents of your .fogsettings file is messed up and then upgrading caused the installer to look at bad data again??

                              My production server is running Centos 7, I think we are on RC34 and that upgraded cleanly.

                              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!

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

                              149

                              Online

                              12.1k

                              Users

                              17.3k

                              Topics

                              155.3k

                              Posts
                              Copyright © 2012-2024 FOG Project