Solaris 10 init.d startup failing

Logan Shaw lshaw at emitinc.com
Fri Sep 1 16:32:30 IST 2006


On Fri, 1 Sep 2006, Ray Gardener wrote:
> I undertook to report back on the results of trussing the mailscanner 
> processes. I have run the program under truss but I can't see anything 
> obviously strange. However a workaround has become apparent; starting 
> mailscanner from a subshell called in the init.d script works
>
> e.g
>
> su - root -c "/opt/mailscanner/bin/MailScanner"
>
>
> possibly, this implies that there is some environment variable such as PATH 
> or LD_LIBRARY_PATH that needs to be set, but I am not sure what it is. Any 
> ideas?

How about...

 	su - root -c env | sort > abc
 	env | sort > def
 	diff abc def

     - Logan


More information about the MailScanner mailing list