Installation of BIND 9.2.2rc1

Joseph S D Yao jsdy at center.osis.gov
Tue Dec 10 16:50:35 UTC 2002


On Tue, Dec 10, 2002 at 02:10:41PM -0000, Walker Simon-SWALKER1 wrote:
> 
> Hi Joe, All, 
> 
> I have just modified the /etc/init.d/inetsvc script to be 
> 
> /usr/local/sbin/named ...etc
> 
> However the named daemon fails to run as it complains about the libcrypto.so 0.9.6:open failed; no such file or directory.
> 
> If I run this daemon as root user then it works, because i have the LD_LIBRARY_PATH variable set, how can I get this to run from the init.d directory?

In /etc/init.d/inetsvc, replace this:

	/usr/local/sbin/named

with this:

	(LD_LIBRARY_PATH=...; export LD_LIBRARY_PATH; /usr/local/sbin/named)
Of course, put the path you use in place of "...".

The parentheses isolate this one invocation; then $LD_LIBRARY_PATH will
not be set for all the other programs running from 'inetsvc'.

-- 
Joe Yao				jsdy at center.osis.gov - Joseph S. D. Yao
OSIS Center Systems Support					EMT-B
-----------------------------------------------------------------------
   This message is not an official statement of OSIS Center policies.


More information about the bind-users mailing list