Up until now, I have always used a redhat or mandrake distribution, but
recently, I decided to rebuild the whole lot from source code, because I
wasn't happy with the way the other distributions set up the os.
However, to my problem, I have a redhat 4.2 system working as an internal
only file and print server, and it exports it's filesystems as NFS for the
Linux workstations, and SMB for the win9x ones, which is fine.
However, on completion of the rebuild, I downloaded the portmapper and NFS
sources, one from debian, one from the NFS homepage, I also downloaded the
RPC bind program from the homepage for that too.
I compiled and installed them all fine, and got them installed.
I have never set up NFS or RPC from scratch before, I have always used the
default configuration and installation provided by the installer, and just
modified the relevant files to get them to work.
However, I can't on the new base system get the RPC services to work, I
managed to get the portmap package to install fine, got NFS to install fine
as well, and set up the relevant entries in the system boot scripts
(basically just copied from my previous system) and also the mount points
and everything else.
However, when I rebooted, the mountd daemon exited with the following:
Cannot register service: RPC: Unable to send; errno = Invalid argument
the portmap process was running fine, and all was as it seemed to be.
I tried replacing portmap with rpc.bind, but the same result occurred.
I recall having this or a similar problem a number of years back, but I
can't think of the solution.
Any ideas / Links / Postings would be greatly appreciated.