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

    image deploy help

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    2
    22
    1.8k
    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.
    • B
      Bullet
      last edited by Sebastian Roth

      tech@FOG2:~$ avahi      744  0.0  0.0  47256  3276 ?        Ss   16:46   0:00 avahi-daemon: running [FOG2.local]
      avahi: command not found
      tech@FOG2:~$ root      1026  0.0  0.3 306592 28264 ?        Ss   16:46   0:00 /usr/bin/php -q /opt/fog/service/FOGMulticastManager/FOGMulticastManager &
      [1] 8427
      tech@FOG2:~$ root      1027  0.0  0.3 306592 28232 ?        Ss   16:46   0:00 /usr/bin/php -q /opt/fog/service/FOGImageReplicator/FOGImageReplicator &
      [2] 8429
      tech@FOG2:~$ root      1028  0.0  0.3 306592 28336 ?        Ss   16:46   0:00 /usr/bin/php -q /opt/fog/service/FOGSnapinHash/FOGSnapinHash &
      [3] 8431
      tech@FOG2:~$ root      1029  0.0  0.3 306592 28060 ?        Ss   16:46   0:00 /usr/bin/php -q /opt/fog/service/FOGImageSize/FOGImageSize &
      [4] 8432
      tech@FOG2:~$ root      1030  0.0  0.3 306592 28016 ?        Ss   16:46   0:00 /usr/bin/php -q /opt/fog/service/FOGTaskScheduler/FOGTaskScheduler &
      [5] 8434
      tech@FOG2:~$ root      1031  0.0  0.3 306592 28128 ?        Ss   16:46   0:00 /usr/bin/php -q /opt/fog/service/FOGPingHosts/FOGPingHosts &
      [6] 8436
      tech@FOG2:~$ root      1032  0.0  0.3 306592 28176 ?        Ss   16:46   0:00 /usr/bin/php -q /opt/fog/service/FOGSnapinReplicator/FOGSnapinReplicator &
      [7] 8438
      tech@FOG2:~$ root      1160  0.1  0.2 386712 21068 ?        S    16:46   0:03 /usr/bin/php -q /opt/fog/service/FOGSnapinReplicator/FOGSnapinReplicator &
      [8] 8439
      tech@FOG2:~$ root      1161  0.1  0.2 386580 21096 ?        S    16:46   0:03 /usr/bin/php -q /opt/fog/service/FOGImageSize/FOGImageSize &
      [9] 8441
      tech@FOG2:~$ root      1163  0.1  0.2 386580 20904 ?        S    16:46   0:03 /usr/bin/php -q /opt/fog/service/FOGTaskScheduler/FOGTaskScheduler &
      [10] 8443
      tech@FOG2:~$ root      1164  0.1  0.2 388704 21216 ?        S    16:46   0:03 /usr/bin/php -q /opt/fog/service/FOGPingHosts/FOGPingHosts &
      [11] 8445
      tech@FOG2:~$ root      1165  0.1  0.2 386712 21176 ?        S    16:46   0:03 /usr/bin/php -q /opt/fog/service/FOGSnapinHash/FOGSnapinHash &
      [12] 8446
      tech@FOG2:~$ root      1166  0.1  0.2 386712 21200 ?        S    16:46   0:04 /usr/bin/php -q /opt/fog/service/FOGImageReplicator/FOGImageReplicator &
      [13] 8447
      tech@FOG2:~$ root      3908  0.0  0.0      0     0 ?        Z    17:31   0:00 [FOGMulticastMan] <defunct>
      bash: syntax error near unexpected token `newline'
      tech@FOG2:~$ tech      4156  0.0  0.0  21536  1140 pts/0    S+   17:40   0:00 grep --color=auto FOG
      
      Command 'root' not found, did you mean:
      
        command 'toot' from snap toot (0.20.0)
        command 'roo' from snap roo (2.0.3)
        command 'rott' from deb rott
        command 'proot' from deb proot
        command 'rootv' from deb xawtv
      
      See 'snap info <snapname>' for additional versions.
      
      
      Command 'root' not found, did you mean:
      
        command 'roo' from snap roo (2.0.3)
        command 'toot' from snap toot (0.20.0)
        command 'proot' from deb proot
        command 'rott' from deb rott
        command 'rootv' from deb xawtv
      
      See 'snap info <snapname>' for additional versions.
      
      
      Command 'root' not found, did you mean:
      
        command 'roo' from snap roo (2.0.3)
        command 'toot' from snap toot (0.20.0)
        command 'rootv' from deb xawtv
        command 'rott' from deb rott
        command 'proot' from deb proot
      
      See 'snap info <snapname>' for additional versions.
      
      
      Command 'root' not found, did you mean:
      
        command 'roo' from snap roo (2.0.3)
        command 'toot' from snap toot (0.20.0)
        command 'proot' from deb proot
        command 'rootv' from deb xawtv
        command 'rott' from deb rott
      
      See 'snap info <snapname>' for additional versions.
      
      
      Command 'root' not found, did you mean:
      
        command 'toot' from snap toot (0.20.0)
        command 'roo' from snap roo (2.0.3)
        command 'proot' from deb proot
        command 'rootv' from deb xawtv
        command 'rott' from deb rott
      
      See 'snap info <snapname>' for additional versions.
      
      
      Command 'root' not found, did you mean:
      
        command 'toot' from snap toot (0.20.0)
        command 'roo' from snap roo (2.0.3)
        command 'rootv' from deb xawtv
        command 'proot' from deb proot
        command 'rott' from deb rott
      
      See 'snap info <snapname>' for additional versions.
      
      
      Command 'root' not found, did you mean:
      
        command 'roo' from snap roo (2.0.3)
        command 'toot' from snap toot (0.20.0)
        command 'rott' from deb rott
        command 'rootv' from deb xawtv
        command 'proot' from deb proot
      
      See 'snap info <snapname>' for additional versions.
      
      
      Command 'root' not found, did you mean:
      
        command 'toot' from snap toot (0.20.0)
        command 'roo' from snap roo (2.0.3)
        command 'proot' from deb proot
        command 'rott' from deb rott
        command 'rootv' from deb xawtv
      
      See 'snap info <snapname>' for additional versions.
      
      
      Command 'root' not found, did you mean:
      
        command 'roo' from snap roo (2.0.3)
        command 'toot' from snap toot (0.20.0)
        command 'proot' from deb proot
        command 'rootv' from deb xawtv
        command 'rott' from deb rott
      
      See 'snap info <snapname>' for additional versions.
      
      
      Command 'tech' not found, did you mean:
      
        command 'tesh' from deb libsimgrid-dev
      
      Try: sudo apt install <deb name>
      
      
      Command 'root' not found, did you mean:
      
        command 'toot' from snap toot (0.20.0)
        command 'roo' from snap roo (2.0.3)
        command 'rootv' from deb xawtv
        command 'proot' from deb proot
        command 'rott' from deb rott
      
      See 'snap info <snapname>' for additional versions.
      
      
      Command 'root' not found, did you mean:
      
        command 'roo' from snap roo (2.0.3)
        command 'toot' from snap toot (0.20.0)
        command 'rott' from deb rott
        command 'rootv' from deb xawtv
        command 'proot' from deb proot
      
      See 'snap info <snapname>' for additional versions.
      
      [1]   Exit 127                root 1026 0.0 0.3 306592 28264 ? Ss 16:46 0:00 /usr/bin/php -q /opt/fog/service/FOGMulticastManager/FOGMulticastManager
      [2]   Exit 127                root 1027 0.0 0.3 306592 28232 ? Ss 16:46 0:00 /usr/bin/php -q /opt/fog/service/FOGImageReplicator/FOGImageReplicator
      [4]   Exit 127                root 1029 0.0 0.3 306592 28060 ? Ss 16:46 0:00 /usr/bin/php -q /opt/fog/service/FOGImageSize/FOGImageSize
      [5]   Exit 127                root 1030 0.0 0.3 306592 28016 ? Ss 16:46 0:00 /usr/bin/php -q /opt/fog/service/FOGTaskScheduler/FOGTaskScheduler
      [6]   Exit 127                root 1031 0.0 0.3 306592 28128 ? Ss 16:46 0:00 /usr/bin/php -q /opt/fog/service/FOGPingHosts/FOGPingHosts
      [7]   Exit 127                root 1032 0.0 0.3 306592 28176 ? Ss 16:46 0:00 /usr/bin/php -q /opt/fog/service/FOGSnapinReplicator/FOGSnapinReplicator
      [8]   Exit 127                root 1160 0.1 0.2 386712 21068 ? S 16:46 0:03 /usr/bin/php -q /opt/fog/service/FOGSnapinReplicator/FOGSnapinReplicator
      [9]   Exit 127                root 1161 0.1 0.2 386580 21096 ? S 16:46 0:03 /usr/bin/php -q /opt/fog/service/FOGImageSize/FOGImageSize
      tech@FOG2:~$ 
      Command 'root' not found, did you mean:
      
        command 'roo' from snap roo (2.0.3)
        command 'toot' from snap toot (0.20.0)
        command 'rootv' from deb xawtv
        command 'rott' from deb rott
        command 'proot' from deb proot
      
      See 'snap info <snapname>' for additional versions.
      
      
      Command 'root' not found, did you mean:
      
        command 'toot' from snap toot (0.20.0)
        command 'roo' from snap roo (2.0.3)
        command 'rott' from deb rott
        command 'proot' from deb proot
        command 'rootv' from deb xawtv
      
      See 'snap info <snapname>' for additional versions.
      
      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by

        @Bullet Why did you copy&paste your own output to execute in the shell???

        Were my instrctions missleading? Simple run thise two commands (as root):

        kill -9  1026  3908
        /usr/bin/php /opt/fog/service/FOGMulticastManager/FOGMulticastManager
        

        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
        • B
          Bullet
          last edited by Sebastian Roth

          Sorry. I ran the kill and it comes up no such process.

          Other comes up with:

          PHP Warning:  Error while sending QUERY packet. PID=19012 in /var/www/fog/lib/db/pdodb.class.php on line 591
          PHP Warning:  Error while sending QUERY packet. PID=19159 in /var/www/fog/lib/db/pdodb.class.php on line 591
          PHP Warning:  Error while sending QUERY packet. PID=19495 in /var/www/fog/lib/db/pdodb.class.php on line 591
          PHP Warning:  Error while sending QUERY packet. PID=19640 in /var/www/fog/lib/db/pdodb.class.php on line 591
          PHP Warning:  Error while sending QUERY packet. PID=19976 in /var/www/fog/lib/db/pdodb.class.php on line 591
          PHP Warning:  Error while sending QUERY packet. PID=20115 in /var/www/fog/lib/db/pdodb.class.php on line 591
          PHP Warning:  Error while sending QUERY packet. PID=20440 in /var/www/fog/lib/db/pdodb.class.php on line 591
          PHP Warning:  Error while sending QUERY packet. PID=20588 in /var/www/fog/lib/db/pdodb.class.php on line 591
          PHP Warning:  Error while sending QUERY packet. PID=20914 in /var/www/fog/lib/db/pdodb.class.php on line 591
          PHP Warning:  Error while sending QUERY packet. PID=21073 in /var/www/fog/lib/db/pdodb.class.php on line 591
          PHP Warning:  Error while sending QUERY packet. PID=21330 in /var/www/fog/lib/db/pdodb.class.php on line 591
          PHP Warning:  Error while sending QUERY packet. PID=21552 in /var/www/fog/lib/db/pdodb.class.php on line 591
          PHP Warning:  Error while sending QUERY packet. PID=21879 in /var/www/fog/lib/db/pdodb.class.php on line 591
          PHP Warning:  Error while sending QUERY packet. PID=22050 in /var/www/fog/lib/db/pdodb.class.php on line 591
          
          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by

            @Bullet Seems like the MulticastManager has a major issue issuing a query to the database but it’s kind of strange because the other services do query the database as well and so does the web UI.

            • Can you still use the FOG web UI without a problem?
            • Is it slow on certain page loads?
            • How many hosts with fog-client installed do you have?
            • What is CLIENT CHECKIN TIME time set to (FOG Configuration -> FOG Settings -> FOG Client section)?
            • How much memory do you have in your FOG server (command free -m)?

            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
            • B
              Bullet
              last edited by Sebastian Roth

              We can use the UI fine and from any system.
              No slowness at all.
              12 Hosts
              Checkin Time is 60
              8gb memory installed

                            total        used        free      shared  buff/cache   available
              Mem:           7822        2154        3836         341        1831        5039
              Swap:          2047           0        2047
              
              1 Reply Last reply Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by

                We did a remote session. Turned out to be a case of corrupt entries in the multicastSession table in the datebase. We fixed those as described in the wiki: https://wiki.fogproject.org/wiki/index.php/Troubleshoot_MySQL#Database_Maintenance_Commands

                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
                • S
                  Sebastian Roth Moderator
                  last edited by

                  @Bullet Sorry, I forgot to start all the other services again. Maybe it’s good you restart your FOG server and all will be fine up again.

                  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
                  • B
                    Bullet
                    last edited by

                    Thanks again for the help!

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

                      I am re-opening this topic as @Bullet told me in a chat session that the same issue occurred again. Hope we can figure out which steps led to it so we might be able to fix this in the code.

                      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
                      • B
                        Bullet
                        last edited by

                        Sorry been away. I was able to fix the issue acting I was installing all over again.

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

                          @Bullet Please keep us posted if the issue is coming up again.

                          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
                          • B
                            Bullet
                            last edited by

                            Will do.

                            1 Reply Last reply Reply Quote 0
                            • 1
                            • 2
                            • 1 / 2
                            • First post
                              Last post

                            184

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project