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.

Ipdiscover on perl 5.20

Linux agent 2.1.1 (Debian 8, perl 5.20)

 ocsinventory-agent --nosoftware --ssl=0
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
[info] No support detected. Registration key: N/A
Use of uninitialized value $cwd_untainted in chdir at /usr/share/perl/5.20/File/Find.pm line 624.
Use of chdir('') or chdir(undef) as chdir() is deprecated at /usr/share/perl/5.20/File/Find.pm line 624.
Use of uninitialized value $cwd_untainted in chdir at /usr/share/perl/5.20/File/Find.pm line 624.
Use of chdir('') or chdir(undef) as chdir() is deprecated at /usr/share/perl/5.20/File/Find.pm line 624.
Use of uninitialized value $cwd_untainted in chdir at /usr/share/perl/5.20/File/Find.pm line 624.
Use of chdir('') or chdir(undef) as chdir() is deprecated at /usr/share/perl/5.20/File/Find.pm line 624.
Use of uninitialized value $cwd_untainted in chdir at /usr/share/perl/5.20/File/Find.pm line 624.
Use of chdir('') or chdir(undef) as chdir() is deprecated at /usr/share/perl/5.20/File/Find.pm line 624.
Use of uninitialized value $cwd_untainted in chdir at /usr/share/perl/5.20/File/Find.pm line 624.
Use of chdir('') or chdir(undef) as chdir() is deprecated at /usr/share/perl/5.20/File/Find.pm line 624.
Can't exec "ipdiscover": ??? ?????? ????? ??? ???????? at /usr/share/perl/5.20/Ocsinventory/Agent/Backend/IpDiscover/IpDiscover.pm line 31.
Use of uninitialized value in pattern match (m//) at /usr/share/perl/5.20/Ocsinventory/Agent/Backend/IpDiscover/IpDiscover.pm line 31.
Can't exec "ipdiscover": ??? ?????? ????? ??? ???????? at /usr/share/perl/5.20/Ocsinventory/Agent/Backend/IpDiscover/IpDiscover.pm line 55.
in OCS Inventory NG agent for Unix by (260 points)

1 Answer

+1 vote

Hi,

This error is usually caused by running a command from a directory that no longer exist.

Try changing your directory and re-run the command.

by (90.4k points)
 
Powered by Question2Answer
...