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
> tcp        0      0 0.0.0.0:32768           0.0.0.0:*               LISTEN
> tcp        0      0 127.0.0.1:32769         0.0.0.0:*               LISTEN
> tcp        0      0 0.0.0.0:3306            0.0.0.0:*               LISTEN
> tcp        0      0 0.0.0.0:110             0.0.0.0:*               LISTEN
> tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN
> tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN
> tcp        0      0 0.0.0.0:10000           0.0.0.0:*               LISTEN
> tcp        0      0 0.0.0.0:6000            0.0.0.0:*               LISTEN
> tcp        0      0 0.0.0.0:21              0.0.0.0:*               LISTEN
> tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN
> tcp        0      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
> tcp        0      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
> >
> > tcp        0      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
> >
> >
> >
> >
>
>
>
>


Reply via email to