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

    Image replication not working

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    2
    2
    1.2k
    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.
    • M
      mp12
      last edited by

      Server
      • FOG Version: 1.3.1-RC-5
      • OS: 14.04.1-Ubuntu
      Description

      Just noticed that the image replication isn’t working. I restarted all machines and services with no success.
      Checked fogreplication.log and it tells that the sync started for the missing image. But I can’t recognize any transfers between the nodes.

      [01-11-17 9:30:33 am]  * Found Image to transfer to 2 nodes
      [01-11-17 9:30:33 am]  | Image Name: sojus_win7_10012017
      [01-11-17 9:30:34 am]  * Starting Sync Actions
      [01-11-17 9:30:34 am]  | CMD:
                              lftp -e 'set ftp:list-options -a;set net:max-retries 10;set net:timeout 30;  mirror -c -R --ignore-time -vvv --exclude "dev/" --exclude "ssl/" --exclude "CA" --delete-first '/images/sojus_win7_10012017' \''/images/sojus_win7_10012017'\'; exit' -u fog,[Protected] X.X.X.X
      [01-11-17 9:30:34 am]  * Started sync for Image sojus_win7_10012017
      [01-11-17 9:30:35 am]  | CMD:
                              lftp -e 'set ftp:list-options -a;set net:max-retries 10;set net:timeout 30;  mirror -c -R --ignore-time -vvv --exclude "dev/" --exclude "ssl/" --exclude "CA" --delete-first '/images/sojus_win7_10012017' \''/images/sojus_win7_10012017'\'; exit' -u fog,[Protected] X.X.X.X
      [01-11-17 9:30:35 am]  * Started sync for Image sojus_win7_10012017
      

      Then I started the FOGImagereplicator using

      sudo /usr/bin/php -q /opt/fog/service/FOGImageReplicator

      Thats the output I get:

      PHP Warning:  fopen(sojus_win7_10012017./opt/fog/log/fogreplicator.transfer.fognode.log): failed to open stream: No such file or directory in /var/www/fog/lib/service/fogservice.class.php on line 252
      PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /var/www/fog/lib/service/fogservice.class.php on line 257
      PHP Warning:  fclose() expects parameter 1 to be resource, boolean given in /var/www/fog/lib/service/fogservice.class.php on line 261
      PHP Warning:  proc_open(sojus_win7_10012017./opt/fog/log/fogreplicator.transfer.fognode.log): failed to open stream: No such file or directory in /var/www/fog/lib/service/fogservice.class.php on line 730
      PHP Warning:  fopen(sojus_win7_10012017./opt/fog/log/fogreplicator.transfer.node-3.log): failed to open stream: No such file or directory in /var/www/fog/lib/service/fogservice.class.php on line 252
      PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /var/www/fog/lib/service/fogservice.class.php on line 257
      PHP Warning:  fclose() expects parameter 1 to be resource, boolean given in /var/www/fog/lib/service/fogservice.class.php on line 261
      PHP Warning:  proc_open(sojus_win7_10012017./opt/fog/log/fogreplicator.transfer.node-3.log): failed to open stream: No such file or directory in /var/www/fog/lib/service/fogservice.class.php on line 730
      

      The log files fogreplicator.transfer.fognode.log and fogreplicator.transfer.node-3.log don’t exist in /opt/fog/log.
      However I see the files fogreplicator.log.transfer.fognode.log and fogreplicator.log.transfer.node-3.log which exist.

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

        Confirmed, found, addressed, and in RC 6.

        Thanks.

        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

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

        277

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project