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

    Replication has stopped after ugprade

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    5
    27
    8.5k
    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.
    • mosesM
      moses
      last edited by moses

      After digging a little deeper, it appears that all logs in the log viewer stopped at the 29th of last month, except for apache logs. All of the logs for the storage nodes say “null”.

      I’ve verified that both MySQL and FTP passwords for everything are correct.

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by

        @moses As far as I can tell those messages in the apache error logs are not related to the replication issue. But we should still get that fixed!! I remember talking to Tom because I saw the exact same errors on my virtual machine setup here - this is kind of special as I am using a tap network device and FOG wasn’t happy with that. We fixed it but this might have broken it for others. Can you please post the output of ip addr on your FOG server.

        @Tom-Elliott Should we better use /sys/class/net/*/operstate instead of calling ip/ifconfig??

        About the replication. Tom and Wayne have been working on this lately but I don’t think it’s the same issue. Please check if the services/daemons on your FOG server are all running: ps ax | grep FOG (maybe they fail on startup/restart?!)

        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

        mosesM 3 Replies Last reply Reply Quote 0
        • mosesM
          moses @Sebastian Roth
          last edited by

          @Sebastian-Roth This is all I got as output from ps:

           1341 ?        S      0:00 /usr/bin/php -q /opt/fog/service/FOGTaskScheduler/FO TaskScheduler
           1364 ?        S      0:00 /usr/bin/php -q /opt/fog/service/FOGPingHosts/FOGPingHosts
           9595 ?        Z      0:00 [FOGPingHosts] <defunct>
           9596 ?        Z      0:00 [FOGTaskSchedule] <defunct>
          10088 pts/1    S+     0:00 grep --color=auto FOG
          

          So perhaps multiple services are failing on start? Is there any way to find logs that would indicate the why?

          1 Reply Last reply Reply Quote 0
          • mosesM
            moses @Sebastian Roth
            last edited by

            @Sebastian-Roth Here’s the output of ip addr:

            1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
                link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
                inet 127.0.0.1/8 scope host lo
                   valid_lft forever preferred_lft forever
                inet6 ::1/128 scope host
                   valid_lft forever preferred_lft forever
            2: em1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
                link/ether 9c:b6:54:f0:3e:0d brd ff:ff:ff:ff:ff:ff
                inet 192.168.1.66/24 brd 192.168.1.255 scope global em1
                   valid_lft forever preferred_lft forever
                inet6 fe80::9eb6:54ff:fef0:3e0d/64 scope link
                   valid_lft forever preferred_lft forever
            
            1 Reply Last reply Reply Quote 0
            • mosesM
              moses @Sebastian Roth
              last edited by moses

              @Sebastian-Roth After updating this morning, the services now appear to be running (they are not running after a restart), but replication still isn’t actually taking place, nor has the log for the Image Replicator changed from my original post.

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

                @moses can you check the storage nodes all have their proper network interface set correctly? This is why the errors and would also cause issues with the services as they’re waiting for the interface to become available.

                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

                mosesM 1 Reply Last reply Reply Quote 0
                • mosesM
                  moses @Tom Elliott
                  last edited by

                  @Tom-Elliott I checked the setting in Storage Mgmt > Storage Nodes and they all match what is shown using ifconfig on the nodes thru ssh.

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

                    @moses if you manual stop and start the services do things work?

                    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

                    mosesM 1 Reply Last reply Reply Quote 0
                    • mosesM
                      moses @Tom Elliott
                      last edited by

                      @Tom-Elliott Nope, though the behavior there is kind of odd:

                      If I restart, it says “failed”.

                      If I stop, then start, it says “OK” for both, but nothing in the logs, and an image that is supposed to be replicating is not.

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

                        @moses So you’re running a variant of Ubuntu, Just guessing?

                        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

                        mosesM 1 Reply Last reply Reply Quote 0
                        • mosesM
                          moses @Tom Elliott
                          last edited by

                          @Tom-Elliott ubuntu 14.04

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

                            @moses Can you run:

                            sudo service vsftpd stop
                            sudo service FOGImageReplicator stop
                            sudo service FOGSnapinReplicator stop
                            sudo service FOGPingHosts stop
                            sudo service FOGMulticastManager stop
                            sudo service FOGScheduler stop
                            sleep 5
                            sudo service vsftpd start
                            sudo service FOGImageReplicator start
                            sudo service FOGSnapinReplicator start
                            sudo service FOGPingHosts start
                            sudo service FOGMulticastManager start
                            sudo service FOGScheduler start
                            

                            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

                            mosesM 1 Reply Last reply Reply Quote 0
                            • mosesM
                              moses @Tom Elliott
                              last edited by

                              @Tom-Elliott okay, did that:

                              administrator@SVR-HQ-IMAGING:~$ sudo service vsftpd stop
                              vsftpd stop/waiting
                              administrator@SVR-HQ-IMAGING:~$ sudo service FOGImageReplicator stop
                               * Stopping FOG Computer Imaging Solution: FOGImageReplicator            [ OK ]
                              administrator@SVR-HQ-IMAGING:~$ sudo service FOGSnapinReplicator stop
                               * Stopping FOG Computer Imaging Solution: FOGSnapinReplicator           [ OK ]
                              administrator@SVR-HQ-IMAGING:~$ sudo service FOGPingHosts stop
                               * Stopping FOG Computer Imaging Solution: FOGPingHosts                  [ OK ]
                              administrator@SVR-HQ-IMAGING:~$ sudo service FOGMulticastManager stop
                               * Stopping FOG Computer Imaging Solution: FOGMulticastManager           [ OK ]
                              administrator@SVR-HQ-IMAGING:~$ sudo service FOGScheduler stop
                               * Stopping FOG Computer Imaging Solution: FOGScheduler                  [ OK ]
                              administrator@SVR-HQ-IMAGING:~$ sleep 5
                              administrator@SVR-HQ-IMAGING:~$ sudo service vsftpd start
                              vsftpd start/running, process 9607
                              administrator@SVR-HQ-IMAGING:~$ sudo service FOGImageReplicator start
                               * Starting FOG Computer Imaging Solution: FOGImageReplicator            [ OK ]
                              administrator@SVR-HQ-IMAGING:~$ sudo service FOGSnapinReplicator start
                               * Starting FOG Computer Imaging Solution: FOGSnapinReplicator           [ OK ]
                              administrator@SVR-HQ-IMAGING:~$ sudo service FOGPingHosts start
                               * Starting FOG Computer Imaging Solution: FOGPingHosts                  [ OK ]
                              administrator@SVR-HQ-IMAGING:~$ sudo service FOGMulticastManager start
                               * Starting FOG Computer Imaging Solution: FOGMulticastManager           [ OK ]
                              administrator@SVR-HQ-IMAGING:~$ sudo service FOGScheduler start
                              

                              Still no change, however (no replication or log changes)

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

                                I just updated to the latest, then deleted all images on my slave node, and quickly rebooted both master and slave machines… we’ll see how it goes. 🙂

                                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/

                                mosesM 1 Reply Last reply Reply Quote 0
                                • mosesM
                                  moses @Wayne Workman
                                  last edited by moses

                                  @Wayne-Workman See anything on that slave? Trying to determine if this is just an issue somewhere on the master I’m running.

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

                                    @moses It replicated every image back perfectly. There’s something with your setup. Keep in mind it could still be FOG-related though, such as a credentials issue, it could be firewall related, or SELinux related. You might even be out of space on the storage node?? There are many possibilities.

                                    I know you have said you’ve verified the FTP credentials, but let’s make doubly sure? There are instructions here for testing it: https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_FTP

                                    Basically you should ssh into your main and try to open an FTP connection to the other nodes using the user/pass they have set in their respective listing under storage management.

                                    Then the opposite, from the nodes, try to open an FTP connection to the main using the main’s credentials that are set in it’s respective Storage Management listing.

                                    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

                                      @moses Did you find out what’s going wrong with the services? Any errors in the apache log when you try starting the service?

                                      We’ve fixed the bandwidth.php issue. Can you please update to the latest version to see if those errors stop and the bandwidth monitor on the dashboard works for you.

                                      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
                                      • mosesM
                                        moses
                                        last edited by moses

                                        Unfortunately, even with some hands-on help, I wasn’t able to determine what the cause was. At this point my best bet was that it’s related to Linux. Even upgrading to a newer distro didn’t help. I’m currently in the process of moving my configuration over to CentOS, once I back up my images.

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          Sebastian Roth Moderator
                                          last edited by

                                          @moses Are the services actually running after you started them by hand? ps ax | grep FOG

                                          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
                                          • JunkhackerJ
                                            Junkhacker Developer
                                            last edited by

                                            if you run top, how much of your cpu do these services utilize?

                                            signature:
                                            Junkhacker
                                            We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

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

                                            163

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project