Re: [gentoo-user] courier-imap won't start

2006-04-02 Thread Bo Andresen
On Sunday 02 April 2006 05:15, JimD wrote:
 I have it up and running with no issues.  Maybe try to go through the
 HOWTO again?  What I usually do is look at the startup script and try
 to make a test script to get it running.  Here is an example for
 starting courier-imap.  Just copy it to a file and try to execute it as
 root:

 #!/bin/bash

 ADDRESS=0
 MAXDAEMONS=10
 MAXPERIP=10
 PIDFILE=/var/run/imapd.pid
 TCPDOPTS=-nodnslookup -noidentlookup
 PORT=143
 MAILDIR=.maildir
 exec_prefix=/usr

 /usr/lib/courier-imap/couriertcpd -address=$ADDRESS \
   -stderrlogger=/usr/lib/courier-imap/courierlogger \
   -stderrloggername=imapd \
   -maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP \
   -pid=$PIDFILE $TCPDOPTS \
   $PORT ${exec_prefix}/sbin/imaplogin \
   /usr/lib/courier-imap/courier-imapd.indirect ${MAILDIR}

This script does start it up successfully. Still the initscript doesn't. I 
have tested that all the variables are set to the same things in the 
initscript simply by printing them with echo and they are.

/usr/lib/courier-imap/courier-imapd.indirect doesn't exist btw...

I trying to use version 4.0.1
 # eix courier -I -c
[I] net-libs/courier-authlib (0.58): courier authentication library
[I] net-mail/courier-imap (4.0.1): An IMAP daemon designed specifically for 
maildirs

-- 
Bo Andresen
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] courier-imap won't start

2006-04-02 Thread Jim
On Sun, 2006-04-02 at 15:05 +0200, Bo Andresen wrote:

 This script does start it up successfully. Still the initscript doesn't. I 
 have tested that all the variables are set to the same things in the 
 initscript simply by printing them with echo and they are.
 
 /usr/lib/courier-imap/courier-imapd.indirect doesn't exist btw...
 
 I trying to use version 4.0.1
  # eix courier -I -c
 [I] net-libs/courier-authlib (0.58): courier authentication library
 [I] net-mail/courier-imap (4.0.1): An IMAP daemon designed specifically for 
 maildirs

I am using:

[EMAIL PROTECTED] eix -I -c courier
[I] net-libs/courier-authlib (0.58): courier authentication library
[I] net-mail/courier-imap (4.0.4): An IMAP daemon designed specifically
for maildirs

[EMAIL PROTECTED] equery belongs /usr/lib/courier-imap/courier-imapd.indirect
[ Searching for file(s) /usr/lib/courier-imap/courier-imapd.indirect in
*... ]
net-mail/courier-imap-4.0.4
(/usr/lib/courier-imap/courier-imapd.indirect)

Maybe try the newer version with the newer ebuild or just make your own
startup script?

Jim
-- 

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] courier-imap won't start

2006-04-01 Thread Bo Andresen
I have followed http://www.gentoo.org/doc/en/virt-mail-howto.xml#doc_chap3 
till chapter 3. But when I get to code listing 3.3 i.e.:

# /etc/init.d/courier-imapd start
# /etc/init.d/courier-imapd-ssl start
# /etc/init.d/courier-pop3d start
# /etc/init.d/courier-pop3d-ssl start

the daemons all fail to start. There are no error messages of any kind. 
Nothing written to dmesg and I don't have a clue about how to figure out a 
reason for this. I also don't have a clue about what info might be relevant 
so please ask for it.

Postfix does work like a charm and the certificates has been successfully 
created. Only the imap and pop3 daemons won't start.

# /etc/init.d/courier-imapd start
 * Starting courier-authlib: authdaemond ...[ ok ]
 * Starting courier-imapd ...   [ !! ]
 # /etc/init.d/courier-pop3d start
 * Starting courier-pop3d ...   [ !! ]

-- 
Bo Andresen
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] courier-imap won't start

2006-04-01 Thread JimD
On Sun, 2 Apr 2006 02:50:29 +0200
Bo Andresen [EMAIL PROTECTED] wrote:

 I have followed
 http://www.gentoo.org/doc/en/virt-mail-howto.xml#doc_chap3 till
 chapter 3. But when I get to code listing 3.3 i.e.:
 
 # /etc/init.d/courier-imapd start
 # /etc/init.d/courier-imapd-ssl start
 # /etc/init.d/courier-pop3d start
 # /etc/init.d/courier-pop3d-ssl start
 
 the daemons all fail to start. There are no error messages of any
 kind. Nothing written to dmesg and I don't have a clue about how to
 figure out a reason for this. I also don't have a clue about what
 info might be relevant so please ask for it.
 
 Postfix does work like a charm and the certificates has been
 successfully created. Only the imap and pop3 daemons won't start.
 
 # /etc/init.d/courier-imapd start
  * Starting courier-authlib:
 authdaemond ...[ ok ]
  * Starting
 courier-imapd ...   [ !! ]
 # /etc/init.d/courier-pop3d start
  * Starting
 courier-pop3d ...   [ !! ]
 

I have it up and running with no issues.  Maybe try to go through the
HOWTO again?  What I usually do is look at the startup script and try
to make a test script to get it running.  Here is an example for
starting courier-imap.  Just copy it to a file and try to execute it as
root:


#!/bin/bash

ADDRESS=0
MAXDAEMONS=10
MAXPERIP=10
PIDFILE=/var/run/imapd.pid
TCPDOPTS=-nodnslookup -noidentlookup
PORT=143
MAILDIR=.maildir
exec_prefix=/usr

/usr/lib/courier-imap/couriertcpd -address=$ADDRESS \
-stderrlogger=/usr/lib/courier-imap/courierlogger \
-stderrloggername=imapd \
-maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP \
-pid=$PIDFILE $TCPDOPTS \
$PORT ${exec_prefix}/sbin/imaplogin \
/usr/lib/courier-imap/courier-imapd.indirect ${MAILDIR}

Jim
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I'm a geek, but I don't get it. 36-24-36 = -24. What's the significance?
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Florida, USA, Earth, Solar System, Milky Way
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Courier-imap won't start after system world rebuild

2005-12-24 Thread John J. Foster
On Fri, Dec 23, 2005 at 09:43:12PM -0500, Dan Meltzer wrote:
 On Friday 23 December 2005 19:38, John J. Foster wrote:
 
  What is the correct syntax for starting manually? What should I be
  looking for?
 
 I've never used courier/imap, but if you look in the init file 
 (in /etc/init.d/ ) in the start() function, you should see the command it 
 runs.  Try running that on the command line

//garbanzo/root # start-stop-daemon --quiet --start \
  --exec /usr/bin/env \
  - /usr/lib/courier-imap/gentoo-imapd-ssl.rc

produces no visible errors, but still can't connect to maildirs.

Thanks,
John


pgpF7Fyyv8vNv.pgp
Description: PGP signature


Re: [gentoo-user] Courier-imap won't start after system world rebuild

2005-12-24 Thread Christoph Gysin

John J. Foster wrote:


//garbanzo/root # start-stop-daemon --quiet --start \
 --exec /usr/bin/env \
 - /usr/lib/courier-imap/gentoo-imapd-ssl.rc

produces no visible errors, but still can't connect to maildirs.


Just run:

/usr/lib/courier-imap/gentoo-imapd-ssl.rc


Christoph
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Courier-imap won't start after system world rebuild

2005-12-24 Thread John J. Foster
On Sat, Dec 24, 2005 at 03:06:03PM +0100, Christoph Gysin wrote:
 
 Just run:
 
 /usr/lib/courier-imap/gentoo-imapd-ssl.rc
 
//garbanzo/root # /usr/lib/courier-imap/gentoo-imapd-ssl.rc
   gives the following 2 new processes, but no connection still.
//garbanzo/root # ps aux|grep courier-imap
root  1159  0.0  0.0   1548   540 ?S09:17   0:00 \
/usr/lib/courier-imap/couriertcpd -address=0 \
-stderrlogger=/usr/lib/courier-imap/courierlogger \
-stderrloggername=imapd-ssl -maxprocs=40 -maxperip=4 \
-pid=/var/run/imapd-ssl.pid -nodnslookup -noidentlookup 993 \
/usr/sbin/couriertls -server -tcpd /usr/sbin/imaplogin \
/usr/sbin/courier-imapd Maildir/
root  1164  0.0  0.0   1452   456 ?S09:17   0:00 \
/usr/lib/courier-imap/courierlogger imapd-ssl

John


pgpSLxJmFeLcq.pgp
Description: PGP signature


SOLVED - Re: [gentoo-user] Courier-imap won't start after system world rebuild

2005-12-24 Thread John J. Foster
On Fri, Dec 23, 2005 at 06:22:23PM -0500, John J. Foster wrote:
 Good evening all,
 
 3 days ago I rebuilt my system to use gcc-3.4.4-r1. I first used
 gcc-config to change to the new compiler, and then ran emerge -aev system,
 followed by emerge -aev world. All went extremely well, I thought. Today
 I noticed that courier-imap has failed to start. (The only reason I knew 
 was because my wife uses this box to store her sent mail for backup 
 purposes, and wwas getting connection errors) Trying to start it manually 
 yields:
 
 //garbanzo/root #  /etc/init.d/courier-imapd-ssl start
  * Starting courier-imapd over SSL ...  * [ !! ]
 
 No log entries are generated that I can find. I compared config files in
 /etc/courier and /etc/courier-imap with archived copies. They're the
 same.
 
 The following packages have been emerged since upgrading.
 
  Wed Dec 21 18:33:07 2005  dev-util/xdelta-1.1.3
  Wed Dec 21 21:18:44 2005  sys-process/lsof-4.75
  Thu Dec 22 14:02:01 2005  app-admin/showconsole-1.07
  Thu Dec 22 14:05:38 2005  sys-apps/baselayout-1.12.0_pre12
  Fri Dec 23 09:03:30 2005  sys-apps/findutils-4.1.20-r2
  Fri Dec 23 09:21:37 2005  net-mail/courier-imap-4.0.1
 
 I'm not sure whether courier-imap started after the upgrade, or one of 
 these have caused my problems.

Turns out it was the update of baselayout to ~x86. I went back to the 
stable version (boy, I don't think I'd do that again, cause
downgrading sure screwed a bunch of other things up) and sure enough,
courier-imap worked properly. Instead of fixing the other things that
broke with the downgrade, I just updated baselayout to ~x86 again, and
then emerged the latest ~x86 version of courier-imap, and all is still
well.

Thanks for you help,
John


pgp59k6GdAyWn.pgp
Description: PGP signature


[gentoo-user] Courier-imap won't start after system world rebuild

2005-12-23 Thread John J. Foster
Good evening all,

3 days ago I rebuilt my system to use gcc-3.4.4-r1. I first used
gcc-config to change to the new compiler, and then ran emerge -aev system,
followed by emerge -aev world. All went extremely well, I thought. Today
I noticed that courier-imap has failed to start. (The only reason I knew 
was because my wife uses this box to store her sent mail for backup 
purposes, and wwas getting connection errors) Trying to start it manually 
yields:

//garbanzo/root #  /etc/init.d/courier-imapd-ssl start
 * Starting courier-imapd over SSL ...  * [ !! ]

No log entries are generated that I can find. I compared config files in
/etc/courier and /etc/courier-imap with archived copies. They're the
same.

The following packages have been emerged since upgrading.

 Wed Dec 21 18:33:07 2005  dev-util/xdelta-1.1.3
 Wed Dec 21 21:18:44 2005  sys-process/lsof-4.75
 Thu Dec 22 14:02:01 2005  app-admin/showconsole-1.07
 Thu Dec 22 14:05:38 2005  sys-apps/baselayout-1.12.0_pre12
 Fri Dec 23 09:03:30 2005  sys-apps/findutils-4.1.20-r2
 Fri Dec 23 09:21:37 2005  net-mail/courier-imap-4.0.1

I'm not sure whether courier-imap started after the upgrade, or one of 
these have caused my problems.

Does anyone have any ideas?

Thanks,
John
 


 


pgpee3oHu3V2c.pgp
Description: PGP signature


Re: [gentoo-user] Courier-imap won't start after system world rebuild

2005-12-23 Thread Dan Meltzer
On Friday 23 December 2005 18:22, John J. Foster wrote:
 Good evening all,

 3 days ago I rebuilt my system to use gcc-3.4.4-r1. I first used
 gcc-config to change to the new compiler, and then ran emerge -aev system,
 followed by emerge -aev world. All went extremely well, I thought. Today
 I noticed that courier-imap has failed to start. (The only reason I knew
 was because my wife uses this box to store her sent mail for backup
 purposes, and wwas getting connection errors) Trying to start it manually
 yields:

 //garbanzo/root #  /etc/init.d/courier-imapd-ssl start
  * Starting courier-imapd over SSL ...  * [ !! ]

 No log entries are generated that I can find. I compared config files in
 /etc/courier and /etc/courier-imap with archived copies. They're the
 same.

 The following packages have been emerged since upgrading.

  Wed Dec 21 18:33:07 2005  dev-util/xdelta-1.1.3
  Wed Dec 21 21:18:44 2005  sys-process/lsof-4.75
  Thu Dec 22 14:02:01 2005  app-admin/showconsole-1.07
  Thu Dec 22 14:05:38 2005  sys-apps/baselayout-1.12.0_pre12
  Fri Dec 23 09:03:30 2005  sys-apps/findutils-4.1.20-r2
  Fri Dec 23 09:21:37 2005  net-mail/courier-imap-4.0.1

 I'm not sure whether courier-imap started after the upgrade, or one of
 these have caused my problems.

 Does anyone have any ideas?
Try a revdep-rebuild, you may be missing a dependancy.

If this fails, try starting courier-imap manually, instead of via the 
initscript.

 Thanks,
 John
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Courier-imap won't start after system world rebuild

2005-12-23 Thread John J. Foster
On Fri, Dec 23, 2005 at 06:43:40PM -0500, Dan Meltzer wrote:
 On Friday 23 December 2005 18:22, John J. Foster wrote:
  Good evening all,
 
  3 days ago I rebuilt my system to use gcc-3.4.4-r1. I first used
  gcc-config to change to the new compiler, and then ran emerge -aev system,
  followed by emerge -aev world. All went extremely well, I thought. Today
  I noticed that courier-imap has failed to start. (The only reason I knew
  was because my wife uses this box to store her sent mail for backup
  purposes, and wwas getting connection errors) Trying to start it manually
  yields:
 
  //garbanzo/root #  /etc/init.d/courier-imapd-ssl start
   * Starting courier-imapd over SSL ...  * [ !! ]
 
  No log entries are generated that I can find. I compared config files in
  /etc/courier and /etc/courier-imap with archived copies. They're the
  same.
 
  The following packages have been emerged since upgrading.
 
   Wed Dec 21 18:33:07 2005  dev-util/xdelta-1.1.3
   Wed Dec 21 21:18:44 2005  sys-process/lsof-4.75
   Thu Dec 22 14:02:01 2005  app-admin/showconsole-1.07
   Thu Dec 22 14:05:38 2005  sys-apps/baselayout-1.12.0_pre12
   Fri Dec 23 09:03:30 2005  sys-apps/findutils-4.1.20-r2
   Fri Dec 23 09:21:37 2005  net-mail/courier-imap-4.0.1
 
  I'm not sure whether courier-imap started after the upgrade, or one of
  these have caused my problems.
 
  Does anyone have any ideas?
 Try a revdep-rebuild, you may be missing a dependancy.
 
 If this fails, try starting courier-imap manually, instead of via the 
 initscript.

Sorry, I should have stated that I've already done a depclean and
revdep-rebuild.

What is the correct syntax for starting manually? What should I be
looking for?

Thanks,
John


pgpWcNQzXv8SJ.pgp
Description: PGP signature


Re: [gentoo-user] Courier-imap won't start after system world rebuild

2005-12-23 Thread Dan Meltzer
On Friday 23 December 2005 19:38, John J. Foster wrote:
 On Fri, Dec 23, 2005 at 06:43:40PM -0500, Dan Meltzer wrote:
  On Friday 23 December 2005 18:22, John J. Foster wrote:
   Good evening all,
  
   3 days ago I rebuilt my system to use gcc-3.4.4-r1. I first used
   gcc-config to change to the new compiler, and then ran emerge -aev
   system, followed by emerge -aev world. All went extremely well, I
   thought. Today I noticed that courier-imap has failed to start. (The
   only reason I knew was because my wife uses this box to store her sent
   mail for backup purposes, and wwas getting connection errors) Trying to
   start it manually yields:
  
   //garbanzo/root #  /etc/init.d/courier-imapd-ssl start
* Starting courier-imapd over SSL ...  * [ !! ]
  
   No log entries are generated that I can find. I compared config files
   in /etc/courier and /etc/courier-imap with archived copies. They're the
   same.
  
   The following packages have been emerged since upgrading.
  
Wed Dec 21 18:33:07 2005  dev-util/xdelta-1.1.3
Wed Dec 21 21:18:44 2005  sys-process/lsof-4.75
Thu Dec 22 14:02:01 2005  app-admin/showconsole-1.07
Thu Dec 22 14:05:38 2005  sys-apps/baselayout-1.12.0_pre12
Fri Dec 23 09:03:30 2005  sys-apps/findutils-4.1.20-r2
Fri Dec 23 09:21:37 2005  net-mail/courier-imap-4.0.1
  
   I'm not sure whether courier-imap started after the upgrade, or one of
   these have caused my problems.
  
   Does anyone have any ideas?
 
  Try a revdep-rebuild, you may be missing a dependancy.
 
  If this fails, try starting courier-imap manually, instead of via the
  initscript.

 Sorry, I should have stated that I've already done a depclean and
 revdep-rebuild.

 What is the correct syntax for starting manually? What should I be
 looking for?

I've never used courier/imap, but if you look in the init file 
(in /etc/init.d/ ) in the start() function, you should see the command it 
runs.  Try running that on the command line

 Thanks,
 John
-- 
gentoo-user@gentoo.org mailing list