• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. BillVGN
    3. Posts
    B
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 5
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by BillVGN

    • RE: Capture Task Complete, Updating Database... 504 Gateway timeout

      ^^^ Bump

      UPDATES: I updated kernel image to latest (5.15.34 version bzimage and bzimage32 files) from github repository manually as automatic seems to be disabled per web interface warning message.

      I updated mysql’s my.cnf with “bind-address” option. It didn’t have before so I added and set it to my servers IP. Did some successful remote connections to test if “updating database” failed because of it. Although it still fails as usual.

      Can somebody point me to where on source files is “Updating Database…” being echoed so I can start my search for this error and what might be causing it?

      Thanks!

      posted in FOG Problems
      B
      BillVGN
    • RE: Capture Task Complete, Updating Database... 504 Gateway timeout

      @george1421 The problem is: why da heck are those files getting deleted before any renaming or moving could happen?!

      Yes, they really exist at some time period. Just before client gets stuck at “updating database…”

      After that it’s just the same. Task gets “completed”, it is removed from active tasks on FOG server web interface. Then it retries to update database but task no longer exists, so it just fails…

      posted in FOG Problems
      B
      BillVGN
    • RE: Capture Task Complete, Updating Database... 504 Gateway timeout

      @george1421

      [dev]$ ls -la
      total 0
      drwxrwxrwx. 3 fogproject root 46 jul 27 18:38 .
      drwxrwxrwx. 4 fogproject root 61 jul 27 18:39 ..
      -rwxrwxrwx. 1 fogproject root  0 jul 21 14:12 .mntcheck
      drwxrwxrwx. 2 fogproject root 26 jul 21 14:12 postinitscripts
      [images]$ ls -la
      total 4
      drwxrwxrwx.  4 fogproject root   61 jul 27 18:39 .
      dr-xr-xr-x. 20 root       root 4096 jul 27 17:34 ..
      drwxrwxrwx.  3 fogproject root   46 jul 27 18:38 dev
      -rwxrwxrwx.  1 fogproject root    0 jul 21 14:12 .mntcheck
      drwxrwxrwx.  2 fogproject root   30 jul 21 14:12 postdownloadscripts
      [images]$ df -h
      File System  Size  Used   Avail. Usage%  Mounted on
      devtmpfs     7,8G     0    7,8G     0%    /dev
      tmpfs        7,8G   41M    7,8G     1%    /dev/shm
      tmpfs        7,8G  1,8M    7,8G     1%    /run
      tmpfs        7,8G     0    7,8G     0%    /sys/fs/cgroup
      /dev/sda2     20G  5,5G     15G    28%    /
      tmpfs        7,8G  2,1M    7,8G     1%    /tmp
      /dev/sda1    976M  130M    780M    15%    /boot
      /dev/sda5    895G  945M    894G     1%    /images
      tmpfs        1,6G   52K    1,6G     1%    /run/user/1000
      /dev/sr0     1,9G  1,9G       0   100%    /run/media/willian/Fedora-S-dvd-x86_64-25
      tmpfs        1,6G     0    1,6G     0%    /run/user/0
      
      posted in FOG Problems
      B
      BillVGN
    • RE: Capture Task Complete, Updating Database... 504 Gateway timeout

      php-fpm/www-error.log

      [26-Jul-2022 00:46:04 UTC] PHP Warning:  ftp_rename(): RNFR command failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 809
      [26-Jul-2022 00:46:04 UTC] PHP Warning:  ftp_put(/images/dev/c89cdcde0691): failed to open stream: No such file or directory in /var/www/html/fog/lib/fog/fogftp.class.php on line 709
      [26-Jul-2022 19:29:14 UTC] PHP Warning:  ftp_rename(): RNFR command failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 809
      [26-Jul-2022 19:29:14 UTC] PHP Warning:  ftp_put(/images/dev/a01d48f49524): failed to open stream: No such file or directory in /var/www/html/fog/lib/fog/fogftp.class.php on line 709
      [26-Jul-2022 20:20:17 UTC] PHP Warning:  ftp_rename(): RNFR command failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 809
      [26-Jul-2022 20:20:17 UTC] PHP Warning:  ftp_put(/images/dev/a01d48f49524): failed to open stream: No such file or directory in /var/www/html/fog/lib/fog/fogftp.class.php on line 709
      [26-Jul-2022 20:58:01 UTC] PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/fog/status/mainversion.php on line 36
      [26-Jul-2022 21:44:11 UTC] PHP Warning:  ftp_rename(): RNFR command failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 809
      [26-Jul-2022 21:44:11 UTC] PHP Warning:  ftp_put(/images/dev/a01d48f49524): failed to open stream: No such file or directory in /var/www/html/fog/lib/fog/fogftp.class.php on line 709
      [26-Jul-2022 23:06:28 UTC] PHP Parse error:  syntax error, unexpected 'var' (T_VAR) in /var/www/html/fog/lib/fog/config.class.php on line 84
      [26-Jul-2022 23:13:06 UTC] PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/fog/lib/fog/fogpage.class.php on line 2677
      [26-Jul-2022 23:49:55 UTC] PHP Warning:  ftp_rename(): RNFR command failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 809
      [26-Jul-2022 23:49:55 UTC] PHP Warning:  ftp_put(/images/dev/a01d48f49524): failed to open stream: No such file or directory in /var/www/html/fog/lib/fog/fogftp.class.php on line 709
      [27-Jul-2022 21:15:43 UTC] PHP Warning:  ftp_rename(): RNFR command failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 809
      [27-Jul-2022 21:15:43 UTC] PHP Warning:  ftp_put(/images/dev/a01d48f49524): failed to open stream: No such file or directory in /var/www/html/fog/lib/fog/fogftp.class.php on line 709
      

      php-fpm/error.log

      [27-Jul-2022 01:29:23] NOTICE: [pool www] child 8414 started
      [27-Jul-2022 01:29:58] NOTICE: [pool www] child 805 exited with code 0 after 63588.540390 seconds from start
      [27-Jul-2022 01:29:58] NOTICE: [pool www] child 8487 started
      [27-Jul-2022 01:30:43] NOTICE: [pool www] child 900 exited with code 0 after 63568.553179 seconds from start
      [27-Jul-2022 01:30:43] NOTICE: [pool www] child 8530 started
      [27-Jul-2022 01:33:43] NOTICE: [pool www] child 1054 exited with code 0 after 63613.545195 seconds from start
      [27-Jul-2022 01:33:43] NOTICE: [pool www] child 8713 started
      [27-Jul-2022 06:06:43] NOTICE: [pool www] child 16820 exited with code 0 after 65443.546035 seconds from start
      [27-Jul-2022 06:06:43] NOTICE: [pool www] child 26215 started
      [27-Jul-2022 17:25:50] NOTICE: Terminating ...
      [27-Jul-2022 17:25:50] NOTICE: exiting, bye-bye!
      [27-Jul-2022 17:26:02] NOTICE: fpm is running, pid 7174
      [27-Jul-2022 17:26:02] NOTICE: ready to handle connections
      [27-Jul-2022 17:26:02] NOTICE: systemd monitor interval set to 10000ms
      

      httpd/error_log

      [Wed Jul 27 17:26:02.950622 2022] [mpm_prefork:notice] [pid 7173] AH00163: Apache/2.4.27 (Fedora) OpenSSL/1.0.2m-fips PHP/7.0.25 configured -- resuming normal operations
      [Wed Jul 27 17:26:02.950649 2022] [core:notice] [pid 7173] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
      [Wed Jul 27 17:33:41.943172 2022] [mpm_prefork:notice] [pid 7173] AH00170: caught SIGWINCH, shutting down gracefully
      [Wed Jul 27 17:33:50.639189 2022] [suexec:notice] [pid 11190] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
      [Wed Jul 27 17:33:50.659741 2022] [lbmethod_heartbeat:notice] [pid 11190] AH02282: No slotmem from mod_heartmonitor
      [Wed Jul 27 17:33:50.660197 2022] [http2:warn] [pid 11190] AH10034: The mpm module (prefork.c) is not supported by mod_http2. The mpm determines how things are processed in your server. HTTP/2 has more demands in this regard and the currently selected mpm will just not do. This is an advisory warning. Your server will continue to work, but the HTTP/2 protocol will be inactive.
      [Wed Jul 27 17:33:50.675581 2022] [mpm_prefork:notice] [pid 11190] AH00163: Apache/2.4.27 (Fedora) OpenSSL/1.0.2m-fips PHP/7.0.25 configured -- resuming normal operations
      [Wed Jul 27 17:33:50.675611 2022] [core:notice] [pid 11190] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
      [Wed Jul 27 18:14:29.976958 2022] [proxy_fcgi:error] [pid 11233] (70007)The timeout specified has expired: [client 10.2.108.193:41330] AH01075: Error dispatching request to : (polling)
      [Wed Jul 27 18:15:30.042077 2022] [proxy_fcgi:error] [pid 11264] (70007)The timeout specified has expired: [client 10.2.108.193:41332] AH01075: Error dispatching request to : (polling)
      
      posted in FOG Problems
      B
      BillVGN
    • Capture Task Complete, Updating Database... 504 Gateway timeout

      Hi everyone! I’m having some problem on a new installation of FOG 1.5.9 on a laptop with Fedora 25 (only distribution and version we could make it work!)

      This laptop runs FOG DHCP server and starts PXE on other PCs/laptops on a separate lan. We are trying to test capturing an image from this laptop. Everything goes smoothly until it says “Updating Database…”, then it hangs for almost a minute then shows this error message:
      error_updating.png

      Just as this error message is shown, files at “/images/dev/(laptop_mac_address)” disappear. They’re just gone!

      Please, can anybody shine some light at what it may be happening? We tried everything from access rights to invalid credentials. Even dropping database did not help.

      If anybody needs some other logs, just say so and we’ll provide.

      Thanks!

      posted in FOG Problems 504 error capturing image
      B
      BillVGN
    • 1 / 1