nfs troubles with Red-Hat

I just installed Red-Hat (some of the last versions) and I'm trying to share
a file system and didnt´t work.

What I´ve found is:

1. by default the system was running
under 5 mode (inittab, I changed it to

2. There´re some files missing in
/etc/rc.d like rc.M and other file
(which I don´t remember but it´s the one that loads all the rpc´s deamos like rpc.portmap,rpc.mountd, rpc.nfsd etc)

3. The file /usr/sbin/rpc.portmap is
missing too, I copied it from  a slackware version, but it didn´t work.

4. The /etc/exports file exists when the correct parameters

5. I´ve done this before (sharing a file system) in a slackware version.
with no problem, the system that is mounting the shared file system is a Ultra (Sun)

6. The Ultra machine is running the proper deamos to mount a nfs file

7. Is there another way to share file systems under Red-Hat?, because I´ve found that the files that makes this work in Slackware, they just don´t exist in Red-Hat

Is all this about a bad installation of

Any idea,
Thanks in advance.....
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Under Red Hat, the init file for NFS is
and portmap is
If those don't exist, and the other files like rpc.mountd aren't in /usr/sbin/ then you probably don't have nfs installed. Type
rpm -q knfsd
to see if it's installed. If it's not, install it (and portmap if you don't have that either) and start it with the above init script.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Some things vary significantly among Linux distributions, and the method for starting up daemons on boot is one of them.  Copying system files from one distribution to another is unlikely to help and likely to make your configuration very difficult to reproduce.

1.  Mode 5 is graphical login (vs. 3 for console login) and makes no difference to network configuration.

2.  /etc/rc.d on most Linux distributions (including any recent RedHat release) contains SysV-style init scripts.  RedHat provides a chkconfig utility (similar calling convention to IRIX chkconfig, but with different back-end behavior) for manipulating the symbolic links in /etc/rc.d/rc?.d, which control what startup / shutdown scripts are run during transitions from one init state to another.  

3.  The current RPC port mapper installs at /sbin/portmap.  It is part of the portmap RPM, which should be installed on your system (rpm -qi portmap).

4.  /etc/exports is indeed the NFS server configuration file.  It has SunOS 4.x-like syntax.

5.  Was your Slackware release using the kernel NFS server code?  NFS service has changed a lot since 1.2.x kernels.

Mostly you probably need to undo your copying of things from Slackware and run:

chkconfig portmap on
chkconfig nfs on
/etc/rc.d/init.d/portmap stop
/etc/rc.d/init.d/portmap start
/etc/rc.d/init.d/nfs start

nfs start will run exportfs -r, which should export everything in /etc/exports.  I have just tried this on a RedHat 6.0 box on which I have not previously run an NFS server, and it worked.

Hope this helps.

- Michael K. Edwards, LLC
Having similar problems!

The ultra running solaris looks like this

mount linux:/jaz /mnt
mount: linux: NFS service not responding
mount: retrying: /mnt

then the system just hangs until a ctr<c> is issued.

the /var/log/messages contains:

Nov 3 10:22:37 linux kernel: svc: unknown version (3)

The jaz drive may be mounted from other unix machines on the network.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Distributions

From novice to tech pro — start learning today.