@tesparza Fixed by increase the number of connections.
mysql
SET GLOBAL max_connections = 200;
flush hosts;
login as root into the database.
@tesparza Fixed by increase the number of connections.
mysql
SET GLOBAL max_connections = 200;
flush hosts;
login as root into the database.
@george1421 Thanks, snponyl.efi worked. It also worked with all the other models of PCs we have, thaknk you.
Having an issue with a specific Storage Node, I fresh installed CentOS and I fresh installed FOG on it. The Storage node shows up in the Storage Tab but it does not sync anything from the Master Node. DB passwords are correct so thats good. I dont have an ideas what Im missing. Ive fresh installed twice on two different machine and cannot get it to sync. Only happening at this specific campus.
@sebastian-roth
fog.log
2/10/2022 1:41:49 PM Main Overriding exception handling
2/10/2022 1:41:49 PM Main Bootstrapping Zazzles
2/10/2022 1:41:49 PM Controller Initialize
2/10/2022 1:41:49 PM Controller Start
2/10/2022 1:41:49 PM Service Starting service
2/10/2022 1:41:51 PM Bus Became bus server
2/10/2022 1:41:51 PM Bus Emmiting message on channel: Status
2/10/2022 1:41:51 PM Service Invoking early JIT compilation on needed binaries
------------------------------------------------------------------------------
--------------------------------Authentication--------------------------------
------------------------------------------------------------------------------
2/10/2022 1:41:51 PM Client-Info Version: 0.12.0
2/10/2022 1:41:51 PM Client-Info OS: Windows
2/10/2022 1:41:51 PM Middleware::Authentication Waiting for authentication timeout to pass
2/10/2022 1:41:51 PM Middleware::Communication Download: http://10.154.28.159/fog/management/other/ssl/srvpublic.crt
2/10/2022 1:41:51 PM Data::RSA FOG Server CA cert found
2/10/2022 1:41:51 PM Middleware::Authentication Cert OK
2/10/2022 1:41:51 PM Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before
2/10/2022 1:41:51 PM Middleware::Authentication ERROR: Could not get security token
2/10/2022 1:41:51 PM Middleware::Authentication ERROR: Could not find file 'C:\Program Files (x86)\FOG\token.dat'.
2/10/2022 1:41:51 PM Middleware::Communication POST URL: http://10.154.28.159/fog/management/index.php?sub=requestClientInfo&authorize&newService
2/10/2022 1:41:51 PM Middleware::Response Invalid MAC address format
------------------------------------------------------------------------------
--------------------------------Authentication--------------------------------
------------------------------------------------------------------------------
2/10/2022 1:41:51 PM Client-Info Version: 0.12.0
2/10/2022 1:41:51 PM Client-Info OS: Windows
2/10/2022 1:41:51 PM Middleware::Authentication Waiting for authentication timeout to pass
2/10/2022 1:43:51 PM Middleware::Communication Download: http://10.154.28.159/fog/management/other/ssl/srvpublic.crt
2/10/2022 1:43:51 PM Data::RSA FOG Server CA cert found
2/10/2022 1:43:51 PM Middleware::Authentication Cert OK
2/10/2022 1:43:51 PM Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before
2/10/2022 1:43:51 PM Middleware::Authentication ERROR: Could not get security token
2/10/2022 1:43:51 PM Middleware::Authentication ERROR: Could not find file 'C:\Program Files (x86)\FOG\token.dat'.
2/10/2022 1:43:51 PM Middleware::Communication POST URL: http://10.154.28.159/fog/management/index.php?sub=requestClientInfo&authorize&newService
2/10/2022 1:43:51 PM Middleware::Response Invalid MAC address format
------------------------------------------------------------------------------
--------------------------------Authentication--------------------------------
------------------------------------------------------------------------------
2/10/2022 1:43:51 PM Client-Info Version: 0.12.0
2/10/2022 1:43:51 PM Client-Info OS: Windows
2/10/2022 1:43:51 PM Middleware::Authentication Waiting for authentication timeout to pass
php-fpm
[11-Feb-2022 01:43:10 UTC] PHP Fatal error: Uncaught Exception: #!im in /var/www/html/fog/lib/fog/fogbase.class.php:584
Stack trace:
#0 /var/www/html/fog/lib/client/registerclient.class.php(46): FOGBase::getHostItem(true, false, false, true)
#1 /var/www/html/fog/lib/fog/fogpage.class.php(3031): RegisterClient->json()
#2 /var/www/html/fog/lib/fog/fogpage.class.php(249): FOGPage->requestClientInfo()
#3 /var/www/html/fog/lib/pages/dashboardpage.class.php(76): FOGPage->__construct('Dashboard')
#4 /var/www/html/fog/lib/fog/loadglobals.class.php(67): DashboardPage->__construct()
#5 /var/www/html/fog/lib/fog/loadglobals.class.php(81): LoadGlobals::_init()
#6 /var/www/html/fog/commons/base.inc.php(49): LoadGlobals->__construct()
#7 /var/www/html/fog/management/index.php(22): require('/var/www/html/f...')
#8 {main}
thrown in /var/www/html/fog/lib/fog/fogbase.class.php on line 584
[11-Feb-2022 01:44:04 UTC] PHP Fatal error: Uncaught Error: Call to a member function isValid() on null in /var/www/html/fog/lib/fog/host.class.php:775
Stack trace:
#0 /var/www/html/fog/lib/fog/host.class.php(789): Host->_setAlo()
#1 /var/www/html/fog/lib/client/autologout.class.php(43): Host->getAlo()
#2 /var/www/html/fog/lib/fog/fogpage.class.php(3123): Autologout->json()
#3 /var/www/html/fog/lib/fog/fogpage.class.php(249): FOGPage->requestClientInfo()
#4 /var/www/html/fog/lib/pages/dashboardpage.class.php(76): FOGPage->__construct('Dashboard')
#5 /var/www/html/fog/lib/fog/loadglobals.class.php(67): DashboardPage->__construct()
#6 /var/www/html/fog/lib/fog/loadglobals.class.php(81): LoadGlobals::_init()
#7 /var/www/html/fog/commons/base.inc.php(49): LoadGlobals->__construct()
#8 /var/www/html/fog/management/index.php(22): require('/var/www/html/f...')
#9 {main}
thrown in /var/www/html/fog/lib/fog/host.class.php on line 775
[11-Feb-2022 01:45:09 UTC] PHP Fatal error: Uncaught Error: Call to a member function isValid() on null in /var/www/html/fog/lib/fog/host.class.php:775
Stack trace:
#0 /var/www/html/fog/lib/fog/host.class.php(789): Host->_setAlo()
#1 /var/www/html/fog/lib/client/autologout.class.php(43): Host->getAlo()
#2 /var/www/html/fog/lib/fog/fogpage.class.php(3123): Autologout->json()
#3 /var/www/html/fog/lib/fog/fogpage.class.php(249): FOGPage->requestClientInfo()
#4 /var/www/html/fog/lib/pages/dashboardpage.class.php(76): FOGPage->__construct('Dashboard')
#5 /var/www/html/fog/lib/fog/loadglobals.class.php(67): DashboardPage->__construct()
#6 /var/www/html/fog/lib/fog/loadglobals.class.php(81): LoadGlobals::_init()
#7 /var/www/html/fog/commons/base.inc.php(49): LoadGlobals->__construct()
#8 /var/www/html/fog/management/index.php(22): require('/var/www/html/f...')
#9 {main}
thrown in /var/www/html/fog/lib/fog/host.class.php on line 775
[11-Feb-2022 01:45:16 UTC] PHP Fatal error: Uncaught Exception: #!im in /var/www/html/fog/lib/fog/fogbase.class.php:584
Stack trace:
#0 /var/www/html/fog/lib/client/registerclient.class.php(46): FOGBase::getHostItem(true, false, false, true)
#1 /var/www/html/fog/lib/fog/fogpage.class.php(3031): RegisterClient->json()
#2 /var/www/html/fog/lib/fog/fogpage.class.php(249): FOGPage->requestClientInfo()
#3 /var/www/html/fog/lib/pages/dashboardpage.class.php(76): FOGPage->__construct('Dashboard')
#4 /var/www/html/fog/lib/fog/loadglobals.class.php(67): DashboardPage->__construct()
#5 /var/www/html/fog/lib/fog/loadglobals.class.php(81): LoadGlobals::_init()
#6 /var/www/html/fog/commons/base.inc.php(49): LoadGlobals->__construct()
#7 /var/www/html/fog/management/index.php(22): require('/var/www/html/f...')
#8 {main}
thrown in /var/www/html/fog/lib/fog/fogbase.class.php on line 584
@sebastian-roth This is what Im getting
------------------------------------------------------------------------------
----------------------------------UserTracker---------------------------------
------------------------------------------------------------------------------
2/9/2022 4:00:48 PM Client-Info Client Version: 0.12.0
2/9/2022 4:00:48 PM Client-Info Client OS: Windows
2/9/2022 4:00:48 PM Client-Info Server Version: 1.5.9
2/9/2022 4:00:48 PM Middleware::Response ERROR: Unable to get subsection
2/9/2022 4:00:48 PM Middleware::Response ERROR: Object reference not set to an instance of an object.
2/9/2022 4:00:48 PM Service Sleeping for 333 seconds
2/9/2022 4:06:21 PM Middleware::Communication URL: http://10.154.28.159/fog/management/index.php?sub=requestClientInfo&configure&newService&json
2/9/2022 4:06:21 PM Middleware::Response Success
2/9/2022 4:06:21 PM Middleware::Communication URL: http://10.154.28.159/fog/management/index.php?sub=requestClientInfo&mac=00:E0:4C:68:02:3E|60:E3:2B:C3:2F:22|62:E3:2B:C3:2F:21|60:E3:2B:C3:2F:21|60:E3:2B:C3:2F:25&newService&json
2/9/2022 4:06:21 PM Middleware::Authentication Waiting for authentication timeout to pass
2/9/2022 4:06:21 PM Middleware::Communication Download: http://10.154.28.159/fog/management/other/ssl/srvpublic.crt
2/9/2022 4:06:21 PM Data::RSA FOG Server CA cert found
2/9/2022 4:06:21 PM Middleware::Authentication Cert OK
2/9/2022 4:06:21 PM Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before
2/9/2022 4:06:21 PM Middleware::Authentication ERROR: Could not get security token
2/9/2022 4:06:21 PM Middleware::Authentication ERROR: Could not find file 'C:\Program Files (x86)\FOG\token.dat'.
2/9/2022 4:06:21 PM Middleware::Communication POST URL: http://10.154.28.159/fog/management/index.php?sub=requestClientInfo&authorize&newService
2/9/2022 4:06:21 PM Middleware::Response Invalid security token
2/9/2022 4:06:21 PM Middleware::Response Success
2/9/2022 4:06:21 PM Middleware::Communication URL: http://10.154.28.159/fog/service/getversion.php?clientver&newService&json
2/9/2022 4:06:22 PM Middleware::Communication URL: http://10.154.28.159/fog/service/getversion.php?newService&json
2/9/2022 4:06:22 PM Service Creating user agent cache
2/9/2022 4:06:22 PM Middleware::Response ERROR: Unable to get subsection
2/9/2022 4:06:22 PM Middleware::Response ERROR: Object reference not set to an instance of an object.
2/9/2022 4:06:22 PM Middleware::Response ERROR: Unable to get subsection
2/9/2022 4:06:22 PM Middleware::Response ERROR: Object reference not set to an instance of an object.
2/9/2022 4:06:22 PM Middleware::Response ERROR: Unable to get subsection
2/9/2022 4:06:22 PM Middleware::Response ERROR: Object reference not set to an instance of an object.
------------------------------------------------------------------------------
---------------------------------ClientUpdater--------------------------------
------------------------------------------------------------------------------
2/9/2022 4:06:22 PM Client-Info Client Version: 0.12.0
2/9/2022 4:06:22 PM Client-Info Client OS: Windows
2/9/2022 4:06:22 PM Client-Info Server Version: 1.5.9
2/9/2022 4:06:22 PM Middleware::Response Success
------------------------------------------------------------------------------
------------------------------------------------------------------------------
----------------------------------TaskReboot----------------------------------
------------------------------------------------------------------------------
2/9/2022 4:06:22 PM Client-Info Client Version: 0.12.0
2/9/2022 4:06:22 PM Client-Info Client OS: Windows
2/9/2022 4:06:22 PM Client-Info Server Version: 1.5.9
2/9/2022 4:06:22 PM Middleware::Response ERROR: Unable to get subsection
2/9/2022 4:06:22 PM Middleware::Response ERROR: Object reference not set to an instance of an object.
------------------------------------------------------------------------------
--------------------------------HostnameChanger-------------------------------
------------------------------------------------------------------------------
2/9/2022 4:06:22 PM Client-Info Client Version: 0.12.0
2/9/2022 4:06:22 PM Client-Info Client OS: Windows
2/9/2022 4:06:22 PM Client-Info Server Version: 1.5.9
2/9/2022 4:06:22 PM Middleware::Response ERROR: Unable to get subsection
2/9/2022 4:06:22 PM Middleware::Response ERROR: Object reference not set to an instance of an object.
------------------------------------------------------------------------------
---------------------------------SnapinClient---------------------------------
------------------------------------------------------------------------------
2/9/2022 4:06:22 PM Client-Info Client Version: 0.12.0
2/9/2022 4:06:22 PM Client-Info Client OS: Windows
2/9/2022 4:06:22 PM Client-Info Server Version: 1.5.9
2/9/2022 4:06:22 PM Middleware::Response ERROR: Unable to get subsection
2/9/2022 4:06:22 PM Middleware::Response ERROR: Object reference not set to an instance of an object.
------------------------------------------------------------------------------
--------------------------------PrinterManager--------------------------------
------------------------------------------------------------------------------
2/9/2022 4:06:22 PM Client-Info Client Version: 0.12.0
2/9/2022 4:06:22 PM Client-Info Client OS: Windows
2/9/2022 4:06:22 PM Client-Info Server Version: 1.5.9
2/9/2022 4:06:22 PM Middleware::Response ERROR: Unable to get subsection
2/9/2022 4:06:22 PM Middleware::Response ERROR: Object reference not set to an instance of an object.
------------------------------------------------------------------------------
--------------------------------PowerManagement-------------------------------
------------------------------------------------------------------------------
2/9/2022 4:06:22 PM Client-Info Client Version: 0.12.0
2/9/2022 4:06:22 PM Client-Info Client OS: Windows
2/9/2022 4:06:22 PM Client-Info Server Version: 1.5.9
2/9/2022 4:06:22 PM Middleware::Response ERROR: Unable to get subsection
2/9/2022 4:06:22 PM Middleware::Response ERROR: Object reference not set to an instance of an object.
------------------------------------------------------------------------------
----------------------------------UserTracker---------------------------------
------------------------------------------------------------------------------
2/9/2022 4:06:22 PM Client-Info Client Version: 0.12.0
2/9/2022 4:06:22 PM Client-Info Client OS: Windows
2/9/2022 4:06:22 PM Client-Info Server Version: 1.5.9
2/9/2022 4:06:22 PM Middleware::Response ERROR: Unable to get subsection
2/9/2022 4:06:22 PM Middleware::Response ERROR: Object reference not set to an instance of an object.
2/9/2022 4:06:22 PM Service Sleeping for 318 seconds
https://github.com/FOGProject/fogproject/commit/5c3f30a2c80d571af9c029ac598888562f3243ba
Im getting errors with some devices not joining FOG
The authentication part Response Invalid security token.
How do I implement the link above.
Running smooth so far. Yes it had 4GB before.
@george1421 Okay I have upgraded the RAM to 16gb. Will see how it goes. Thank you.
@george1421 Okay it seems to be running smoother, I will add more RAM, eventually I will transfer to a server.
@george1421 Okay interval changed to 300
@george1421 Okay now everything is InnoDB, Server is running bad, web gui taking long time to load, can’t image. CPU usage is around 40%
FYI this is running of a Optiplex 7010 i5 quad core, 8gb ram
Do I maybe need to switch to a server?