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

    No Replication to second Fog server, after updating to latest Rev. 5157

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    5
    16
    4.3k
    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.
    • S
      Sebastian Roth Moderator
      last edited by

      @John-L-Clark Newer linux versions usually use the commands: service vsftpd restart or systemctl restart vsftpd.service

      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

      Wayne WorkmanW J 2 Replies Last reply Reply Quote 1
      • Wayne WorkmanW
        Wayne Workman @Sebastian Roth
        last edited by

        @Sebastian-Roth said in [No Replication to second Fog server:

        @John-L-Clark Newer linux versions usually use the commands: service vsftpd restart or systemctl restart vsftpd.service

        Wiki updated. When it comes to the Ubuntu stuff, I take what credible people say and just stick it into the wiki.

        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
        • Wayne WorkmanW
          Wayne Workman @John L Clark
          last edited by

          @John-L-Clark said in [No Replication to second Fog server:

          Finally got FTP to work after finding in the config.class.php the correct password for the user fog.

          You shouldn’t need to ever manually modify that file in FOG. The installer builds it for you based on what’s inside of /opt/fog/.fogsettings. Please set the password that you want to use for FTP inside of that .fogsettings file and then re-run the installer. Then try to manually connect via FTP to the remote node using those new credentials and see if it works.

          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 1
          • J
            John L Clark @Sebastian Roth
            last edited by

            @Sebastian-Roth said in [No Replication to second Fog server:

            service vsftpd restart

            Thanks that restarted the service, but still not getting replication

            1 Reply Last reply Reply Quote 0
            • Wayne WorkmanW
              Wayne Workman
              last edited by

              Bumping this thread.

              I remoted in and tried to figure this out, but everything I checked was fine. I’m stumped. Any ideas?

              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
              • J
                John L Clark
                last edited by

                I have created an all new storage node on another server from scratch. I verified FTP from both machines and verified the settings in .fogsettings

                I am still not getting any kind of replication. The fogreplicator.log shows nothing but the FOG logo and created by and then Image between groups.

                Any suggestions?

                Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                • M
                  Mentaloid
                  last edited by

                  I’m not sure if this is related or not - I’m using Debian 8.4, with fog trunk (git 7190).
                  The service master logs aren’t showing any issues, however if you check the output from the daemon itself

                  journalctl -u FOGImageReplicator.service
                  

                  this shows up

                  Apr 16 13:50:56 FOG13 FOGImageReplicator[38336]: PHP Warning:  Error while sending QUERY packet. PID=11398 in /var/www/fog/lib/db/mysql.class.php on line 49
                  Apr 16 13:50:56 FOG13 FOGImageReplicator[38336]: PHP Fatal error:  Using $this when not in object context in /var/www/fog/lib/service/fogservice.class.php on line 77
                  

                  This repeats every service loop (approx 3 minutes) . This isn’t restricted to ImageReplicator either, all FOGservices are affected

                  journalctl -u FOGMulticastManager.service
                  journalctl -u FOGPingHosts.service
                  journalctl -u FOGScheduler.service
                  journalctl -u FOGSnapinReplicator.service
                  

                  My imagereplication, snapin replication, multicast, etc aren’t working either. I haven’t had time to delve into the why’s as this isn’t mission critical yet for me.

                  Tom ElliottT 1 Reply Last reply Reply Quote 0
                  • Wayne WorkmanW
                    Wayne Workman @John L Clark
                    last edited by

                    @John-L-Clark In light of @Mentaloid 's post, can you check your other logs and other service statuses to see what 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!
                    Daily Clean Installation Results:
                    https://fogtesting.fogproject.us/
                    FOG Reporting:
                    https://fog-external-reporting-results.fogproject.us/

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

                      @Mentaloid is this an individual node?

                      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

                      M 1 Reply Last reply Reply Quote 1
                      • M
                        Mentaloid @Tom Elliott
                        last edited by

                        @Tom-Elliott

                        FOG13.domain.local = FOG + storage node (Default, only member, replication enabled (to nowhere))
                        FOGStorage02.domain.local = storage only node (ID#2, only member, replication enabled (to nowhere))
                        Running Debian 8.4, PHP Version 5.6.19-0+deb8u1

                        Log is from main fog server (FOG13) running 7242 (updated now), FOGStorage02 also 7242.

                        I updated to 7196 yesterday to reconfirm another issue, and at that time journalctl entries changed to

                        Apr 19 19:45:17 FOG13 FOGImageReplicator[63794]: PHP Strict Standards:  Non-static method FOGBase::getSetting() should not be called statically in /opt/fog/service/lib/service_lib.php on line 3
                        Apr 19 19:45:17 FOG13 FOGImageReplicator[63794]: PHP Strict Standards:  Non-static method FOGBase::getSetting() should not be called statically in /opt/fog/service/lib/service_lib.php on line 3
                        Apr 19 19:45:17 FOG13 FOGImageReplicator[63794]: PHP Strict Standards:  Non-static method FOGBase::getSetting() should not be called statically in /opt/fog/service/lib/service_lib.php on line 4
                        Apr 19 19:45:17 FOG13 FOGImageReplicator[63794]: PHP Strict Standards:  Non-static method FOGService::getDateTime() should not be called statically in /var/www/fog/lib/service/fogservice.class.php on line 92
                        Apr 19 19:45:17 FOG13 FOGImageReplicator[63794]: PHP Strict Standards:  Non-static method FOGBase::getSetting() should not be called statically in /var/www/fog/lib/service/fogservice.class.php on line 90
                        

                        every 3 minutes. These entries persist to today, after updating to 7242.

                        I haven’t confirmed if the services are functional at this time.

                        1 Reply Last reply Reply Quote 0
                        • J
                          John L Clark
                          last edited by

                          This has been resolved with latest revisions and some other work by Tom

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

                          204

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project