Not feeling the awesomeness myself, but thank you for all of your help, Tom. Hopefully this will be of use to future users. I suspect something became corrupted during one of the reruns of the installer. It’s too bad there isn’t a script to uninstall the way one installs. If only I had the programming skills I’d write one. Till next time … :D.
Posts made by MikeoftheLibrary
-
RE: Unable to Mount NFS
-
RE: Unable to Mount NFS
Well I did a fresh install on my home server and encountered no errors whatsoever. Sadly my network would not play ball and I don’t have the energy to deal with it so I can’t say if FOG would totally work. But since none of my research has turned up anything that makes sense it seems the best course of action is to delete the whole VM and start from scratch. Something somewhere may have been corrupted and I’d rather burn the house down then try to root out all of the termites. Fortunately I have a three day weekend to get started.
-
RE: Unable to Mount NFS
It turns out you have to add .dpkg-new after both nfs-kernel-server and nfs-common. I was able to restart both although it did not help (also the web interface said the task could not be started). As for the last file it is /usr/share/nfs-kernel.server/conffiles. I have no idea what it does in relation to /etc/exports. Curiously FOG now seems to be able to resolve the host names and it is possible to tell whether they are on or off via the web interface, so some good has come of this.
-
RE: Unable to Mount NFS
Sadly that has not helped, although it may make my life easier down the road. nfs-kernel-server and nfs-common are still unrecognized as services when I try and start them (and a reboot hasn’t helped) and the upload still fails when I try and start it. Have we ruled out the configuration files? I’ve attached four which seem relevant.
[url=“/_imported_xf_attachments/0/495_IMG_20140117_115100.jpg?:”]IMG_20140117_115100.jpg[/url][url=“/_imported_xf_attachments/0/496_IMG_20140117_115205.jpg?:”]IMG_20140117_115205.jpg[/url][url=“/_imported_xf_attachments/0/497_IMG_20140117_115252.jpg?:”]IMG_20140117_115252.jpg[/url][url=“/_imported_xf_attachments/0/498_IMG_20140117_115401.jpg?:”]IMG_20140117_115401.jpg[/url]
-
RE: Unable to Mount NFS
Not sure if this makes a difference, but the dhcp server was off during the above install so as not to conflict with the campus DHCP server.
-
RE: Unable to Mount NFS
Here is the output, Tom. The errors encountered during the apt-get mirror those I saw when installing FOG. As for the /etc/exports file, the hostnames are two of the computers on the network (not the server). Before I edited the file there was only one set of arguments for each folder, neither of which had subtree_check, and they were preceed by an * .
[url=“/_imported_xf_attachments/0/491_IMG_20140117_110948.jpg?:”]IMG_20140117_110948.jpg[/url][url=“/_imported_xf_attachments/0/492_IMG_20140117_111033.jpg?:”]IMG_20140117_111033.jpg[/url][url=“/_imported_xf_attachments/0/493_IMG_20140117_111055.jpg?:”]IMG_20140117_111055.jpg[/url][url=“/_imported_xf_attachments/0/494_IMG_20140117_111118.jpg?:”]IMG_20140117_111118.jpg[/url]
-
RE: Unable to Mount NFS
Reinstall cured the dhcp issue and once again I can PXE boot. However the NFS server did not install properly. The package was installed (and came out ok during the check), but was not configured and it returned an error at the end when the services were set. There was also an error about nfs-kernel-server, nfs-common, and rpcbind not being configured correctly due to dependencies or something like that. It flashed by during the install. Unfortunately I did not think to take a picture before restarting (which did not fix the problem). I did attempt to configure NFS using[URL=‘http://forums.debian.net/viewtopic.php?f=16&t=42078’] these directions[/URL], to no avail.
-
RE: Unable to Mount NFS
After some thought two questions have come to mind. First, are there any specific components (web server, file server, MySQL database, etc) of Debian that should be installed when the OS is? Second, would reinstalling FOG solve my problems?
-
RE: Unable to Mount NFS
I followed the directions located [URL=‘http://forums.debian.net/viewtopic.php?f=16&t=42078’]here[/URL] to setup NFS and now the dhcp server won’t start. When I go to do so an error message saying that the service failed to start. It being 5 PM I am going home and will deal with this more tomorrow.
-
RE: Unable to Mount NFS
It seems that NFS is not configured or set up correctly on mine. Naturally this has to be something nobody else has experienced. I am going to look into doing so.
-
RE: Unable to Mount NFS
Seems that portmap has been replace by rpcbind in Debian 7. Any attempt to install portmap defaults to installing rcpbind instead. I can’t comment on the significance of that, but there are some manuals for setting up NFS on Debian which might help (such as this [URL=‘http://www.debianhelp.co.uk/nfs.htm’]one[/URL] which talks about editing the /etc/exports file). Seems worth a shot. I’m not going to have to start over with a new OS am I?
-
RE: Unable to Mount NFS
Tom that should be possible. If I turn off DHCP and TFTP the I can connect the server to the campus network/internet without causing disruption just long enough to install port map.
-
RE: Unable to Mount NFS
Apt-get purge (twice) followed by a restart seemed to rid me of it. At least whereis does not return any results. But the same error still pops up when upload is attempted. Also I checked with the web interface and under disk information it says “cannot connect to default member” and when I click on that FOG tells me it cannot pull server information. Not sure if that’s related though. Do you think the wireshark analysis will help? I can try e-mailing it to you (since the forum will not let me post it here).
-
RE: Unable to Mount NFS
Turns our firestarter was not totally removed. Trying to do so returned a number of errors relating to “FogMulticast” and rmnologin. They go on for a lot longer than in the picture. It looks like that software should never have been installed.
[url=“/_imported_xf_attachments/0/488_IMG_20140116_142737.jpg?:”]IMG_20140116_142737.jpg[/url]
-
RE: Unable to Mount NFS
Well I completely removed firestarter because it was causing problems. As far as I know IPTables is not active, but I will double check. Also I was able to register the computer and enter debug mode yesterday. So far only uploading an image is causing an issue.
-
RE: Unable to Mount NFS
Debian indeed uses rpcbind, but restarting both services did not help. I used wireshark to analyze the network traffic from the moment I created the task to the point where the target machine rebooted after failing to image. The file would be attached, but your forum software refuses to accept it.
-
RE: Unable to Mount NFS
Hmm I can’t seem to start portmap. Doing so returned an “unrecognized service error”. And whereis fails to locate it as well. Was this something that needed to be installed as part of the Debian or did it come with FOG?
-
Unable to Mount NFS
While the issues in my other thread, FOG Server Communication Issues have largely been solved there is a problem which has cropped up during the image upload process. I am able to create an image in the web interface, set the upload task, and have it start automatically upon reboot of the target machine. The problem is I am confronted with the screen in the attached image. What stands out is that the IP address next to “mount” is wrong. I was able to mount the volume locally on the server, but am unsure where to change the IP address. Here is some information about my setup:
FOG version .32
Running on Debian 7 in VMware player (Windows 7 host OS)
Target Machine runs Windows 7. It is an Optiplex 780. I’d thought there were three partitions (primary, boot, and one more), but FOG only shows the boot sector and file system as partitions. In any case the upload has failed whether I set the image a single or multiple partitions.
Kernel version is something like 3.12.7. It is one that Tom Elliot posted back in December. I’d had problems with registration hanging which were solved by updating the kernel.[url=“/_imported_xf_attachments/0/485_IMG_20140116_091245.jpg?:”]IMG_20140116_091245.jpg[/url]
-
RE: FOG Server Communications Issues
Thank you very much Tom. You have been a great help. The firewall thread will be very useful. So far only Firstarter on the server has caused issues. I don’t see the windows firewall (or McAfee) interfering with imaging since the OS is not even loaded during that process. But remote management (turning off, pushing programs, etc) may be another story. It is the Windows Firewall and McAfee we really can’t live without since most of our computers are open to the public. But the Fog server will sit quietly in a dark room and can conceivably be left without protection. On the subject of the Boot Menu, where is the timeout value set?
-
RE: FOG Server Communications Issues
[SIZE=6]Success![/SIZE]
[SIZE=3]Turns out the server was not able to find the correct file despite it being in the system under the directory tftpboot. Not sure why although Wirehark clued me into what was going on. So I made that the default tftp directory and voila! I was able to transfer the file to the XP machine and boot into the PXE menu on the Windows 7 machine. Tomorrow I will properly register that computer and try my first image upload. Before marking this thread solved I have a few final questions.[/SIZE][SIZE=3]1. I had changed the owndership of the tftproot directory to be the default user and not root. Was this of any consequence and should I change it back?[/SIZE]
[SIZE=3]2. FOG does not seem to like firewalls. Is there a way to make it coexist with them? We cannot possibly go without firewalls at the Library although the FOG server might be able to.[/SIZE]
[SIZE=3]3. I’m not going to have to make a menu choice at the PXE boot menu every time the computer boots am I? Having to do so would seriously confuse our patrons and staff.[/SIZE]