image deploy help



  • Issue1.jpg

    Was working just fine until last week Friday afternoon. Stuck here and unsure what to do from here. Still new to this program.



  • Will do.


  • Developer

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



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


  • Developer

    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.



  • Thanks again for the help!


  • Developer

    @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.


  • Developer

    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



  • 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
    

  • Developer

    @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)?


  • 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
    

  • Developer

    @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
    


  • 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.
    

  • Developer

    @Bullet said in image deploy help:

    root 3908 0.0 0.0 0 0 ? Z 17:31 0:00 [FOGMulticastMan] <defunct>

    Definitely something gone broke here. Please try this:

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

    You should see some output on the console that might lead is to what is wrong here. Please post the full output you see.



  • @Sebastian-Roth said in image deploy help:

    ps aux | grep FOG

    avahi 744 0.0 0.0 47256 3276 ? Ss 16:46 0:00 avahi-daemon: running [FOG2.local]
    root 1026 0.0 0.3 306592 28264 ? Ss 16:46 0:00 /usr/bin/php -q /opt/fog/service/FOGMulticastManager/FOGMulticastManager &
    root 1027 0.0 0.3 306592 28232 ? Ss 16:46 0:00 /usr/bin/php -q /opt/fog/service/FOGImageReplicator/FOGImageReplicator &
    root 1028 0.0 0.3 306592 28336 ? Ss 16:46 0:00 /usr/bin/php -q /opt/fog/service/FOGSnapinHash/FOGSnapinHash &
    root 1029 0.0 0.3 306592 28060 ? Ss 16:46 0:00 /usr/bin/php -q /opt/fog/service/FOGImageSize/FOGImageSize &
    root 1030 0.0 0.3 306592 28016 ? Ss 16:46 0:00 /usr/bin/php -q /opt/fog/service/FOGTaskScheduler/FOGTaskScheduler &
    root 1031 0.0 0.3 306592 28128 ? Ss 16:46 0:00 /usr/bin/php -q /opt/fog/service/FOGPingHosts/FOGPingHosts &
    root 1032 0.0 0.3 306592 28176 ? Ss 16:46 0:00 /usr/bin/php -q /opt/fog/service/FOGSnapinReplicator/FOGSnapinReplicator &
    root 1160 0.1 0.2 386712 21068 ? S 16:46 0:03 /usr/bin/php -q /opt/fog/service/FOGSnapinReplicator/FOGSnapinReplicator &
    root 1161 0.1 0.2 386580 21096 ? S 16:46 0:03 /usr/bin/php -q /opt/fog/service/FOGImageSize/FOGImageSize &
    root 1163 0.1 0.2 386580 20904 ? S 16:46 0:03 /usr/bin/php -q /opt/fog/service/FOGTaskScheduler/FOGTaskScheduler &
    root 1164 0.1 0.2 388704 21216 ? S 16:46 0:03 /usr/bin/php -q /opt/fog/service/FOGPingHosts/FOGPingHosts &
    root 1165 0.1 0.2 386712 21176 ? S 16:46 0:03 /usr/bin/php -q /opt/fog/service/FOGSnapinHash/FOGSnapinHash &
    root 1166 0.1 0.2 386712 21200 ? S 16:46 0:04 /usr/bin/php -q /opt/fog/service/FOGImageReplicator/FOGImageReplicator &
    root 3908 0.0 0.0 0 0 ? Z 17:31 0:00 [FOGMulticastMan] <defunct>
    tech 4156 0.0 0.0 21536 1140 pts/0 S+ 17:40 0:00 grep --color=auto FOG


  • Developer

    @Bullet Please run ps aux | grep FOG on your FOG server console and post output here.



  • Nothing else in that file. The last thing I did was upload an image. After that we went to deploy the image and then we just get to that screen and nothing else.

    Normally I would act like I was installing again and that would fix it but this time its not working.


  • Developer

    @Bullet And after that, nothing more in this log file? I mean when you start a multicast task and let the clients join that session??



  • [03-04-19 7:49:12 pm] 
    ==================================
    === ==== ===== ====
    === ========= == === == ===
    === ======== ==== == ==== ===
    === ======== ==== == =========
    === ==== ==== == =========
    === ======== ==== == === ===
    === ======== ==== == ==== ===
    === ========= == === == ===
    === ========== ===== ====
    ==================================
    ===== Free Opensource Ghost ======
    ==================================
    ============ Credits =============
    = https://fogproject.org/Credits =
    ==================================
    == Released under GPL Version 3 ==
    ==================================
    
    
    [03-04-19 7:49:12 pm] Interface Ready with IP Address: 127.0.0.1
    [03-04-19 7:49:12 pm] Interface Ready with IP Address: 127.0.1.1
    [03-04-19 7:49:12 pm] Interface Ready with IP Address: 192.168.40.78
    [03-04-19 7:49:12 pm] Interface Ready with IP Address: 209.131.208.157
    [03-04-19 7:49:12 pm] Interface Ready with IP Address: FOG2
    [03-04-19 7:49:12 pm] Interface Ready with IP Address: www.tcm-bai.com
    [03-04-19 7:49:12 pm] * Starting MulticastManager Service
    [03-04-19 7:49:12 pm] * Checking for new items every 10 seconds
    [03-04-19 7:49:12 pm] * Starting service loop
    

  • Developer

    @Bullet Log?


Log in to reply
 

316
Online

5.8k
Users

13.1k
Topics

123.3k
Posts