On 9/25/2010 2:55 PM, Pascal Dreissen wrote:
>
> When creating the config i am getting this error:
>
> [r...@cp razor-agents-2.84_assp]# razor-admin -create
> Undefined subroutine&main::mlog called at lib/Razor2/Logger.pm line 28.
> [r...@cp razor-agents-2.84_assp]#
>

I believe ASSP creates the configuration files itself.

[/usr/local/assp/razor] # ls -al
total 28
drwxr-xr-x  2 assp assp 4096 Sep 25 15:31 .
drwxr-xr-x 30 assp assp 4096 Sep 25 15:36 ..
-rw-r--r--  1 assp assp  706 Sep 25 15:31 razor-agent.conf
-rw-r--r--  1 assp assp  843 Sep 25 15:31 server.n001.cloudmark.com.conf
-rw-r--r--  1 assp assp   57 Sep 25 15:31 servers.catalogue.lst
-rw-r--r--  1 assp assp   30 Sep 25 15:31 servers.discovery.lst
-rw-r--r--  1 assp assp   76 Sep 25 15:31 servers.nomination.lst

The following code in ASSP_Razor.pm is responsible for this:

Lines 19-24:
our $home = "$main::base/razor";

if (! -d "$home" or ! -e "$home/razor-agent.conf"){
     mkdir "$home",0755;
     &createCFG() or die "error: unable to create razor configuration in folder 
$home";
}

-- 
Best regards,
Bryan Parker

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to