Amanda-Users

Amanda user can't run binaries, but root can

2005-10-18 13:54:28
Subject: Amanda user can't run binaries, but root can
From: Aaron Taylor <kusoneko AT gmail DOT com>
To: amanda-users AT amanda DOT org
Date: Tue, 18 Oct 2005 10:49:47 -0700
Hi guys,

I'm trying to setup Amanda here and I've got a problem. When logged in as root, I can run amcheck and see that my config isn't done. However, as the amanda user, when I run amcheck, it can't find libgcc.

bash-3.00# echo $PATH
/usr/bin:/usr/sbin:/opt/CCsfw/amanda/sbin:/usr/local/bin:/usr/local/sbin
bash-3.00# echo $LD_LIBRARY_PATH
/usr/lib:/usr/local/lib
bash-3.00# amcheck test
"/etc/amanda/test/amanda.conf", line 111: duplicate parameter, prev def on line 110
"/etc/amanda/test/amanda.conf", line 112: duplicate parameter, prev def on line 111
amcheck: errors processing config file "/etc/amanda/test/amanda.conf"
bash-3.00# su - amanda
Sun Microsystems Inc.   SunOS 5.10      Generic January 2005
Sun Microsystems Inc.   SunOS 5.10      Generic January 2005
-bash-3.00$ echo $PATH
/usr/bin:/usr/sbin:/opt/CCsfw/amanda/sbin:/usr/local/bin:/usr/local/sbin
-bash-3.00$ echo $LD_LIBRARY_PATH
/usr/lib:/usr/local/lib
-bash-3.00$ amcheck test
ld.so.1: amcheck: fatal: libgcc_s.so.1: open failed: No such file or directory
Killed

This is amanda-2.4.5 on Solaris 10 SPARC. My configure options were: "--prefix=/opt/CCsfw/versions/amanda-2.4.5 --sysconfdir=/etc --with-user=amanda --with-group=amanda". I ran the configure and make as the amanda user and ran the make install as root. Does anyone have any ideas why this is occuring?

--
Thanks,
   -Aaron Taylor
<Prev in Thread] Current Thread [Next in Thread>