[arch-general] postfix 3.0.0-3 in testing wont start
FYI After updating to this new version - there is an error: fatal: /usr/lib/postfix/postfix-script: No such file o Which is absolutely correct - that file does not exist. Downgrading back to 3.0.0-2 works around the issue. Gene
[2015-03-19 19:36:35 -0400] Genes Lists:
fatal: /usr/lib/postfix/postfix-script: No such file o
$ /usr/lib/postfix/bin/postfix-script This script must be run by the postfix command. Do not run directly. -- Gaetan
On 03/19/2015 07:51 PM, Gaetan Bisson wrote:
[2015-03-19 19:36:35 -0400] Genes Lists:
fatal: /usr/lib/postfix/postfix-script: No such file o
$ /usr/lib/postfix/bin/postfix-script This script must be run by the postfix command. Do not run directly.
Yah sorry i wasn't clear - that is the error I get when running systemctl start postfix I am not running anything by hand. The above error is revealed by journalctl -xe The problem seems to be that file does not exist: # ls -l /usr/lib/postfix/postfix-script ls: cannot access /usr/lib/postfix/postfix-script: No such file or directory Thanks gene
Genes Lists <lists@sapience.com> on Fri, 2015/03/20 10:13:
On 03/19/2015 07:51 PM, Gaetan Bisson wrote:
[2015-03-19 19:36:35 -0400] Genes Lists:
fatal: /usr/lib/postfix/postfix-script: No such file o
$ /usr/lib/postfix/bin/postfix-script This script must be run by the postfix command. Do not run directly.
Yah sorry i wasn't clear - that is the error I get when running systemctl start postfix
I am not running anything by hand.
The above error is revealed by journalctl -xe
The problem seems to be that file does not exist:
# ls -l /usr/lib/postfix/postfix-script ls: cannot access /usr/lib/postfix/postfix-script: No such file or directory
I did not yet install postfix from testing, so just a guess... Does it help to run systemctl daemon-reload to make systemd reload its unit files before restarting postfix? -- main(a){char*c=/* Schoene Gruesse */"B?IJj;MEH" "CX:;",b;for(a/* Chris get my mail address: */=0;b=c[a++];) putchar(b-1/(/* gcc -o sig sig.c && ./sig */b/42*2-3)*42);}
Just noticed this. The error complains about this missing file: /usr/lib/postfix/postfix-script the reason is it has the wrong path it should be /usr/lib/postfix/bin/postfix-script So where does postfix need to be fixed to get the correct path in? Thanks.
On a clean machine which had not been running postfix previously - i installed and started postfix with default configs without error. This suggested something changed in the configs which I missed somehow. Looking in configs it is clear that the variable daemon_directory has changed and needs to be updated on existing installs or postfix won't run (see below). Existing installs need to ensure to change it in main.cf to be: daemon_directory = /usr/lib/postfix/bin Default previously was without the '/bin' on the end. I do note that there are shared library files in /usr/lib/postfix but all executabled have been moved to the '/bin' subdir. Gene ========================= Supporting Information ================== ---------------- Machine with mail server installed ----------- # cd /etc/postfix # egrep 'postfix-script' * */* postfix-files:$daemon_directory/postfix-script:f:root:-:755 postfix-files:$config_directory/postfix-script:f:root:-:755:o postfix-files:$config_directory/postfix-script-sgid:f:root:-:755:o postfix-files:$config_directory/postfix-script-nosgid:f:root:-:755:o # postconf | egrep daemon_directory daemon_directory = /usr/lib/postfix ------------------ Fresh Install machine postconf | egrep daemon_direct daemon_directory = /usr/lib/postfix/bin ========================= End Supporting Information ==================
participants (3)
-
Christian Hesse
-
Gaetan Bisson
-
Genes Lists