On Mon, Nov 06, 2006 at 02:55:52AM -0700, Bruce Sass wrote: > [EMAIL PROTECTED]:~# EX4DEBUG=1 /etc/init.d/exim4 start > now debugging /etc/init.d/exim4 start > 2006-11-06 02:36:57 exim 4.63 daemon started: pid=13135, -q30m, listening for > SMTP on port 25 (IPv4) > [EMAIL PROTECTED]:~# ls -al /var/run/exim4 > total 5 > drwxr-x--- 2 Debian-exim Debian-exim 72 Nov 6 02:36 . > drwxr-xr-x 22 root root 1048 Nov 5 21:31 .. > -rw-r--r-- 1 root Debian-exim 6 Nov 6 02:36 exim.pid > [EMAIL PROTECTED]:~# cat /var/run/exim4/exim.pid > 13135
That looks good. Now, let's see the output of # EX4DEBUG=1 /etc/init.d/exim4 stop > [EMAIL PROTECTED]:~# su "-c cp /etc/exim4/exim4.conf.template /var/run/exim4" > Debian-exim > [EMAIL PROTECTED]:~# ls -al /var/run/exim4 > total 5 > drwxr-x--- 2 Debian-exim Debian-exim 72 Nov 6 02:36 . > drwxr-xr-x 22 root root 1048 Nov 5 21:31 .. > -rw-r--r-- 1 root Debian-exim 6 Nov 6 02:36 exim.pid You cannot su to Debian-exim since Debian-exim has /bin/false as shell. Try adding -s /bin/bash to the su call and move the -c out of the quotes. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]