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

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

Agent doesn't work:Ubuntu server 14.04.03 LTS ocs inventory ver 2.1.2

I installed ubuntu ocsinventory of 14 gave me no errors.
I changed the password on all OCS configuration file:
.z-ocsinventory server.conf-in / etc / apache2 / sites-available
.dbconfig.inc.php in / usr / share / ocsinventory-reports.
I installed on the client version 2.1.1 agent but no inventory pcs.
here's what tells me the file OCSInventory.log:
Starting OCS Inventory NG Agent on Sunday, December 20, 2015 13:00:00.
AGENT => Running OCS Inventory NG Agent Version 2.1.0.1
AGENT => Using OCS Inventory NG FrameWork Version 2.1.0.1
AGENT => Loading plug-in (s)
AGENT => Using network connection with Communication Server
AGENT => Using Communication Provider <OCS Inventory NG Communication Provider cURL> Version <2.1.0.1>
AGENT => Sending Prolog
AGENT *** ERROR => Failed to send Prolog <HTTP Status Code # 404>
AGENT => Unloading the communication providers
AGENT => Unloading plug-in (s)
AGENT => Execution duration: 12:00:00.

Please log apache error.log does not give me no errors.
Where the client is running the Agent and Windows 10 professional
Can you help me thanks
in OCS Inventory NG server for Unix by (200 points)

4 Answers

0 votes
Hi,

Please verify that mod_perl module is enabled on your ocs server.

Regards

Frank
by (88.5k points)
Can you help me.

I think that the perl mode is active if you can give me instructions for vericarlo and in the case to enable it.

Thanks again
votes

Hi I read that mod_perl Apache 2.4.7 is not working on it ??
in the 'log file error, log, there is no error, but if I try to connect to http: // server_ip / ocsinventori appears 404.

If you can 'turn on apache2.4.7 mod_perl also send me the instructions ??

I have another server with ubuntu 12 and works them all.
0 votes
root@srvmbocsinv:/etc/apache2/conf-enabled# apt-get install libxml-simple-perl
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
libxml-simple-perl è già alla versione più recente.
0 aggiornati, 0 installati, 0 da rimuovere e 17 non aggiornati.
root@srvmbocsinv:/etc/apache2/conf-enabled# apt-get install libcompress-zlib-perl
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
Il pacchetto libcompress-zlib-perl è un pacchetto virtuale fornito da:
  libio-compress-perl 2.063-1
  perl 5.18.2-2ubuntu1
È necessario sceglierne uno da installare.

E: Il pacchetto "libcompress-zlib-perl" non ha candidati da installare
root@srvmbocsinv:/etc/apache2/conf-enabled# apt-get install libdbi-perl
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
libdbi-perl è già alla versione più recente.
0 aggiornati, 0 installati, 0 da rimuovere e 17 non aggiornati.
root@srvmbocsinv:/etc/apache2/conf-enabled# apt-get install libdbd-mysql-perl
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
libdbd-mysql-perl è già alla versione più recente.
0 aggiornati, 0 installati, 0 da rimuovere e 17 non aggiornati.
root@srvmbocsinv:/etc/apache2/conf-enabled# apt-get install libapache-dbi-perl
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
libapache-dbi-perl è già alla versione più recente.
0 aggiornati, 0 installati, 0 da rimuovere e 17 non aggiornati.
root@srvmbocsinv:/etc/apache2/conf-enabled# apt-get install libnet-ip-perl
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
libnet-ip-perl è già alla versione più recente.
0 aggiornati, 0 installati, 0 da rimuovere e 17 non aggiornati.
root@srvmbocsinv:/etc/apache2/conf-enabled# apt-get install libsoap-lite-perl
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
libsoap-lite-perl è già alla versione più recente.
0 aggiornati, 0 installati, 0 da rimuovere e 17 non aggiornati.
root@srvmbocsinv:/etc/apache2/conf-enabled# cpan -i XML::Entities
Reading '/root/.cpan/Metadata'
  Database was generated on Sun, 20 Dec 2015 09:29:02 GMT
Fetching with LWP:
http://mirror.zol.co.zw/CPAN/authors/01mailrc.txt.gz
Reading '/root/.cpan/sources/authors/01mailrc.txt.gz'
............................................................................DONE
Fetching with LWP:
http://mirror.zol.co.zw/CPAN/modules/02packages.details.txt.gz
Reading '/root/.cpan/sources/modules/02packages.details.txt.gz'
  Database was generated on Tue, 22 Dec 2015 09:17:02 GMT
.............
  New CPAN.pm version (v2.10) available.
  [Currently running version is v2.00]
  You might want to try
    install CPAN
    reload cpan
  to both upgrade CPAN.pm and run the new version without leaving
  the current session.

...............................................................DONE
Fetching with LWP:
http://mirror.zol.co.zw/CPAN/modules/03modlist.data.gz
Reading '/root/.cpan/sources/modules/03modlist.data.gz'
DONE
Writing /root/.cpan/Metadata
XML::Entities is up to date (1.0002).
by (200 points)
0 votes

Hi,

To verify if mod_perl is active, connect to http://@ip/ocsinventory with your browser. The result is error 400. Another solution : connect on the ocs server with ssh, then verify your apache log (error.log) you have a line like this : [Wed Dec 23 12:48:37.598276 2015] [mpm_prefork:notice] [pid 1358] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.14 mod_perl/2.0.8 Perl /v5.18.2 configured -- resuming normal operatons

Regards

Frank

by (88.5k points)
0 votes
Hi I read that mod_perl Apache 2.4.7 is not working on it ??
in the 'log file error, log, there is no error, but if I try to connect to http: // server_ip / ocsinventori appears 404.

If you can 'turn on apache2.4.7 mod_perl also send me the instructions ??

I have another server with ubuntu 12 and works them all.
by (200 points)
 
Powered by Question2Answer
...