Pxe boot looping
-
ubuntu 12.04
Fog 1.2.0
No errors
No location service -
What do you get when you go to: http://10.24.28.17/fog/service/ipxe/boot.php
-
nothing but a blank page
-
the boot.php is on the server
<?php header("Content-type: text/plain"); require_once('../../commons/base.inc.php'); if ($_REQUEST['mac0'] && !$_REQUEST['mac1'] && !$_REQUEST['mac2']) $_REQUEST['mac'] = $_REQUEST['mac0']; else if ($_REQUEST['mac0'] && $_REQUEST['mac1'] && !$_REQUEST['mac2']) $_REQUEST['mac'] = $_REQUEST['mac0'].'|'.$_REQUEST['mac1']; else if ($_REQUEST['mac0'] && !$_REQUEST['mac1'] && $_REQUEST['mac2']) $_REQUEST['mac'] = $_REQUEST['mac0'].'|'.$_REQUEST['mac2']; else if ($_REQUEST['mac0'] && $_REQUEST['mac1'] && $_REQUEST['mac2']) $_REQUEST['mac'] = $_REQUEST['mac0'].'|'.$_REQUEST['mac1'].'|'.$_REQUEST['mac2']; $MACs = HostManager::parseMacList($_REQUEST['mac']); $Host = $FOGCore->getClass('HostManager')->getHostByMacAddresses($MACs); new BootMenu($Host);```
-
@cml said:
What do you get when you go to: http://10.24.28.17/fog/service/ipxe/boot.php
It should be noted that you’d change the IP there to your FOG server’s IP.
-
i did change it to my fog server ip address
-
@Raymond-Bell Is it doing this for any model, or just this particular model?
-
@Wayne-Workman it is doing this for all models
-
@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