• 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.1k
    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.
    • Tom ElliottT
      Tom Elliott
      last edited by

      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

      Matthieu JacquartM 1 Reply Last reply Reply Quote 0
      • Matthieu JacquartM
        Matthieu Jacquart @Tom Elliott
        last edited by

        @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

        Tom ElliottT 2 Replies Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott @Matthieu Jacquart
          last edited by

          @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

          Matthieu JacquartM 1 Reply Last reply Reply Quote 0
          • Matthieu JacquartM
            Matthieu Jacquart @Tom Elliott
            last edited by

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

            Fog 1.5.9.138
            Debian 11
            Vmware ESXi

            1 Reply Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott @Matthieu Jacquart
              last edited by

              @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

              Matthieu JacquartM 1 Reply Last reply Reply Quote 0
              • Matthieu JacquartM
                Matthieu Jacquart @Tom Elliott
                last edited by

                @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
                • Wayne WorkmanW
                  Wayne Workman
                  last edited by

                  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/

                  Matthieu JacquartM 1 Reply Last reply Reply Quote 0
                  • Matthieu JacquartM
                    Matthieu Jacquart @Wayne Workman
                    last edited by

                    @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

                    Tom ElliottT 1 Reply Last reply Reply Quote 0
                    • Tom ElliottT
                      Tom Elliott @Matthieu Jacquart
                      last edited by

                      @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

                      Matthieu JacquartM 1 Reply Last reply Reply Quote 0
                      • Matthieu JacquartM
                        Matthieu Jacquart @Tom Elliott
                        last edited by

                        @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
                        • Wayne WorkmanW
                          Wayne Workman
                          last edited by

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

                          195

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project