Re: About perdition_1.17-7etch1.diff.gz

Stephen Liu <[email protected]>
Newsgroups gmane.mail.perdition.user
Message-ID <[email protected]>
--- Simon Horman <[email protected]> wrote:

- snip -
 
> > # /etc/init.d/perdition restart
> > Stopped /usr/sbin/perdition.pop3 (pid 3111).
> > Stopped /usr/sbin/perdition.pop3s (pid 3114).
> > No /usr/sbin/perdition.imap4 found running; none killed.
> > No /usr/sbin/perdition.imaps found running; none killed.
> > Starting /usr/sbin/perdition.pop3...
> > Starting /usr/sbin/perdition.pop3s...
> > Starting /usr/sbin/perdition.imap4...
> > Starting /usr/sbin/perdition.imaps...
> 
> [snip]
> 
> > Dec 20 08:59:09 xen13 perdition[3179]: Fatal error listening for
> > connections. Exiting.
> 
> This error means that perdition is unable to bind to the port you
> have requested. In this case port 993 for imaps and port 143 for
> imap4s.
> 
> This could mean that you don't have permision to bind to the ports -
> you need to be root to bind to ports < 1024. But this seems unlikely
> as can successfully start the pop3 and pop3s daemons which also
> bind to ports < 1024.
> 
> So it seems that the likely problem is that you already have some
> other
> daemon bound to ports 993 and 143. Most likely some other IMAP
> daemon.
> 
> You should be able to verify this by looking at the output of:
> netstat --inet -ln
> 
> Look for tcp lines that include :143 and :993
> 
> And if you have fuser installed, you should be able to determine
> which
> daemon it is by running the following commands as root:
> fuser -v -n tcp 993; fuser -v -n tcp 143
> 
> You can also search for the process in question using lsof.


Hi Simon,


I have "psmisc" installed.


# apt-cache policy psmisc
psmisc:
  Installed: 22.3-1
  Candidate: 22.3-1
  Version table:
 *** 22.3-1 0
        500 http://ftp.au.debian.org etch/main Packages
        100 /var/lib/dpkg/status


# which fuser
/bin/fuser


# fuser -v -n tcp 993
# fuser -v -n tcp 143

both without printout


xen13:~# netstat --inet -ln | grep 143
xen13:~# netstat --inet -ln | grep 993

both also without printout.


They are NOT taken.  Both ports have been forwarded to the local IP of
the routing server under testing.


# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5
AUTH=CRAM-SHA1 IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready.
Copyright 1998-2005 Double Precision, Inc. See COPYING for distribution
information.
ehlo localhost
ehlo NO Error in IMAP command received by server.


# telnet localhost 993
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
ehlo localhost
Connection closed by foreign host.


B.R.
Stephen L


Send instant messages to your online friends http://uk.messenger.yahoo.com 
______________________________________________
Perdition-users mailing list
[email protected]
http://lists.vergenet.net/listinfo/perdition-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.