Re: [vchkpw] starting vpop gives error
Hi, On Thu, 2003-02-27 at 20:47, Rob G wrote: > Do a netstat -na | grep LISTEN and see if anything else is listening on port > 110 as that is what is holding the address open. Try a netstat -lnp | grep 110 instead. It will also show the pid of the listening program. -- Anders Brander - http://anders.brander.dk/
Re: [vchkpw] starting vpop gives error
On Thursday 27 February 2003 20:42, Kevin L Aleshire wrote: > when i try to run the vpop script i get this error message "tcpserver: > fatal: unable to bind: address already used" > > below is the script that i'm using. > > #!/bin/sh > env - PATH="/var/qmail/bin:/usr/local/bin" \ > tcpserver -H -R 0 pop3 \ > /var/qmail/bin/qmail-popup mail.mnw.net \ > /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir & > > When i do a "netstat -a | grep pop" this is the response that i get back > > tcp0 0 *:pop3 *:* LISTEN > > can someone help me find out when service is running this, or am i going at > this problem that wrong way? > > Thanks in advance netstat -lp this will tell you, which process is using which port that "listens". since you are running redhat, maybe "/etc/init.d/xinetd stop" first and then try again. (are they still using this xinetd thingo ?) -- Best Regards --- Justin Heesemannionium Technologies [EMAIL PROTECTED]www.ionium.org
Re[2]: [vchkpw] starting vpop gives error
Hello Kevin, Just read: http://www.linuxsa.org.au/tips/io-redirection.html Thursday, February 27, 2003, 5:21:50 PM, you wrote: KLA> i'm still in the learning process of understanding the syntax of scripts KLA> what's the difference in "2>&1" vs. just having "&" at the end of my script
Re: [vchkpw] starting vpop gives error
Ummm honestly I have no clue. This was the format in the Life With Qmail document that I followed and that everyone seems to get working servers off of. So that is the way that I went. Regards, Rob G [EMAIL PROTECTED] - Original Message - From: "Kevin L Aleshire" <[EMAIL PROTECTED]> To: "Vchkpw" <[EMAIL PROTECTED]> Sent: Thursday, February 27, 2003 3:21 PM Subject: RE: [vchkpw] starting vpop gives error i'm still in the learning process of understanding the syntax of scripts what's the difference in "2>&1" vs. just having "&" at the end of my script > -Original Message- > From: Rob G [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 27, 2003 2:01 PM > To: Vchkpw > Subject: Re: [vchkpw] starting vpop gives error > > > > Hmmm that is really interesting as I know that running qmail or even > sendmail should open up port 25 and that isn't even listed there: > > Here is my netstat > tcp0 0 0.0.0.0:32768 0.0.0.0:* LISTEN > tcp0 0 127.0.0.1:32769 0.0.0.0:* LISTEN > tcp0 0 0.0.0.0:33060.0.0.0:* LISTEN > tcp0 0 0.0.0.0:110 0.0.0.0:* LISTEN > tcp0 0 0.0.0.0:111 0.0.0.0:* LISTEN > tcp0 0 0.0.0.0:80 0.0.0.0:* LISTEN > tcp0 0 0.0.0.0:1 0.0.0.0:* LISTEN > tcp0 0 0.0.0.0:60000.0.0.0:* LISTEN > tcp0 0 0.0.0.0:21 0.0.0.0:* LISTEN > tcp0 0 0.0.0.0:22 0.0.0.0:* LISTEN > tcp0 0 0.0.0.0:25 0.0.0.0:* LISTEN > > Showing all the open ports on my Redhat box. > > I would also add this to the end of your run script 2>&1, so it would look > like this > > #!/bin/sh > env - PATH="/var/qmail/bin:/usr/local/bin" \ > tcpserver -H -R 0 pop3 \ > /var/qmail/bin/qmail-popup mail.mnw.net \ > /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 2>&1 > > Regards, > Rob G > [EMAIL PROTECTED] > > > > - Original Message - > From: "Kevin L Aleshire" <[EMAIL PROTECTED]> > To: "Vchkpw" <[EMAIL PROTECTED]> > Sent: Thursday, February 27, 2003 2:54 PM > Subject: RE: [vchkpw] starting vpop gives error > > > this is the response that i get from that command, it doesn't really list > anything specific > > [EMAIL PROTECTED] /etc/rc3.d# netstat -na | grep LISTEN > tcp0 0 0.0.0.0:110 0.0.0.0:* LISTEN > tcp 0 0 216.31.98.16:22 0.0.0.0:* LISTEN > > is there any other way to find out what it is? > > > -Original Message- > > From: Rob G [mailto:[EMAIL PROTECTED] > > Sent: Thursday, February 27, 2003 1:48 PM > > To: Vchkpw > > Subject: Re: [vchkpw] starting vpop gives error > > > > > > Do a netstat -na | grep LISTEN and see if anything else is > > listening on port > > 110 as that is what is holding the address open. > > > > Regards, > > Rob G > > [EMAIL PROTECTED] > > - Original Message - > > From: "Kevin L Aleshire" <[EMAIL PROTECTED]> > > To: "Vchkpw" <[EMAIL PROTECTED]> > > Sent: Thursday, February 27, 2003 2:42 PM > > Subject: [vchkpw] starting vpop gives error > > > > > > when i try to run the vpop script i get this error message "tcpserver: > > fatal: unable to bind: address already used" > > > > below is the script that i'm using. > > > > #!/bin/sh > > env - PATH="/var/qmail/bin:/usr/local/bin" \ > > tcpserver -H -R 0 pop3 \ > > /var/qmail/bin/qmail-popup mail.mnw.net \ > > /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir & > > > > When i do a "netstat -a | grep pop" this is the response that > i get back > > > > tcp0 0 *:pop3 *:* > LISTEN > > > > can someone help me find out when service is running this, or am > > i going at > > this problem that wrong way? > > > > Thanks in advance > > > > > > > > > > > >
RE: [vchkpw] starting vpop gives error
i'm still in the learning process of understanding the syntax of scripts what's the difference in "2>&1" vs. just having "&" at the end of my script > -Original Message- > From: Rob G [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 27, 2003 2:01 PM > To: Vchkpw > Subject: Re: [vchkpw] starting vpop gives error > > > > Hmmm that is really interesting as I know that running qmail or even > sendmail should open up port 25 and that isn't even listed there: > > Here is my netstat > tcp0 0 0.0.0.0:32768 0.0.0.0:* LISTEN > tcp0 0 127.0.0.1:32769 0.0.0.0:* LISTEN > tcp0 0 0.0.0.0:33060.0.0.0:* LISTEN > tcp0 0 0.0.0.0:110 0.0.0.0:* LISTEN > tcp0 0 0.0.0.0:111 0.0.0.0:* LISTEN > tcp0 0 0.0.0.0:80 0.0.0.0:* LISTEN > tcp0 0 0.0.0.0:1 0.0.0.0:* LISTEN > tcp0 0 0.0.0.0:60000.0.0.0:* LISTEN > tcp0 0 0.0.0.0:21 0.0.0.0:* LISTEN > tcp0 0 0.0.0.0:22 0.0.0.0:* LISTEN > tcp0 0 0.0.0.0:25 0.0.0.0:* LISTEN > > Showing all the open ports on my Redhat box. > > I would also add this to the end of your run script 2>&1, so it would look > like this > > #!/bin/sh > env - PATH="/var/qmail/bin:/usr/local/bin" \ > tcpserver -H -R 0 pop3 \ > /var/qmail/bin/qmail-popup mail.mnw.net \ > /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 2>&1 > > Regards, > Rob G > [EMAIL PROTECTED] > > > > ----- Original Message - > From: "Kevin L Aleshire" <[EMAIL PROTECTED]> > To: "Vchkpw" <[EMAIL PROTECTED]> > Sent: Thursday, February 27, 2003 2:54 PM > Subject: RE: [vchkpw] starting vpop gives error > > > this is the response that i get from that command, it doesn't really list > anything specific > > [EMAIL PROTECTED] /etc/rc3.d# netstat -na | grep LISTEN > tcp0 0 0.0.0.0:110 0.0.0.0:* LISTEN > tcp0 0 216.31.98.16:22 0.0.0.0:* LISTEN > > is there any other way to find out what it is? > > > -Original Message- > > From: Rob G [mailto:[EMAIL PROTECTED] > > Sent: Thursday, February 27, 2003 1:48 PM > > To: Vchkpw > > Subject: Re: [vchkpw] starting vpop gives error > > > > > > Do a netstat -na | grep LISTEN and see if anything else is > > listening on port > > 110 as that is what is holding the address open. > > > > Regards, > > Rob G > > [EMAIL PROTECTED] > > - Original Message - > > From: "Kevin L Aleshire" <[EMAIL PROTECTED]> > > To: "Vchkpw" <[EMAIL PROTECTED]> > > Sent: Thursday, February 27, 2003 2:42 PM > > Subject: [vchkpw] starting vpop gives error > > > > > > when i try to run the vpop script i get this error message "tcpserver: > > fatal: unable to bind: address already used" > > > > below is the script that i'm using. > > > > #!/bin/sh > > env - PATH="/var/qmail/bin:/usr/local/bin" \ > > tcpserver -H -R 0 pop3 \ > > /var/qmail/bin/qmail-popup mail.mnw.net \ > > /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir & > > > > When i do a "netstat -a | grep pop" this is the response that > i get back > > > > tcp0 0 *:pop3 *:* > LISTEN > > > > can someone help me find out when service is running this, or am > > i going at > > this problem that wrong way? > > > > Thanks in advance > > > > > > > > > > > >
Re: [vchkpw] starting vpop gives error
This is what netstat -a should look like notice it shows the service that is on that port Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State tcp0 0 *:mysql *:* LISTEN tcp0 0 *:pop3 *:* LISTEN tcp0 0 *:imap *:* LISTEN tcp0 0 *:http *:* LISTEN tcp0 0 *:ftp *:* LISTEN tcp0 0 *:ssh *:* LISTEN tcp0 0 *:smtp *:* LISTEN tcp0 0 *:https *:* LISTEN udp0 0 www.cyberbytesbbs.c:ntp *:* udp0 0 localhost.localdoma:ntp *:* udp0 0 *:ntp *:* - Original Message - From: "Rob G" <[EMAIL PROTECTED]> To: "Vchkpw" <[EMAIL PROTECTED]> Sent: Thursday, February 27, 2003 12:01 PM Subject: Re: [vchkpw] starting vpop gives error > > Hmmm that is really interesting as I know that running qmail or even > sendmail should open up port 25 and that isn't even listed there: > > Here is my netstat > tcp0 0 0.0.0.0:32768 0.0.0.0:* LISTEN > tcp0 0 127.0.0.1:32769 0.0.0.0:* LISTEN > tcp0 0 0.0.0.0:33060.0.0.0:* LISTEN > tcp0 0 0.0.0.0:110 0.0.0.0:* LISTEN > tcp0 0 0.0.0.0:111 0.0.0.0:* LISTEN > tcp0 0 0.0.0.0:80 0.0.0.0:* LISTEN > tcp0 0 0.0.0.0:1 0.0.0.0:* LISTEN > tcp0 0 0.0.0.0:60000.0.0.0:* LISTEN > tcp0 0 0.0.0.0:21 0.0.0.0:* LISTEN > tcp0 0 0.0.0.0:22 0.0.0.0:* LISTEN > tcp0 0 0.0.0.0:25 0.0.0.0:* LISTEN > > Showing all the open ports on my Redhat box. > > I would also add this to the end of your run script 2>&1, so it would look > like this > > #!/bin/sh > env - PATH="/var/qmail/bin:/usr/local/bin" \ > tcpserver -H -R 0 pop3 \ > /var/qmail/bin/qmail-popup mail.mnw.net \ > /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 2>&1 > > Regards, > Rob G > [EMAIL PROTECTED] > > > > - Original Message ----- > From: "Kevin L Aleshire" <[EMAIL PROTECTED]> > To: "Vchkpw" <[EMAIL PROTECTED]> > Sent: Thursday, February 27, 2003 2:54 PM > Subject: RE: [vchkpw] starting vpop gives error > > > this is the response that i get from that command, it doesn't really list > anything specific > > [EMAIL PROTECTED] /etc/rc3.d# netstat -na | grep LISTEN > tcp0 0 0.0.0.0:110 0.0.0.0:* LISTEN > tcp0 0 216.31.98.16:22 0.0.0.0:* LISTEN > > is there any other way to find out what it is? > > > -Original Message- > > From: Rob G [mailto:[EMAIL PROTECTED] > > Sent: Thursday, February 27, 2003 1:48 PM > > To: Vchkpw > > Subject: Re: [vchkpw] starting vpop gives error > > > > > > Do a netstat -na | grep LISTEN and see if anything else is > > listening on port > > 110 as that is what is holding the address open. > > > > Regards, > > Rob G > > [EMAIL PROTECTED] > > - Original Message - > > From: "Kevin L Aleshire" <[EMAIL PROTECTED]> > > To: "Vchkpw" <[EMAIL PROTECTED]> > > Sent: Thursday, February 27, 2003 2:42 PM > > Subject: [vchkpw] starting vpop gives error > > > > > > when i try to run the vpop script i get this error message "tcpserver: > > fatal: unable to bind: address already used" > > > > below is the script that i'm using. > > > > #!/bin/sh > > env - PATH="/var/qmail/bin:/usr/local/bin" \ > > tcpserver -H -R 0 pop3 \ > > /var/qmail/bin/qmail-popup mail.mnw.net \ > > /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir & > > > > When i do a "netstat -a | grep pop" this is the response that i get back > > > > tcp0 0 *:pop3 *:* LISTEN > > > > can someone help me find out when service is running this, or am > > i going at > > this problem that wrong way? > > > > Thanks in advance > > > > > > > > > > > > >
Re: [vchkpw] starting vpop gives error
Hmmm that is really interesting as I know that running qmail or even sendmail should open up port 25 and that isn't even listed there: Here is my netstat tcp0 0 0.0.0.0:32768 0.0.0.0:* LISTEN tcp0 0 127.0.0.1:32769 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:33060.0.0.0:* LISTEN tcp0 0 0.0.0.0:110 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:111 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:80 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:1 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:60000.0.0.0:* LISTEN tcp0 0 0.0.0.0:21 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:22 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:25 0.0.0.0:* LISTEN Showing all the open ports on my Redhat box. I would also add this to the end of your run script 2>&1, so it would look like this #!/bin/sh env - PATH="/var/qmail/bin:/usr/local/bin" \ tcpserver -H -R 0 pop3 \ /var/qmail/bin/qmail-popup mail.mnw.net \ /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 2>&1 Regards, Rob G [EMAIL PROTECTED] - Original Message - From: "Kevin L Aleshire" <[EMAIL PROTECTED]> To: "Vchkpw" <[EMAIL PROTECTED]> Sent: Thursday, February 27, 2003 2:54 PM Subject: RE: [vchkpw] starting vpop gives error this is the response that i get from that command, it doesn't really list anything specific [EMAIL PROTECTED] /etc/rc3.d# netstat -na | grep LISTEN tcp0 0 0.0.0.0:110 0.0.0.0:* LISTEN tcp0 0 216.31.98.16:22 0.0.0.0:* LISTEN is there any other way to find out what it is? > -Original Message- > From: Rob G [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 27, 2003 1:48 PM > To: Vchkpw > Subject: Re: [vchkpw] starting vpop gives error > > > Do a netstat -na | grep LISTEN and see if anything else is > listening on port > 110 as that is what is holding the address open. > > Regards, > Rob G > [EMAIL PROTECTED] > - Original Message - > From: "Kevin L Aleshire" <[EMAIL PROTECTED]> > To: "Vchkpw" <[EMAIL PROTECTED]> > Sent: Thursday, February 27, 2003 2:42 PM > Subject: [vchkpw] starting vpop gives error > > > when i try to run the vpop script i get this error message "tcpserver: > fatal: unable to bind: address already used" > > below is the script that i'm using. > > #!/bin/sh > env - PATH="/var/qmail/bin:/usr/local/bin" \ > tcpserver -H -R 0 pop3 \ > /var/qmail/bin/qmail-popup mail.mnw.net \ > /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir & > > When i do a "netstat -a | grep pop" this is the response that i get back > > tcp0 0 *:pop3 *:* LISTEN > > can someone help me find out when service is running this, or am > i going at > this problem that wrong way? > > Thanks in advance > > > >
Re: [vchkpw] starting vpop gives error
telnet to port 110 and try issuing cammands and see what it gives back... -John - Original Message - From: "Kevin L Aleshire" <[EMAIL PROTECTED]> To: "Vchkpw" <[EMAIL PROTECTED]> Sent: Thursday, February 27, 2003 11:54 AM Subject: RE: [vchkpw] starting vpop gives error > this is the response that i get from that command, it doesn't really list > anything specific > > [EMAIL PROTECTED] /etc/rc3.d# netstat -na | grep LISTEN > tcp0 0 0.0.0.0:110 0.0.0.0:* LISTEN > tcp0 0 216.31.98.16:22 0.0.0.0:* LISTEN > > is there any other way to find out what it is? > > > -Original Message- > > From: Rob G [mailto:[EMAIL PROTECTED] > > Sent: Thursday, February 27, 2003 1:48 PM > > To: Vchkpw > > Subject: Re: [vchkpw] starting vpop gives error > > > > > > Do a netstat -na | grep LISTEN and see if anything else is > > listening on port > > 110 as that is what is holding the address open. > > > > Regards, > > Rob G > > [EMAIL PROTECTED] > > - Original Message - > > From: "Kevin L Aleshire" <[EMAIL PROTECTED]> > > To: "Vchkpw" <[EMAIL PROTECTED]> > > Sent: Thursday, February 27, 2003 2:42 PM > > Subject: [vchkpw] starting vpop gives error > > > > > > when i try to run the vpop script i get this error message "tcpserver: > > fatal: unable to bind: address already used" > > > > below is the script that i'm using. > > > > #!/bin/sh > > env - PATH="/var/qmail/bin:/usr/local/bin" \ > > tcpserver -H -R 0 pop3 \ > > /var/qmail/bin/qmail-popup mail.mnw.net \ > > /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir & > > > > When i do a "netstat -a | grep pop" this is the response that i get back > > > > tcp0 0 *:pop3 *:* LISTEN > > > > can someone help me find out when service is running this, or am > > i going at > > this problem that wrong way? > > > > Thanks in advance > > > > > > > > > > >
RE: [vchkpw] starting vpop gives error
this is the response that i get from that command, it doesn't really list anything specific [EMAIL PROTECTED] /etc/rc3.d# netstat -na | grep LISTEN tcp0 0 0.0.0.0:110 0.0.0.0:* LISTEN tcp0 0 216.31.98.16:22 0.0.0.0:* LISTEN is there any other way to find out what it is? > -Original Message- > From: Rob G [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 27, 2003 1:48 PM > To: Vchkpw > Subject: Re: [vchkpw] starting vpop gives error > > > Do a netstat -na | grep LISTEN and see if anything else is > listening on port > 110 as that is what is holding the address open. > > Regards, > Rob G > [EMAIL PROTECTED] > - Original Message - > From: "Kevin L Aleshire" <[EMAIL PROTECTED]> > To: "Vchkpw" <[EMAIL PROTECTED]> > Sent: Thursday, February 27, 2003 2:42 PM > Subject: [vchkpw] starting vpop gives error > > > when i try to run the vpop script i get this error message "tcpserver: > fatal: unable to bind: address already used" > > below is the script that i'm using. > > #!/bin/sh > env - PATH="/var/qmail/bin:/usr/local/bin" \ > tcpserver -H -R 0 pop3 \ > /var/qmail/bin/qmail-popup mail.mnw.net \ > /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir & > > When i do a "netstat -a | grep pop" this is the response that i get back > > tcp0 0 *:pop3 *:* LISTEN > > can someone help me find out when service is running this, or am > i going at > this problem that wrong way? > > Thanks in advance > > > >
Re: [vchkpw] starting vpop gives error
Do a netstat -na | grep LISTEN and see if anything else is listening on port 110 as that is what is holding the address open. Regards, Rob G [EMAIL PROTECTED] - Original Message - From: "Kevin L Aleshire" <[EMAIL PROTECTED]> To: "Vchkpw" <[EMAIL PROTECTED]> Sent: Thursday, February 27, 2003 2:42 PM Subject: [vchkpw] starting vpop gives error when i try to run the vpop script i get this error message "tcpserver: fatal: unable to bind: address already used" below is the script that i'm using. #!/bin/sh env - PATH="/var/qmail/bin:/usr/local/bin" \ tcpserver -H -R 0 pop3 \ /var/qmail/bin/qmail-popup mail.mnw.net \ /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir & When i do a "netstat -a | grep pop" this is the response that i get back tcp0 0 *:pop3 *:* LISTEN can someone help me find out when service is running this, or am i going at this problem that wrong way? Thanks in advance
[vchkpw] starting vpop gives error
when i try to run the vpop script i get this error message "tcpserver: fatal: unable to bind: address already used" below is the script that i'm using. #!/bin/sh env - PATH="/var/qmail/bin:/usr/local/bin" \ tcpserver -H -R 0 pop3 \ /var/qmail/bin/qmail-popup mail.mnw.net \ /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir & When i do a "netstat -a | grep pop" this is the response that i get back tcp0 0 *:pop3 *:* LISTEN can someone help me find out when service is running this, or am i going at this problem that wrong way? Thanks in advance