I can't seem to invoke razor-admin from a non-root user. It works great for root, so I 
suspected a permission 
problem. I noticed that some of the directories were not world-readable, so I set the 
mode to 755 for the perl 
dirs, including Digest. This fixed a number of other problems related to it not 
locating files, but won't fix this 
problem.

Here's what I'm getting:

$ razor-admin -create
Can't locate loadable object for module Digest::SHA1 in @INC (@INC contains: lib 
/usr/lib/perl5/i386-linux 
/usr/lib/perl5 /usr/lib/perl5/site_perl/i386-linux /usr/lib/perl5/site_perl .) at 
/usr/lib/perl5/site_perl/i386-linux/Razor2/String.pm line 4
Compilation failed in require at /usr/lib/perl5/site_perl/i386-linux/Razor2/String.pm 
line 4.
BEGIN failed--compilation aborted at 
/usr/lib/perl5/site_perl/i386-linux/Razor2/String.pm line 4.
Compilation failed in require at (eval 7) line 3.
        ...propagated at /usr/lib/perl5/base.pm line 62.
BEGIN failed--compilation aborted at 
/usr/lib/perl5/site_perl/i386-linux/Razor2/Client/Core.pm line 21.
Compilation failed in require at (eval 1) line 3.
        ...propagated at /usr/lib/perl5/base.pm line 62.
BEGIN failed--compilation aborted at 
/usr/lib/perl5/site_perl/i386-linux/Razor2/Client/Agent.pm line 17.
Compilation failed in require at /usr/local/razor-agents-2.20/blib/script/razor-admin 
line 21.
BEGIN failed--compilation aborted at 
/usr/local/razor-agents-2.20/blib/script/razor-admin line 21.

Here's what I get when I try to ls the Digest directory as the non-root user:

$ ls /usr/lib/perl5/site_perl/i386-linux/Digest/
total 20
drwxr-xr-x    2 root     root         4096 Oct 22 10:14 ./
drwxr-xr-x   13 root     root         4096 Oct 22 10:20 ../
-r--r--r--    1 root     root         7066 May  6 00:15 MD5.pm
-r--r--r--    1 root     root         2679 Dec 30  2001 SHA1.pm


What do I need to do to allow non-root users to use razor2 v2.20?

Thanks much.
:brian


-------------------------------------------------------
This sf.net emial is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote
_______________________________________________
Razor-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/razor-users

Reply via email to