Hi Bryce,
Thanks for the response. I spoke with the programmer and he did not make any updates to the database. We are going to look into what tables and fields need to be updated.
Thanks.
Hi Bryce,
Thanks for the response. I spoke with the programmer and he did not make any updates to the database. We are going to look into what tables and fields need to be updated.
Thanks.
Hi Bryce,
We have a program that uses FOG to re-image 2 machines at its completion. I ran that program yesterday and did a tail -f on our apache error_log. Nothing appeared in the apache error_log while that program ran. The following 2 entries were placed in our apache error_log about 25 minutes before I ran the program:
[Thu Jul 25 10:04:01 2013] [error] [client xx.xx.xx.xx] PHP Notice: Undefined variable: Proxy in /var/www/fog/commons/functions.include.php on line 3506, referer: [url]http://ourComputer.com/fog/management/index.php?node=logout[/url]
[Thu Jul 25 10:04:02 2013] [error] [client xx.xx.xx.xx] PHP Notice: Undefined variable: Proxy in /var/www/fog/commons/functions.include.php on line 3506, referer: [url]http://ourComputer.com/fog/management/index.php?node=logout[/url]
NOTE: I changed the IP Address to xx.xx.xx.xx and I changed the beginning of the URL to ourComputer.com
(1) I don’t believe these errors tell us why the machines can’t be imaged but I am listing them here since they did show up in the apache error_log
I noticed that if I log into FOG’s GUI and deploy images to our 2 machines that they are imaged with no issue. However, when our program runs and initiates the imaging, the machines do not get imaged. Instead, they both say “No job found for MAC address xx:xx:xx”. I then have to go into /tftpboot/pxelinux.cfg/, delete the 2 config files and then go into the FOG GUI and manually deploy the images to the 2 machines.
When I manually run the re-imaging from FOG’s GUI, it placed the 2 config files for the 2 machines being imaged into /tftpboot/pxelinux.cfg/. Those 2 config files each have the following ownership: fog:fog. The have the following permissions on them: 644
When we run the program, it placed the 2 config files for the 2 machines being imaged into /tftpboot/pxelinux.cfg/. Those 2 config files each have the following ownership: root:root. They also have the following permissions on them: 644.
I pointed out to the programmer that we should make the ownership of the 2 config files fog:fog. The programmer ended up changing the program so that the permissions were 777. The program still has the ownership as root:root.
I ran the modified program but still got the “No job found for MAC address xx:xx:xx” error message on the 2 machines that FOG is supposed to re-image. I looked in /tftpboot/pxelinux.cfg/ and saw that the permissions for both config files were 777 and the ownership was still root:root.
I believe that if this were an ownership / permissions problem that changing the permissions to 777 should have resolved that issue.
(2) Do you think changing the ownership of the config files from root:root to fog:fog could still resolve our issue?
(3) Do you have any other ideas what could be causing this issue?
Thanks.
Hi Bryce,
I will use FOG Server tomorrow to re-image my machines and will do a tail -f on the apache error log to see what comes up. I’ll let you know what I find. Thanks.
Hi Bryce,
Thanks for replying. My first thought is that it may be a permissions issue as well. So, I ran chmod -R 777 /tftpboot/ yesterday but still have the same problem. I looked at the ownership for both /tftpboot and /tftpboot/pxelinux.cfg/ is fog:root.
Where can I find the log files for FOG? I saw “Log Viewer” in the GUI but they didn’t seem to be of much value.
Thanks.
[quote=“BryceZ, post: 10155, member: 2”]It seems like the boot files for those MAC addresses never got cleaned up. You’ll need to browse to /tftpboot/pxelinux.cfg/ on your FOG server and delete the files named 01-<MAC Address> with the MAC addresses of the netbooks that you’re having problems with.[/quote]
Hi Bryce,
I am running into this same issue. I have FOG version 0.32 installed on a 64-bit Ubuntu 12.04 machine. Is there some reason that FOG is not deleting the config files in /tftpboot/pxelinux.cfg/? Is it a known bug in FOG?
Hi,
I am pretty new to FOG. I am using FOG version 0.32 installed on a 64-bit Ubuntu 12.04 machine. It seems like I am constantly having to delete the boot files in /tftpboot/pxelinux.cfg for the 2 machines that FOG is currently controlling. If I don’t, I will get the following error on these machines: ““No job found for MAC address xx:xx:xx”
If I go into FOG and try to deploy a new image, it will give me the following error message:
“None of the machines were able to be queued!”
“[machine1] Unable to upload file.”
Is there a bug in FOG that is causing the boot file to not be deleted from /tftpboot/pxelinux.cfg by FOG?
If there isn’t a bug, what can I do to resolve this issue?
Thanks.
Hi All,
I ended up blowing away the VM that had FOG on it. I then installed a new VM and re-installed FOG Server. I haven’t done the imaging yet with FOG but I don’t expect to have this same problem as I specified the correct IP Address during the initial installation.
Hi CVernon,
Thanks for replying. I just checked that file and it only has the new / correct IP Address in it and does not have the old IP Address in it.
Do you know any other config files for FOG that could contain the old IP Address?
Thanks again.
Hi All,
I am new to FOG. I setup my FOG server on an Ubuntu 12.04 VM (using 0.32 version) and was trying to image my first machine (a Windows 7 machine VM).
I ran the FOG Prep as administrator on the Windows 7 VM. I then rebooted the Windows 7 VM. The imaging job started but died with this error:
*Preparing to send image file to server.
*Mounting File System…mount: RPC: Remote system error -
Network is unreachable.
mount: mounting xx.xx.xxx:/images/dev/ on /images failed: Bad file descriptor
Done
A few things to note:
I also have that other IP Address listed for both “next-server” and “domain name servers” in /etc/dhcp/dhcpd.conf on the FOG VM.
3) I can log into my FOG server by putting both the original IP Address (which is the IP Address noted in the error above) and the new IP Address (which is is the IP Address I changed the FOG Server to in the GUI and in /etc/dhcp/dhcpd.conf.
#3 above tells me that the old address is still listed in one or more config files. Does anyone know exactly which config files I need to change in order to completely change the IP Address of the FOG Server? Until I can do that, it appears I won’t be able to use FOG to image any machines.
Thanks.
Hi Jaymes,
I used the following link to resolve this issue: [url]http://www.fogproject.org/wiki/index.php/Boot_looping_and_Chainloading[/url]
Hi Jaymes,
I am using VirtualBox and not VMWare. I will take a look at the link you provided. Thanks again.
Hi Jaymes,
Thanks again for the reply. I was able to get past the “[COLOR=#000000][FONT=Liberation Serif]loading pxelinux.0” issue – it was due to a dumb mistake. The problem is that the IP Address for “next-server” in /etc/dhcp/dhcpd.conf was incorrect on the FOG Server VM. I put in the correct value and restarted the FOG Server VM machine (lazy way of restarting the services). I then started the Windows 7 VM. I got the FOG screen up on the Windows 7 VM. It automatically chooses “Boot from Hard Disk” after a few seconds. However, now the Windows 7 VM just hangs on “Booting from local disk…” and it never boots up. [/FONT][/COLOR]
What’s strange about this is that I can go into the boot order for my Windows 7 VM on Virtualbox and remove “network” so that this VM is no longer trying to PXE boot. Now, only “Hard Disk” remains in the boot order. I can then boot up the Windows 7 VM with no issue.
The above paragraph makes me think that the issue is NOT with the Windows 7 VM. But I am not sure how FOG would be preventing the Windows 7 VM from booting up from the hard-disk.
Any input would be appreciated.
Thanks again.
Hi Jaymes,
I am actually using the DHCP from the FOG Server. The first Adapter card on the Windows 7 VM and the FOG Server VM are setup so that the Windows 7 VM and the FOG Server VM can only see the internel network (which consists of the FOG Server VM and the Windows 7 VM). This prevents them from seeing the DHCP server on our network. So, I cannot follow the instructions you gave me in the following link: [url]http://fogproject.org/wiki/index.php/Modifying_existing_DHCP_server_to_work_with_FOG[/url]
I ran the following command from the FOG Server VM: tftp -v X.X.X.X -c get pxelinux.0
The results came back fine.
I took the Windows 7 VM out of PXE boot and ran the following command:
tftp x.x.x.x get pxelinux.0
I got an error message saying: “tftp is not recognized as an internal or external command, operable program or batch file”
When I have the Windows 7 VM PXE boot again, it still gets stuck on the following (I replaced all numbers with the letter x):
[COLOR=#000000][FONT=Liberation Serif]MAC: xx::xx:xx:xx:xx:xx UUID: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx[/FONT][/COLOR]
[COLOR=#000000][FONT=Liberation Serif]Searching for server (DHCP)…[/FONT][/COLOR]
[COLOR=#000000][FONT=Liberation Serif]Me: xxx.xxx.x.xx, DHCP: xxx.xxx.x.x, Gateway: xxx.xxx.x.x[/FONT][/COLOR]
[COLOR=#000000][FONT=Liberation Serif]Loading xxx.xxx.x.x:pxelinux.0 _[/FONT][/COLOR]
I am not sure why it is getting stuck on [COLOR=#000000][FONT=Liberation Serif]loading pxelinux.0 _[/FONT][/COLOR]
Any ideas?
Thanks.[COLOR=#000000][FONT=Liberation Serif][/FONT][/COLOR]
Hi Jaymes,
Thanks for the reply. I was able to partially resolve my issue by modifying some values in[COLOR=#000000][FONT=Liberation Serif]etc/dhcp/dhcpd.conf on the Ubuntu 12.04 / FOG Server [FONT=Liberation Serif]VM. [/FONT][/FONT][/COLOR]
Now, when I boot the Windows 7 VM, the following appears on the screen (I replaced all numbers with the letter x):
[COLOR=#000000][FONT=Liberation Serif]MAC: xx::xx:xx:xx:xx:xx UUID: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx[/FONT][/COLOR]
[COLOR=#000000][FONT=Liberation Serif]Searching for server (DHCP)…[/FONT][/COLOR]
[COLOR=#000000][FONT=Liberation Serif]Me: xxx.xxx.x.xx, DHCP: xxx.xxx.x.x, Gateway: xxx.xxx.x.x[/FONT][/COLOR]
[COLOR=#000000][FONT=Liberation Serif]Loading xxx.xxx.x.x:pxelinux.0 _[/FONT][/COLOR]
It is just hanging on “[COLOR=#000000][FONT=Liberation Serif]Loading xxx.xxx.x.x:pxelinux.0[FONT=Liberation Serif]”.[/FONT][/FONT][/COLOR]
The answer to the following question is no: “Secondly, Did you set up your Next Server and your pxelinux.0 (<— note that is a ZERO not an O) options 066 & 067 respectively?”
I am guessing that my not having setup my “Next Server” and “pxelinux.0” may be the cause of the Windows 7 VM now hanging. Do you have a link to any documentation that will tell me how to setup “Next Server” and “pxelinux.0”? That would be appreciated.
You said “Any reboot of the server or restart of the server is going to require you to restart the tftp service after each successful boot. It will tell you the service is running (because it is) but the service started before the NIC actually had an IP address and needs to be restarted after an IP address has been issued”.
a)
If I understand this correctly, everytime I reboot the Ubuntu 12.04 / FOG Server, I will need to restart the TFTP service on that machine?
b)
Also, does it matter if I restart the TFTP service on the Ubuntu 12.04 / FOG VM before or after the IP Address has been assigned to the Windows 7 VM from the DHCP server on the Ubuntu 12.04 / FOG VM?
Thanks again for your response.
[COLOR=#000000][FONT=Liberation Serif][/FONT][/COLOR]
[COLOR=#000000][FONT=Liberation Serif][/FONT][/COLOR]
I don’t usually like to double-post but I just wanted to add some additional information:
The full error message from when I try to start the Windows 7 VM is:
[FONT=Liberation Serif]Searching for server (DHCP)…No IP. No IP. No IP. No IP. No IP. No IP.[/FONT]
[FONT=Liberation Serif]No Server found[/FONT]
I thought the above error message indicated that the DHCP server was not running on my Ubuntu 12.04 Server VM (which has the newest version of FOG installed on it). I logged into this VM and ran the following 2 commands:
[COLOR=#ff0000][FONT=Liberation Serif]sudo service isc-dhcp-server start[/FONT][/COLOR][FONT=Liberation Serif] -[/FONT][COLOR=#ff0000][FONT=Liberation Serif]sudo service tftpd-hpa start[/FONT][/COLOR][FONT=Liberation Serif] -[FONT=Liberation Serif] I ran this command because I als[FONT=Liberation Serif]o found some articles on this forum where people [FONT=Liberation Serif]having trouble with [FONT=Liberation Serif]D[FONT=Liberation Serif]HCP ran this command as well.[/FONT][/FONT][/FONT][/FONT][/FONT][/FONT]
[FONT=Liberation Serif]Both of these commands stated that those services were already running.[/FONT]
I then ran the following commands:
[COLOR=#ff0000][FONT=Liberation Serif]sudo service isc-dhcp-server restart[/FONT][/COLOR][FONT=Liberation Serif][/FONT][COLOR=#ff0000][FONT=Liberation Serif]sudo service tftpd-hpa restart[/FONT][/COLOR]
After running those commands, I started the Windows 7 VM machine but I still got the same error message.
Thanks in advanced for anyone who can give me some assistance.
Hi All,
I am new to using FOG. I have two Virtual machines that I am using with FOG. One is running Ubuntu 12.04 and I successfully installed FOG Server on this machine. The other Virtual machine is running Windows 7. I imported this virtual machine into VirtualBox because a colleague already installed the FOG client on that machine. Whenever I try to boot up the Windows 7 VM, I get the following error message: Searching for server (DHCP)…No IP.
I am not sure how to resolve this issue. I said yes to the following question when performing the installation: Would you like to use the FOG Server for DHCP Service?
So DHCP should be running.
Does anyone have any ideas why I keep getting the “Searching for server (DHCP)…No IP.” message when trying to boot the Windows 7 VM with the FOG Client installed on it. Also, how can I resolve this issue?
I searched the forums to see if I could find the answer but could not.
Thanks.