These are the permissions i have for envdir and env directory . [EMAIL PROTECTED] ~]# ls -l admin/daemontools/command/ total 208 -rwxr-xr-x 1 root root 15472 May 7 12:48 envdir -rwxr-xr-x 1 root root 12016 May 7 12:48 envuidgid -rwxr-xr-x 1 root root 11404 May 7 12:48 fghack -rwxr-xr-x 1 root root 22464 May 7 12:48 multilog -rwxr-xr-x 1 root root 10988 May 7 12:48 pgrphack -rwxr-xr-x 1 root root 3252 May 7 12:48 readproctitle -rwxr-xr-x 1 root root 11972 May 7 12:48 setlock -rwxr-xr-x 1 root root 11116 May 7 12:48 setuidgid -rwxr-xr-x 1 root root 15280 May 7 12:48 softlimit -rwxr-xr-x 1 root root 15736 May 7 12:48 supervise -rwxr-xr-x 1 root root 10948 May 7 12:48 svc -rwxr-xr-x 1 root root 8572 May 7 12:48 svok -rwxr-xr-x 1 root root 15304 May 7 12:48 svscan -r-xr-xr-x 1 root root 740 May 7 12:48 svscanboot -rwxr-xr-x 1 root root 10836 May 7 12:48 svstat -rwxr-xr-x 1 root root 6552 May 7 12:48 tai64n -rwxr-xr-x 1 root root 6588 May 7 12:48 tai64nlocal these are the permissions i have for "envdir" and my /var/qmail/service/smtpd/run file is #!/bin/sh exec 2>&1 \ envdir ./env \ sh -c ' case "$REMOTENAME" in h) H=;; p) H=p;; *) H=H;; esac case "$REMOTEINFO" in r) R=;; [0-9]*) R="t$REMOTEINFO";; *) R=R;; esac exec \ envuidgid qmaild \ softlimit ${DATALIMIT+"-d$DATALIMIT"} \ /usr/local/bin/tcpserver \ -vDU"$H$R" \ ${LOCALNAME+"-l$LOCALNAME"} \ ${BACKLOG+"-b$BACKLOG"} \ ${CONCURRENCY+"-c$CONCURRENCY"} \ -xtcp.cdb \ -- "${IP-0}" "${PORT-25}" \ /var/qmail/bin/qmail-smtpd
permissions for /var [EMAIL PROTECTED] ~]# ls -l /var/qmail/service/smtpd/ total 24 -rwxr-xr-x 1 root root 164 May 7 13:14 add-relayclient drwxr-sr-x 2 root root 4096 May 7 13:14 env drwxr-sr-x 5 root root 4096 May 7 13:14 log -rw-r--r-- 1 root root 75 May 7 13:14 Makefile -rwxr-xr-x 1 root root 468 May 7 13:14 run drwx--S--- 2 root root 4096 May 7 13:14 supervise -rw-r--r-- 1 root root 0 May 7 13:14 tcp and [EMAIL PROTECTED] ~]# ls -l /var/qmail/service/smtpd/env/ total 16 -rw-r--r-- 1 root root 0 May 7 13:14 BACKLOG -rw-r--r-- 1 root root 0 May 7 13:14 CONCURRENCY -rw-r--r-- 1 root root 7 May 7 13:14 DATALIMIT -rw-r--r-- 1 root root 2 May 7 13:14 IP -rw-r--r-- 1 root root 10 May 7 13:14 LOCALNAME -rw-r--r-- 1 root root 3 May 7 13:14 PORT -rw-r--r-- 1 root root 0 May 7 13:14 REMOTEINFO -rw-r--r-- 1 root root 0 May 7 13:14 REMOTENAME and the error is root 4534 0.0 0.0 1408 264 ? S 12:48 0:00 readproctitle service errors: ...dir: access denied?setuidgid: fatal: unable to run envdir: access denied?setuidgid: fatal: unable to run envdir: access denied?setuidgid: fatal: unable to run envdir: access denied?setuidgid: fatal: unable to run envdir: access denied?setuidgid: fatal: unable to run envdir: access denied?setuidgid: fatal: unable to run envdir: access denied?setuidgid: fatal: unable to run envdir: access denied? what can the problem Claudio Jeker <[EMAIL PROTECTED]> wrote: On Sun, May 06, 2007 at 10:52:57PM -0700, amandeep singh wrote: > Hello everyone, > I have installed Qmail-ldap server using > http://www.qmail-ldap.org/wiki/Installation_Guide#Qmail_Basic_Installation > guide. > I m getting an error when i do "ps -aux" i.e. > > "readproctitle service errors: ...dir: access denied?setuidgid: fatal: unable > to run envdir: access denied." > > what does it mean,and i m not able to see any logs > setuidgid: fatal: unable to run envdir: access denied I think the error message is pretty clear. setuidgid tries to run envdir which fails because the access was denied. Check your installation of daemontools, especially the rights of envdir. -- :wq Claudio If you don't like my opinion of you - improve yourself! AMAN --------------------------------- Ahhh...imagining that irresistible "new car" smell? Check outnew cars at Yahoo! Autos.