cat telnet , can't mount HELP...repost...Please help

cat telnet , can't mount HELP...repost...Please help

Post by Alok Kumar J » Thu, 15 Jan 1998 04:00:00



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

============================================================================
# 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

# /proj9 exists on sol23 and I can telnet into sol25 from sol23
sol23:/> mount -F nfs -o rw sol25:/proj9 /proj9
nfs mount: sol25: NFS service not responding

# I figured that nfsd was needed and tried to run it manually
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.

# I checked the files /etc/netconfig files on both machines and found that
# 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  :-(

Please advise me on this ongoing saga!!!

Should I upgrade the sol23 to Solaris 2.5 to solve this mount/telnet problem?
Should I follow some std. procedure to reinstall the nfs parts on either
machine?....... or, I guess live with this crippling problem everyday!!!

I spent a few hours browsing through the Answerbooks but still could not
figure out the solution.

Thanks in advance for any suggestions to fix this nagging problem.

Alok
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
......

The only thing is that on sol23 /etc/services is probably not read due to the
presence of switch.so, tcpip.so in the /etc/netconfig file.....still don't
what the problem is.

 
 
 

1. 'cat' does not complete - REPOST

        It sounds like a flow control problem. Your host is sending all
        the data, but when your terminal buffer fills up, it's not telling
        the host to wait. The host keeps sending but the terminal buffer
        is full and loses the data. Try checking modem and host settings
        for flow control.
Steve Rollins

2. LinuxPPC video settings help?

3. 'mount' say NO iso9660 support and 'cat /proc/filesystems' say YES!!!

4. Linux IPX routing

5. Slip can't telnet or ping Please help;

6. How to set default umask of a user?

7. Help please: Can't telnet to my own machine.

8. Hang on RH 5.1

9. Can't get FTP/Telnet to work in RH 5.2 -- Please help

10. can't telnet, ftp - PLEASE HELP!!

11. HELP: foreach pattern (`cat afile`) fails when afile has 'a.*b'!!

12. Can't FTP or Telnet into my Linux 7 box, please help!!!

13. please help, my OpenOffice's help (and many other things) doesn't work