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

Fog clients send inventory to wrong fog server

Scheduled Pinned Locked Moved
FOG Problems
3
9
2.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.
  • A
    AndrewFL
    last edited by Sep 3, 2013, 2:06 PM

    Hello,

    I recently inherited the management of two fog servers. We had one on our production network that was functioning ok. Our desktop admin created a new fog server at our other office (sister company)and set it up and put some images on it. There is a site to site vpn that is active between the two offices.
    When we try to image a machine on the sister company network, it sends it’s inventory and registration info to the other server at the main office through the vpn.

    I figured that this would probably be easy to identify - either DHCP settings would be off, or something would stick out in the fog config. Alas, no. I took a look through the configuration page and all looks good from the high level perspective. DHCP settings are correct for bootfile server and PXe - the ip addresses for tftp and web management are also correct.

    Can someone let me know where I should look next? Any help would be greatly appreciated!!

    Thanks in advance.

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Sep 3, 2013, 2:29 PM

      I’m not sure this problem is worded properly?

      You’re saying things aren’t working? If things aren’t what specifically is having a problem?

      You state that things are sending inventory to your main office server, is this the expected operation or do you want your sister companies server to contain its inventory?

      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
      • A
        AndrewFL
        last edited by Sep 3, 2013, 2:37 PM

        I’m sorry - the problem is that the sister company should be containing it’s own inventory. Since it is sending the inventory / registration to the main office, the server is not working as intended.

        1 Reply Last reply Reply Quote 0
        • T
          Tom Elliott
          last edited by Sep 3, 2013, 2:37 PM

          Okay,

          I think, thru reading the title a little further, I figured out your saying it’s sending the inventory to the wrong server. Meaning you want the inventory to be kept on the local server not to your other server. Is this correct?

          You’ll need to check the server there and make sure it’s SQL settings are pointing to the local system. This is done within the:
          {fogwebdir}/commons/config.php file. You’ll also, possibly, need that change the /opt/fog/services/etc/config.php file as well.

          Make sure it points to the local server and has the credentials for that server.

          Hopefully this helps.

          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 0
          • A
            AndrewFL
            last edited by Sep 3, 2013, 4:00 PM

            By default, where is the fog web directory located?

            1 Reply Last reply Reply Quote 0
            • T
              Tom Elliott
              last edited by Sep 3, 2013, 4:01 PM

              In redhat based systems:
              /var/www/html/fog

              In ubuntu based systems:
              /var/www/fog

              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
              • A
                AndrewFL
                last edited by Sep 3, 2013, 8:36 PM

                thanks! It does look like the configuration in the main config.php file needs to be changed - but the fog admin account doesn’t have permissions to this directory - is this by design?

                1 Reply Last reply Reply Quote 0
                • T
                  Tom Elliott
                  last edited by Sep 3, 2013, 9:32 PM

                  Usually the .php files are owned by apache or whatever the web service is owned by. If you gave root you can edit the files though.

                  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
                  • C
                    chad-bisd Moderator
                    last edited by Sep 6, 2013, 11:33 PM

                    did you try sudo before editting the files?

                    [CODE]
                    sudo nano -w /var/www/fog/…whatever
                    [/CODE]


                    If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

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

                    256

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project