zhaozhuo,
Redhat 9.0 has very tight security features.
Until you isolate the problem:
1. Try temporarily turn set security level to off.
2. Try temporarily removing /etc/hosts.allow and
hosts.deny.
Then try:
3. Make sure that nfs is set to automatically start
on bootup: (you need nfslock as well as nfs)
> chkconfig --list | grep nfs
nfs 0:off 1:off 2:on 3:on 4:on 5:on 6:off
nfslock 0:off 1:off 2:on 3:on 4:on 5:on 6:off
4. Make sure that portmap is set to automatically start
on bootup:
> chkconfig --list | grep portmap
portmap 0:off 1:off 2:off 3:on 4:on 5:on 6:off
Attached are my notes on NFS mounting.
======================================================================
Mounting NFS Files July 25, 2003 [email protected]
Redhat Linux 9.0
======================================================================
======================================================================
Mounting NFS Files Errors:
======================================================================
Must have network connection:
[root@bra-pc etc]# mount xcelsior:/home0 /mnt
mount: RPC: Remote system error - No route to host
hostnames must be on the same network.
[root@bra-pc etc]# mount xcelsior-2:/home0 /mnt
mount: RPC: Timed out
[root@bra-pc-20 root]# mount bra-pc-2:/home0 /mnt
mount: RPC: Remote system error - Connection refused
xcelsior ~/ > runas mount xcelsior:/home0 /mnt/floppy
mount: xcelsior:/home0 failed, reason given by server: Permission denied
xcelsior ~/ >
======================================================================
REQUIREMENTS for EXPORTING and MOUNTING FILE SYSTEMS
NFS must be installed.
hosts must be on the same network (No routing).
======================================================================
On host that is EXPORTING file system/s:
/etc/hosts.allow
Example:
portmap: 192.168.14.220, 192.168.14.221, 192.168.14.222: ALLOW
or
No /etc/hosts.allow & No /etc/hosts.deny
Security Level
[
High
Customize
Trusted Devices: eth0 (192.168.14.x) or Ethernet Port used.
]
or
[No firewall]
> chkconfig --list | grep portmap
portmap 0:off 1:off 2:off 3:on 4:on 5:on 6:off
> chkconfig --list | grep nfs
nfs 0:off 1:off 2:on 3:on 4:on 5:on 6:off
nfslock 0:off 1:off 2:on 3:on 4:on 5:on 6:off
======================================================================
On host that is MOUNTING file system/s:
Security Level
[
High
Customize
Trusted Devices: eth0 (192.168.14.x) or Ethernet Port used.
]
or
[No firewall]
> chkconfig --list | grep portmap
portmap 0:off 1:off 2:off 3:on 4:on 5:on 6:off
> chkconfig --list | grep nfs
nfs 0:off 1:off 2:on 3:on 4:on 5:on 6:off
nfslock 0:off 1:off 2:on 3:on 4:on 5:on 6:off
======================================================================
Billy
zhaozhuo wrote:
> hi,everyone!
> I want to share the directory "/export/home/zhaozhuo/medmtest" on the
> SUN Workstation/Solaris8 for a PC/Red Hat Linux9.
> SUN Workstation's name aa (Server)
> PC's name bb (Client)
>
> So i do the following:
> 1.on aa
> share -F nfs -o ro=bb /export/home/zhaozhuo/medmtest
> 2.on bb
> mount -t nfs aa:/export/home/zhaozhuo/medmtest /home21
>
> but it shows the errors:
>
> mount:RPC:Timed out
>
> I've run the command "/etc/rc.d/init.d/nfs start" and I also checked the
> "nfsd" state by "ps -ed|grep nfsd.
> it shows the following:
> root 3285 1 0 Aug28 ? 00:00:00 [nfsd]
> root 3286 1 0 Aug28 ? 00:00:00 [nfsd]
> root 3287 1 0 Aug28 ? 00:00:00 [nfsd]
> root 3288 1 0 Aug28 ? 00:00:00 [nfsd]
> root 3289 1 0 Aug28 ? 00:00:00 [nfsd]
> root 3290 1 0 Aug28 ? 00:00:00 [nfsd]
> root 3291 1 0 Aug28 ? 00:00:00 [nfsd]
> root 3292 1 0 Aug28 ? 00:00:00 [nfsd]
>
>
> I don't know what's the reason,who can help me?
>
>
>
>
--
Billy Adams <mailto:[email protected]>
Raytheon Technical Services
Assigned to: Research Facilities Branch of
Research Facilities Management Office
16 Victory Street Mail Stop 413
Building 1251, Room 126D
NASA Langley Research Center
Hampton, Va. 23681-2199
Phone 1-757-864-6242 Fax 1-757-864-8095
- References:
- about NFS zhaozhuo
- Navigate by Date:
- Prev:
Re: Changes to records during asynch processing Benjamin Franksen
- Next:
Home signal does not affect the .ATHM field of the motor record Rok Sabjan
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
<2003>
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
about NFS zhaozhuo
- Next:
Warning: message 19rjRN-0005cS-PQ delayed 48 hours Mail Delivery System
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
<2003>
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|