Have to image 8 labs by Monday
-
Hello,
I’ve been posting a lot recently and I apologize but I am running out of time.
My latest issue is that whenever I attempt to upload an image, I get:
“RPC remote system error connection refused” and something similar to NFS share could no be mounted.Does anyone have any ideas on how to solve this?
Thanks!
–
VMware ESXi - Ubuntu 10.04 (x64) - Fog
VMware ESXi - Windows Server 2012 (x64) - DHCP/DNS Server
Physical PCs across multiple subnets (subnets other than what the DHCP server and the Fog server are on) -
I’d check your server and make sure NFS server is running.
Check your /etc/exports file to make sure it’s enabling the NFS Share to the correct shares.
NFS requires RPCBind to operate, so check that rpcbind service is running then make sure nfs server is running and/or can be started.
-
NFS appears to be running.
My /etc/exports look like this:
/images *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)
/images/dev *(rw,sync,no_wdelay,no_root_squash,insecure)I just tried to run rpcbind and come to find out, it was not installed.
I just did a quick sudo apt-get install rpcbind. Let’s see if that worked!
-
Don’t forget to restart the nfs services.
-
Unfortunately, that did not work either. I still get the same error.
-
as its status. When I attempt to start it, it does not startup. -
make sure both nfs and rpcbind are set to start on boot. Then I’d say try restarting the server, see if that helps you out at all.
-
I set them to start on boot yet I still cannot start nfs-kernel-server.
-
I just did apt-get install nfs-kernel-manager and it installed (again maybe?). It got stuck on this error:
exportfs: /etc/exports [1]: Neither ‘subtree_check’ or ‘no_subtree_check’ specified for export “*:/images”.
-
try
apt-get install rpcbind nfs-kernel-server
or
apt-get reinstall rpcbind nfs-kernel-serverI don’t remember ubuntu’s method of on boot startup, I think it’s update-rc
[COLOR=#333333][FONT=UbuntuMono]update-rc.d rpcbind nfs-kernel-server[/FONT][/COLOR]
-
Interesting…when I run apt-get install rpcbind nfs-kernel-server, I get “rpcbind: Conflicts: portmap E: Broken packages.”
-
try removing rpcbind and nfs-kernel-server
then try to have apt install themI don’t know what else to work on then.
-
Yeah, I remove and then try to install them; I get this:
nfs-kernel -server: Depends: nfs-common (>= 1:1.0.1-1) but it is not going to be installed
I then try to install nfs-common and that conflicts with portmap.
I’m lost. I’ve even tries reinstalling Fog itself with no luck.
-
try this:
apt-get remove portmap;
apt-get install nfs-kernel-server nfs-common -
apt-get install apache2 php5 php5-gd php5-cli php5-mysql php5-curl mysql-server mysql-client isc-dhcp-server tftpd-hpa tftp-hpa nfs-kernel-server vsftpd net-tools wget xinetd sysv-rc-conf tar gzip build-essential cpp gcc g++ m4 htmldoc perl libcrypt-passwdmd5-perl lftp openssh-server php-gettext clamav-freshclam rpcbind nfs-common
-
This post is deleted! -
I get nfs-common: Depends: portmap (> 6.0.0-1ubutnu2.1) E: Broken packages when I try to install all of those things.
-
Looking into this further, try removing rpcbind and just:
apt-get install nfs-common nfs-kernel-server portmap
-
It gets stuck at “Starting NFS kernel daemon.”
Before that, it says:
exportfs: /etc/exports [1]: Neither ‘subtree_check’ or ‘no_subtree_check’ specified for export “:/images" exportfs: /etc/exports [2]: Neither ‘subtree_check’ or ‘no_subtree_check’ specified for export ":/images/dev”
-
I just added another storage node and when I PXE boot, it attempts to mount it but still ends up with the RPC connection refused error.