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

Snapin replication no working

Scheduled Pinned Locked Moved
FOG Problems
4
11
1.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.
  • W
    wanderson
    last edited by wanderson Sep 16, 2018, 2:44 PM Sep 16, 2018, 8:36 PM

    Snapin replication no working

    FOG VERSION 1.40

    SO: CENTOS7

    #Logs snapin replicate

    [09-16-18 5:23:34 pm] * Attempting to perform Group -> Group snapin replication.
    [09-16-18 5:23:34 pm] | Replicating ssl less private key
    [09-16-18 5:23:34 pm] * Found Snapin to transfer to 35 nodes
    [09-16-18 5:23:34 pm] | File Name: ssl/fog.csr
    [09-16-18 5:23:37 pm] | ssl/fog.csr: No need to sync fog.csr file to ZNE-001
    [09-16-18 5:23:41 pm] | ssl/fog.csr: No need to sync fog.csr file to ZNE-002
    [09-16-18 5:23:44 pm] | ssl/fog.csr: No need to sync fog.csr file to ZNE-003
    [09-16-18 5:23:50 pm] | ssl/fog.csr: No need to sync fog.csr file to ZNE-004
    [09-16-18 5:23:53 pm] | ssl/fog.csr: No need to sync fog.csr file to ZNE-005
    [09-16-18 5:23:56 pm] | ssl/fog.csr: No need to sync fog.csr file to ZNE-006
    [09-16-18 5:24:00 pm] | ssl/fog.csr: No need to sync fog.csr file to ZNE-007
    [09-16-18 5:24:03 pm] | ssl/fog.csr: No need to sync fog.csr file to ZNE-008
    [09-16-18 5:24:05 pm] | ssl/fog.csr: No need to sync fog.csr file to ZNE-009
    [09-16-18 5:24:07 pm] | ssl/fog.csr: No need to sync fog.csr file to ZNE-010
    [09-16-18 5:24:09 pm] | ssl/fog.csr: No need to sync fog.csr file to ZNE-011
    [09-16-18 5:24:12 pm] | ssl/fog.csr: No need to sync fog.csr file to ZNE-012
    [09-16-18 5:24:14 pm] | ssl/fog.csr: No need to sync fog.csr file to ZNE-013
    [09-16-18 5:24:17 pm] | ssl/fog.csr: No need to sync fog.csr file to ZNE-014
    [09-16-18 5:24:20 pm] | ssl/fog.csr: No need to sync fog.csr file to ZNE-015```
    
    [root@fog log]# systemctl -l status FOGSnapinReplicator
    ● FOGSnapinReplicator.service - FOGSnapinReplicator
       Loaded: loaded (/usr/lib/systemd/system/FOGSnapinReplicator.service; enabled; vendor preset: disabled)
       Active: active (running) since Dom 2018-09-16 17:11:43 -03; 21min ago
     Main PID: 26173 (FOGSnapinReplic)
       CGroup: /system.slice/FOGSnapinReplicator.service
               ├─26173 /usr/bin/php -q /opt/fog/service/FOGSnapinReplicator/FOGSnapinReplicator &
               └─26181 /usr/bin/php -q /opt/fog/service/FOGSnapinReplicator/FOGSnapinReplicator &
    
    Set 16 17:11:43 fog systemd[1]: Started FOGSnapinReplicator.
    Set 16 17:11:43 fog systemd[1]: Starting FOGSnapinReplicator...```
    1 Reply Last reply Reply Quote 0
    • W
      wanderson
      last edited by Sep 16, 2018, 8:43 PM

      [root@fog fog]# ls -lha
      total 24K
      drwxr-xr-x   5 root root   4,0K Ago  9 18:14 .
      drwxr-xr-x.  6 root root   4,0K Set  6 12:26 ..
      -rw-r--r--   1 root root   1,3K Ago  9 18:14 .fogsettings
      drwxr-xr-x   2 root root   4,0K Set 16 17:11 log
      drwxr-xr-x  11 root root   4,0K Jul 18 16:08 service
      drwxrwxrwx   3 fog  apache 4,0K Set 16 17:09 snapins
      [root@fog fog]#
      
      1 Reply Last reply Reply Quote 0
      • W
        wanderson
        last edited by Sep 16, 2018, 8:45 PM

        0_1537130606901_Capturar.PNG

        1 Reply Last reply Reply Quote 0
        • W
          wanderson
          last edited by Sep 16, 2018, 8:47 PM

          35 storage nodes

          0_1537130717104_Capturar.PNG

          1 Reply Last reply Reply Quote 0
          • W
            wanderson
            last edited by Sep 16, 2018, 9:14 PM

            0_1537132353424_Capturar.PNG

            1 Reply Last reply Reply Quote 0
            • W
              wanderson
              last edited by Sep 21, 2018, 6:14 PM

              help-me please!!!

              1 Reply Last reply Reply Quote 0
              • W
                wanderson
                last edited by Oct 17, 2018, 7:58 PM

                Help-me please

                1 Reply Last reply Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by Oct 17, 2018, 8:51 PM

                  @wanderson Sorry for the long deply!! Re-reading your postings I am wondering why you use FOG 1.4.0. This is years old and there have been many changes since.

                  We do not have many people working on FOG at the moment and therefore can’t support older versions. If you upgrade to 1.5.4 and still see the same issue we might be able to help you out.

                  Don’t get me wrong. If I could see why this is not working I would surely tell you. It’s just too little information and the version gap that I tell you we won’t be able to help just like 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

                  1 Reply Last reply Reply Quote 0
                  • A
                    AlexPDX
                    last edited by Feb 25, 2020, 1:22 PM

                    I did’nt knew if i should make a new post or not…but im haveing kind of…the same isuie…
                    My Snapin Replication dose not work 😞 …i managed to start my images replication with : systemctl restart FOGImageReplicator ( cent os7 ) and now all is goog …but the same restart did not work for snapin replication 😞 and i get this 😞 :

                    code_text
                    ```[root@HQ-FOG log]# systemctl status FOGSnapinReplicator
                    ● FOGSnapinReplicator.service - FOGSnapinReplicator
                       Loaded: loaded (/usr/lib/systemd/system/FOGSnapinReplicator.service; enabled; vendor preset: disabled)
                       Active: failed (Result: start-limit) since Tue 2020-02-25 13:13:29 EET; 1h 54min ago
                      Process: 20377 ExecStart=/usr/bin/php env /opt/fog/service/FOGSnapinReplicator/FOGSnapinReplicator (code=exited, status=1/FAILURE)
                     Main PID: 20377 (code=exited, status=1/FAILURE)
                    
                    Feb 25 13:13:28 HQ-FOG: Unit FOGSnapinReplicator.service entered failed state.
                    Feb 25 13:13:28 HQ-FOG: FOGSnapinReplicator.service failed.
                    Feb 25 13:13:29 HQ-FOG: FOGSnapinReplicator.service holdoff time over, scheduling restart.
                    Feb 25 13:13:29 HQ-FOG: Stopped FOGSnapinReplicator.
                    Feb 25 13:13:29 HQ-FOG: start request repeated too quickly for FOGSnapinReplicator.service
                    Feb 25 13:13:29 HQ-FOG: Failed to start FOGSnapinReplicator.
                    Feb 25 13:13:29 HQ-FOG: Unit FOGSnapinReplicator.service entered failed state.
                    Feb 25 13:13:29 HQ-FOG: FOGSnapinReplicator.service failed.
                    
                    
                    ...now where did i go wrong ?
                    Q 1 Reply Last reply Feb 25, 2020, 3:20 PM Reply Quote 0
                    • Q
                      Quazz Moderator @AlexPDX
                      last edited by Quazz Feb 25, 2020, 9:25 AM Feb 25, 2020, 3:20 PM

                      @AlexPDX Rule of thumb is to create a new thread, since the OP in this case was using a very old version, and you are likely using FOG 1.5.8

                      That said, quick fix is:

                      sed -i 's#/usr/bin/php env #/usr/bin/env php #g' /usr/lib/systemd/system/FOGSnapinReplicator.service
                      systemctl daemon-reload
                      systemctl start FOGSnapinReplicator
                      
                      A 1 Reply Last reply Feb 26, 2020, 6:24 AM Reply Quote 4
                      • A
                        AlexPDX @Quazz
                        last edited by Feb 26, 2020, 6:24 AM

                        @Quazz said in Snapin replication no working:

                        systemctl start FOGSnapinReplicator

                        10x dude …that did the trick 🙂 now its all working again

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

                        163

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project