Re: execvp failure but command seems to be there
No. Thanks. It was a long-leftover 32-bit binary in the wrong place. Sent from my iPhone > On Mar 29, 2022, at 4:23 AM, Wietse Venema wrote: > > Wietse
Re: execvp failure but command seems to be there
Roger Klorese: > CentOS 7.9 with SELinux off. > > Log shows: > > Mar 28 11:29:16 divine postfix/pipe[2685]: 21FE73000171E: > to=, relay=sympa, > delay=599, delays=599/0.06/0/0.04, dsn=4.3.0, status=deferred (temporary > failure. Command output: pipe: fatal: pipe_command: execvp > /var/sympa/bin/queue: No such file or directory ) Is the chroot feature enabled in master.cf? Wietse
Re: execvp failure but command seems to be there
On Mon, Mar 28, 2022 at 11:38:12AM -0700, Roger Klorese wrote: > CentOS 7.9 with SELinux off. Are you sure about that? > Mar 28 11:29:16 divine postfix/pipe[2685]: 21FE73000171E: > to=, relay=sympa, > delay=599, delays=599/0.06/0/0.04, dsn=4.3.0, status=deferred (temporary > failure. Command output: pipe: fatal: pipe_command: execvp > /var/sympa/bin/queue: No such file or directory ) > > [...] > [root@divine ~]# ls -ld /var/sympa/bin/queue > -rwxr-xr-x. 1 sympa sympa 12963 Sep 12 2014 /var/sympa/bin/queue Those "." characters after the "x" in the permission bits suggest some sort of additional access policy. Have you tried accessing the file as a user other than root? > /var/sympa/bin/queue: ELF 32-bit LSB executable, Intel 80386, version 1 > (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not > stripped Also, are you actually still using a 32-bit system? Perhaps the "no such file" refers to a missing "ELF interpreter" (ld.so) for 32-bit executables? -- Viktor.
execvp failure but command seems to be there
CentOS 7.9 with SELinux off. Log shows: Mar 28 11:29:16 divine postfix/pipe[2685]: 21FE73000171E: to=, relay=sympa, delay=599, delays=599/0.06/0/0.04, dsn=4.3.0, status=deferred (temporary failure. Command output: pipe: fatal: pipe_command: execvp /var/sympa/bin/queue: No such file or directory ) [root@divine ~]# ls -ld /var drwxr-xr-x 23 root root 320 Mar 28 00:19 /var [root@divine ~]# ls -ld /var/sympa drwxr-x--x. 14 sympa sympa 4096 Mar 26 14:45 /var/sympa [root@divine ~]# ls -ld /var/sympa/bin drwxr-xr-x. 5 sympa sympa 4096 Feb 8 2016 /var/sympa/bin [root@divine ~]# ls -ld /var/sympa/bin/queue -rwxr-xr-x. 1 sympa sympa 12963 Sep 12 2014 /var/sympa/bin/queue [root@divine ~]# file !$ file /var/sympa/bin/queue /var/sympa/bin/queue: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped aliases: hosting.onlinepolicy.net-list-owners-announce: "| /home/sympa/bin/queue list-owners-annou...@hosting.onlinepolicy.net"