On Thu, 07 Aug 2003 15:07:42 -0700, Gordon Messmer wrote
> Mike Vanecek wrote:
> >>>[EMAIL PROTECTED] root]# rpcinfo -p
> >>>rpcinfo: can't contact portmapper: RPC: Remote system error - Connection
> ...
> > The suggestion to look at rpcinfo, rpc, and portmapper really has no relevance
> > to the issue.
> 
> Yes, it does.  The variable port is a signature of portmap 
> applications, and *using* the portmapper will tell you what 
> requested the port:
> 
> $ /usr/sbin/rpcinfo -p
>     program vers proto   port
>      100000    2   tcp    111  portmapper
>      100000    2   udp    111  portmapper
>      100024    1   udp  32768  status
>      100024    1   tcp  32768  status
>      391002    2   tcp  32769  sgi_fam
> 
> fam is useful, but not critical, for your desktop applications.  
> Portmap is safe to use as long as you've got your firewall up.
> 
> Even if you don't want to use it normally, turning it on to answer 
> your question would have been a trivial and quick solution.

[EMAIL PROTECTED] root]# service portmap start
Starting portmapper:                                       [  OK  ]

[EMAIL PROTECTED] root]# rpcinfo -p
   program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper

[EMAIL PROTECTED] root]# netstat -naup
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State    
  PID/Program name
udp        0      0 192.168.1.95:137        0.0.0.0:*                        
  2377/nmbd
udp        0      0 0.0.0.0:137             0.0.0.0:*                        
  2377/nmbd
udp        0      0 192.168.1.95:138        0.0.0.0:*                        
  2377/nmbd
udp        0      0 0.0.0.0:138             0.0.0.0:*                        
  2377/nmbd
udp        0      0 0.0.0.0:916             0.0.0.0:*                        
  21092/xinetd
udp        0      0 0.0.0.0:162             0.0.0.0:*                        
  28540/snmptrapd

I must be doing something wrong, since it had not given me the same
informatinon you show above. The only way I could find it, based on the
suggestion of another poster, was to stop sig_fam and note that the connection
was closed.

I have never found any use for portmapper, hence do not run it. Am I missing
something?

I run sig_fam only because I have been told it improves the operation of some
apps. Despite my reading about it, I never have quite understood what it
really does. I am tempted to shut it down and see what happens.


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to