FOGProject / fogproject

An open source computer cloning & management system
https://fogproject.org
GNU General Public License v3.0
1.08k stars 216 forks source link

FIX : Failed to open stream : No such file or directory #569

Closed tomamplius closed 11 months ago

tomamplius commented 11 months ago

FIX : Failed to open stream : No such file or directory on /sys/class/net/bonding_masters/operstate

[Fri Jul 28 19:00:28.798636 2023] [proxy_fcgi:error] [pid 57271] [client 192.168.xx.xx:46878] AH01071: Got error 'PHP message: 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 70'
[Fri Jul 28 19:00:30.056885 2023] [proxy_fcgi:error] [pid 113515] [client 192.168.xx.xx:46886] AH01071: Got error 'PHP message: 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 70'
[Fri Jul 28 19:00:31.310245 2023] [proxy_fcgi:error] [pid 57268] [client 192.168.xx.xx:46894] AH01071: Got error 'PHP message: 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 70'
[Fri Jul 28 19:00:32.570374 2023] [proxy_fcgi:error] [pid 111665] [client 192.168.xx.xx:46896] AH01071: Got error 'PHP message: 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 70'
Sebastian-Roth commented 11 months ago

@tomamplius Nice, thanks for this PR as well. Looking good to me. Will merge it in.