Pxe boot looping
-
[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