You can do (with some versions of the nettools package, on linux at
least) "netstat -anp | grep LISTEN" and that will show you all ports
listening, and the -p options tells the process that is listening

- T


On Fri, 21 Jul 2000, Z wrote:

> i'm getting the following tcpserver error:
> 
> [root@myserver /var/qmail/control]# tcpserver -x/etc/tcp.smtp.cdb -u513
> -g513 0 smtp /var/qmail/bin/qmail-smtpd & 
> [1] 4307 
> tcpserver: fatal: unable to bind: address already used 
> [1] Exit 111                  tcpserver -x/etc/tcp.smtp.cdb -u513 -g513
> 0 smtp /var/qmail/bin/qmail-smtpd
> [root@myserver /var/qmail/control]#                                         
> 
> i've done a ps -aux | grep tcp and don't see it running anywhere.
> 
> my /etc/tcp.smtp is:  
> 127.:allow,RELAYCLIENT="" 
> 216.160.248.:allow,RELAYCLIENT="" 
> 216.160.240.:allow,RELAYCLIENT="" 
> 10.1.1.:allow,RELAYCLIENT="" 
> 192.168.1.:allow, RELAYCLIENT="" 
> :allow
> 
> any help would be great.
> 
> ZZ
> 

-- 
Tyler J. Frederick
Systems Administrator
Sportsline.com, Inc.

Reply via email to