[Postfixbuch-users] [OT] postgrey startet nicht (mehr) als Deamon

Andreas Meyer anmeyer at anup.de
Fr Sep 13 22:38:28 CEST 2013


Gregor Burck <gregor at aeppelbroe.de> wrote:

> Am Freitag, 13. September 2013, 17:01:10 schrieb Ralf Hildebrandt:
> 
> > bash -x /etc/init.d/postgrey start:
> Starting postfix greylisting daemon: postgrey.
> + set -e
> + PATH=/sbin:/bin:/usr/sbin:/usr/bin
> + DAEMON=/usr/sbin/postgrey
> + NAME=postgrey
> + DESC='postfix greylisting daemon'
> + PIDFILE=/var/run/postgrey.pid
> + SCRIPTNAME=/etc/init.d/postgrey
> + test -x /usr/sbin/postgrey
> + . /lib/lsb/init-functions
> +++ run-parts --lsbsysinit --list /lib/lsb/init-functions.d
> ++ for hook in '$(run-parts --lsbsysinit --list /lib/lsb/init-functions.d 
> 2>/dev/null)'
> ++ '[' -r /lib/lsb/init-functions.d/20-left-info-blocks ']'
> ++ . /lib/lsb/init-functions.d/20-left-info-blocks
> ++ FANCYTTY=
> ++ '[' -e /etc/lsb-base-logging.sh ']'
> ++ true
> + '[' -r /etc/default/postgrey ']'
> + . /etc/default/postgrey
> ++ POSTGREY_OPTS='-v --inet 127.0.0.1:10023'
> + POSTGREY_OPTS='--pidfile=/var/run/postgrey.pid --daemonize -v --inet 
> 127.0.0.1:10023'
> + '[' -z '' ']'
> + POSTGREY_TEXT_OPT=
> + ret=0
> + case "$1" in
> + log_daemon_msg 'Starting postfix greylisting daemon' postgrey
> + '[' -z 'Starting postfix greylisting daemon' ']'
> + log_daemon_msg_pre 'Starting postfix greylisting daemon' postgrey
> + log_use_fancy_output
> + TPUT=/usr/bin/tput
> + EXPR=/usr/bin/expr
> + '[' -t 1 ']'
> + '[' xxterm '!=' x ']'
> + '[' 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
> + echo -n '[....] '
> + '[' -z postgrey ']'
> + echo -n 'Starting postfix greylisting daemon: postgrey'
> + log_daemon_msg_post 'Starting postfix greylisting daemon' postgrey
> + :
> + start-stop-daemon --start --oknodo --quiet --pidfile /var/run/postgrey.pid --
> name postgrey --startas /usr/sbin/postgrey -- --pidfile=/var/run/postgrey.pid 
> --daemonize -v --inet 127.0.0.1:10023 ''
> + log_end_msg 0
> + '[' -z 0 ']'
> + local retval
> + retval=0
> + log_end_msg_pre 0
> + log_use_fancy_output
> + TPUT=/usr/bin/tput
> + EXPR=/usr/bin/expr
> + '[' -t 1 ']'
> + '[' xxterm '!=' x ']'
> + '[' 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 setaf 2
> + GREEN=''
> ++ /usr/bin/tput setaf 3
> + YELLOW=''
> ++ /usr/bin/tput op
> + NORMAL=''
> + /usr/bin/tput civis
> + /usr/bin/tput sc
> + /usr/bin/tput hpa 0
> + '[' 0 -eq 0 ']'
> + /bin/echo -ne '[ ok '
> + /usr/bin/tput rc
> + /usr/bin/tput cnorm
> + log_use_fancy_output
> + TPUT=/usr/bin/tput
> + EXPR=/usr/bin/expr
> + '[' -t 1 ']'
> + '[' xxterm '!=' x ']'
> + '[' 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 setaf 3
> + YELLOW=''
> ++ /usr/bin/tput op
> + NORMAL=''
> + '[' 0 -eq 0 ']'
> + echo .
> + log_end_msg_post 0
> + :
> + return 0
> + exit 0
> 
> Das Startscript ist übrigens natürlich das aktuelle,

Und, was sagt ps aux |grep postgrey?

> Gregor

  Andreas 




Mehr Informationen über die Mailingliste Postfixbuch-users