Storage node not booting
-
Client thats booting on my newly added storage node with tftp and ipxe hangs: “[url]http://StorageNodeIP/fog/service/ipxe/boot.php[/url]… No such file or directory”
When I paste that URL in my PC it says:
"[SIZE=4][FONT=Times New Roman][COLOR=#000000]The requested URL /fog/service/commons/schemaupdater/index.php was not found on this server.[/COLOR][/FONT][/SIZE][SIZE=4][FONT=Times New Roman][COLOR=#000000]Apache/2.2.22 (Debian) Server at 192.168.10.58 Port 80"[/COLOR][/FONT][/SIZE]
[SIZE=4][FONT=Times New Roman][COLOR=#000000]This seems to indicate that a schema update is wanted at the storage node?[/COLOR][/FONT][/SIZE]
My DHCP (on remote site storage node) is setup with 66 and 67 options pointing at the storage node. I have the location plugin activated on my main FOG server and the storage node added in that GUI.
Can someone shed some light over this?
FOG 1.2 on Debian 7.7 on both main server and remote storage node. They are on separate subnets but can communicate. The /images folder is correctly synced.
-
I’d re-run the 1.2.0 installer on the node, see if that fixes it…
If not,
I’d re-install MySQL.
-
Thanks for answering! I have tried and installed the latest SVN, no change in behaviour. MySql is running fine on the main fog server, why reinstall that? Or do you mean on the node? Is that taken care of by the ./install.sh script?
How come the [URL=‘http://storagenodeip/fog/service/ipxe/boot.php’]http://StorageNodeIP/fog/service/ipxe/boot.php[/URL] gets redirected to …schemaupdater…?
-
Ah. You are correct, the storage node wouldn’t need mysql.
The installer script only checks if mysql is present / running. if it is, nothing is done. Another guy had a similar problem fixed by re installing mysql. I don’t think that’s the fix in this case.
I re-read your first post more slowly this time.
Verify if [url]http://storagenodeip/fog/service/ipxe/boot.php[/url] even exists or not. verify it’s permissions.
on the storage node:
cd /var/www/fog/service/ipxe
ls -laif that all looks good, check your firewall, perhaps, using: iptables -L
also, since this would be a php page, make sure PHP is running/installed. Maybe even reinstall php -
Thanks, good point about PHP, will check and get back
-
When in latest SVN, error messages gets a little different, look at picture. Seems that it stopped at bg.png ?
Checked PHP, all looks good, permissions also:[CODE]
:/var/www/fog/service/ipxe# ls -la
totalt 43200
drwxr-xr-x 3 fog www-data 4096 maj 13 08:11 .
drwxr-xr-x 4 www-data www-data 4096 maj 13 08:11 …
-rw-r–r-- 1 fog www-data 1366 maj 13 08:11 advanced.php
-rw-r–r-- 1 fog www-data 44908 maj 13 08:11 bg.png
-rw-r–r-- 1 fog www-data 907 maj 13 08:11 boot.php
-rw-r–r-- 1 fog www-data 6599328 maj 10 15:36 bzImage
-rw-r–r-- 1 fog www-data 6575248 maj 10 15:38 bzImage32
-rw-r–r-- 1 fog www-data 234697 maj 13 08:11 grub.exe
-rw-r–r-- 1 fog www-data 14368640 maj 12 16:49 init_32.xz
-rw-r–r-- 1 fog www-data 14512204 maj 12 16:49 init.xz
-rw-r–r-- 1 fog www-data 25340 maj 13 08:11 memdisk
-rw-r–r-- 1 fog www-data 1839104 maj 13 08:11 memtest.bin
drwxr-xr-x 6 fog www-data 4096 maj 13 08:11 .svn
[/CODE][url=“/_imported_xf_attachments/1/1992_SVN_boot_error.png?:”]SVN_boot_error.png[/url]
-
I was wondering if there is some replication of /var/www that is missing? How else does the menu changes get transfered to the storage host?
Also the error messages in picture in last post get me thinking that the file undionly.kpxe does not load? Because it says “/default.ipxe… OK” Should it not be undionly.kpxe there.
I have doublechecked my win 2012 DHCP for this and cannot see any fault there. -
Problem solved. It was a configuration mistake in the location plugin! Storage Node info missing.
-
This post is deleted! -
@Mikael said:
I was wondering if there is some replication of /var/www that is missing? How else does the menu changes get transfered to the storage host?
Also the error messages in picture in last post get me thinking that the file undionly.kpxe does not load? Because it says “/default.ipxe… OK” Should it not be undionly.kpxe there.
I have doublechecked my win 2012 DHCP for this and cannot see any fault there.Great that you solved your issue.
Just wanted to talka little about the “default.ipxe” thing you brought up.The boot file that the hosts use is what you specify (either in DHCP or dnsmasq). Those are always located in the /tftpboot directory. After that loads and does a few things, the hosts download default.ipxe and then give control to that and it takes over.