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

FOG Management Console not accessible from other computers.

Scheduled Pinned Locked Moved
FOG Problems
fog imaging centos 7
3
7
2.0k
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.
  • J
    jjsplitter
    last edited by Jan 18, 2018, 1:08 PM

    I will be as brief and detailed as I possibly can.

    I am running CentOS 7 with Fog server version 1.4.4 SVN 6077.

    The issue I am running into is that on the Fog server itself (10.10.0.65) I can open the management console. When i go any other computer I cannot access the console. I can ping the computer from everyone, just can’t access the console.

    There is another issue which I believe is related and that is that when i attempt to do the PXE boot i get the error "http://10.10.0.65/fog/service/ipxe/boot.php/........Connection timed out (http://ipxe.org/4c0a6035). I already checked the “defualt.ipxe” folder and made sure the IP is correctly listed inside.

    My assumption is that there is that there is something i missed or overlooked that is preventing other computers on this network from accessing the fog server.

    Let me know if there is anything I may have overlooked, ideas, or if you need more info.
    Thank you in advance.

    W 1 Reply Last reply Jan 18, 2018, 2:39 PM Reply Quote 0
    • W
      Wayne Workman @jjsplitter
      last edited by Wayne Workman Jan 18, 2018, 8:39 AM Jan 18, 2018, 2:39 PM

      @jjsplitter Firewalld, SELinux. The correct configurations for those things is in our CentOS 7 tutorial.

      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
      • J
        jjsplitter
        last edited by Jan 18, 2018, 2:48 PM

        That is the exact tutorial i followed when i was setting up CentOS and FOG. The only part i was not able to complete was:

        for service in http https tftp ftp mysql nfs mountd rpc-bind proxy-dhcp samba; do firewall-cmd --permanent --zone=public --add-service=$service;
        done

        This kept giving me an error of: “Error: INVALID_SERVICE: " " not among existing services”.

        My FOG server is also not responsible for DHCP so I am not sure if this is needed either way.

        Thank you,
        Justin

        1 Reply Last reply Reply Quote 0
        • G
          george1421 Moderator
          last edited by Jan 18, 2018, 3:02 PM

          It looks like the instructions from the wiki came from here: https://forums.fogproject.org/topic/6162/firewall-configuration

          If you need to leave firewalld running then you will need to enable exceptions to the block all policy. I know that you have that script, but my guess is that you don’t have samba installed and that is why its failing.

          This script

          for service in http https tftp ftp mysql nfs mountd rpc-bind proxy-dhcp samba; do firewall-cmd --permanent --zone=public --add-service=$service; done
          systemctl restart firewalld.service
          

          can be rewritten as:

          firewall-cmd --permanent --zone=public --add-service=http
          firewall-cmd --permanent --zone=public --add-service=https
          firewall-cmd --permanent --zone=public --add-service=tftp
          firewall-cmd --permanent --zone=public --add-service=mysql
          firewall-cmd --permanent --zone=public --add-service=nfs
          firewall-cmd --permanent --zone=public --add-service=mountd
          firewall-cmd --permanent --zone=public --add-service=rpc-bind
          firewall-cmd --permanent --zone=public --add-service=proxy-dhcp
          firewall-cmd --permanent --zone=public --add-service=samba
          

          Again I think its the samba that is causing the query to fail

          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!

          J 2 Replies Last reply Jan 18, 2018, 3:08 PM Reply Quote 1
          • J
            jjsplitter @george1421
            last edited by Jan 18, 2018, 3:08 PM

            @george1421 Holy mother of everything. That worked. I can access the management console from my own computer now.

            Now to test and see if the images will work now.

            Thank you x1000!

            1 Reply Last reply Reply Quote 0
            • J
              jjsplitter @george1421
              last edited by jjsplitter Jan 18, 2018, 9:35 AM Jan 18, 2018, 3:10 PM

              @george1421 I am now able to get past the other error during the PXE boot and I can see the FOG menu screen (where you deploy images and or create host registrations).

              You’re the best!

              G 1 Reply Last reply Jan 18, 2018, 3:58 PM Reply Quote 0
              • G
                george1421 Moderator @jjsplitter
                last edited by george1421 Jan 18, 2018, 9:58 AM Jan 18, 2018, 3:58 PM

                @jjsplitter Since you still had firewalld enabled, did you remember to set selinux to permissive? If not you will have a sad time when you try to capture an image.

                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
                • 1 / 1
                1 / 1
                • First post
                  2/7
                  Last post

                280

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project