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

Error after upgrading to trunk

Scheduled Pinned Locked Moved
FOG Problems
5
19
5.1k
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 May 18, 2016, 12:50 PM

    @rhekkers No problem, definitely stick with 14.04, there have been problems reported with 16.04 and some of the packages FOG installs.

    R 1 Reply Last reply May 18, 2016, 12:55 PM Reply Quote 0
    • R
      rhekkers @ITSolutions
      last edited by May 18, 2016, 12:55 PM

      @ITSolutions I’ve seen them. Tried 16.04 first but has some PHP5 issues, now trying 14.04 which installed fine with 1.2. But now the trunk installation won’t let me install/update my database.

      Reinstalled Ubuntu and fog (14.04.1LTS), but still the Error communicating with the database on a blank screen in Firefox.
      It said it installed anything, but didn’t ask me for a password for the database. I gave the instruction I left the password for the database blank.

      I 1 Reply Last reply May 18, 2016, 1:02 PM Reply Quote 0
      • I
        ITSolutions Testers @rhekkers
        last edited by ITSolutions May 18, 2016, 7:02 AM May 18, 2016, 1:02 PM

        @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 May 18, 2016, 1:07 PM Reply Quote 0
        • R
          rhekkers @ITSolutions
          last edited by May 18, 2016, 1:07 PM

          @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 May 18, 2016, 1:19 PM Reply Quote 0
          • I
            ITSolutions Testers @rhekkers
            last edited by May 18, 2016, 1:19 PM

            @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 May 18, 2016, 1:28 PM Reply Quote 0
            • R
              rhekkers @ITSolutions
              last edited by rhekkers May 18, 2016, 7:30 AM May 18, 2016, 1:28 PM

              @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 May 18, 2016, 1:33 PM

                @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 May 18, 2016, 1:35 PM Reply Quote 0
                • R
                  rhekkers @lionheart1986
                  last edited by rhekkers May 18, 2016, 8:02 AM May 18, 2016, 1:35 PM

                  @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 May 18, 2016, 7:50 AM May 18, 2016, 1:41 PM

                    @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 May 18, 2016, 3:15 PM

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

                      1 Reply Last reply Reply Quote 0
                      • T
                        Tom Elliott
                        last edited by May 18, 2016, 3:22 PM

                        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 May 18, 2016, 3:24 PM Reply Quote 0
                        • R
                          RLane @Tom Elliott
                          last edited by May 18, 2016, 3:24 PM

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

                          T 1 Reply Last reply May 18, 2016, 3:25 PM Reply Quote 0
                          • T
                            Tom Elliott @RLane
                            last edited by May 18, 2016, 3:25 PM

                            @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 May 18, 2016, 3:33 PM Reply Quote 0
                            • R
                              RLane @Tom Elliott
                              last edited by May 18, 2016, 3:33 PM

                              @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
                              • T
                                Tom Elliott
                                last edited by May 18, 2016, 4:24 PM

                                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
                                1 / 1
                                • First post
                                  14/19
                                  Last post

                                164

                                Online

                                12.1k

                                Users

                                17.3k

                                Topics

                                155.3k

                                Posts
                                Copyright © 2012-2024 FOG Project