[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: broken upgrade of postfix_2.3.7-3



On Wed, Mar 21, 2007 at 08:17:06 -0400, Carl Fink wrote:
> Pardon the thread hijack, but for several versions now the postinst script
> hasn't been able to start Postfix on my box.  I get
> 
> 
> Stopping Postfix Mail Transport Agent: postfixpostfix/postfix-script: fatal:
> usage: postfix start (or stop, reload, abort, flush, check, set-permissions,
> upgrade-configuration)
>  failed!
> invoke-rc.d: initscript postfix, action "restart" failed.
> dpkg: error processing postfix (--configure):
>  subprocess post-installation script returned error exit status 1
> 
> 
> Since dpkg doesn't know that Postfix is installed, mutt then can't complete
> its installation.
> 
> Is anyone else seeing this?

Which version of postfix (and Debian, for that matter) are we talking
about?

If you want to investigate this further yourself then you can modify

/etc/init.d/postfix

and

/var/lib/dpkg/info/postfix.postinst

so that you will see more details of what is happening. To achieve this
you have to add the "x" option to the first line of each script, like
this:

#!/bin/sh -ex

Then you can run "dpkg --configure postfix" again and the scripts should
echo all executed commands to the terminal. Maybe that will give us a
clue where things go wrong. You can also try to run

/etc/init.d/postfix stop
/etc/init.d/postfix start
/etc/init.d/postfix restart

directly.

-- 
Regards,
          Florian



Reply to: