RE: Courier-IMAP not starting

From: John Brooks (john_at_day-light.com)
Date: 03/24/05

  • Next message: Andrey Karyagin: "HP DL-360 and panic reboot"
    To: "Stephen Matlick" <smatlick@hordehost.com>
    Date: Thu, 24 Mar 2005 16:24:38 -0600
    
    

    a couple simple things to check:

    1) are you sure it is not running?
       run "ps ax | grep courier" to make sure

    2) trailing spaces in the courier config file are not allowed

    did you install it via the ports system?

    --
    John Brooks
    john@day-light.com 
    > -----Original Message-----
    > From: owner-freebsd-isp@freebsd.org
    > [mailto:owner-freebsd-isp@freebsd.org]On Behalf Of Stephen Matlick
    > Sent: Thursday, March 24, 2005 8:03 AM
    > To: Brian Reichert
    > Cc: freebsd-isp@freebsd.org
    > Subject: Re: Courier-IMAP not starting
    > 
    > 
    > I actually made a typo with the original error; it is:
    > 
    > /usr/local/bin/ .: Permission denied.
    > 
    > Here's the output from 'sh -x imapd.sh' :
    > 
    > + prefix=/usr/local
    > + exec_prefix=/usr/local
    > + bindir=/usr/local/bin
    > + libexecdir=/usr/local/libexec/courier-imap
    > + test ! -f /usr/local/etc/courier-imap/imapd
    > + test ! -f /usr/local/etc/courier-imap/imapd-ssl
    > + TLS_CACHEFILE=
    > + . /usr/local/etc/courier-imap/imapd
    > + ADDRESS=0
    > + PORT=143
    > + MAXDAEMONS=40
    > + MAXPERIP=4
    > + PIDFILE=/var/run/imapd.pid
    > + TCPDOPTS=-nodnslookup -noidentlookup
    > + AUTHMODULES=authdaemon
    > + AUTHMODULES_ORIG=authdaemon
    > + DEBUG_LOGIN=0
    > + IMAP_CAPABILITY=IMAP4rev1 UIDPLUS CHILDREN NAMESPACE 
    > THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE
    > + IMAP_KEYWORDS=1
    > + IMAP_CAPABILITY_ORIG=IMAP4rev1 UIDPLUS CHILDREN NAMESPACE 
    > THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 
    > AUTH=CRAM-SHA1 IDLE
    > + IMAP_IDLE_TIMEOUT=60
    > + IMAP_CAPABILITY_TLS=IMAP4rev1 UIDPLUS CHILDREN NAMESPACE 
    > THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE AUTH=PLAIN
    > + IMAP_CAPABILITY_TLS_ORIG=IMAP4rev1 UIDPLUS CHILDREN NAMESPACE 
    > THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 
    > AUTH=CRAM-SHA1 IDLE AUTH=PLAIN
    > + IMAP_DISABLETHREADSORT=0
    > + IMAP_CHECK_ALL_FOLDERS=0
    > + IMAP_OBSOLETE_CLIENT=0
    > + IMAP_ULIMITD=65536
    > + IMAP_USELOCKS=1
    > + IMAP_SHAREDINDEXFILE=/usr/local/etc/courier-imap/shared/index
    > + IMAP_ENHANCEDIDLE=0
    > + IMAP_TRASHFOLDERNAME=Trash
    > + IMAP_EMPTYTRASH=Trash:7
    > + IMAP_MOVE_EXPUNGE_TO_TRASH=0
    > + SENDMAIL=/usr/sbin/sendmail
    > + HEADERFROM=X-IMAP-Sender
    > + IMAPDSTART=YES
    > + MAILDIRPATH=Maildir
    > + . /usr/local/etc/courier-imap/imapd-ssl
    > + SSLPORT=993
    > + SSLADDRESS=0
    > + SSLPIDFILE=/var/run/imapd-ssl.pid
    > + IMAPDSSLSTART=NO
    > + IMAPDSTARTTLS=YES
    > + IMAP_TLS_REQUIRED=0
    > + COURIERTLS=/usr/local/bin/couriertls
    > + TLS_PROTOCOL=SSL3
    > + TLS_STARTTLS_PROTOCOL=TLS1
    > + TLS_CERTFILE=/usr/local/share/courier-imap/imapd.pem
    > + TLS_VERIFYPEER=NONE
    > + TLS_CACHEFILE=/usr/local/var/couriersslcache
    > + TLS_CACHESIZE=524288
    > + MAILDIRPATH=Maildir
    > + exit 0
    > 
    > 
    > 
    > 
    > On Thu, 24 Mar 2005, Brian Reichert wrote:
    > 
    > > On Thu, Mar 24, 2005 at 09:39:21AM +0000, Stephen Matlick wrote:
    > >> I am trying to set up Courier-IMAP now; I installed it, created
    > >> authmysqlrc, and have followed the instructions I have found 
    > on setting it
    > >> up from searches on the Net.  However, the app just won't 
    > start.  When I
    > >> run imapd.sh or impad-ssl.sh I get:
    > >>
    > >> /usr/local/bin .: Permission denied.
    > >
    > > That line looks like it tried to execute the directory itself.  Is
    > > it possible there's an error in a config file somewhere?  Sometimes,
    > > a config file needs an explicit trailing slash to convey things.
    > >
    > > On the startup script, try running 'sh -x <script>' to see what
    > > it's trying to do...
    > >
    > >
    > >> Any help is appreciated.
    > >> _______________________________________________
    > >> freebsd-isp@freebsd.org mailing list
    > >> http://lists.freebsd.org/mailman/listinfo/freebsd-isp
    > >> To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"
    > >
    > > -- 
    > > Brian Reichert				<reichert@numachi.com>
    > > 55 Crystal Ave. #286			Daytime number: 
    > (603) 434-6842
    > > Derry NH 03038-1725 USA			BSD admin/developer at large
    > > _______________________________________________
    > > freebsd-isp@freebsd.org mailing list
    > > http://lists.freebsd.org/mailman/listinfo/freebsd-isp
    > > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"
    > >
    > _______________________________________________
    > freebsd-isp@freebsd.org mailing list
    > http://lists.freebsd.org/mailman/listinfo/freebsd-isp
    > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"
    _______________________________________________
    freebsd-isp@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-isp
    To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"
    

  • Next message: Andrey Karyagin: "HP DL-360 and panic reboot"