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.5 available

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

Error: Missing right curly or square bracket at If_Mib.pm [closed]

Hi dears,

There's a strange error when that Unix agent performed an SNMP discovery:

[snmp] Failed to load Ocsinventory::Agent::Modules::Snmp::If_Mib: Missing
 right curly or square bracket at /usr/local/share/perl/5.20.2/Ocsinventory/Agent/Modules/Snmp/If_Mib.pm li
ne 178, at end of line
syntax error at /usr/local/share/perl/5.20.2/Ocsinventory/Agent/Modules/Snmp/If_Mib.pm line 178, at EOF
Compilation failed in require at (eval 244) line 2.
BEGIN failed--compilation aborted at (eval 244) line 2.

So, I inserted manually the "missing" bracket at the end of file (before the "1;" line). And..... it worked!
 

O.S: Distributor ID: Debian
Description:    Debian GNU/Linux 8.7 (jessie)
Release:        8.7
Codename:       jessie

Agent version: Ocsinventory unified agent for UNIX, Linux and MacOSX (2.3)

closed with the note: Problem solved by OCS Team - code corrected
asked in OCS Inventory NG agent for Unix by (120 points)
closed by

1 Answer

0 votes
Hi,

The problem is known. This is an oversight. An updated version of the file will be published asap.

Regards

Frank
answered by (63.8k points)
 
Powered by Question2Answer
...