• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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.
  • M
    moses
    last edited by moses Jun 8, 2016, 3:22 PM Jun 8, 2016, 9:18 PM

    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
    • G
      george1421 Moderator
      last edited by george1421 Jun 8, 2016, 3:27 PM Jun 8, 2016, 9:26 PM

      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
      • T
        Tom Elliott
        last edited by Jun 8, 2016, 9:27 PM

        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

        M 1 Reply Last reply Jun 8, 2016, 9:28 PM Reply Quote 1
        • M
          moses @Tom Elliott
          last edited by moses Jun 8, 2016, 3:28 PM Jun 8, 2016, 9:28 PM

          @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.

          W 1 Reply Last reply Jun 8, 2016, 9:33 PM Reply Quote 0
          • W
            Wayne Workman @moses
            last edited by Jun 8, 2016, 9:33 PM

            @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
            • T
              Tom Elliott
              last edited by Jun 8, 2016, 11:43 PM

              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
              • T
                Tom Elliott
                last edited by Jun 8, 2016, 11:45 PM

                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

                M 1 Reply Last reply Jun 8, 2016, 11:50 PM Reply Quote 0
                • M
                  moses @Tom Elliott
                  last edited by Jun 8, 2016, 11:50 PM

                  @Tom-Elliott Replication now working beautifully. Thanks again Tom!

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

                  210

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project