Keith Edwards <[EMAIL PROTECTED]> wrote:
> 
> When our SUN box  reboots pop3d does not start.
[...] 
> In /nohup.out is the line
> 'env: No such file or directory'
> caused by the 'nohup /var/qmail/start-pop3d' command.
[...] 
> =============================
> 4).
> Here is the script that is called
> 
> #!/bin/sh
> #
> #  /var/qmail/start-pop3d
> # Startup script for pop3d using tcpserver and vchkpw
> #
> 
> exec env - PATH="/var/qmail/bin:/usr/local/bin:$PATH" \
> tcpserver -uNNN -gNNN 0 pop-3 /var/qmail/bin/qmail-popup \
> my.mailserver.com /home/vpopmail/bin/vchkpw \
> /var/qmail/bin/qmail-pop3d Maildir &

Change the start of that script to "exec /usr/bin/env - PATH=..." or
whatever the proper path is for you.  That's what the error above means.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------

Reply via email to