Re: How to solve this postfix check error?

From: Wietse Venema (no email)
Date: Mon Jan 02 2006 - 22:53:52 EST

  • Next message: Kev: "performance"

    Grzegorz Kulewski:
    > On Mon, 2 Jan 2006, Wietse Venema wrote:
    >
    > > 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.
    >
    > 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,

    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


  • Next message: Kev: "performance"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD