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

FOGImagereplicator not working

Scheduled Pinned Locked Moved
Linux Problems
3
22
7.3k
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
    Wayne Workman
    last edited by Jun 21, 2016, 2:16 PM

    Looking at that picture, this issue is possibly related: https://forums.fogproject.org/topic/7825/db/17

    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/

    N 1 Reply Last reply Jun 21, 2016, 2:34 PM Reply Quote 0
    • N
      Neil Underwood @Wayne Workman
      last edited by Jun 21, 2016, 2:34 PM

      @Wayne-Workman said in FOGImagereplicator not working:

      Looking at that picture, this issue is possibly related: https://forums.fogproject.org/topic/7825/db/17

      You know, that prompted me to look at class.config.php and I think the DATABASE_HOST value is wrong, but I really don’t know. Can you verify this is correct? Should the “p:” be in there proceeding the IP address?

      define('DATABASE_HOST','p:127.0.0.1');
      

      I tried changing it and removing the “p:” and nothing seemed to change (after restarting php, mysql & apache just to be sure)

      W 1 Reply Last reply Jun 21, 2016, 2:43 PM Reply Quote 0
      • W
        Wayne Workman @Neil Underwood
        last edited by Jun 21, 2016, 2:43 PM

        @Neil-Underwood so, for the main server that hosts the DB, that is correct. For all nodes, it is wrong.

        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
        • N
          Neil Underwood
          last edited by Jun 21, 2016, 2:52 PM

          OK, so now I’m seeing that I can’t connect to the master storage node DB from the remote storage nodes. I know as much about SQL commands and permissions as my left shoe. How do I fix this? And how in the heck did it break in the first place?

          W 1 Reply Last reply Jun 21, 2016, 4:03 PM Reply Quote 0
          • W
            Wayne Workman @Neil Underwood
            last edited by Jun 21, 2016, 4:03 PM

            @Neil-Underwood said in FOGImagereplicator not working:

            w do I fix this? And how in the heck did it break in the first place?

            Probably the server is only allowing local connections. There’s stuff about that in here:
            https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_MySQL

            “Enable Remote MySQL Access”

            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/

            N 1 Reply Last reply Jun 21, 2016, 9:23 PM Reply Quote 0
            • N
              Neil Underwood @Wayne Workman
              last edited by Neil Underwood Jun 21, 2016, 3:25 PM Jun 21, 2016, 9:23 PM

              @Wayne-Workman said in FOGImagereplicator not working:

              @Neil-Underwood said in FOGImagereplicator not working:

              w do I fix this? And how in the heck did it break in the first place?

              Probably the server is only allowing local connections. There’s stuff about that in here:
              https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_MySQL

              “Enable Remote MySQL Access”

              I must have overlooked the part about remote access because I visited this page earlier this morning. I fixed the remote permissions and now everything is able to see the DB. Thanks for that. I did do an OS upgrade that probably changed mysql versions. I’m betting that’s what screwed it up.

              The mystery of where my log info is going still remains, however.

              Also, on the dashboard the replicator appears to be working, based on the graph. But running jnettop from the master storage node doesn’t show any replication activity. If I can get my logs working again I’m certain I can figure out what the problem is.

              W 1 Reply Last reply Jun 21, 2016, 9:27 PM Reply Quote 0
              • W
                Wayne Workman @Neil Underwood
                last edited by Wayne Workman Jun 21, 2016, 3:27 PM Jun 21, 2016, 9:27 PM

                @Neil-Underwood sometimes it takes a hot second for replication to kick in, even if the log says it’s going. Just be patient. Tomorrow morning you’ll be able to tell if everything is right or not.

                Also, the logs might be fixed by re-running the installer on all the nodes, since it can now actually communicate with the DB.

                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
                • N
                  Neil Underwood
                  last edited by Jun 22, 2016, 5:01 PM

                  OK so I’m updated to 8215 now and everything seems to be able to see each other. It looks like the main server is pushing our the smartinstaller.exe to all the clients and that’s the activity I’ve been seeing on the graph. Hard to catch that using jnettop at first.

                  Thanks for all the assistance with this. I’ll open a separate thread for the log issue and another for the bzImage problem.

                  One more quick question though. What are these values used for?

                  startrange='192.168.19.10'
                  endrange='192.168.19.254'
                  
                  T 1 Reply Last reply Jun 22, 2016, 5:03 PM Reply Quote 0
                  • T
                    Tom Elliott @Neil Underwood
                    last edited by Jun 22, 2016, 5:03 PM

                    @Neil-Underwood DHCP Server if FOG is to be the dhcp server.

                    It defines the start and end range of DHCP.

                    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

                    N 1 Reply Last reply Jun 22, 2016, 5:15 PM Reply Quote 0
                    • N
                      Neil Underwood @Tom Elliott
                      last edited by Jun 22, 2016, 5:15 PM

                      @Tom-Elliott said in FOGImagereplicator not working:

                      @Neil-Underwood DHCP Server if FOG is to be the dhcp server.

                      It defines the start and end range of DHCP.

                      Got it. So this does not apply to my setup then. Must have been defined a long time ago when I was playing with that. Thanks!

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

                      158

                      Online

                      12.1k

                      Users

                      17.3k

                      Topics

                      155.4k

                      Posts
                      Copyright © 2012-2024 FOG Project