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

Hosts ping didn't work anymore

Scheduled Pinned Locked Moved Solved
Bug Reports
3
28
9.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.
  • M
    Matthieu Jacquart @Wayne Workman
    last edited by Jul 2, 2016, 5:20 AM

    @Wayne-Workman Ok done and update to last git, any changes…
    And no rules in debian FW (/sbin/iptables -L)

    Fog 1.5.9.138
    Debian 11
    Vmware ESXi

    T 1 Reply Last reply Jul 2, 2016, 12:03 PM Reply Quote 0
    • T
      Tom Elliott @Matthieu Jacquart
      last edited by Jul 2, 2016, 12:03 PM

      @Matthieu-Jacquart Is your server GUI based (do you open using xterm/terminal?) I ask because I’ve seen where logs don’t get written and most commonly it’s how the system was installed. Many people run: ./installfog.sh -y which is fine in most cases, but if you’re already root (xterm – then sudo su rather than sudo -i or sudo su - or signed directly in to GUI as root), the root paths aren’t properly solved out. This is fixed, often, by changing how you’re becoming root.

      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 Jul 2, 2016, 2:37 PM Reply Quote 0
      • M
        Matthieu Jacquart @Tom Elliott
        last edited by Jul 2, 2016, 2:37 PM

        @Tom-Elliott So, I’ll try to well respond, but not sure to have understood everything 😉
        My installation is a debian 8 without graphic interface, and I connect with SSH directly with root account.
        I just run ./install.sh (without -y)

        Fog 1.5.9.138
        Debian 11
        Vmware ESXi

        1 Reply Last reply Reply Quote 0
        • W
          Wayne Workman
          last edited by Jul 2, 2016, 3:25 PM

          This is just a thought but if host ping is having issues - wouldn’t there be logs about that in the apache error logs?

          On Debian that might be /var/log/apache2/error_log

          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/

          M 1 Reply Last reply Jul 2, 2016, 4:31 PM Reply Quote 0
          • M
            Matthieu Jacquart @Wayne Workman
            last edited by Jul 2, 2016, 4:31 PM

            @Wayne-Workman there’s just this in error.log :

            
            root@FOG:~/fogproject/bin$ cat /var/log/apache2/error.log
            [Sat Jul 02 06:25:06.594071 2016] [mpm_prefork:notice] [pid 614] AH00163: Apache/2.4.10 (Debian) OpenSSL/1.0.1t configured -- resuming normal operations
            [Sat Jul 02 06:25:06.594117 2016] [core:notice] [pid 614] AH00094: Command line: '/usr/sbin/apache2'
            [Sat Jul 02 07:15:12.454565 2016] [mpm_prefork:notice] [pid 614] AH00169: caught SIGTERM, shutting down
            [Sat Jul 02 07:16:13.577194 2016] [mpm_prefork:notice] [pid 10135] AH00163: Apache/2.4.10 (Debian) OpenSSL/1.0.1t configured -- resuming normal operations
            [Sat Jul 02 07:16:13.577269 2016] [core:notice] [pid 10135] AH00094: Command line: '/usr/sbin/apache2'
            [Sat Jul 02 07:51:39.063190 2016] [:error] [pid 10139] [client 192.168.10.100:62222] PHP Strict Standards:  Only variables should be passed by reference in /var/www/html/fog/lib/fog/fogpage.class.php on line 947, referer: http://fog/fog/management/?node=snapin&sub=edit&id=11
            [Sat Jul 02 07:51:39.208575 2016] [:error] [pid 10139] [client 192.168.10.100:62222] PHP Strict Standards:  Only variables should be passed by reference in /var/www/html/fog/lib/fog/fogpage.class.php on line 986, referer: http://fog/fog/management/?node=snapin&sub=edit&id=11
            [Sat Jul 02 07:51:49.530751 2016] [:error] [pid 10139] [client 192.168.10.100:62229] PHP Strict Standards:  Only variables should be passed by reference in /var/www/html/fog/lib/fog/fogpage.class.php on line 947, referer: http://fog/fog/management/?node=snapin&sub=edit&id=12
            [Sat Jul 02 07:51:49.921369 2016] [:error] [pid 10139] [client 192.168.10.100:62229] PHP Strict Standards:  Only variables should be passed by reference in /var/www/html/fog/lib/fog/fogpage.class.php on line 986, referer: http://fog/fog/management/?node=snapin&sub=edit&id=12
            [Sat Jul 02 07:52:06.022140 2016] [:error] [pid 10141] [client 192.168.10.100:62239] PHP Strict Standards:  Only variables should be passed by reference in /var/www/html/fog/lib/fog/fogpage.class.php on line 947, referer: http://fog/fog/management/?node=snapin&sub=edit&id=13
            [Sat Jul 02 07:52:06.185214 2016] [:error] [pid 10141] [client 192.168.10.100:62239] PHP Strict Standards:  Only variables should be passed by reference in /var/www/html/fog/lib/fog/fogpage.class.php on line 986, referer: http://fog/fog/management/?node=snapin&sub=edit&id=13
            [Sat Jul 02 07:52:53.885908 2016] [:error] [pid 10138] [client 192.168.10.100:62257] PHP Strict Standards:  Only variables should be passed by reference in /var/www/html/fog/lib/fog/fogpage.class.php on line 947, referer: http://fog/fog/management/?node=snapin&sub=edit&id=30
            [Sat Jul 02 07:52:53.972500 2016] [:error] [pid 10138] [client 192.168.10.100:62257] PHP Strict Standards:  Only variables should be passed by reference in /var/www/html/fog/lib/fog/fogpage.class.php on line 986, referer: http://fog/fog/management/?node=snapin&sub=edit&id=30
            [Sat Jul 02 07:53:02.356415 2016] [:error] [pid 10139] [client 192.168.10.100:62263] PHP Strict Standards:  Only variables should be passed by reference in /var/www/html/fog/lib/fog/fogpage.class.php on line 947, referer: http://fog/fog/management/?node=snapin&sub=edit&id=48
            [Sat Jul 02 07:53:02.443640 2016] [:error] [pid 10139] [client 192.168.10.100:62263] PHP Strict Standards:  Only variables should be passed by reference in /var/www/html/fog/lib/fog/fogpage.class.php on line 986, referer: http://fog/fog/management/?node=snapin&sub=edit&id=48
            [Sat Jul 02 07:53:09.652814 2016] [:error] [pid 10142] [client 192.168.10.100:62271] PHP Strict Standards:  Only variables should be passed by reference in /var/www/html/fog/lib/fog/fogpage.class.php on line 947, referer: http://fog/fog/management/?node=snapin&sub=edit&id=49
            [Sat Jul 02 07:53:10.102532 2016] [:error] [pid 10142] [client 192.168.10.100:62271] PHP Strict Standards:  Only variables should be passed by reference in /var/www/html/fog/lib/fog/fogpage.class.php on line 986, referer: http://fog/fog/management/?node=snapin&sub=edit&id=49
            [Sat Jul 02 07:53:26.764508 2016] [:error] [pid 10181] [client 192.168.10.100:62274] PHP Strict Standards:  Only variables should be passed by reference in /var/www/html/fog/lib/fog/fogpage.class.php on line 947, referer: http://fog/fog/management/?node=snapin&sub=membership&id=49
            [Sat Jul 02 07:53:27.140005 2016] [:error] [pid 10181] [client 192.168.10.100:62274] PHP Strict Standards:  Only variables should be passed by reference in /var/www/html/fog/lib/fog/fogpage.class.php on line 986, referer: http://fog/fog/management/?node=snapin&sub=membership&id=49
            [Sat Jul 02 16:39:30.230292 2016] [mpm_prefork:notice] [pid 10135] AH00169: caught SIGTERM, shutting down
            [Sat Jul 02 16:40:24.793549 2016] [mpm_prefork:notice] [pid 17770] AH00163: Apache/2.4.10 (Debian) OpenSSL/1.0.1t configured -- resuming normal operations
            [Sat Jul 02 16:40:24.793605 2016] [core:notice] [pid 17770] AH00094: Command line: '/usr/sbin/apache2'
            

            Fog 1.5.9.138
            Debian 11
            Vmware ESXi

            1 Reply Last reply Reply Quote 0
            • T
              Tom Elliott
              last edited by Jul 2, 2016, 6:01 PM

              Not going to help much, I’m sure, but what about output of:

              systemctl status -l FOGPingHosts
              

              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 Jul 2, 2016, 6:16 PM Reply Quote 0
              • M
                Matthieu Jacquart @Tom Elliott
                last edited by Jul 2, 2016, 6:16 PM

                @Tom-Elliott

                root@FOG:~/fogproject/bin$ systemctl status -l FOGPingHosts
                * FOGPingHosts.service - FOGPingHosts
                   Loaded: loaded (/lib/systemd/system/FOGPingHosts.service; enabled)
                   Active: failed (Result: exit-code) since sam. 2016-07-02 16:41:07 CEST; 3h 35min ago
                 Main PID: 19806 (code=exited, status=203/EXEC)
                
                juil. 02 16:41:07 FOG systemd[19806]: Failed at step EXEC spawning /opt/fog/service/FOGPingHosts/FOGPingHosts: Permission denied
                juil. 02 16:41:07 FOG systemd[1]: FOGPingHosts.service: main process exited, code=exited, status=203/EXEC
                juil. 02 16:41:07 FOG systemd[1]: Unit FOGPingHosts.service entered failed state.
                

                Fog 1.5.9.138
                Debian 11
                Vmware ESXi

                T 2 Replies Last reply Jul 2, 2016, 7:33 PM Reply Quote 0
                • T
                  Tom Elliott @Matthieu Jacquart
                  last edited by Jul 2, 2016, 7:33 PM

                  @Matthieu-Jacquart Is apparmour, by chance, blocking stuff?

                  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 Jul 2, 2016, 7:57 PM Reply Quote 0
                  • M
                    Matthieu Jacquart @Tom Elliott
                    last edited by Jul 2, 2016, 7:57 PM

                    @Tom-Elliott What ? Sorry, don’t understand 😉

                    Fog 1.5.9.138
                    Debian 11
                    Vmware ESXi

                    1 Reply Last reply Reply Quote 0
                    • T
                      Tom Elliott @Matthieu Jacquart
                      last edited by Jul 3, 2016, 7:53 PM

                      @Matthieu-Jacquart When you get a chance can you run:

                      sudo chmod +x /lib/systemd/system/FOG*
                      

                      Then try restarting FOGPingHosts with:
                      systemctl restart FOGPingHosts

                      Followed by:
                      systemctl status -l FOGPingHosts

                      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 Jul 4, 2016, 4:57 AM Reply Quote 0
                      • M
                        Matthieu Jacquart @Tom Elliott
                        last edited by Jul 4, 2016, 4:57 AM

                        @Tom-Elliott

                        root@FOG:~/fogproject/bin$ chmod +x /lib/systemd/system/FOG*
                        root@FOG:~/fogproject/bin$  systemctl restart FOGPingHosts
                        root@FOG:~/fogproject/bin$  systemctl status -l FOGPingHosts
                        * FOGPingHosts.service - FOGPingHosts
                           Loaded: loaded (/lib/systemd/system/FOGPingHosts.service; enabled)
                           Active: failed (Result: exit-code) since lun. 2016-07-04 06:56:12 CEST; 3s ago
                          Process: 6744 ExecStart=/opt/fog/service/FOGPingHosts/FOGPingHosts & (code=exited, status=203/EXEC)
                         Main PID: 6744 (code=exited, status=203/EXEC)
                        
                        juil. 04 06:56:12 FOG systemd[6744]: Failed at step EXEC spawning /opt/fog/service/FOGPingHosts/FOGPingHosts: Permission denied
                        juil. 04 06:56:12 FOG systemd[1]: FOGPingHosts.service: main process exited, code=exited, status=203/EXEC
                        juil. 04 06:56:12 FOG systemd[1]: Unit FOGPingHosts.service entered failed state.
                        

                        Fog 1.5.9.138
                        Debian 11
                        Vmware ESXi

                        1 Reply Last reply Reply Quote 0
                        • W
                          Wayne Workman
                          last edited by Jul 4, 2016, 5:55 AM

                          Don’t know if it will help but here are some things on the net that reference the same error.

                          http://unix.stackexchange.com/questions/204312/nginx-init-d-script

                          https://bbs.archlinux.org/viewtopic.php?id=149425

                          http://stackoverflow.com/questions/38079898/failed-to-start-the-php-7-0-fastcgi-process-manager

                          https://chakraos.org/forum/viewtopic.php?id=13686

                          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/

                          M 1 Reply Last reply Jul 5, 2016, 1:06 PM Reply Quote 0
                          • M
                            Matthieu Jacquart @Wayne Workman
                            last edited by Jul 5, 2016, 1:06 PM

                            @Wayne-Workman Thanks but I’m not expert in linux and I don’t find solution in these articles…
                            I don’t know how to resolve my problem, but once again it’s not a big deal…

                            Fog 1.5.9.138
                            Debian 11
                            Vmware ESXi

                            T 1 Reply Last reply Jul 5, 2016, 1:23 PM Reply Quote 0
                            • T
                              Tom Elliott @Matthieu Jacquart
                              last edited by Jul 5, 2016, 1:23 PM

                              @Matthieu-Jacquart Can you try:

                              chmod +x -R /opt/fog/service/

                              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 Jul 5, 2016, 1:43 PM Reply Quote 0
                              • M
                                Matthieu Jacquart @Tom Elliott
                                last edited by Jul 5, 2016, 1:43 PM

                                @Tom-Elliott YES !
                                Update to last version, apply your command, reboot fog server, and now there are all service log updated.
                                0_1467726215285_Capture.JPG
                                And in fog management, ping is 100% ok, only online computers are green.

                                Case is solved for me 😉

                                Fog 1.5.9.138
                                Debian 11
                                Vmware ESXi

                                1 Reply Last reply Reply Quote 0
                                • W
                                  Wayne Workman
                                  last edited by Jul 5, 2016, 11:53 PM

                                  Weird… wonder how it got that way?

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

                                  163

                                  Online

                                  12.1k

                                  Users

                                  17.3k

                                  Topics

                                  155.3k

                                  Posts
                                  Copyright © 2012-2024 FOG Project