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

Fog hangs while trying to upload

Scheduled Pinned Locked Moved Solved
FOG Problems
4
27
3.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.
  • S
    Sebastian Roth Moderator
    last edited by Sebastian Roth Mar 2, 2023, 11:24 AM Mar 2, 2023, 5:23 PM

    @Scootframer Do you get anything in the server logs?

    dmesg | tail
    tail /var/log/syslog /var/log/messages
    journalctl -f
    

    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

    S 1 Reply Last reply Mar 2, 2023, 7:35 PM Reply Quote 0
    • S
      Scootframer @Sebastian Roth
      last edited by Mar 2, 2023, 7:35 PM

      @Sebastian-Roth
      [root@d9fogserver ~]# dmesg | tail
      [262168.127909] nfsd: peername failed (err 107)!
      [262263.362858] nfsd: peername failed (err 107)!
      [262524.491146] nfsd: peername failed (err 107)!
      [262585.932952] nfsd: peername failed (err 107)!
      [262592.077249] nfsd: recvfrom returned errno 104
      [263814.772339] nfsd: peername failed (err 107)!
      [264045.179522] nfsd: recvfrom returned errno 104
      [264840.851890] nfsd: peername failed (err 107)!
      [264957.591855] nfsd: peername failed (err 107)!
      [265277.089716] nfsd: recvfrom returned errno 104
      [root@d9fogserver ~]# tail /var/log/syslog /var/log/messages
      tail: cannot open ‘/var/log/syslog’ for reading: No such file or directory
      ==> /var/log/messages <==
      Mar 2 11:35:21 d9fogserver kernel: nfsd: peername failed (err 107)!
      Mar 2 11:35:28 d9fogserver xinetd[24281]: START: tftp pid=10997 from=10.39.210.89
      Mar 2 11:35:28 d9fogserver in.tftpd[10998]: Error code 8: User aborted the transfer
      Mar 2 11:35:28 d9fogserver in.tftpd[10999]: Client 10.39.210.89 finished ipxe.efi
      Mar 2 11:35:35 d9fogserver in.tftpd[11171]: Client 10.39.210.89 finished default.ipxe
      Mar 2 11:36:00 d9fogserver rpc.mountd[27250]: authenticated mount request from 10.39.210.89:986 for /images (/images)
      Mar 2 11:40:39 d9fogserver systemd: Created slice User Slice of root.
      Mar 2 11:40:39 d9fogserver systemd-logind: New session 81 of user root.
      Mar 2 11:40:39 d9fogserver systemd: Started Session 81 of user root.
      Mar 2 11:40:41 d9fogserver kernel: nfsd: recvfrom returned errno 104
      [root@d9fogserver ~]# journalctl -f
      – Logs begin at Mon 2023-02-27 09:59:41 PST. –
      Mar 02 11:35:28 d9fogserver.### in.tftpd[10998]: Error code 8: User aborted the transfer
      Mar 02 11:35:28 d9fogserver.### in.tftpd[10999]: Client 10.39.210.89 finished ipxe.efi
      Mar 02 11:35:35 d9fogserver.### in.tftpd[11171]: Client 10.39.210.89 finished default.ipxe
      Mar 02 11:36:00 d9fogserver.### rpc.mountd[27250]: authenticated mount request from 10.39.210.89:986 for /images (/images)
      Mar 02 11:40:39 d9fogserver.### sshd[16750]: Accepted password for root from 10.39.210.79 port 59689 ssh2
      Mar 02 11:40:39 d9fogserver.### systemd[1]: Created slice User Slice of root.
      Mar 02 11:40:39 d9fogserver.### systemd-logind[907]: New session 81 of user root.
      Mar 02 11:40:39 d9fogserver.### systemd[1]: Started Session 81 of user root.
      Mar 02 11:40:39 d9fogserver.### sshd[16750]: pam_unix(sshd:session): session opened for user root by (uid=0)
      Mar 02 11:40:41 d9fogserver.### kernel: nfsd: recvfrom returned errno 104

      J 1 Reply Last reply Mar 4, 2023, 5:55 PM Reply Quote 0
      • J
        JJ Fullmer Testers @Scootframer
        last edited by Mar 4, 2023, 5:55 PM

        @Scootframer
        I found some things on some of these errors that suggest stopping or restarting the nfs service on the server, that doesn’t seem like the best workaround, but could be something.
        What pxe boot file are you using? Have you tried reverting to an older kernel or init? You can download the bzImage with a different name in the kernel downloader within the fog gui and then set the host you’re capturing to use the alternate test kernel (so you’re not changing the kernel that you know is working for deploying images). i.e. go download the previous kernel from what you last updated and name it bzImage-test and then on the host your capturing put bzImage-test in the hosts kernel field in the fog gui and redo the debug capture steps and see what happens.

        Also, are you able to run the chmod command on the server (instead of from the client in the debug session)?

        Have you tried the FogApi powershell module? It's pretty cool IMHO
        https://github.com/darksidemilk/FogApi
        https://fogapi.readthedocs.io/en/latest/
        https://www.powershellgallery.com/packages/FogApi
        https://forums.fogproject.org/topic/12026/powershell-api-module

        S 1 Reply Last reply Mar 6, 2023, 10:38 PM Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Mar 4, 2023, 8:50 PM

          @Scootframer said in Fog hangs while trying to upload:

          [262168.127909] nfsd: peername failed (err 107)!
          [262263.362858] nfsd: peername failed (err 107)!
          [262524.491146] nfsd: peername failed (err 107)!
          [262585.932952] nfsd: peername failed (err 107)!
          [262592.077249] nfsd: recvfrom returned errno 104
          [263814.772339] nfsd: peername failed (err 107)!
          [264045.179522] nfsd: recvfrom returned errno 104
          [264840.851890] nfsd: peername failed (err 107)!
          [264957.591855] nfsd: peername failed (err 107)!
          [265277.089716] nfsd: recvfrom returned errno 104

          Yeah definitely restart your whole FOG server as suggested by @JJ-Fullmer as well.

          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
            Scootframer @JJ Fullmer
            last edited by Mar 6, 2023, 10:38 PM

            @JJ-Fullmer I appreciate everyone’s assistance on this issue. We are due for a Server upgrade next month so we are going to put this issue on hold, wait till April and create a new Fog server.
            I did download an older Kernel from Sept of last year and renamed as you recommended and had Fog use the alternate kernal for that client. Same issue happened. After doing the Upload Debug steps, ctrl+C and tried the chmod (tried on client and server) it said directory not found? What the heck?
            2023-03-06 14_33_21-images - fogproject@10.39.0.15 - WinSCP.jpg Thanks again for all the great advice. I will keep you guys on speed-dial and hope not to need you when I create our new Fog server next month. 🙂

            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by Mar 6, 2023, 10:41 PM

              @Scootframer Have you done a server reboot yet? From what I read this would fix the current issue you see.

              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

              S 1 Reply Last reply Mar 6, 2023, 10:42 PM Reply Quote 0
              • S
                Scootframer @Sebastian Roth
                last edited by Mar 6, 2023, 10:42 PM

                @Sebastian-Roth Yes, first thing this am after reading my notifications I rebooted the server.

                1 Reply Last reply Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by Mar 6, 2023, 10:51 PM

                  @Scootframer Do I get this right? The issue persists even after the server reboot?

                  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

                  S 1 Reply Last reply Mar 6, 2023, 10:56 PM Reply Quote 0
                  • S
                    Scootframer @Sebastian Roth
                    last edited by Mar 6, 2023, 10:56 PM

                    @Sebastian-Roth Indeed it does, gets stuck in the same spot. When I ran the chmod it said the directory didn’t exist.

                    1 Reply Last reply Reply Quote 0
                    • S
                      Sebastian Roth Moderator
                      last edited by Sebastian Roth Mar 6, 2023, 5:06 PM Mar 6, 2023, 11:06 PM

                      @Scootframer Maybe the server’s disk is failing? Have you checked the disk’s SMART bearings yet?

                      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
                      • [[undefined-on, S Sebastian Roth, Mar 15, 2023, 9:54 PM]]
                      • 1
                      • 2
                      • 2 / 2
                      2 / 2
                      • First post
                        27/27
                        Last post

                      158

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project