Amanda-Users

Re: amanda client inetd problem

2006-08-11 11:51:20
Subject: Re: amanda client inetd problem
From: Geert Uytterhoeven <geert AT linux-m68k DOT org>
To: rom <amandau AT inventivetechnology DOT at>
Date: Fri, 11 Aug 2006 16:44:57 +0200 (CEST)
On Fri, 11 Aug 2006, rom wrote:
> Jeff Portwine wrote:
> > > What happens when you execute the command "/usr/local/libexec/amandad"
> > > as user "backup" manually?
> > 
> > $ /usr/local/libexec/amandad
> > /usr/local/libexec/amandad: error in loading shared libraries:
> > libamclient-2.5.0p2.so: cannot open shared object file: No such file or
> > directory
> > 
> > However, that library does exist...

And is it readable by the backup user?

> The library may exist but the system could not find it.
> 
> Have you the directory /usr/local/lib listed on /etc/ld.so.conf? This file is
> a kind of path for finding libraries. You probably don't have it.
> 
> After adding it you have to run ldconfig to update the cache used to find
> libraries.
> 
> If amandad doesn't work when called by hand it won't work when called by
> inetd... ;-)

What does `ldd /usr/local/libexec/amandad' say?

Gr{oetje,eeting}s,

                                                Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert AT linux-m68k 
DOT org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                                            -- Linus Torvalds