[Fusioninventory-devel] HP RAID support on Windows

Pakdel Amir a.pakdel at karafarinbank.net
Sun May 30 14:14:02 UTC 2010


Hi Gonéri,

On windows, when there is another version of perl installed prior to the FusionInventory Agent, the first installation of perl sets the PERL5LIB environment variable and that confuses the perl that ships with FusionInventory Agent and results in an error that says some .dll file of perl are not found!
After clearing the PERL5LIB environment variable by something like "set PERL5LIB=" the command mentioned earlier works just fine.
Moreover, on such systems, the WebUI does not work either.
Can it be considered a bug?


Cheers,
Amir
________________________________________
From: Amir Pakdel [a.pakdel at karafarinbank.net]
Sent: Saturday, May 22, 2010 4:16 PM
To: Gonéri Le Bouder
Cc: fusioninventory-devel
Subject: Re: HP RAID support on Windows

Hi Gonéri,

First of all: Nice job :)

Since the --devlib makes the script to include "./lib" (which is invalid!), I have used the following command:
C:\Program Files\FusionInventory-Agent>perl\bin\perl -Iperl/lib -Iperl/site/lib fusioninventory-agent --basevardir=%APPDATA%/fusinv --debug >log.txt 2>err.txt

Moreover, I have made minor changes to the HP.pm, which is attached.



P.S. Tab-stops of the Installer application are not correctly ordered



Kind Regards,

Amir

________________________________
From: Gonéri Le Bouder <goneri at rulezlan.org><mailto:goneri at rulezlan.org>
Sent: Sat 22/05/2010 1:23:29 AM +0450
To: Pakdel Amir <a.pakdel at karafarinbank.net><mailto:a.pakdel at karafarinbank.net>
CC: fusioninventory-devel <fusioninventory-devel at lists.alioth.debian.org><mailto:fusioninventory-devel at lists.alioth.debian.org>
Subject: HP RAID support on Windows


2010/5/19 Gonéri Le Bouder <goneri at rulezlan.org<mailto:goneri at rulezlan.org>>
Hi Amir,

Can you try this module which is based on the Storages/HP.pm for Linux.

Just install FusionInventory Agent with the Windows Installer ( http://forge.fusioninventory.org/projects/fusioninventory-packaging-win-agent/files )

Create the Storages directory in OS/Generic and copy the HP.pm file on it.

Then you'll need to run the agent by hand.
C:\Program Files\FusionInventory-Agent>perl\bin\perl fusioninventory-agent --dev lib --basevardir=%APPDATA%/fusinv --debug
Doum on IRC spotted a mistake  in the command line:) it's --devlib , not --dev lib


--
    Gonéri Le Bouder



More information about the Fusioninventory-devel mailing list