Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to solve this postfix check error?

708 views
Skip to first unread message

CN

unread,
Jan 2, 2006, 8:36:17 PM1/2/06
to
postfix check
/etc/postfix/postfix-script: line 240: 12320 Segmentation fault $SHELL $config_directory/post-install create-missing
postfix/postfix-script: warning: unable to create missing queue directories

Cordially, Chacko


Wietse Venema

unread,
Jan 2, 2006, 9:06:35 PM1/2/06
to
CN:

> postfix check
> /etc/postfix/postfix-script: line 240: 12320 Segmentation fault $SHELL $config_directory/post-install create-missing
> postfix/postfix-script: warning: unable to create missing queue directories

Your /bin/sh program (the expansion of $SHELL) appears to be broken.

Wietse

Grzegorz Kulewski

unread,
Jan 2, 2006, 9:24:41 PM1/2/06
to

This is just a guess so forgive if I am wrong but my friend had similar
very strange shell problems when he violated his shell (bash probably)
syntax in /etc/profile (or similar) when trying to set LANG or LC_ALL
environment variable.

Basically every single script and application in his system started to
behave in a strange way after that as soon as it attempted to re-read
shell configuration files or tried to execute some shell based script or
command. We spent 5 hours to debug this problem on a remote machine
several (hundreds?) kilometers away.

So check all recent modifications to files that could be read by your
shell on startup (especially look for values not quoted properly and
similar).


Hope this helps,

Grzegorz Kulewski

Wietse Venema

unread,
Jan 2, 2006, 10:53:52 PM1/2/06
to
Grzegorz Kulewski:

I'd definitely be interested if this is the problem.

Postfix has export_environment and import_environment parameters
that limit what gets imported or exported. Hopefully that reduces
the opportunities for trouble.

As of recent 2.3 snapshots, Postfix will set LANG=C, instead of
deleting LANG from the environment and hoping for the best. But
there are a few like TZ that will be propagated, and that can
cause trouble.

Wietse

Devdas Bhagat

unread,
Jan 4, 2006, 10:58:05 AM1/4/06
to

What shell is this?

Devdas Bhagat

0 new messages