Pxe boot looping
-
@Raymond-Bell Has anything changed? Did the boot-file change? Is your firewall on? Is SELinux on?
-
As @cml asked, do you see any Apache errors?
-
Mon Jun 22 11:54:45 2015] [error] [client *.*.35.3] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/lib/fog/BootMenu.class.php on line 133 [Mon Jun 22 11:54:45 2015] [error] [client *.*.35.3] File does not exist: /var/www/favicon.ico, referer: http://*.*.28.17/fog/service/ipxe/boot.php [Mon Jun 22 11:54:48 2015] [error] [client *.*.35.3] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/lib/fog/BootMenu.class.php on line 133 [Mon Jun 22 11:54:49 2015] [error] [client *.*.*.*] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/lib/fog/BootMenu.class.php on line 133 [Mon Jun 22 11:54:50 2015] [error] [client *.*.35.3] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/lib/fog/BootMenu.class.php on line 133 [Mon Jun 22 11:54:51 2015] [error] [client *.*.35.3] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/lib/fog/BootMenu.class.php on line 133 [Mon Jun 22 11:56:14 2015] [error] [client *.*.35.3] client denied by server configuration: /var/www/server-status [Mon Jun 22 12:02:38 2015] [error] [client *.*.28.17] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/lib/fog/BootMenu.class.php on line 133```
-
@Raymond-Bell said:
client denied by server configuration: /var/www/server-status
[CODE]client denied by server configuration: /var/www/server-status[/CODE]
Now that’s interesting…Can you try to re-run the 1.2.0 installer? It’ll re-use your settings from before.
-
will it keep all my database?
-
@Raymond-Bell said:
will it keep all my database?
Yes. But I’d recommend you export your DB for safe keeping prior to making any changes to your production FOG server. This is just good practice.
FOG Configuration -> Configuration Save -> Export
-
@Wayne-Workman i have re-run the installer and everything installed fine
But i am having the same issue
-
[Mon Jun 22 12:24:21 2015] [error] [client 10.24.32.15] PHP Warning: mysqli::mysqli(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /var/www/fog/lib/db/MySQL.class.php on line 64 [Mon Jun 22 12:24:21 2015] [error] [client 10.24.32.15] PHP Warning: mysqli::select_db(): Couldn't fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 165 [Mon Jun 22 12:24:21 2015] [error] [client 10.24.32.15] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 89 [Mon Jun 22 12:24:21 2015] [error] [client 10.24.32.15] PHP Warning: MySQL::sqlerror(): Couldn't fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 180 [Mon Jun 22 12:24:21 2015] [error] [client 10.24.32.15] PHP Warning: array_key_exists() expects parameter 2 to be array, null given in /var/www/fog/lib/db/MySQL.class.php on line 150 [Mon Jun 22 12:24:40 2015] [notice] caught SIGTERM, shutting down [Mon Jun 22 12:24:41 2015] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3 with Suhosin-Patch configured -- resuming normal operations [Mon Jun 22 12:26:22 2015] [error] [client 10.24.32.15] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/lib/fog/BootMenu.class.php on line 133 [Mon Jun 22 12:28:19 2015] [error] [client 10.24.32.15] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/lib/fog/BootMenu.class.php on line 133 [Mon Jun 22 12:30:14 2015] [error] [client 10.24.32.15] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/lib/fog/BootMenu.class.php on line 133```
-
Based on what I am seeing, is there a storage node assigned to the image you’re working with?
-
@Tom-Elliott Yes there is and i just seen that the master node is not set as master now
-
@Raymond-Bell Can you setup as the master and see if things start working for you?
-
@Tom-Elliott Yes it works now… Thanks but i am unable to FTP to that storage node
Status: Connection attempt failed with "ECONNREFUSED - Connection refused by server". Error: Could not connect to server``` Should i not be able to ftp to it i had always before
-
Is vsftpd running?
-
@Tom-Elliott how do i tell
-
sudo service vsftpd status
-
fog@fog-virtual-machine:~$ sudo service vsftpd status vsftpd start/running, process 27945
-
@Tom-Elliott
Sorry that was on the server
NO is is not running on storage node and i can not get it to stay startedRe-installed storage node
working now
thanks
-
@Raymond-Bell Perhaps check this out? https://wiki.fogproject.org/wiki/index.php/Troubleshoot_FTP
That article is written from the perspective of troubleshooting the primary FOG server, but I don’t imagine a lot to be different on a storage node.
Also, when you issue the vsftpd restart command, are there any errors? What is the output of the status command ON the STORAGE NODE ?
Have you checked for things like firewall and SELinux? Permissions? Is the credentials for FTP set correctly for that storage node? on the main FOG server?
-
@Raymond-Bell said:
@Tom-Elliott
Sorry that was on the server
NO is is not running on storage node and i can not get it to stay startedRe-installed storage node
working now
thanks
Oh… lol awesome.
-
@Wayne-Workman @Tom-Elliott Thanks for all your help