Failed to mount NFS Volume.
-
Hi all.
I am all new to this FOG, but I love it so far.
I have installed ubuntu server 12.04 lt’s running on Microsoft Azure and installed FOG 0.32 on it. So far I am able to do everything except upload or download a image.
When ever i try to upload a image from the host i get the following error:mounting 137.135.203.249:/images/dev on /images failed: bad file descriptor.
I have followed most guides i could find like:
[url]http://fogproject.org/forum/threads/nfs-mount-bad-file-descriptor-permission-denied.60/[/url]but no luck.
I have oppend the follwing ports:
[FONT=Calibri]FTP – tcp 20,21[/FONT]
[FONT=Calibri]SSH – tcp 22[/FONT]
[FONT=Calibri]TFTP – udp 69[/FONT]
[FONT=Calibri]HTTP(s) – tcp 80,443[/FONT]
[FONT=Calibri]Portmap – tcp/udp 111[/FONT]
[FONT=Calibri]NFS – tcp/udp 2049[/FONT]
[FONT=Calibri]RDS - 3389[/FONT]So now I am lost for ideas. So any help will be more then welcome
/Jimmy
When i ping on port 20 it says closed, been trying all day to open the port without luck!
-
is nfs-common and nfs-kernel-server running? If so try going to /etc/init.d and listing the contents. You should see two files named nfs-common and nfs-kernel-server. I had a problem where those files had been renamed by the installer for some bizarre reason which caused issues with image upload similar to the ones you experienced.
-
I only see nfs-kernel-server. How did you locate and correct the nfs-common?
-
Type whereis nfs-common. I have a Debian system, but that should work on Ubuntu Server. Also there should be a file in the /etc/init.d directory as that is where start up scripts are stored. If that command returns nothing than the service is not installed. You can try doing so manually by using apt-get install nfs-common.
-
locate nfs-common if you have locate and updatedb ready.
-
It would seem I have nfs-common installed:
root@fogserver:~# locate nfs-common
/etc/default/nfs-common
/usr/share/nfs-common
/usr/share/bug/nfs-common
/usr/share/bug/nfs-common/control
/usr/share/bug/nfs-common/script
/usr/share/doc/nfs-common
/usr/share/doc/nfs-common/README.Debian.nfsv4
/usr/share/doc/nfs-common/changelog.Debian.gz
/usr/share/doc/nfs-common/copyright
/usr/share/lintian/overrides/nfs-common
/usr/share/nfs-common/conffiles
/usr/share/nfs-common/conffiles/idmapd.conf
/usr/share/nfs-common/conffiles/nfs-common.default
/var/cache/apt/archives/nfs-common_1%3a1.2.5-3ubuntu3.1_amd64.deb
/var/lib/dpkg/info/nfs-common.conffiles
/var/lib/dpkg/info/nfs-common.list
/var/lib/dpkg/info/nfs-common.md5sums
/var/lib/dpkg/info/nfs-common.postinst
/var/lib/dpkg/info/nfs-common.postrm
/var/lib/dpkg/info/nfs-common.preinst
/var/lib/dpkg/info/nfs-common.prerm
/var/lib/ucf/cache/:etc:default:nfs-common
root@fogserver:~#But none in /etc/init.d. There is one in /etc/default, is this the one i’m looking for?