--- In lucknow-lug@yahoogroups.com, "pcy1988" <pcy1988@...> wrote:
>
> i configured nfs and dhcp server to install the red hat in another
> computer via nfs installation
It is not necessary to configure a dhcp for network installation of linux.
> when i tried to mount the directory from another computer it
> says "directory could not be mounted"
> one more curious thing is happening is that
> after configuring the nfs server on my computer when i restart the
> portmap and nfs service on graphical interface it start perfactly
> but when i tried to do same thing on virtual console it shows error
> "RPC: failed to connect portmap (error -5)".
1)service portmap start
2)service nfs start
> in my configuration step i did these steps
> 1- in /etc/exports
> /var/ftp/pub 192.168.0.0/24(rw,sync)
if you want to allow root to perform rw on nfs then use
(no_root_squash,rw,sync)
> after that i start the service
> and did this exportfs -av
> rpcinfo -p was also showing all ports where the daemons were running
> ----------------
> one more thing is that
> when i shut down my pc
> it shows the same error
> "RPC: failed to connect portmap (error -5)".
>
> -------------
> what the problem may be
>
1). are you able to ping nfs server (to-from)?
2). check /etc/hosts file.
3). check firewall
4). check SELinux.
if that didn't worked, send.
a) your hosts file
b) logs of the duration when you restart your nfs service from
terminal. (/var/log/messages)
c) logs when you try to mount nfs share on client. (/var/log/messages)
Anuj Singh.