Theo,
Thanks for your response.  I deleted the older razor-2.14 modules manually
and reinstalled the 2.03/2.36 sdk/agent again.  I think part of the problem
is that I just upgraded Perl from 5.005 to 5.8.0.  The old version of Razor2
was installed in /usr/perl5/site_perl/etc...etc... 

The new version of Razor is installed here:
usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Razor2/
usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/Razor2/
usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/razor-agents/
usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/razor-agents-sdk/


It is still not found when running spamd:

debug: leaving helper-app run mode
debug: Razor2 is not available
debug: executable for dccproc was found at /usr/local/bin/dccproc
debug: DCC is available: /usr/local/bin/dccproc

Result of the perl -V

Characteristics of this binary (from libperl): 
  Compile-time options: USE_LARGE_FILES
  Built under solaris
  Compiled at Aug 25 2003 15:23:12
  @INC:
    /usr/local/lib/perl5/5.8.0/sun4-solaris
    /usr/local/lib/perl5/5.8.0
    /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris
    /usr/local/lib/perl5/site_perl/5.8.0
    /usr/local/lib/perl5/site_perl 

spamd is running from an older perl:

/usr/perl5/5.00503/bin/perl /usr/bin/spamd -a -c -D

hmmm.  I guess if /usr/perl5/5.00503/bin/perl -V gives me:

Characteristics of this binary (from libperl): 
  Built under solaris
  Compiled at Dec 22 1999 00:00:57
  @INC:
    /usr/perl5/5.00503/sun4-solaris
    /usr/perl5/5.00503
    /usr/perl5/site_perl/5.005/sun4-solaris
    /usr/perl5/site_perl/5.005

...then that is where it is going to look for modules (which I have since
deleted and hence it can't find them).

OK.  I guess the next step is to build the razor mods with the older perl
and see how that goes.

Or is there another way around it?

> -----Original Message-----
> From: Theo Van Dinter [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, August 27, 2003 2:06 PM
> To: John Urness
> Cc: [EMAIL PROTECTED]
> Subject: Re: [Razor-users] Installed 2.36, but spamd appears 
> to call 2.14
> 
> On Wed, Aug 27, 2003 at 01:49:13PM -0700, John Urness wrote:
> > I installed the new 2.03 SDK and new 2.36 agents (in 
> /usr/local/bin) and
> > renamed older 2.14 razor binaries which had been located in 
> /usr/bin.
> >  
> > debug: Using results from Razor v2.14
> >  
> > This created one server.something.something file, but again 
> specifying in
> > the comment section of the file that it as "Autogenerated 
> by Razor-Agents
> > v2.14"
> >  
> > Is this a bug or am I missing something?
> 
> spamd doesn't call the razor scripts, it uses the modules directly.
> so simply renaming /usr/bin/razor* doesn't do anything for you if SA
> looks in /usr/lib/perl5/.../ for the Razor modules.  I'd blow away the
> 2.14 Razor modules.
> 
> Also, if you've shifted to /usr/local instead of /usr, you'll need to
> make sure that /usr/local/lib/.../ is in @INC, ala "perl -V":
> 
> Characteristics of this binary (from libperl):
>   Compile-time options:
>   Built under linux
>   Compiled at Apr  1 2002 12:23:22
>   @INC:
>     /usr/lib/perl5/5.6.1/i386-linux
>     /usr/lib/perl5/5.6.1
> ...
> 
> 
> -- 
> Randomly Generated Tagline:
> And 1.1.81 is officially BugFree(tm), so if you receive any 
> bug-reports
>  on it, you know they are just evil lies."
>  (By Linus Torvalds, [EMAIL PROTECTED])
> 



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Razor-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/razor-users

Reply via email to