Hi All:
I have difficulty mounting directories across two Sun stations, and no problem
telnetting from one to the other. I have included the details of the problem.
I have posted this before but could not get a workable solution, I consulted
the FAQ and found something relevant but that did not solve the problem
either.
Please offer your suggestions to this ignorant SA.
Alok
sol23 = Machine running Solaris 2.3
sol25 = Machine running Solaris 2.5.1
=========================================================================== # /proj9 exists on sol23 and I can telnet into sol25 from sol23 # I figured that nfsd was needed and tried to run it manually # I checked the files /etc/netconfig files on both machines and found that Please advise me on this ongoing saga!!! Should I upgrade the sol23 to Solaris 2.5 to solve this mount/telnet problem? I spent a few hours browsing through the Answerbooks but still could not Thanks in advance for any suggestions to fix this nagging problem. Alok =========================================================================== =========================================================================== =========================================================================== =========================================================================== =========================================================================== The only thing is that on sol23 /etc/services is probably not read due to the
# Problem documented as messages flashed on screen ........
# I can telnet into sol23 from sol25 and mount sol23's directories to sol25
sol25:/> share -F nfs -o rw /proj9
sol23:/> mount -F nfs -o rw sol25:/proj9 /proj9
nfs mount: sol25: NFS service not responding
sol25:/> /usr/lib/nfs/nfsd -a 16
sol25 /usr/lib/nfs/nfsd[8842]: netdir_getbyname (transport udp, host/serv \1/nfs), Resource temporarily unavailable
sol25 /usr/lib/nfs/nfsd[8842]: Cannot establish NFS service over /dev/udp: transport setup problem.
sol25 /usr/lib/nfs/nfsd[8842]: netdir_getbyname (transport tcp, host/serv \1/nfs), Resource temporarily unavailable
sol25 /usr/lib/nfs/nfsd[8842]: Cannot establish NFS service over /dev/tcp: transport setup problem.
sol25 /usr/lib/nfs/nfsd[8842]: Could not start NFS service for any protocol. Exiting.
# their
# udp, tcp entries had differences, so I modified sol25's netconfig to mimic
# sol23's entries (just a wild idea) and lo and behold the mounting problem
# was solved but another problem arose...I could no longer telnet into sol25
# from sol23 !!! sob :-(
Should I follow some std. procedure to reinstall the nfs parts on either
machine?....... or, I guess live with this crippling problem everyday!!!
figure out the solution.
Poor man's sys. admin.
sol23:/etc/netconfig
#
# The "Network Configuration" File.
#
# Each entry is of the form:
#
# <network_id> <semantics> <flags> <protofamily> <protoname> <device> \
# <nametoaddr_libs>
#
udp tpi_clts v inet udp /dev/udp switch.so,tcpip.so
tcp tpi_cots_ord v inet tcp /dev/tcp switch.so,tcpip.so
rawip tpi_raw - inet - /dev/rawip switch.so,tcpip.so
ticlts tpi_clts v loopback - /dev/ticlts straddr.so
ticotsord tpi_cots_ord v loopback - /dev/ticotsord straddr.so
ticots tpi_cots v loopback - /dev/ticots straddr.so
sol25:/etc/netconfig
#
# The "Network Configuration" File.
#
# Each entry is of the form:
#
# <network_id> <semantics> <flags> <protofamily> <protoname> \
# <device> <nametoaddr_libs>
#
#
udp tpi_clts v inet udp /dev/udp -
tcp tpi_cots_ord v inet tcp /dev/tcp -
rawip tpi_raw - inet - /dev/rawip -
ticlts tpi_clts v loopback - /dev/ticlts straddr.so
ticotsord tpi_cots_ord v loopback - /dev/ticotsord straddr.so
ticots tpi_cots v loopback - /dev/ticots straddr.so
sol23 and sol25 /etc/nsswitch.conf files are identifical..both use
"nisplus [NOTFOUND=return] files" as entries for hosts and services
sol23:/etc/services (partial file)
.....
listen 2766/tcp # System V listener port
nfsd 2049/udp nfs # NFS server daemon
nfsd 2049/tcp nfs # NFS server daemon
lockd 4045/udp # NFS lock daemon/manager
......
sol25:/etc/services (partial file)
.......
listen 2766/tcp # System V listener port
nfsd 2049/tcp nfs # NFS server daemon (clts)
nfsd 2049/udp nfs # NFS server daemon (cots)
lockd 4045/udp # NFS lock daemon/manager
......
presence of switch.so, tcpip.so in the /etc/netconfig file.....still don't
what the problem is.