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

    Error after upgrading to trunk

    Scheduled Pinned Locked Moved
    FOG Problems
    5
    19
    4.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.
    • I
      ITSolutions Testers @rhekkers
      last edited by ITSolutions

      @rhekkers Can you check to see if mysql is running?

      sudo /etc/init.d/mysql status

      If not then try starting it, sometimes the installer doesn’t start it correctly

      sudo /etc/init.d/mysql start

      R 1 Reply Last reply Reply Quote 0
      • R
        rhekkers @ITSolutions
        last edited by

        @ITSolutions

        It was running as process 14020, tried restarting it through
        sudo /etc/init.d/mysql restart
        and through
        sudo /etc/init.d/mysql stop
        sudo /etc/init.d/mysql start
        sadly it made no difference.

        I 1 Reply Last reply Reply Quote 0
        • I
          ITSolutions Testers @rhekkers
          last edited by

          @rhekkers Can you check /opt/fog/.fogsettings and see if the following lines are in it

          snmysqluser="root";
          snmysqlpass="this may contain a password";
          snmysqlhost="p:localhost";

          If you left the password blank then the snmysqlpass should look like this,

          snmysqlpass='';

          If it isn’t try blanking it out and rerunning the installer to see if it fixes the issue.

          R 1 Reply Last reply Reply Quote 0
          • R
            rhekkers @ITSolutions
            last edited by rhekkers

            @ITSolutions
            They have all been left blank.

            I made a quick backup and tried using root without password in the user and localhost or the ipaddress as host. Neither of those combinations yielded results.

            removed .fogsettings and copied .fogsettings.bak to .fogsettings

            1 Reply Last reply Reply Quote 0
            • L
              lionheart1986
              last edited by

              @rhekkers @ITSolutions

              I have same issue

              What i tryed:

              I had same problem as you FOG 1.3.0 Ubuntu 14.04 LTS

              1. First i checkd:
                /opt/fog/.fogsettings

              and this positions was blank:
              snmysqluser=“”;
              snmysqlpass=“”;
              snmysqlhost=“”;

              2.Second i setup my sql pass

              sudo dpkg-reconfigure mysql-server-5.5

              and modify /opt/fog/.fogsettings

              snmysqluser=“root”;
              snmysqlpass=“mypassword”;
              snmysqlhost=“p:localhost”;

              1. i checked sql connection:

              mysql -u root -p

              but still have same issue 😛

              R 1 Reply Last reply Reply Quote 0
              • R
                rhekkers @lionheart1986
                last edited by rhekkers

                @lionheart1986 Did you recently install it, upgraded it from a previous trunk version, or upgraded it from 1.2 like I did? Just curious.

                <edit>
                I also pulled it from the git repository

                1 Reply Last reply Reply Quote 0
                • L
                  lionheart1986
                  last edited by lionheart1986

                  @rhekkers The first time I tried to do the upgrade from 1.2.0 but I had the same problem. Currently I installed a fresh system 14.04 but it did not help.

                  <edit>
                  On 1.2.0 during installation it asks me about setup sql password but on 1.3.0 it won’t ask

                  1 Reply Last reply Reply Quote 0
                  • R
                    RLane
                    last edited by

                    Also having this problem. Clean install on CentOS 7 x64 using the latest git version (7695).

                    1 Reply Last reply Reply Quote 0
                    • Tom ElliottT
                      Tom Elliott
                      last edited by

                      Anybody having this issue, please post the log.

                      “I’m having this issue” where we don’t know what issue is even occurring doesn’t help anybody.

                      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

                      R 1 Reply Last reply Reply Quote 0
                      • R
                        RLane @Tom Elliott
                        last edited by

                        @Tom-Elliott Am I missing something here? /opt/fog/log is empty.

                        Tom ElliottT 1 Reply Last reply Reply Quote 0
                        • Tom ElliottT
                          Tom Elliott @RLane
                          last edited by

                          @RLane It should be under apache error logs. If it’s not getting that far, it should be under installer->bin/error_logs/fog_error_${versionInstalling}.log

                          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

                          R 1 Reply Last reply Reply Quote 0
                          • R
                            RLane @Tom Elliott
                            last edited by

                            @Tom-Elliott

                            fog_error_7695.log

                            /bin/lsb_release
                            /bin/systemctl
                            grep: /opt/fog/.fogsettings: No such file or directory
                            ln: failed to create symbolic link ‘/usr/lib/systemd/system/mysql.service’: File exists
                            ln: failed to create symbolic link ‘/usr/lib/systemd/system/mysqld.service’: File exists
                            ln: failed to create symbolic link ‘/etc/systemd/system/mysql.service’: File exists
                            ln: failed to create symbolic link ‘/etc/systemd/system/mysqld.service’: File exists
                            Loaded plugins: fastestmirror
                            Loading mirror speeds from cached hostfile

                            • base: bay.uchicago.edu
                            • epel: mirror.steadfast.net
                            • extras: bay.uchicago.edu
                            • remi: mirrors.mediatemple.net
                            • remi-php56: mirrors.mediatemple.net
                            • remi-safe: mirrors.mediatemple.net
                            • updates: mirror.umd.edu
                              Package epel-release-7-6.noarch already installed and latest version
                              Nothing to do
                              package remi-release-7 is not installed
                              Retrieving http://rpms.remirepo.net/enterprise/remi-release-7.rpm
                              Preparing… ########################################
                              package remi-release-7.1-3.el7.remi.noarch is already installed
                              Loaded plugins: fastestmirror
                              ================================== repo: remi ==================================
                              [remi]
                              async = True
                              bandwidth = 0
                              base_persistdir = /var/lib/yum/repos/x86_64/7
                              baseurl =
                              cache = 0
                              cachedir = /var/cache/yum/x86_64/7/remi
                              check_config_file_age = True
                              cost = 1000
                              deltarpm_metadata_percentage = 100
                              deltarpm_percentage =
                              enabled = True
                              enablegroups = True
                              exclude =
                              failovermethod = priority
                              gpgcadir = /var/lib/yum/repos/x86_64/7/remi/gpgcadir
                              gpgcakey =
                              gpgcheck = True
                              gpgdir = /var/lib/yum/repos/x86_64/7/remi/gpgdir
                              gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
                              hdrdir = /var/cache/yum/x86_64/7/remi/headers
                              http_caching = all
                              includepkgs =
                              ip_resolve =
                              keepalive = True
                              keepcache = False
                              mddownloadpolicy = sqlite
                              mdpolicy = group:small
                              mediaid =
                              metadata_expire = 21600
                              metadata_expire_filter = read-only:present
                              metalink =
                              minrate = 0
                              mirrorlist = http://rpms.remirepo.net/enterprise/7/remi/mirror
                              mirrorlist_expire = 86400
                              name = Remi’s RPM repository for Enterprise Linux 7 - x86_64
                              old_base_cache_dir =
                              password =
                              persistdir = /var/lib/yum/repos/x86_64/7/remi
                            1 Reply Last reply Reply Quote 0
                            • Tom ElliottT
                              Tom Elliott
                              last edited by

                              All should be fixed in latest.

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

                              164

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project