SUMMARY: mount nfs fs fails

From: rick francis <rfransix_at_yahoo.com>
Date: Tue Jul 03 2001 - 14:00:20 EDT
A:

funny but, another sad commentary on firewall admins.
solution "some tcp and udp services needed to be
defined on the firewall to allow for the traffic to be
sent. The reason it took a few tries was to determine
exactly what ports were needed and what could be
excluded from the rule."

sorry for the long post and the quick answer.

rf

> >>>>>>>>>>>>>>>>>> Original Message
> <<<<<<<<<<<<<<<<<<
> 
> On 7/3/01, 12:53:35 PM, rick francis
> <rfransix@yahoo.com> wrote regarding 
> mount nfs fs fails:
> 
> 
> > hi,
> 
> > i'm trying to mount a filesystem remotely.
> 
> > local_servers' showmount is ok.
> > remote_server can't execute showmount, only
> telnet,
> > ping, ftp. local_server can mount a remote_server
> fs
> > though. both servers are running nfs_server and
> > nfs_client. firewall rule is in place allowing
> nfs.
> > a truss of the mount on remote_server is below.
> 
> > what's with all the Err's on libs!!??
> 
> > remote_server# /root > more truss.nfs2
> > Script started on Tue Jul 03 11:40:53 2001
> > remote_server# /root > truss mount
> > local_server:/cdrom/ctan-1 /mnt
> > execve("/usr/sbin/mount", 0xFFBEFD64, 0xFFBEFD74)
> > argc = 3
> > stat("/usr/sbin/mount", 0xFFBEFAA0)             =
> 0
> > open("/var/ld/ld.config", O_RDONLY)            
> Err#2
> > ENOENT
> > open("/usr/local/lib/libcmd.so.1", O_RDONLY)   
> Err#2
> > ENOENT
> > open("/lib/libcmd.so.1", O_RDONLY)              =
> 3
> > fstat(3, 0xFFBEF838)                            =
> 0
> > mmap(0x00000000, 8192, PROT_READ|PROT_EXEC,
> > MAP_PRIVATE, 3, 0) = 0xFF3A0000
> > mmap(0x00000000, 90112, PROT_READ|PROT_EXEC,
> > MAP_PRIVATE, 3, 0) = 0xFF380000
> > mmap(0xFF394000, 1155,
> PROT_READ|PROT_WRITE|PROT_EXEC,
> > MAP_PRIVATE|MAP_FIXED, 3, 16384) = 0xFF394000
> > munmap(0xFF384000, 65536)                       =
> 0
> > mmap(0x00000000, 8192,
> PROT_READ|PROT_WRITE|PROT_EXEC,
> > MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFF370000
> > memcntl(0xFF380000, 4344, MC_ADVISE,
> MADV_WILLNEED, 0,
> > 0) = 0
> > close(3)                                        =
> 0
> > open("/usr/local/lib/libc.so.1", O_RDONLY)     
> Err#2
> > ENOENT
> > open("/lib/libc.so.1", O_RDONLY)                =
> 3
> > fstat(3, 0xFFBEF838)                            =
> 0
> > mmap(0xFF3A0000, 8192, PROT_READ|PROT_EXEC,
> > MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF3A0000
> > mmap(0x00000000, 786432, PROT_READ|PROT_EXEC,
> > MAP_PRIVATE, 3, 0) = 0xFF280000
> > mmap(0xFF338000, 24488,
> > PROT_READ|PROT_WRITE|PROT_EXEC,
> MAP_PRIVATE|MAP_FIXED,
> > 3, 688128) = 0xFF338000
> > mmap(0xFF33E000, 6588,
> PROT_READ|PROT_WRITE|PROT_EXEC,
> > MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) =
> 0xFF33E000
> > munmap(0xFF328000, 65536)                       =
> 0
> > memcntl(0xFF280000, 112060, MC_ADVISE,
> MADV_WILLNEED,
> > 0, 0) = 0
> > close(3)                                        =
> 0
> > open("/usr/local/lib/libdl.so.1", O_RDONLY)    
> Err#2
> > ENOENT
> > open("/lib/libdl.so.1", O_RDONLY)               =
> 3
> > fstat(3, 0xFFBEF838)                            =
> 0
> > mmap(0xFF3A0000, 8192, PROT_READ|PROT_EXEC,
> > MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF3A0000
> > close(3)                                        =
> 0
> >
>
open("/usr/platform/SUNW,Ultra-80/lib/libc_psr.so.1",
> > O_RDONLY) = 3
> > fstat(3, 0xFFBEF6E0)                            =
> 0
> > mmap(0x00000000, 8192, PROT_READ|PROT_EXEC,
> > MAP_PRIVATE, 3, 0) = 0xFF360000
> > mmap(0x00000000, 16384, PROT_READ|PROT_EXEC,
> > MAP_PRIVATE, 3, 0) = 0xFF350000
> > close(3)                                        =
> 0
> > munmap(0xFF360000, 8192)                        =
> 0
> > brk(0x00027160)                                 =
> 0
> > brk(0x00029160)                                 =
> 0
> > getuid()                                        =
> 0
> > [0]
> > open("/etc/vfstab", O_RDONLY)                   =
> 3
> > llseek(3, 0, SEEK_CUR)                          =
> 0
> > fstat64(3, 0xFFBEF8D8)                          =
> 0
> > brk(0x00029160)                                 =
> 0
> > brk(0x0002B160)                                 =
> 0
> > ioctl(3, TCGETA, 0xFFBEF864)                   
> Err#25
> > ENOTTY
> > read(3, " # d e v i c e\t\t d e v".., 8192)     =
> 415
> > read(3, 0x00028384, 8192)                       =
> 0
> > llseek(3, 0, SEEK_SET)                          =
> 0
> > stat64("appserver2:/cdrom/ctan-1", 0xFFBEFAF8) 
> Err#2
> > ENOENT
> > read(3, " # d e v i c e\t\t d e v".., 8192)     =
> 415
> > read(3, 0x00028384, 8192)                       =
> 0
> > llseek(3, 0, SEEK_CUR)                          =
> 415
> > close(3)                                        =
> 0
> > open("/etc/dfs/fstypes", O_RDONLY)              =
> 3
> > fstat64(3, 0xFFBEFA38)                          =
> 0
> > ioctl(3, TCGETA, 0xFFBEF9C4)                   
> Err#25
> > ENOTTY
> > read(3, " n f s   N F S   U t i l".., 8192)     =
> 68
> > llseek(3, 0xFFFFFFFFFFFFFFCE, SEEK_CUR)         =
> 18
> > close(3)                                        =
> 0
> > stat64("/mnt", 0xFFBEFAF8)                      =
> 0
> > resolvepath("/mnt", "/mnt", 1024)               =
> 4
> > access("/usr/lib/fs/nfs/mount", 0)              =
> 0
> > execve("/usr/lib/fs/nfs/mount", 0xFFBEFCC4,
> > 0xFFBEFD74)  argc = 3
> > stat("/usr/lib/fs/nfs/mount", 0xFFBEFA98)       =
> 0
> > open("/var/ld/ld.config", O_RDONLY)            
> Err#2
> > ENOENT
> > open("/usr/local/lib/librpcsvc.so.1", O_RDONLY)
> Err#2
> > ENOENT
> > open("/lib/librpcsvc.so.1", O_RDONLY)           =
> 3
> > fstat(3, 0xFFBEF830)                            =
> 0
> > mmap(0x00000000, 8192, PROT_READ|PROT_EXEC,
> > MAP_PRIVATE, 3, 0) = 0xFF3A0000
> > mmap(0x00000000, 98304, PROT_READ|PROT_EXEC,
> > MAP_PRIVATE, 3, 0) = 0xFF380000
> > mmap(0xFF396000, 1304,
> PROT_READ|PROT_WRITE|PROT_EXEC,
> > MAP_PRIVATE|MAP_FIXED, 3, 24576) = 0xFF396000
> > munmap(0xFF386000, 65536)                       =
> 0
> > mmap(0x00000000, 8192,
> PROT_READ|PROT_WRITE|PROT_EXEC,
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
Received on Tue Jul 3 19:00:20 2001

This archive was generated by hypermail 2.1.8 : Wed Mar 23 2016 - 16:24:58 EDT