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

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

agent don't send debian 7 software inventory

Dear community,

I'm running OCS Inventory server 2.5 and agent 2.4.2.

Despite all required and recommended packages are installed, on Debian 7, the agent doesn't send any detail about the installed software to the server.

Enabling debug mode there's not <SOFTWARE> section in the log.

dpkg if of course installed.

Any hint?

Kind regards,

Gabriele
in OCS Inventory NG agent for Unix by (1.3k points)

4 Answers

0 votes
Hi,

Could you post the content of ocsinventory-agent.log file, please?

Kind regards

Frank
by (90.4k points)
0 votes
Hi Frank,

the log is too long, therefore I've sent you a private message.
Thank you,

Gabriele
by (1.3k points)
0 votes
Hi Frank,

do you have some idea? I've upgraded ExtUtils::MakeMaker in order to avoid even the

"Warning: prerequisite ExtUtils::MakeMaker 6.59 not found. We have 6.5705."

the result is the same.
Have anybody noticed this issue? How did you solved it?

Regards,

Gabriele
by (1.3k points)
0 votes
I've found the solution:

In Agent/Backend/OS/Generic/Packaging/Deb.pm

change

my @listfile=glob('"/var/lib/dpkg/info/*.list"');

with

my @listfile=</var/lib/dpkg/info/*.list>;

Gabriele
by (1.3k points)
 
Powered by Question2Answer
...