Comments (5)
Bonjour,
Tu peux poster le stdout de la génration du fichier ocsinventory-agent.bin, stp?
Merci
from unixagent.
from unixagent.
Je viens de tester avec la dernière version de l'agent UNIX (2.3), le problème reste identique : Les plugins additionnels ne s'incorporent pas à l'executable standelone
Cependant avec la version 2.3, j'ai le message d'erreur suivant :
Missing right curly or square bracket at lib/Ocsinventory/Agent/Modules/Snmp/If_Mib.pm line 178, at end of line syntax error at lib/Ocsinventory/Agent/Modules/Snmp/If_Mib.pm line 178, at EOF Compilation failed in require. BEGIN failed--compilation aborted. Some modules are missing in your installation or failed to build, please install them first. -> Ocsinventory::Agent::Modules::Snmp::If_Mib
Il manque une accolade fermante } à la ligne 128, ce qui corrige ce message
J'ai aussi le message d'erreur suivant :
/usr/local/bin/pp: Packing ocsinventory-agent
/usr/local/bin/pp: Writing PAR on ocsinventory-agent.par
Could not get version from /root/Ocsinventory-Unix-Agent-2.3/lib/Ocsinventory/Agent/Modules/Snmp/3375.pm by executing:
my $dummy = q# Hide from _packages_inside()
#; package Module::Metadata::_version::p2;
use version;
sub {
local $VERSION;
my $VERSION=$session->get_request ( -varbindlist => [ $snmp_sysProductVersion] );;
return $VERSION if defined $VERSION;
return $Module::Metadata::_version::p2::VERSION;
};
The fatal error was: Can't call method "get_request" on an undefined value at (eval 31) line 6, <$handle> line 42.
at /usr/local/share/perl5/Module/ScanDeps.pm line 542
/usr/local/bin/pp: Input file ocsinventory-agent.par was not found
Failed to generate ocsinventory-agent.bin!
Celui ci était déjà présent sur dans la version 2.1.1
La seule solution que j'ai trouvé est de supprimer la ligne suivante du fichier MANIFEST
/lib/Ocsinventory/Agent/Modules/Snmp/3375.pm
Comme je ne me sert pas du module SNMP, ce n'est pas génant.
Cependant cela bloquerait-il l'ajout des modules supplementaires ?
from unixagent.
Avez-vous une solution ?
from unixagent.
Bonjour,
Désolé pour la réponse très tardive, peux-tu tester https://github.com/OCSInventory-NG/Packager-for-Unix ? Tu dézippes l'archive de l'agent puis tu copies tes modules dans lib/Ocsinventory/Agent/Modules et tu recrées l'archive.
Merci pour ton retour d'info.
Cordialement
Frank
from unixagent.
Related Issues (20)
- can't find ocsinventory-agent in $PATH when install linux agent on RHEL8 HOT 2
- MacOS Agent 2.10.0 No memory information HOT 3
- Setup TAG with Unix Agent HOT 3
- MacOs Arch is wrong HOT 6
- RedHat 9 Repository is empty HOT 1
- Unable to access https://deb.ocsinventory-ng.org/ from AWS singapore HOT 3
- OCS pour Mac OS Ventura 13.2.1 HOT 1
- MacOS wrong Arch type on all machines HOT 2
- Java software is not showing in which we mounted in /mnt HOT 2
- GPG Public Key Expired HOT 6
- FreeBSD 13.2 with ocsinventory-agent-2.10.0,1 warning and missing hw. serialno HOT 1
- BUG - a huge time for snmp scan HOT 3
- User and password arguments breaking change
- Invalid entry length (0). DMI table is broken! Stop. on PfSense 2.6 FreeBSD 12.3
- OCS agent can't contact server through proxy - 501 Protocol scheme 'connect' is not supported HOT 1
- ListUtil.c: loadable library and perl binaries are mismatched (got handshake key 0xc400080, needed 0xf880080) HOT 3
- The macOS agent fails to start after installation HOT 5
- Proxmox - VM Duplication
- Installation link dead HOT 1
- [Feature Request] Support log file rotation HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unixagent.