List Info

Thread: Re: Upgraded to dbmail v2.2.4 killed mail server - Help!!!




Re: Upgraded to dbmail v2.2.4 killed mail server - Help!!!
country flaguser name
Netherlands
2007-03-13 12:06:44
On 13-mrt-2007, at 17:55, Stephen Loeckle wrote:

> The init script has not worked for me on deb etch using
the  
> packages when shutting down or restarting services in
versions  
> 2.2.3 and 2.2.4. After 2.2.4 I modified the script with
killalls  
> without the 9 to do a reasonably safe shutdown of the
services.
>
> Stephen

Could one of you (or both) send the output of "sh -x
/etc/init.d/ 
dbmail-<foo> <bar>"?

Leander


> Quoting Nathan Zabaldo <nzabaldogmail.com>:
>
>> It's back up and everything appears to be running
just fine.  That  
>> was the
>> most stressful 24 hours I have had in years.  In
the end all the  
>> problems
>> boiled down to not knowing to put the -9 after
killall.  Once  
>> imapd was gone
>> I could run dbmail-util -by.
>>
>> One strange thing though - when I run
/etc/init.d/dbmail restart  
>> on each
>> daemon it states "failed".  Can I no
longer use init.d dbmail to  
>> restart or
>> do was not replaced during the debian apt-get
install?
>>
>
>
>
------------------------------------------------------------
----
> This message was sent using IMP, the Internet Messaging
Program.
>
> _______________________________________________
> DBmail mailing list
> DBmaildbmail.org
> htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail

_______________________________________________
DBmail mailing list
DBmaildbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail

Re: Upgraded to dbmail v2.2.4 killed mail server - Help!!!
country flaguser name
United States
2007-03-13 12:21:05
Here ya go: Also is included a ps list of the dbmail
processes and their pids

rootneflheim:~# sh -x /etc/init.d/dbmail stop
+ PATH=/sbin:/bin:/usr/sbin:/usr/bin
+ IMAPD=/usr/sbin/dbmail-imapd
+ POP3D=/usr/sbin/dbmail-pop3d
+ LMTPD=/usr/sbin/dbmail-lmtpd
+ SIEVE=/usr/sbin/dbmail-timsieved
+ IMAPD_NAME=dbmail-imapd
+ POP3D_NAME=dbmail-pop3d
+ LMTPD_NAME=dbmail-lmtpd
+ SIEVE_NAME=dbmail-timsieved
+ NAME=dbmail
+ PID_DIR=/var/run/dbmail/
+ DESC='dbmail servers'
+ test -x /usr/sbin/dbmail-imapd
+ test -x /usr/sbin/dbmail-pop3d
+ test -x /usr/sbin/dbmail-lmtpd
+ set -e
+ . /lib/lsb/init-functions
++ FANCYTTY=
++ '[' -e /etc/lsb-base-logging.sh ']'
++ true
+ '[' -e /etc/default/dbmail ']'
+ . /etc/default/dbmail
++ START_POP3D=true
++ START_IMAPD=true
++ START_LMTPD=true
+ case "$1" in
+ log_daemon_msg 'Stopping dbmail servers'
+ '[' -z 'Stopping dbmail servers' ']'
+ '[' -z '' ']'
+ echo -n 'Stopping dbmail servers:'
Stopping dbmail servers:+ return
+ r=0
+ '[' true ']'
+ service_stop IMAPD
+ eval '_daemon=$IMAPD'
++ _daemon=/usr/sbin/dbmail-imapd
+ eval '_name=$IMAPD_NAME'
++ _name=dbmail-imapd
+ log_progress_msg dbmail-imapd
+ '[' -z dbmail-imapd ']'
+ echo -n ' dbmail-imapd'
  dbmail-imapd+ start-stop-daemon --stop --retry 10
--pidfile  
/var/run/dbmail//db                                         
           
             mail-imapd.pid
+ true
++ pidof dbmail-imapd
+ pids='14456 13802 13795 13793 13780 13779'
+ '[' -n '14456 13802 13795 13793 13780 13779' ']'
+ log_failure_msg failed
+ log_use_fancy_output
+ TPUT=/usr/bin/tput
+ EXPR=/usr/bin/expr
+ '[' xxterm '!=' xdumb ']'
+ '[' -x /usr/bin/tput ']'
+ '[' -x /usr/bin/expr ']'
+ /usr/bin/tput hpa 60
+ /usr/bin/tput setaf 1
+ '[' -z ']'
+ FANCYTTY=1
+ case "$FANCYTTY" in
+ true
++ /usr/bin/tput setaf 1
+ RED=''
++ /usr/bin/tput op
+ NORMAL=''
+ echo '* failed'
* failed
+ return 1
+ r=1
+ '[' true ']'
+ service_stop POP3D
+ eval '_daemon=$POP3D'
++ _daemon=/usr/sbin/dbmail-pop3d
+ eval '_name=$POP3D_NAME'
++ _name=dbmail-pop3d
+ log_progress_msg dbmail-pop3d
+ '[' -z dbmail-pop3d ']'
+ echo -n ' dbmail-pop3d'
  dbmail-pop3d+ start-stop-daemon --stop --retry 10
--pidfile  
/var/run/dbmail//db                                         
           
             mail-pop3d.pid
+ true
++ pidof dbmail-pop3d
+ pids='14435 13797 13794 13784 13783'
+ '[' -n '14435 13797 13794 13784 13783' ']'
+ log_failure_msg failed
+ log_use_fancy_output
+ TPUT=/usr/bin/tput
+ EXPR=/usr/bin/expr
+ '[' xxterm '!=' xdumb ']'
+ '[' -x /usr/bin/tput ']'
+ '[' -x /usr/bin/expr ']'
+ /usr/bin/tput hpa 60
+ /usr/bin/tput setaf 1
+ '[' -z 1 ']'
+ true
+ case "$FANCYTTY" in
+ true
++ /usr/bin/tput setaf 1
+ RED=''
++ /usr/bin/tput op
+ NORMAL=''
+ echo '* failed'
* failed
+ return 1
+ r=1
+ '[' true ']'
+ service_stop LMTPD
+ eval '_daemon=$LMTPD'
++ _daemon=/usr/sbin/dbmail-lmtpd
+ eval '_name=$LMTPD_NAME'
++ _name=dbmail-lmtpd
+ log_progress_msg dbmail-lmtpd
+ '[' -z dbmail-lmtpd ']'
+ echo -n ' dbmail-lmtpd'
  dbmail-lmtpd+ start-stop-daemon --stop --retry 10
--pidfile  
/var/run/dbmail//db                                         
           
             mail-lmtpd.pid
+ true
++ pidof dbmail-lmtpd
+ pids='13798 13796 13788 13787'
+ '[' -n '13798 13796 13788 13787' ']'
+ log_failure_msg failed
+ log_use_fancy_output
+ TPUT=/usr/bin/tput
+ EXPR=/usr/bin/expr
+ '[' xxterm '!=' xdumb ']'
+ '[' -x /usr/bin/tput ']'
+ '[' -x /usr/bin/expr ']'
+ /usr/bin/tput hpa 60
+ /usr/bin/tput setaf 1
+ '[' -z 1 ']'
+ true
+ case "$FANCYTTY" in
+ true
++ /usr/bin/tput setaf 1
+ RED=''
++ /usr/bin/tput op
+ NORMAL=''
+ echo '* failed'
* failed
+ return 1
+ r=1
+ '[' '' ']'
+ log_end_msg 1
+ '[' -z 1 ']'
+ log_use_fancy_output
+ TPUT=/usr/bin/tput
+ EXPR=/usr/bin/expr
+ '[' xxterm '!=' xdumb ']'
+ '[' -x /usr/bin/tput ']'
+ '[' -x /usr/bin/expr ']'
+ /usr/bin/tput hpa 60
+ /usr/bin/tput setaf 1
+ '[' -z 1 ']'
+ true
+ case "$FANCYTTY" in
+ true
++ /usr/bin/tput setaf 1
+ RED=''
++ /usr/bin/tput op
+ NORMAL=''
+ '[' 1 -eq 0 ']'
+ /bin/echo -e ' failed!'
  failed!
+ return 1

************************************************************
************

rootneflheim:~# ps -ef | grep dbmail
root     13779     1  0 Mar12 ?        00:00:00
/usr/sbin/dbmail-imapd
nobody   13780 13779  0 Mar12 ?        00:00:00
/usr/sbin/dbmail-imapd
root     13783     1  0 Mar12 ?        00:00:00
/usr/sbin/dbmail-pop3d
nobody   13784 13783  0 Mar12 ?        00:00:00
/usr/sbin/dbmail-pop3d
root     13787     1  0 Mar12 ?        00:00:00
/usr/sbin/dbmail-lmtpd
nobody   13788 13787  0 Mar12 ?        00:00:00
/usr/sbin/dbmail-lmtpd
nobody   13793 13780  0 Mar12 ?        00:00:00
/usr/sbin/dbmail-imapd
nobody   13794 13784  0 Mar12 ?        00:00:00
/usr/sbin/dbmail-pop3d
nobody   13795 13780  0 Mar12 ?        00:00:00
/usr/sbin/dbmail-imapd
nobody   13796 13788  0 Mar12 ?        00:00:00
/usr/sbin/dbmail-lmtpd
nobody   13797 13784  0 Mar12 ?        00:00:34
/usr/sbin/dbmail-pop3d
nobody   13798 13788  0 Mar12 ?        00:00:00
/usr/sbin/dbmail-lmtpd
nobody   13802 13780  0 Mar12 ?        00:00:00
/usr/sbin/dbmail-imapd
nobody   14435 13784  0 Mar12 ?        00:00:00
/usr/sbin/dbmail-pop3d
nobody   14456 13780  0 Mar12 ?        00:00:00
/usr/sbin/dbmail-imapd
root     20752 20673  0 12:19 pts/0    00:00:00 grep dbmail



------------------------------------------------------------
----
This message was sent using IMP, the Internet Messaging
Program.

_______________________________________________
DBmail mailing list
DBmaildbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail

Re: Upgraded to dbmail v2.2.4 killed mail server - Help!!!
user name
2007-03-13 12:36:27
On 3/13/07, Leander Koornneef < leanderkoornneef.net">leanderkoornneef.net> wrote:

>Could one of you (or both) send the output of "sh -x /etc/init.d/
dbmail-&lt;foo> <bar>;"?

 mail:/var/log/dbmail# sh -x /etc/init.d/dbmail stop
+ PATH=/sbin:/bin:/usr/sbin:/usr/bin
+ IMAPD=/usr/sbin/dbmail-imapd
+ POP3D=/usr/sbin/dbmail-pop3d
+ LMTPD=/usr/sbin/dbmail-lmtpd
+ SIEVE=/usr/sbin/dbmail-timsieved
+ IMAPD_NAME=dbmail-imapd
+ POP3D_NAME=dbmail-pop3d
+ LMTPD_NAME=dbmail-lmtpd
+ SIEVE_NAME=dbmail-timsieved
+ NAME=dbmail
+ PID_DIR=/var/run/dbmail/
+ DESC=dbmail servers
+ test -x /usr/sbin/dbmail-imapd
+ test -x /usr/sbin/dbmail-pop3d
+ test -x /usr/sbin/dbmail-lmtpd
+ set -e
+ . /lib/lsb/init-functions
++ '['; -e /etc/lsb-base-logging.sh ']';
++ true
+ '['; -e /etc/default/dbmail ']';
+ . /etc/default/dbmail
++ START_POP3D=true
++ START_IMAPD=true
++ START_LMTPD=true
+ log_daemon_msg 'Stopping dbmail servers9;
+ '['; -z 'Stopping dbmail servers9; ']';
+ '['; -z '' ']';
+ echo -n 'Stopping dbmail servers:&#39;
Stopping dbmail servers:+ return
+ r=0
+ '['; true ']';
+ service_stop IMAPD
+ eval '_daemon=$IMAPD&#39;
++ _daemon=/usr/sbin/dbmail-imapd
+ eval '_name=$IMAPD_NAME'
++ _name=dbmail-imapd
+ log_progress_msg dbmail-imapd
+ '['; -z dbmail-imapd ']';
+ echo -n ' dbmail-imapd'
&nbsp;dbmail-imapd+ start-stop-daemon --stop --retry 10 --pidfile /var/run/dbmail//dbmail-imapd.pid
+ true
++ pidof dbmail-imapd
+ pids=5965 5964 5963 5962 5961 5960 5958 5957 5955 5389 5386 5384 5383 5381 5370 5369
+ '['; -n '5965 5964 5963 5962 5961 5960 5958 5957 5955 5389 5386 5384 5383 5381 5370 5369' ']';
+ log_failure_msg failed
+ log_use_fancy_output
+ TPUT=/usr/bin/tput
+ EXPR=/usr/bin/expr
+ '['; FANCYTTY = 0 ']';
+ '['; xxterm '!=9; xdumb ']';
+ '['; -x /usr/bin/tput ']';
+ '['; -x /usr/bin/expr ']';
+ /usr/bin/tput hpa 60
+ /usr/bin/tput setaf 1
+ FANCYTTY=1
+ true
++ /usr/bin/tput setaf 1
+ RED=
++ /usr/bin/tput op
+ NORMAL=
+ echo '* failed';
* failed
+ return 1
+ r=1
+ '['; true ']';
+ service_stop POP3D
+ eval '_daemon=$POP3D&#39;
++ _daemon=/usr/sbin/dbmail-pop3d
+ eval '_name=$POP3D_NAME'
++ _name=dbmail-pop3d
+ log_progress_msg dbmail-pop3d
+ '['; -z dbmail-pop3d ']';
+ echo -n ' dbmail-pop3d'
&nbsp;dbmail-pop3d+ start-stop-daemon --stop --retry 10 --pidfile /var/run/dbmail//dbmail-pop3d.pid
+ true
++ pidof dbmail-pop3d
+ pids=1821 1498 1496 1494 1492 1491 1490 964
+ '['; -n '1821 1498 1496 1494 1492 1491 1490 964' ']';
+ log_failure_msg failed
+ log_use_fancy_output
+ TPUT=/usr/bin/tput
+ EXPR=/usr/bin/expr
+ '['; FANCYTTY = 0 ']';
+ '['; xxterm '!=9; xdumb ']';
+ '['; -x /usr/bin/tput ']';
+ '['; -x /usr/bin/expr ']';
+ /usr/bin/tput hpa 60
+ /usr/bin/tput setaf 1
+ FANCYTTY=1
+ true
++ /usr/bin/tput setaf 1
+ RED=
++ /usr/bin/tput op
+ NORMAL=
+ echo '* failed';
* failed
+ return 1
+ r=1
+ '['; true ']';
+ service_stop LMTPD
+ eval '_daemon=$LMTPD&#39;
++ _daemon=/usr/sbin/dbmail-lmtpd
+ eval '_name=$LMTPD_NAME'
++ _name=dbmail-lmtpd
+ log_progress_msg dbmail-lmtpd
+ '['; -z dbmail-lmtpd ']';
+ echo -n ' dbmail-lmtpd'
&nbsp;dbmail-lmtpd+ start-stop-daemon --stop --retry 10 --pidfile /var/run/dbmail//dbmail-lmtpd.pid
+ true
++ pidof dbmail-lmtpd
+ pids=7538 7535 7534 7525 7481 5396 5394 5392 5390 5385 5379 5378
+ '['; -n '7538 7535 7534 7525 7481 5396 5394 5392 5390 5385 5379 5378' ']';
+ log_failure_msg failed
+ log_use_fancy_output
+ TPUT=/usr/bin/tput
+ EXPR=/usr/bin/expr
+ '['; FANCYTTY = 0 ']';
+ '['; xxterm '!=9; xdumb ']';
+ '['; -x /usr/bin/tput ']';
+ '['; -x /usr/bin/expr ']';
+ /usr/bin/tput hpa 60
+ /usr/bin/tput setaf 1
+ FANCYTTY=1
+ true
++ /usr/bin/tput setaf 1
+ RED=
++ /usr/bin/tput op
+ NORMAL=
+ echo '* failed';
* failed
+ return 1
+ r=1
+ '['; '' ']';
+ log_end_msg 1
+ '['; -z 1 ']';
+ log_use_fancy_output
+ TPUT=/usr/bin/tput
+ EXPR=/usr/bin/expr
+ '['; FANCYTTY = 0 ']';
+ '['; xxterm '!=9; xdumb ']';
+ '['; -x /usr/bin/tput ']';
+ '['; -x /usr/bin/expr ']';
+ /usr/bin/tput hpa 60
+ /usr/bin/tput setaf 1
+ FANCYTTY=1
+ true
++ /usr/bin/tput setaf 1
+ RED=
++ /usr/bin/tput op
+ NORMAL=
+ '['; 1 -eq 0 ']';
+ /bin/echo -e ' failed!9;
 failed!
+ return 1
mail:/var/log/dbmail# dbmail start
-su: dbmail: command not found
mail:/var/log/dbmail# /etc/init.d/dbmail start
Starting dbmail servers: dbmail-imapd/usr/sbin/dbmail-imapd already running.
* failed
&nbsp;dbmail-pop3d/usr/sbin/dbmail-pop3d already running.
* failed
&nbsp;dbmail-lmtpd/usr/sbin/dbmail-lmtpd already running.
* failed
&nbsp;failed!
mail:/var/log/dbmail#



[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )