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

I'm stuck! FOG 1.2.0 issues Centos 7. Both server and StorageNode

Scheduled Pinned Locked Moved Solved
FOG Problems
4
9
2.6k
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.
  • B
    BardWood
    last edited by Feb 18, 2016, 1:36 AM

    Greetings all,

    Here is an outline of issues plaguing me at the moment. Any assistance or pointers to other references appreciated.

    Server:
    Unicast image up/down is working fine over multiple VLANs. I can re-run the install script without issue. I can connect to the ‘fog’ (MariaDB) db from the command line as root, but not as user ‘fog’. DB DOES have a password but even when I specify the fog user’s PW, it won’t let me in.

    All services can be started from command line without error. But when I do a 'systemctl status FOGxxxx (any of the FOG services) I get a bunch of noise about mysql

    ALA
    [root@SF-FOG-V ~]# systemctl status FOGImageReplicator -l
    ● FOGImageReplicator.service - SYSV: Startup/shutdown script for the FOG Multicast Management service.
    Loaded: loaded (/etc/rc.d/init.d/FOGImageReplicator)
    Active: active (exited) since Wed 2016-02-17 16:47:29 PST; 33min ago
    Docs: man:systemd-sysv-generator(8)
    Process: 1062 ExecStart=/etc/rc.d/init.d/FOGImageReplicator start (code=exited, status=0/SUCCESS)

    Feb 17 16:47:28 SF-FOG-V systemd[1]: Starting SYSV: Startup/shutdown script for the FOG Multicast Management service…
    Feb 17 16:47:29 SF-FOG-V FOGImageReplicator[1062]: Starting FOGImageReplicator: [ OK ]
    Feb 17 16:47:29 SF-FOG-V systemd[1]: Started SYSV: Startup/shutdown script for the FOG Multicast Management service…
    Feb 17 16:47:29 SF-FOG-V FOGImageReplicator[1062]: PHP Warning: mysqli::mysqli(): (HY000/2002): Connection refused in /var/www/html/fog/lib/db/MySQL.class.php on line 64
    Feb 17 16:47:29 SF-FOG-V FOGImageReplicator[1062]: PHP Warning: mysqli::select_db(): Couldn’t fetch mysqli in /var/www/html/fog/lib/db/MySQL.class.php on line 165
    Feb 17 16:47:29 SF-FOG-V FOGImageReplicator[1062]: PHP Warning: mysqli::query(): Couldn’t fetch mysqli in /var/www/html/fog/lib/db/MySQL.class.php on line 89
    Feb 17 16:47:29 SF-FOG-V FOGImageReplicator[1062]: PHP Warning: MySQL::sqlerror(): Couldn’t fetch mysqli in /var/www/html/fog/lib/db/MySQL.class.php on line 180
    Feb 17 16:47:29 SF-FOG-V FOGImageReplicator[1062]: PHP Warning: array_key_exists() expects parameter 2 to be array, null given in /var/www/html/fog/lib/db/MySQL.class.php on line 150
    Feb 17 17:20:24 SF-FOG-V systemd[1]: Started SYSV: Startup/shutdown script for the FOG Multicast Management service…

    I upgraded to PHP 5.6 on both master and storage hoping that would fix stuff but alas, no change. The errors for the other FOG services, when invoked with ‘status’ are similar. In all cases, ‘systemctl start FOGXXXX’ starts the service(s) without complaining.

    On master, I’ve added the StorageNode and am able to see StorageNode host stats and disk info as it should be. But no replication ever occurs in the logs.

    On StorageNode, also Centos 7, no images ever populate /images or /fog_images which I created. .mntcheck exists in /images & images/dev (ditto for my second set of folders). I’ve tried it as a member of the default group, and a member (‘is master’ unchecked) of a second storage group.

    I can see the NFS shares of both machines over the network and mount them. I can FTP ‘to and from’ without issue.

    If anyone can give me an educated guess of where to check next or any other info needed from me please let me know. Or even a better logging method (surprisingly light on details so I must be looking in the wrong place).

    THX all,
    Bard

    1 Reply Last reply Reply Quote 0
    • W
      Wayne Workman
      last edited by Wayne Workman Feb 17, 2016, 8:15 PM Feb 18, 2016, 2:14 AM

      I added notes to our “Troubleshoot MYSQL” wiki article about manually recreating MySQL users. It’s a hot mess because I haven’t finished the article yet, but you can find it here: https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_MySQL

      Try to recreate the fog user, and then try to manually log into mysql using the newly created user. If that works, then use that info when installing fog.

      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!
      Daily Clean Installation Results:
      https://fogtesting.fogproject.us/
      FOG Reporting:
      https://fog-external-reporting-results.fogproject.us/

      1 Reply Last reply Reply Quote 0
      • W
        Wayne Workman
        last edited by Feb 18, 2016, 2:44 AM

        The “Troubleshoot MySQL” wiki article is complete. https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_MySQL

        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!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Sebastian Roth Feb 26, 2016, 2:31 PM Feb 26, 2016, 8:29 PM

          @BardWood Did you get this solved? Please help the community by describing how you solved this!

          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

          B 1 Reply Last reply Feb 26, 2016, 9:50 PM Reply Quote 0
          • B
            BardWood @Sebastian Roth
            last edited by Feb 26, 2016, 9:50 PM

            @Sebastian-Roth Yes and no. I reverted to Centos 6.7 and all is good. To be fair there is a big disclaimer at the top of the ‘FOG on Centos 7’ page but the fix described didn’t work for me.

            –bw

            W 1 Reply Last reply Feb 26, 2016, 9:53 PM Reply Quote 0
            • W
              Wayne Workman @BardWood
              last edited by Wayne Workman Feb 26, 2016, 3:56 PM Feb 26, 2016, 9:53 PM

              @BardWood The centOS 7 articles are very poorly written, confusing, and outdated.

              You’d be better off following the Fedora 21 Server article when installing on CentOS 7, it’s clear, concise, and up to date.

              I’m going to blast the CentOS 7 articles soon and re-write them - it will be 95% copied from the Fedora 21 Server article. I’ve only held off from doing it this long because other people wanted to do it and I have been patiently waiting for them to do it - but no such luck.

              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!
              Daily Clean Installation Results:
              https://fogtesting.fogproject.us/
              FOG Reporting:
              https://fog-external-reporting-results.fogproject.us/

              1 Reply Last reply Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by Mar 5, 2016, 11:40 AM

                Marked as solved as the CentOS 7 article will hopefully be updated soon! 😉

                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

                W 1 Reply Last reply Mar 5, 2016, 6:53 PM Reply Quote 0
                • W
                  Wayne Workman @Sebastian Roth
                  last edited by Mar 5, 2016, 6:53 PM

                  @Sebastian-Roth said:

                  Marked as solved as the CentOS 7 article will hopefully be updated soon! 😉

                  https://wiki.fogproject.org/wiki/index.php?title=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!
                  Daily Clean Installation Results:
                  https://fogtesting.fogproject.us/
                  FOG Reporting:
                  https://fog-external-reporting-results.fogproject.us/

                  G 1 Reply Last reply Mar 5, 2016, 7:45 PM Reply Quote 1
                  • G
                    george1421 Moderator @Wayne Workman
                    last edited by Mar 5, 2016, 7:45 PM

                    @Wayne-Workman said:

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

                    Great job!! Especially since a picture is worth a 1000 words (as they say).

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

                    233

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project