Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.11.1 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

Comment créer un agent Unix sans dépendances avec standalone.sh?

J'ai installé tous les modules nécessaires à l'exécution du script standalone.sh mais ce dernier me renvoie l'erreur suivante:


WARNINGS: Very experimental tool
/opt/perl/5.10.1/bin/pp: Packing ocsinventory-agent
/opt/perl/5.10.1/bin/pp: Writing PAR on ocsinventory-agent.par
Could not get version from /produits/OCSNG-Agent/Ocsinventory-Unix-Agent-2.1.1/lib/Ocsinventory/Agent/Modules/Snmp/3375.pm by executing:
BEGIN { my $dummy = q#  Hide from _packages_inside()
    #; package Module::Metadata::_version::p2;
    use version;
    no strict;
    no warnings;

      $vsub = sub {
        local $VERSION;
        $VERSION=undef;
          my $VERSION=$session->get_request ( -varbindlist => [ $snmp_sysProductVersion] );;
        $VERSION
      };
  }

The fatal error was: Can't call method "get_request" on an undefined value at (eval 17) line 10, <$handle> line 45.

 at /opt/perl/5.10.1/lib/site_perl/5.10.1/Module/ScanDeps.pm line 548
/opt/perl/5.10.1/bin/pp: Input file ocsinventory-agent.par was not found
Failed to generate ocsinventory-agent.bin!
 


J'ai un peu de mal à comprendre ce qu'il manque, pouvez-vous m'éclairer sur le sujet? Merci.

OS: SLES11-SP3

OCS Agent : 2.1.1

PERL: 5.10.1

 

 

in OCS Inventory NG agent for Unix by (160 points)

2 Answers

0 votes
Bonjour à tous,

Mon problème est toujours d'actualité et je serai ravi d'avoir un peu d'aide si quelqu'un a une idée sur le sujet...
by (160 points)
0 votes
Même problème, résolu en supprimant le module du manifest

Quelqu'un a une meilleure solution ?
by (200 points)
 
Powered by Question2Answer
...