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.

Problème local import .ocs - Problem import .ocs

Bonjour, 

Hello,

lorsque je souhaites importer un fichier .ocs depuis l'interface ocs j'ai ce message d'erreur 

When I try to import an .ocs file on the OCS interface I've got this error message 

Error HTTP/1.1 404 Not Found

voici mon fichier de log apache2/error.log

This is a log file :

[Sun Jan 10 15:09:36.407300 2016] [:error] [pid 1810] [client 192.168.1.30:55408] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /var/www/ocsreports/backend/require/connexion.php on line 10, referer: http://192.168.1.8/ocsreports/index.php?function=admin_local_import

Server: Debian 8.2

OCS: 2.1.2

Avez vous une idée ?

Merci

 

in OCS Inventory NG server for Unix by (160 points)
edited by

2 Answers

0 votes
Personnes n'à d'idée ?
by (160 points)
0 votes

Bonjour,

Me concernant, j'ai résolu le soucis grâce à ce poste : 

http://ask.ocsinventory-ng.org/5350/windows-agent-unable-to-send-inventory-to-ng-linux-server

En détail : 

gedit /etc/apache2/conf-available/ocsinventory-reports.conf

==> ajouter la ligne suivante : "Alias /ocsreports  /usr/share/ocsinventory-reports/ocsreports"

Ensuite ajouter les "liens" dans ocsinventory.conf :

cd /etc/apache2/sites-enable

ln -s ../conf-available/z-ocsinventory-server.conf  ocsinventory.conf

ln -s ../conf-available/ocsinventory-reports.conf ocsreports.conf

service apache2 restart

Maintenant, l'importation local est ok pour moi : "Local import OK"

En revancee, ma base reste vide, toujours rien dans "All computers"

Si quelqu'un pourrais m'aider à mon tour..

by (140 points)
 
Powered by Question2Answer
...