Quantcast
Channel: Ocsinventory Q&A - Recent questions and answers in OCS Inventory NG agent
Viewing all articles
Browse latest Browse all 4573

Problem ocs agent in Ubuntu in non-interactive

$
0
0
Hi to everyone

I am trying to install OCS agents in Ubuntu machines in a non-interactive way to do it in an automatic process. I have followed the indications shown on the official website http://wiki.ocsinventory-ng.org/03.Basic-documentation/Setting-up-the-UNIX-agent-using-repository-on-client-computers/

I have downloaded the compressed package in the corresponding version, I have unzipped it, I have changed permissions just in case, and I have executed the following command to do the process non-interactively with the following parameters

# sudo env PERL_AUTOINSTALL = 1 perl Makefile.PL && make && make install && perl postinstl.pl --nowizard --server = http: //ocs-server.domain.com/ocsinventory --crontab --logfile = / var / log / ocs-inventory-agent.log --tag = "Ubuntu_Servers" --now

And after launching it, I get the following error, that the postinstl.pl file cannot be opened.

cp ocsinventory-agent blib / script / ocsinventory-agent "/ usr / bin / perl" "-Iinc" -MExtUtils :: MY -e 'MY-> fixin (shift)' - blib / script / ocsinventory-agent Manifying 1 pod document Manifying 6 pod documents Manifying 1 pod document Manifying 6 pod documents Appending installation info to /usr/local/lib/x86_64-linux-gnu/perl/5.30.0/perllocal.pod [! -f run-postinst] || / usr / bin / perl postinst.pl Can't open perl script "postinstl.pl": No such file or directory

I check that this file is inside the decompressed one and with the correct permissions. That could be happening?

Thanks in advanced!

Viewing all articles
Browse latest Browse all 4573

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>