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

    Cliente não inicia servidor Fog via rede

    Scheduled Pinned Locked Moved
    Linux Problems
    3
    20
    2.2k
    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.
    • S
      Sebastian Roth Moderator
      last edited by Sebastian Roth

      @ultralivre Ok, DHCP seems to work now. Question: Is 192.168.122.190 your FOG server IP?

      Please run the following commands on your FOG server console (Linux shell) and post results here:

      sudo -i
      apt install net-tools
      ls -al /tftpboot
      ps ax | grep -e inet -e tftp
      netstat -antup | grep -e inet -e tftp -e ":69"
      

      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

      U 1 Reply Last reply Reply Quote 1
      • george1421G
        george1421 Moderator @ultralivre
        last edited by

        @ultralivre said in Cliente não inicia servidor Fog via rede:

        Make sure that fog server IP is configured for static not dhcp assigned. FOG gets mad if IP address of fog server has changed after you install FOG. If 192.168.122.190 is FOG server it seems close IP range to target computer that has assigned IP address. This make me think FOG server was dhcp assigned at one time.

        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
        • U
          ultralivre @Sebastian Roth
          last edited by

          @sebastian-roth

          gnuuser@gnufog:~$ sudo apt install net-tools
          Lendo listas de pacotes… Pronto
          Construindo árvore de dependências
          Lendo informação de estado… Pronto
          net-tools is already the newest version (1.60+git20180626.aebd88e-1).
          0 pacotes atualizados, 0 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
          
          gnuuser@gnufog:~$ ls -al /tftpboot
          ls: não foi possível acessar ‘/tftpboot’: Arquivo ou diretório inexistente
          
          gnuuser@gnufog:~$ ps ax | grep -e inet -e tftp
          601 ? Ss 0:00 /usr/sbin/xinetd -pidfile /run/xinetd.pid -stayalive -inetd_compat -inetd_ipv6
          1026 pts/0 S+ 0:00 grep -e inet -e tftp
          
          gnuuser@gnufog:~$ netstat -antup | grep -e inet -e tftp -e “:69”
          (Nem todos os processos puderam ser identificados, informações sobre processos
          de outrem não serão mostrados, você deve ser root para vê-los todos.)
          
          george1421G 1 Reply Last reply Reply Quote 0
          • george1421G
            george1421 Moderator @ultralivre
            last edited by george1421

            @ultralivre Ok I have a question how you installed FOG?

            When you run the installfog.sh script. You must answer some questions. About 1/2 of the way through the installation the program asks you to use a web browser and access the web management page. After you do that, you must go back to the installer and press enter to complete the installation. Your results to Sebastian’s tasks seem to tell me you did not go back and finish the installation.

            Please rerun the installfog.sh script. It will remember the options you picked the first time. Be sure to go back to the management web ui page, then come back to the installer script to complete the installation.

            The missing tftp directory is created in step 2 of the installer script.

            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!

            U 1 Reply Last reply Reply Quote 1
            • S
              Sebastian Roth Moderator
              last edited by

              @ultralivre Please run ip a s as well and post output here. Beside that follow George’s advice on re-running the installer!

              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
              • U
                ultralivre @george1421
                last edited by

                @george1421 Muito Obrigado, esta funcionando.
                Uma pergunta: Posso utilizar esse ambiente para produção com um hub switch burro ?

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

                  @ultralivre said in Cliente não inicia servidor Fog via rede:

                  One question: Can I use this environment for production with a dumb switch hub?

                  Yes you can use a bottom level switch like a cheap 5 port switch or an enterprise level switch. You might find that the cheap switches are not fast enough for image deployment. On a well designed 1GbE network you should get in the area of 4.5-6GB per minute as seen on the FOG Partclone screen to give you an idea of what is normal speeds.

                  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!

                  U 1 Reply Last reply Reply Quote 0
                  • U
                    ultralivre @george1421
                    last edited by

                    @george1421 Boa noite, como posso fazer caso precise distribuir IPs através do meu servidor Fog conectado a um HUB ou Switch burro?

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

                      @ultralivre Well you have a difficult question to answer since you have a VM fog server. The answer depends on what hypervisor you use.

                      Your FOG server VM needs to be bridged to the physical NIC so external computers can talk to the FOG server. If you use a NAT interface that is incorrect, you need bridged. I can talk in terms of VMWare. You will connect the FOG server to an internal vSwitch inside vmware, then assign a physical nic to the vSwitch. You must be able to ping the FOG server IP address from a PC connected to the hub or switch. In this case your ISP DHCP server will still give out IP addresses, the FOG server’s dnsmasq will give out pxe boot information.

                      In my home lab I have my fog server running on a proxmox hypervisor with my ISP router giving out IP addresses and dnsmasq on the FOG server giving pxe boot information. I can pxe boot physical computers with this configuration, so yes it works.

                      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!

                      U 1 Reply Last reply Reply Quote 0
                      • U
                        ultralivre @george1421
                        last edited by

                        @george1421 Muito bem, estou gostando muito desta aplicação e sua participação é muito importante. Eu pretendo utilizar esta VM em outras redes e acabei de me deparar com este erro (segue imagem), já verifiquei e alterei o IP nas configurações do FOG via web. Porém não funcionou e continua o mesmo erro, tem alguma maneira de eu poder modificar isso diretamente nos arquivos de configuração para usar a VM em outras redes? photo_2021-12-09_21-48-30.jpg

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

                          @ultralivre Ok I tell you that FOG gets very angry if you change the IP address of the fog server after you install FOG.

                          I can see from your screen shot that the fog server was at 10.1.140.108 when fog was installed, and now IP address is 10.1.142.73.

                          If your fog server will not stay at 10.1.142.73 then you need to fix FOG settings.

                          Update the hidden file /opt/fog/.fogsettings with the correct fog server IP address.

                          Now rerun the installfog.sh script. It will load the previous answers from the .fogsettings file. No bad things will happen when you rerun the fog install script. But the fixed IP address in the .fogsettings file.

                          Now that the installer fixed some things you need to go to the web gui and then FOG Settings -> FOG Configuration. Now hit the expand all button. Search for the old IP address and fix with new IP address. Save your settings.

                          One more place you have to look is in the storage configuration. Look in the default storage node. Fix the IP address there too.

                          Now fog should be happy again.

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

                          151

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project