Stuck at /boot.php... operation not permitted
-
First thanks to everyone who has posted and helped me get this far thru the .32 to 1.0.1 upgrade!
I just upgraded fog .32 on Ubuntu 12.04 server to fog 1.0.1 today, fog .32 was working fine before the upgrade.
Upgrade seem to go smooth, updated schema, changed the DHCP settings and went thru multiple ipxe kernels to get to this point.
Stuck at [URL=‘http://xx.xxx.xx.xxx/fog/services/ipxe/boot.php’]Http://xx.xxx.xx.xxx/fog/services/ipxe/boot.php[/URL]… Operation not permitted.
Could not boot: Operation not permitted.
Booting an HP ProDesk 400
[IMG]http://i1296.photobucket.com/albums/ag9/tmorgan28/IMG_2034_zps1880f189.jpg[/IMG]
Seems it’s kicking out just before loading bzimage. I have looked everywhere and have not found this exact problem. -
It seems like there’s an error on the boot.php
What do you get if you go to the link:[url]http://10.170.0.224/fog/service/ipxe/boot.php?mac=a0:48:1c:ac:f5:f6[/url]
-
[SIZE=6][B][FONT=Times New Roman][COLOR=#000000]Forbidden[/COLOR][/FONT][/B][/SIZE]
[SIZE=6][B][FONT=Times New Roman][COLOR=#000000]You don’t have permission to access /fog/service/ipxe/boot.php on this server.[/COLOR][/FONT][/B][/SIZE]
[COLOR=#000000][/COLOR]
[SIZE=4][FONT=Times New Roman][COLOR=#000000]Apache/2.2.22 (Ubuntu) Server at 10.170.0.224 Port 80[/COLOR][/FONT][/SIZE] -
Perhaps this is your issue?
Is your documentroot /var/www or /var/www/html?
-
Did I mention I’m new to linux and fog too. The fog directory is located in /var/www/ if that’s what your asking.
-
Try these commands:
[code]sudo chown -R www-data:www-data /var/www/fog
sudo chown -R fog:www-data /var/www/fog/service/ipxe/[/code]Restart apache services.
[code]sudo service apache restart[/code]What does the link show you this time?
[url]http://10.170.0.224/fog/service/ipxe/boot.php?mac=a0:48:1c:ac:f5:f6[/url] -
I got the permissions changed and got it to boot to the menu, done a full inventory and tried deploying an image. After it reboots to load the image, it kicks out with “Invalid Operating System ID (0)!” “Rebooting in 1 minute” There use to be a question during inventory and a space in Host management for OS Type, But I can’t locate it in Host Management anymore? So it just keeps rebooting.
-
The OS is now with the Image. Go to your GUI, select Image Management, choose the image you created, and set the OS there.
-
Found it, works correctly now. Thanks for all the Help!