• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. dejv
    3. Posts
    D
    • Profile
    • Following 0
    • Followers 0
    • Topics 10
    • Posts 46
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Changing hostname from fog broken

      @sebastian-roth

      yes client was registered already

      posted in FOG Problems
      D
      dejv
    • RE: Changing hostname from fog broken

      Tried redownloading and installing fog as its pretty easy and straightforward however still same issue.

      [Tue May 25 00:00:04.404259 2021] [mpm_prefork:notice] [pid 801] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
      [Tue May 25 00:00:04.404282 2021] [core:notice] [pid 801] AH00094: Command line: '/usr/sbin/apache2'
      [Wed May 26 00:00:06.516283 2021] [mpm_prefork:notice] [pid 801] AH00171: Graceful restart requested, doing restart
      AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
      
      [Mon May 24 00:00:07.495210 2021] [mpm_prefork:notice] [pid 801] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
      [Mon May 24 00:00:07.495231 2021] [core:notice] [pid 801] AH00094: Command line: '/usr/sbin/apache2'
      [Tue May 25 00:00:03.853271 2021] [mpm_prefork:notice] [pid 801] AH00171: Graceful restart requested, doing restart
      AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
      
      [Thu May 20 00:00:07.690477 2021] [mpm_prefork:notice] [pid 801] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
      [Thu May 20 00:00:07.690497 2021] [core:notice] [pid 801] AH00094: Command line: '/usr/sbin/apache2'
      [Thu May 20 14:46:05.550377 2021] [proxy:error] [pid 901639] (111)Connection refused: AH00957: FCGI: attempt to connect to 127.0.0.1:9000 (*) failed
      [Thu May 20 14:46:05.556623 2021] [proxy_fcgi:error] [pid 901639] [client 192.168.0.254:49042] AH01079: failed to make connection to backend: 127.0.0.1
      [Thu May 20 14:46:05.575487 2021] [proxy:error] [pid 901622] (111)Connection refused: AH00957: FCGI: attempt to connect to 127.0.0.1:9000 (*) failed
      [Thu May 20 14:46:05.575640 2021] [proxy_fcgi:error] [pid 901622] [client 192.168.0.254:49043] AH01079: failed to make connection to backend: 127.0.0.1
      [Thu May 20 14:46:07.616286 2021] [proxy:error] [pid 901620] (111)Connection refused: AH00957: FCGI: attempt to connect to 127.0.0.1:9000 (*) failed
      [Thu May 20 14:46:07.616353 2021] [proxy_fcgi:error] [pid 901620] [client 192.168.0.254:49065] AH01079: failed to make connection to backend: 127.0.0.1
      [Thu May 20 14:46:08.280219 2021] [mpm_prefork:notice] [pid 801] AH00169: caught SIGTERM, shutting down
      [Thu May 20 14:46:42.725606 2021] [mpm_prefork:notice] [pid 801] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
      [Thu May 20 14:46:42.760133 2021] [core:notice] [pid 801] AH00094: Command line: '/usr/sbin/apache2'
      [Thu May 20 15:49:43.614999 2021] [proxy_fcgi:error] [pid 1133] [client 192.168.0.93:49784] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught Error: Call to a member function isValid() on null in /var/www/html/fog/lib/fog/host.class.php:305\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogbase.class.php(1832): Host->save()\n#1 /var/www/html/fog/lib/client/fogclient.class.php(179): FOGBase->sendData()\n#2 /var/www/html/fog/service/register.php(32): FOGClient->__construct()\n#3 {main}\n  thrown in /var/www/html/fog/lib/fog/host.class.php on line 305'
      [Thu May 20 15:56:04.356205 2021] [proxy_fcgi:error] [pid 1896] [client 192.168.0.95:49766] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught Error: Call to a member function isValid() on null in /var/www/html/fog/lib/fog/host.class.php:305\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogbase.class.php(1832): Host->save()\n#1 /var/www/html/fog/lib/client/fogclient.class.php(179): FOGBase->sendData()\n#2 /var/www/html/fog/service/register.php(32): FOGClient->__construct()\n#3 {main}\n  thrown in /var/www/html/fog/lib/fog/host.class.php on line 305'
      [Fri May 21 00:00:10.688815 2021] [mpm_prefork:notice] [pid 801] AH00171: Graceful restart requested, doing restart
      AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
      
      
      

      I found some other files that were compressed please find above.

      The php7.4 log is all the same as posted before

      posted in FOG Problems
      D
      dejv
    • RE: Changing hostname from fog broken

      @sebastian-roth If I redownload Fog and reinstall it will it fix the issue? (hopefully it will keep all settings)

      posted in FOG Problems
      D
      dejv
    • RE: Changing hostname from fog broken

      Below please find the logs.

      [Mon May 24 00:00:07.495210 2021] [mpm_prefork:notice] [pid 801] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
      [Mon May 24 00:00:07.495231 2021] [core:notice] [pid 801] AH00094: Command line: '/usr/sbin/apache2'
      
      
      [11-Oct-2020 00:00:09] NOTICE: error log file re-opened
      [11-Oct-2020 09:49:33] NOTICE: [pool www] child 220447 exited with code 0 after 62752.185039 seconds from start
      [11-Oct-2020 09:49:33] NOTICE: [pool www] child 294616 started
      [11-Oct-2020 11:49:36] NOTICE: [pool www] child 227216 exited with code 0 after 64180.202051 seconds from start
      [11-Oct-2020 11:49:36] NOTICE: [pool www] child 303013 started
      [11-Oct-2020 11:50:33] NOTICE: [pool www] child 227237 exited with code 0 after 64208.569037 seconds from start
      [11-Oct-2020 11:50:33] NOTICE: [pool www] child 303067 started
      [11-Oct-2020 11:51:23] NOTICE: [pool www] child 227308 exited with code 0 after 64179.441704 seconds from start
      [11-Oct-2020 11:51:23] NOTICE: [pool www] child 303113 started
      [11-Oct-2020 11:51:29] NOTICE: [pool www] child 227309 exited with code 0 after 64185.604016 seconds from start
      [11-Oct-2020 11:51:29] NOTICE: [pool www] child 303114 started
      [11-Oct-2020 11:51:30] NOTICE: [pool www] child 227310 exited with code 0 after 64185.954870 seconds from start
      [11-Oct-2020 11:51:30] NOTICE: [pool www] child 303115 started
      [11-Oct-2020 11:51:33] NOTICE: [pool www] child 227311 exited with code 0 after 64188.782480 seconds from start
      [11-Oct-2020 11:51:33] NOTICE: [pool www] child 303124 started
      [11-Oct-2020 11:52:05] NOTICE: [pool www] child 227328 exited with code 0 after 64207.607142 seconds from start
      [11-Oct-2020 11:52:05] NOTICE: [pool www] child 303153 started
      [11-Oct-2020 11:52:07] NOTICE: [pool www] child 227329 exited with code 0 after 64207.198656 seconds from start
      [11-Oct-2020 11:52:07] NOTICE: [pool www] child 303154 started
      [11-Oct-2020 11:52:07] NOTICE: [pool www] child 227330 exited with code 0 after 64203.649467 seconds from start
      [11-Oct-2020 11:52:07] NOTICE: [pool www] child 303155 started
      [12-Oct-2020 04:39:29] NOTICE: [pool www] child 294616 exited with code 0 after 67796.633867 seconds from start
      [12-Oct-2020 04:39:29] NOTICE: [pool www] child 373882 started
      [12-Oct-2020 06:29:28] NOTICE: [pool www] child 303013 exited with code 0 after 67192.174632 seconds from start
      [12-Oct-2020 06:29:28] NOTICE: [pool www] child 381455 started
      [12-Oct-2020 06:30:21] NOTICE: [pool www] child 303067 exited with code 0 after 67188.452916 seconds from start
      [12-Oct-2020 06:30:21] NOTICE: [pool www] child 381500 started
      [12-Oct-2020 06:30:42] NOTICE: [pool www] child 303113 exited with code 0 after 67159.281246 seconds from start
      [12-Oct-2020 06:30:42] NOTICE: [pool www] child 381522 started
      [12-Oct-2020 06:30:52] NOTICE: [pool www] child 303114 exited with code 0 after 67162.234980 seconds from start
      [12-Oct-2020 06:30:52] NOTICE: [pool www] child 381531 started
      [12-Oct-2020 06:30:58] NOTICE: [pool www] child 303115 exited with code 0 after 67168.493160 seconds from start
      [12-Oct-2020 06:30:58] NOTICE: [pool www] child 381540 started
      [12-Oct-2020 06:30:59] NOTICE: [pool www] child 303124 exited with code 0 after 67165.743174 seconds from start
      [12-Oct-2020 06:30:59] NOTICE: [pool www] child 381541 started
      [12-Oct-2020 06:31:27] NOTICE: [pool www] child 303153 exited with code 0 after 67161.361412 seconds from start
      [12-Oct-2020 06:31:27] NOTICE: [pool www] child 381566 started
      [12-Oct-2020 06:31:28] NOTICE: [pool www] child 303155 exited with code 0 after 67160.922435 seconds from start
      [12-Oct-2020 06:31:28] NOTICE: [pool www] child 381568 started
      [12-Oct-2020 06:31:30] NOTICE: [pool www] child 303154 exited with code 0 after 67162.579554 seconds from start
      [12-Oct-2020 06:31:30] NOTICE: [pool www] child 381569 started
      [12-Oct-2020 11:05:20] NOTICE: [pool www] child 373882 exited with code 0 after 23150.036460 seconds from start
      [12-Oct-2020 11:05:20] NOTICE: [pool www] child 401119 started
      [12-Oct-2020 11:25:44] NOTICE: [pool www] child 381455 exited with code 0 after 17775.586921 seconds from start
      [12-Oct-2020 11:25:44] NOTICE: [pool www] child 402785 started
      [12-Oct-2020 11:25:49] NOTICE: [pool www] child 381540 exited with code 0 after 17690.623225 seconds from start
      [12-Oct-2020 11:25:49] NOTICE: [pool www] child 402794 started
      [12-Oct-2020 11:25:50] NOTICE: [pool www] child 381500 exited with code 0 after 17728.170402 seconds from start
      [12-Oct-2020 11:25:50] NOTICE: [pool www] child 402795 started
      [12-Oct-2020 11:25:51] NOTICE: [pool www] child 381531 exited with code 0 after 17699.001427 seconds from start
      [12-Oct-2020 11:25:51] NOTICE: [pool www] child 402796 started
      [12-Oct-2020 11:25:58] NOTICE: [pool www] child 381522 exited with code 0 after 17715.320488 seconds from start
      [12-Oct-2020 11:25:58] NOTICE: [pool www] child 402805 started
      
      
      posted in FOG Problems
      D
      dejv
    • RE: Changing hostname from fog broken

      @sebastian-roth

      Sorry below please find the log

      ------------------------------------------------------------------------------
      ---------------------------------ClientUpdater--------------------------------
      ------------------------------------------------------------------------------
       5/21/2021 8:56:09 AM Client-Info Client Version: 0.11.19
       5/21/2021 8:56:09 AM Client-Info Client OS:      Windows
       5/21/2021 8:56:09 AM Client-Info Server Version: 1.5.9
       5/21/2021 8:56:09 AM Middleware::Response ERROR: Unable to get subsection
       5/21/2021 8:56:09 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
      
      ------------------------------------------------------------------------------
      ----------------------------------TaskReboot----------------------------------
      ------------------------------------------------------------------------------
       5/21/2021 8:56:09 AM Client-Info Client Version: 0.11.19
       5/21/2021 8:56:09 AM Client-Info Client OS:      Windows
       5/21/2021 8:56:09 AM Client-Info Server Version: 1.5.9
       5/21/2021 8:56:09 AM Middleware::Response ERROR: Unable to get subsection
       5/21/2021 8:56:09 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
      
      ------------------------------------------------------------------------------
      --------------------------------HostnameChanger-------------------------------
      ------------------------------------------------------------------------------
       5/21/2021 8:56:09 AM Client-Info Client Version: 0.11.19
       5/21/2021 8:56:09 AM Client-Info Client OS:      Windows
       5/21/2021 8:56:09 AM Client-Info Server Version: 1.5.9
       5/21/2021 8:56:09 AM Middleware::Response ERROR: Unable to get subsection
       5/21/2021 8:56:09 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
      
      ------------------------------------------------------------------------------
      ---------------------------------SnapinClient---------------------------------
      ------------------------------------------------------------------------------
       5/21/2021 8:56:09 AM Client-Info Client Version: 0.11.19
       5/21/2021 8:56:09 AM Client-Info Client OS:      Windows
       5/21/2021 8:56:09 AM Client-Info Server Version: 1.5.9
       5/21/2021 8:56:09 AM Middleware::Response ERROR: Unable to get subsection
       5/21/2021 8:56:09 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
      
      ------------------------------------------------------------------------------
      --------------------------------PrinterManager--------------------------------
      ------------------------------------------------------------------------------
       5/21/2021 8:56:09 AM Client-Info Client Version: 0.11.19
       5/21/2021 8:56:09 AM Client-Info Client OS:      Windows
       5/21/2021 8:56:09 AM Client-Info Server Version: 1.5.9
       5/21/2021 8:56:09 AM Middleware::Response ERROR: Unable to get subsection
       5/21/2021 8:56:09 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
      
      ------------------------------------------------------------------------------
      --------------------------------PowerManagement-------------------------------
      ------------------------------------------------------------------------------
       5/21/2021 8:56:09 AM Client-Info Client Version: 0.11.19
       5/21/2021 8:56:09 AM Client-Info Client OS:      Windows
       5/21/2021 8:56:09 AM Client-Info Server Version: 1.5.9
       5/21/2021 8:56:09 AM Middleware::Response ERROR: Unable to get subsection
       5/21/2021 8:56:09 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
      
      ------------------------------------------------------------------------------
      ----------------------------------UserTracker---------------------------------
      ------------------------------------------------------------------------------
       5/21/2021 8:56:09 AM Client-Info Client Version: 0.11.19
       5/21/2021 8:56:09 AM Client-Info Client OS:      Windows
       5/21/2021 8:56:09 AM Client-Info Server Version: 1.5.9
       5/21/2021 8:56:09 AM Middleware::Response ERROR: Unable to get subsection
       5/21/2021 8:56:09 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
       5/21/2021 8:56:09 AM Service Sleeping for 60 seconds
       5/21/2021 8:57:09 AM Middleware::Communication URL: http://fog/fog/management/index.php?sub=requestClientInfo&configure&newService&json
       5/21/2021 8:57:09 AM Middleware::Communication ERROR: Could not contact FOG server
       5/21/2021 8:57:09 AM Middleware::Communication ERROR: The remote server returned an error: (502) Bad Gateway.
       5/21/2021 8:57:09 AM Middleware::Response Success
       5/21/2021 8:57:09 AM Service ERROR: Invalid promptTime, using default
       5/21/2021 8:57:09 AM Middleware::Communication URL: http://fog/fog/management/index.php?sub=requestClientInfo&mac=74:D0:2B:35:33:6B&newService&json
       5/21/2021 8:57:09 AM Middleware::Communication ERROR: Could not contact FOG server
       5/21/2021 8:57:09 AM Middleware::Communication ERROR: The remote server returned an error: (502) Bad Gateway.
       5/21/2021 8:57:09 AM Middleware::Response Success
       5/21/2021 8:57:09 AM Middleware::Communication URL: http://fog/fog/service/getversion.php?clientver&newService&json
       5/21/2021 8:57:09 AM Service ERROR: Unable to get cycle data
       5/21/2021 8:57:09 AM Service ERROR: The remote server returned an error: (502) Bad Gateway.
       5/21/2021 8:57:09 AM Middleware::Response Success
      
      ------------------------------------------------------------------------------
      ---------------------------------ClientUpdater--------------------------------
      ------------------------------------------------------------------------------
       5/21/2021 8:57:09 AM Client-Info Client Version: 0.11.19
       5/21/2021 8:57:09 AM Client-Info Client OS:      Windows
       5/21/2021 8:57:09 AM Client-Info Server Version: 1.5.9
       5/21/2021 8:57:09 AM Middleware::Response ERROR: Unable to get subsection
       5/21/2021 8:57:09 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
      
      ------------------------------------------------------------------------------
      ----------------------------------TaskReboot----------------------------------
      ------------------------------------------------------------------------------
       5/21/2021 8:57:10 AM Client-Info Client Version: 0.11.19
       5/21/2021 8:57:10 AM Client-Info Client OS:      Windows
       5/21/2021 8:57:10 AM Client-Info Server Version: 1.5.9
       5/21/2021 8:57:10 AM Middleware::Response ERROR: Unable to get subsection
       5/21/2021 8:57:10 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
      
      ------------------------------------------------------------------------------
      --------------------------------HostnameChanger-------------------------------
      ------------------------------------------------------------------------------
       5/21/2021 8:57:10 AM Client-Info Client Version: 0.11.19
       5/21/2021 8:57:10 AM Client-Info Client OS:      Windows
       5/21/2021 8:57:10 AM Client-Info Server Version: 1.5.9
       5/21/2021 8:57:10 AM Middleware::Response ERROR: Unable to get subsection
       5/21/2021 8:57:10 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
      
      ------------------------------------------------------------------------------
      ---------------------------------SnapinClient---------------------------------
      ------------------------------------------------------------------------------
       5/21/2021 8:57:10 AM Client-Info Client Version: 0.11.19
       5/21/2021 8:57:10 AM Client-Info Client OS:      Windows
       5/21/2021 8:57:10 AM Client-Info Server Version: 1.5.9
       5/21/2021 8:57:10 AM Middleware::Response ERROR: Unable to get subsection
       5/21/2021 8:57:10 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
      
      ------------------------------------------------------------------------------
      --------------------------------PrinterManager--------------------------------
      ------------------------------------------------------------------------------
       5/21/2021 8:57:10 AM Client-Info Client Version: 0.11.19
       5/21/2021 8:57:10 AM Client-Info Client OS:      Windows
       5/21/2021 8:57:10 AM Client-Info Server Version: 1.5.9
       5/21/2021 8:57:10 AM Middleware::Response ERROR: Unable to get subsection
       5/21/2021 8:57:10 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
      
      ------------------------------------------------------------------------------
      --------------------------------PowerManagement-------------------------------
      ------------------------------------------------------------------------------
       5/21/2021 8:57:10 AM Client-Info Client Version: 0.11.19
       5/21/2021 8:57:10 AM Client-Info Client OS:      Windows
       5/21/2021 8:57:10 AM Client-Info Server Version: 1.5.9
       5/21/2021 8:57:10 AM Middleware::Response ERROR: Unable to get subsection
       5/21/2021 8:57:10 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
      
      ------------------------------------------------------------------------------
      ----------------------------------UserTracker---------------------------------
      ------------------------------------------------------------------------------
       5/21/2021 8:57:10 AM Client-Info Client Version: 0.11.19
       5/21/2021 8:57:10 AM Client-Info Client OS:      Windows
       5/21/2021 8:57:10 AM Client-Info Server Version: 1.5.9
       5/21/2021 8:57:10 AM Middleware::Response ERROR: Unable to get subsection
       5/21/2021 8:57:10 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
       5/21/2021 8:57:10 AM Service Sleeping for 60 seconds
      
      
      posted in FOG Problems
      D
      dejv
    • Changing hostname from fog broken

      I used to change computer name from within Fog however I noticed that it is not working anymore could by maybe due to updates of ubuntu?

      Is there a command maybe that may resync the computers to fog ?

      Fog1.5.9
      Ubuntu 20.04.2 LTS

      posted in FOG Problems
      D
      dejv
    • 1
    • 2
    • 3
    • 3 / 3