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

    Replication not working - no log files on storage node

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    4
    8
    1.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

      Replication is not working between my master server and a freshly installed storage node. There are no files in /opt/fog/log or /var/fog/log on the storage node, but the services start okay as far as I can tell.

      Another weird issue is the storage node is returning the string #!db when I go to http://storagenodeip/fog/service/getversion.php

      Both servers on newest git version 8038

      1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator
        last edited by george1421

        Are the master node and the storage node in the same storage group?

        FOG uses ftp to copy files from the master node to the storage node. Does the fog user account work (as defined in the storage node settings of the fog webgui) when you try to manually ftp connect (from your windows computer) to the storage 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!

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

          There’s your problem.

          Betcha the main server is a variant of Debian? (Ubuntu, Debian, Kali, etc…)

          If you edit the master server’s /etc/mysql/my.cnf (it changes so you have to find it) and comment the bind-address=127.0.0.1 and restart mariadb/mysql, does the service operate properly?

          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 1
          • mosesM
            moses @Tom Elliott
            last edited by moses

            @Tom-Elliott No, we replaced everything with CentOS (essentially just started fresh today).

            One thing I just noticed: when I ran git pull to update, it only pulled down something like 10 MB. When I just tried to update again using sudo git pull, there’s a ton more that needed to be synced…

            Going to let that do it’s thing and try again.

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

              @moses git pull --depth 1

              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
                last edited by

                Found the storage group information wasn’t updating properly because of a mixed up id call. sorry about that.

                It’s been fixed for both Snapin and Image groups. Now hopefully the logic is still sound and will work with replication too.

                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 0
                • Tom ElliottT
                  Tom Elliott
                  last edited by

                  Moved thread to bug reports, hopefully replication will work now. Please keep us posted.

                  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 Replication now working beautifully. Thanks again Tom!

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

                    246

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project