- David Ford david@blue-labs.org:
what does strace -s 1024 ... yield?
munmap(0xb73d9000, 528384) = 0 execve("/usr/dovecot-2/sbin/dovecot", ["/usr/dovecot-2/sbin/dovecot", "-F"], [/* 244 vars */]) = -1 E2BIG (Argument list too long) write(2, "doveconf: Fatal: execvp(/usr/dovecot-2/sbin/dovecot) failed: Argument list too long\n", 84doveconf: Fatal: execvp(/usr/dovecot-2/sbin/dovecot) failed: Argument list too long ) = 84 exit_group(89) = ?
According to the execve man page, E2BIG means:
E2BIG The total number of bytes in the environment (envp) and argument list (argv) is too large.
argv is not too large. So it must be the environment. # set |wc 52 66 1186
Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | http://www.charite.de