• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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.4k
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.
  • J
    John L Clark
    last edited by Apr 1, 2016, 1:02 PM

    I have updated to Rev 5157 on both servers and I have checked the config.class.php to ensure the username and password but still am unable to see any replication to the second server. Any suggestions?

    1 Reply Last reply Reply Quote 0
    • W
      Wayne Workman
      last edited by Wayne Workman Apr 1, 2016, 8:52 AM Apr 1, 2016, 2:50 PM

      Try to manually FTP into the remote storage node from the main server, and see what happens. There are example connection statements in here:
      https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_FTP

      Use the credentials inside of the storage node’s Storage Management area in the web interface.

      You might get a variety of errors, or maybe no errors. But what happens matters. Then we can go from there.

      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/

      J 1 Reply Last reply Apr 1, 2016, 6:23 PM Reply Quote 0
      • J
        John L Clark
        last edited by Apr 1, 2016, 3:23 PM

        Finally got FTP to work after finding in the config.class.php the correct password for the user fog. I changed the username and password in the Storage Management to match and then restarted the Replication service.

        J W 2 Replies Last reply Apr 1, 2016, 3:27 PM Reply Quote 0
        • J
          John L Clark @John L Clark
          last edited by Apr 1, 2016, 3:27 PM

          Still no replication but was able to connect with FTP

          1 Reply Last reply Reply Quote 0
          • J
            John L Clark @Wayne Workman
            last edited by Apr 1, 2016, 6:23 PM

            @Wayne-Workman
            /etc/init.d/vsftpd restart this command to restart the service does not work. It says no such file or direstory. Yet i can follow the article testing instructions and connect and copy files and delete files with no issues.

            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by Apr 1, 2016, 6:31 PM

              @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

              W J 2 Replies Last reply Apr 1, 2016, 7:09 PM Reply Quote 1
              • W
                Wayne Workman @Sebastian Roth
                last edited by Apr 1, 2016, 7:09 PM

                @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
                • W
                  Wayne Workman @John L Clark
                  last edited by Apr 1, 2016, 7:11 PM

                  @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 Apr 1, 2016, 8:32 PM

                    @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
                    • W
                      Wayne Workman
                      last edited by Apr 15, 2016, 1:18 PM

                      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 Apr 18, 2016, 7:48 PM

                        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?

                        W 1 Reply Last reply Apr 19, 2016, 1:52 AM Reply Quote 0
                        • M
                          Mentaloid
                          last edited by Apr 19, 2016, 12:29 AM

                          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 Apr 19, 2016, 10:17 AM Reply Quote 0
                          • W
                            Wayne Workman @John L Clark
                            last edited by Apr 19, 2016, 1:52 AM

                            @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 Apr 19, 2016, 10:17 AM

                              @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 Apr 21, 2016, 1:53 AM Reply Quote 1
                              • M
                                Mentaloid @Tom Elliott
                                last edited by Apr 21, 2016, 1:53 AM

                                @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 Apr 22, 2016, 2:43 PM

                                  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

                                  190

                                  Online

                                  12.0k

                                  Users

                                  17.3k

                                  Topics

                                  155.2k

                                  Posts
                                  Copyright © 2012-2024 FOG Project