General Errors - Seeking Guidance after a Migration
-
Server
- FOG Version: 1.4.0
- OS: CentOS 7 (I finally upgraded it.)
Description
GENERAL ERRORS.
That’s my question.
I migrated data from a CentOS 6.8 FOG Server to a CentOS 7 FOG Server. It works, slightly finicky with the web-browser, but it’s working none the less.
I really don’t know if this is a FOG Problem or a General Problem, but…
This is the error logs (20, newest first) I am getting from apache error log:
[Fri May 19 10:22:12.193922 2017] [:error] [pid 849] [client a_client_ip:54077] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/html/fog/commons/init.php on line 386, referer: http://fogserver_ip/fog/management/?node=report [Fri May 19 10:17:33.958887 2017] [:error] [pid 683] [client fogserver_ip:36748] PHP Warning: file_get_contents(/sys/class/net/bonding_masters/operstate): failed to open stream: No such file or directory in /var/www/html/fog/status/bandwidth.php on line 82 [Fri May 19 10:17:32.956452 2017] [:error] [pid 27991] [client fogserver_ip:36746] PHP Warning: file_get_contents(/sys/class/net/bonding_masters/operstate): failed to open stream: No such file or directory in /var/www/html/fog/status/bandwidth.php on line 82 [Fri May 19 10:17:31.955974 2017] [:error] [pid 28078] [client fogserver_ip:36742] PHP Warning: file_get_contents(/sys/class/net/bonding_masters/operstate): failed to open stream: No such file or directory in /var/www/html/fog/status/bandwidth.php on line 82 [Fri May 19 10:17:30.960323 2017] [:error] [pid 32556] [client fogserver_ip:36740] PHP Warning: file_get_contents(/sys/class/net/bonding_masters/operstate): failed to open stream: No such file or directory in /var/www/html/fog/status/bandwidth.php on line 82 [Fri May 19 10:17:30.026246 2017] [:error] [pid 27933] [client fogserver_ip:36736] PHP Warning: file_get_contents(/sys/class/net/bonding_masters/operstate): failed to open stream: No such file or directory in /var/www/html/fog/status/bandwidth.php on line 82 [Fri May 19 10:17:28.959993 2017] [:error] [pid 849] [client fogserver_ip:36732] PHP Warning: file_get_contents(/sys/class/net/bonding_masters/operstate): failed to open stream: No such file or directory in /var/www/html/fog/status/bandwidth.php on line 82 [Fri May 19 10:17:27.956126 2017] [:error] [pid 28078] [client fogserver_ip:36728] PHP Warning: file_get_contents(/sys/class/net/bonding_masters/operstate): failed to open stream: No such file or directory in /var/www/html/fog/status/bandwidth.php on line 82 [Fri May 19 10:17:26.955837 2017] [:error] [pid 27956] [client fogserver_ip:36726] PHP Warning: file_get_contents(/sys/class/net/bonding_masters/operstate): failed to open stream: No such file or directory in /var/www/html/fog/status/bandwidth.php on line 82 [Fri May 19 10:17:25.954564 2017] [:error] [pid 27956] [client fogserver_ip:36722] PHP Warning: file_get_contents(/sys/class/net/bonding_masters/operstate): failed to open stream: No such file or directory in /var/www/html/fog/status/bandwidth.php on line 82 [Fri May 19 10:17:25.028088 2017] [:error] [pid 27991] [client fogserver_ip:36720] PHP Warning: file_get_contents(/sys/class/net/bonding_masters/operstate): failed to open stream: No such file or directory in /var/www/html/fog/status/bandwidth.php on line 82 [Fri May 19 10:17:23.954783 2017] [:error] [pid 27933] [client fogserver_ip:36714] PHP Warning: file_get_contents(/sys/class/net/bonding_masters/operstate): failed to open stream: No such file or directory in /var/www/html/fog/status/bandwidth.php on line 82 [Fri May 19 10:17:22.961567 2017] [:error] [pid 1750] [client fogserver_ip:36712] PHP Warning: file_get_contents(/sys/class/net/bonding_masters/operstate): failed to open stream: No such file or directory in /var/www/html/fog/status/bandwidth.php on line 82 [Fri May 19 10:17:21.956506 2017] [:error] [pid 1750] [client fogserver_ip:36708] PHP Warning: file_get_contents(/sys/class/net/bonding_masters/operstate): failed to open stream: No such file or directory in /var/www/html/fog/status/bandwidth.php on line 82 [Fri May 19 10:17:20.957756 2017] [:error] [pid 27956] [client fogserver_ip:36704] PHP Warning: file_get_contents(/sys/class/net/bonding_masters/operstate): failed to open stream: No such file or directory in /var/www/html/fog/status/bandwidth.php on line 82 [Fri May 19 10:17:20.027640 2017] [:error] [pid 1750] [client fogserver_ip:36700] PHP Warning: file_get_contents(/sys/class/net/bonding_masters/operstate): failed to open stream: No such file or directory in /var/www/html/fog/status/bandwidth.php on line 82 [Fri May 19 10:17:19.076232 2017] [:error] [pid 32556] [client fogserver_ip:36696] PHP Warning: file_get_contents(/sys/class/net/bonding_masters/operstate): failed to open stream: No such file or directory in /var/www/html/fog/status/bandwidth.php on line 82 [Fri May 19 10:17:17.956355 2017] [:error] [pid 1556] [client fogserver_ip:36692] PHP Warning: file_get_contents(/sys/class/net/bonding_masters/operstate): failed to open stream: No such file or directory in /var/www/html/fog/status/bandwidth.php on line 82 [Fri May 19 10:17:16.954977 2017] [:error] [pid 28078] [client fogserver_ip:36690] PHP Warning: file_get_contents(/sys/class/net/bonding_masters/operstate): failed to open stream: No such file or directory in /var/www/html/fog/status/bandwidth.php on line 82 [Fri May 19 10:17:15.954731 2017] [:error] [pid 849] [client fogserver_ip:36686] PHP Warning: file_get_contents(/sys/class/net/bonding_masters/operstate): failed to open stream: No such file or directory in /var/www/html/fog/status/bandwidth.php on line 82
Apache SSL Error Logs
[Fri May 19 08:35:51.323306 2017] [ssl:warn] [pid 27656] AH01909: RSA certificate configured for testbed.my.domain:443 does NOT include an ID which matches the server name [Fri May 19 08:35:51.279747 2017] [ssl:warn] [pid 27656] AH01909: RSA certificate configured for testbed.my.domain:443 does NOT include an ID which matches the server name [Fri May 19 08:32:57.968283 2017] [ssl:warn] [pid 23866] AH01909: RSA certificate configured for testbed.my.domain:443 does NOT include an ID which matches the server name [Fri May 19 08:32:57.923736 2017] [ssl:warn] [pid 23866] AH01909: RSA certificate configured for testbed.my.domain:443 does NOT include an ID which matches the server name
And I don’t know if this is really needed, but these are the PHP-FPM error logs:
[19-May-2017 10:14:51] NOTICE: systemd monitor interval set to 10000ms [19-May-2017 10:14:51] NOTICE: ready to handle connections [19-May-2017 10:14:51] NOTICE: fpm is running, pid 27924 [19-May-2017 10:14:45] NOTICE: exiting, bye-bye! [19-May-2017 10:14:45] NOTICE: Terminating ... [19-May-2017 09:45:16] NOTICE: systemd monitor interval set to 10000ms [19-May-2017 09:45:16] NOTICE: ready to handle connections [19-May-2017 09:45:16] NOTICE: fpm is running, pid 6133 [19-May-2017 09:45:02] NOTICE: exiting, bye-bye! [19-May-2017 09:45:02] NOTICE: Terminating ... [19-May-2017 09:40:39] NOTICE: systemd monitor interval set to 10000ms [19-May-2017 09:40:39] NOTICE: ready to handle connections [19-May-2017 09:40:39] NOTICE: fpm is running, pid 1177 [19-May-2017 09:38:05] NOTICE: exiting, bye-bye! [19-May-2017 09:38:05] NOTICE: Terminating ... [19-May-2017 09:27:50] NOTICE: systemd monitor interval set to 10000ms [19-May-2017 09:27:50] NOTICE: ready to handle connections [19-May-2017 09:27:50] NOTICE: fpm is running, pid 3398 [19-May-2017 09:27:24] NOTICE: exiting, bye-bye! [19-May-2017 09:27:24] NOTICE: Terminating ...
First question would be:
DO I NEED TO WORRY ABOUT THIS?
If it’s a no, then I won’t bother with it.
If it’s a yes, then the second question would be: What do I do?
Because this stuff is WELL above my experience level. -
Line 82 of bandwidth.php:
$content = file_get_contents($operstateFile);
-
@ttrammell
It looks like something similar when I had changed the IP and didn’t finish configuring everything. I had left out checking and configuring the Storage group/nodes.
If you have changed your IP(or maybe even Server name) try following these instructions:
https://wiki.fogproject.org/wiki/index.php/Change_FOG_Server_IP_Address
The key part I missed(becasue I didn’t really use storage nodes) was:Update the IP address for the storage node on the FOG system where you changed the IP address - Web Interface -> Storage Management
Make sure you actually click the node and check the IP setting.that line in the bandwith.php file points to a location in /sys/class/net/<net_adapter_name>/operstate
I’m not sure if CentOS is diferent but my adapter name is eth0 so look for that in place of adapter name.
Im not sure if you can simply recreate it it if it doesn’t exist. It simply appears to display whether or not your adapter is up or not.I also found this article but refers more to the fog client install.
https://forums.fogproject.org/topic/5926/change-fog-server-nameHope that helps,
Jason