Quantcast
Channel: Ocsinventory Q&A - Recent questions and answers in OCS Inventory NG server
Viewing all 7082 articles
Browse latest View live

Probleme synchro site distant

$
0
0
Bonjour,

J'ai un serveur OCS/GLPI sur mon réseaux mais j'ai besoin de faire un inventaire de plusieurs sites distants et pour cela il faut donc relier mon serveur GLPI avec tous les serveurs OCS qui seront sur chaque site distant. Mais voilà le problème est comment les faire communiquer ensemble ? Et-il possible de faire accéder mon serveur GLPI via le WEB avec une adresse IP publique ? Si oui comment, car je n'ai pas réussi a dénicher de doc là-dessus ?

Answered: OCS 2.0.5 upgrade to 2.2 Apache error

Bad IP address

$
0
0
I have installed a new OCS Inventory server

in the menu Information, I see:

Réseau

IP :

192.168.3.86

it's the bad IP address

where is the configuration file with the IP address of the server?

thanks

Didier

Computers do not show up in webinterface

$
0
0

Agents running on my clients are successfully contacting the server. They show up in the webserver log and also the OCS log mentions the contact, e.g. it looks something like this:

Thu May 19 18:28:32 2016;31088;511;NA;192.168.0.212;OCS-NG_WINDOWS_AGENT_v2.1.1.3;deploy;no_file
Thu May 19 18:28:32 2016;31088;515;NA;192.168.0.212;OCS-NG_WINDOWS_AGENT_v2.1.1.3;end;bad_request
Thu May 19 18:28:32 2016;31121;103;XYZ-2015-07-09-15-58-18;192.168.0.212;OCS-NG_WINDOWS_AGENT_v2.1.1.3;prolog;new_deviceid
Thu May 19 18:28:32 2016;31121;100;XYZ-2015-07-09-15-58-18;192.168.0.212;OCS-NG_WINDOWS_AGENT_v2.1.1.3;prolog;accepted
Thu May 19 18:28:32 2016;31121;311;XYZ-2015-07-09-15-58-18;192.168.0.212;OCS-NG_WINDOWS_AGENT_v2.1.1.3;session;started
Thu May 19 18:28:37 2016;31359;322;XYZ-2015-07-09-15-58-18;192.168.0.212;OCS-NG_WINDOWS_AGENT_v2.1.1.3;notify;no_device
Thu May 19 18:30:07 2016;31116;511;NA;192.168.0.212;OCS-NG_WINDOWS_AGENT_v2.1.1.3;deploy;no_file
Thu May 19 18:30:07 2016;31116;515;NA;192.168.0.212;OCS-NG_WINDOWS_AGENT_v2.1.1.3;end;bad_request
Thu May 19 18:30:08 2016;31092;103;XYZ-2015-07-09-15-58-18;192.168.0.212;OCS-NG_WINDOWS_AGENT_v2.1.1.3;prolog;new_deviceid
Thu May 19 18:30:08 2016;31092;100;XYZ-2015-07-09-15-58-18;192.168.0.212;OCS-NG_WINDOWS_AGENT_v2.1.1.3;prolog;accepted
Thu May 19 18:30:08 2016;31092;311;XYZ-2015-07-09-15-58-18;192.168.0.212;OCS-NG_WINDOWS_AGENT_v2.1.1.3;session;started
Thu May 19 18:34:18 2016;31359;511;NA;192.168.0.212;OCS-NG_WINDOWS_AGENT_v2.1.1.3;deploy;no_file
Thu May 19 18:34:18 2016;31359;515;NA;192.168.0.212;OCS-NG_WINDOWS_AGENT_v2.1.1.3;end;bad_request
Thu May 19 18:34:18 2016;31088;103;XYZ-2015-07-09-15-58-18;192.168.0.212;OCS-NG_WINDOWS_AGENT_v2.1.1.3;prolog;new_deviceid
Thu May 19 18:34:18 2016;31088;100;XYZ-2015-07-09-15-58-18;192.168.0.212;OCS-NG_WINDOWS_AGENT_v2.1.1.3;prolog;accepted
Thu May 19 18:34:18 2016;31088;311;XYZ-2015-07-09-15-58-18;192.168.0.212;OCS-NG_WINDOWS_AGENT_v2.1.1.3;session;started
Thu May 19 18:34:29 2016;31119;322;XYZ-2015-07-09-15-58-18;192.168.0.212;OCS-NG_WINDOWS_AGENT_v2.1.1.3;notify;no_device

However this system (and many more) is not showing up in the web interface (ocsreports). What am I missing here? What is going wrong?

Answered: Blank page on the ocsreports page

$
0
0
I've solve my problem, i will put on the site a complete documentation for install on 16.04

Answered: OCS 2.2 does not communicate with customers

$
0
0
Hi,

Can you post your apache error log and your agent log ?

Regards,

Gilles Dubois.

Offce Key ocs inventory Key

Problem with plugins

$
0
0

Hi, I'm trying to install the plugin (winusers, uptime, officepack) after updating the ocs-server, version 2.1 to 2.2. After i click install the first time just get a blank screen, updating, if you try to install again get the message " This plugin has been already installed ", but no plugin appears as installed.

Sorry for the bad english.


Export computers with choosen columns

$
0
0
I've upgraded OCS NG to newest 2.2 version and now I have the next problem: I can't export All computers to csv with information from choosen columns. It saves the csv file with full computers' information.

OCS Installation on Ubuntu 14.04

$
0
0

Can any one know the below steps are right to install OCS Inventory Server in Ubuntu 14.04

this is the steps i followed for installation

1. apt-get install apache2
2. apt-get install php5
3. apt-get install mysql-server phpmyadmin (Web Server
APACHE2)
4. apt-get install ocsinventory-server ocsinventory-reports
5. apt-get install ocsinventory-agent (I Choose -> http, Host
Name)
6. Finally I run ocsinventory-agent

For admin login - http://localhost/ocsreports

Youtube Link

https://www.youtube.com/watch?v=tdMR4BdzgPI 

after these successful completions I cannot able to see the web page in http://localhost/ocsreports

Please let me know any right installation guidance.

Thanks in Advance.

Have a Grate Day ahead!!

Error HTTP 1.1 404 not Found

$
0
0
Hello,

when I try to upload the ocs file to my server... The error http 1.1 404 not found appear.

How can I solve that?

Server = Version 2.2, Debian 8 Agent = 2.1.1.3 Windows 7

I restarted the apache, no success...

Please help me someone :(

Answered: Installation error. Please, need your help

$
0
0
I have the same error.
Upgrading from 2.1.2 to 2.2

Ubuntu 13.04, perl 5.14.

help please let

Answered: Problem with plugins

$
0
0
Hi,

can you send your error log from apache after installing a plugin ?

Are you upgrading from a older version of ocs ?

Regards,

Gilles Dubois.

Answered: Export computers with choosen columns

Answered: Probleme synchro site distant

$
0
0
Bonjour,

Un seul serveur OCS est nécessaire pour inventorier toutes tes machines (sites distants compris). Sur chaque machine il faut configurer l'agent OCS avec l'adresse IP ou le fqdn du serveur ocs. Ensuite tu vérifies avec les routes réseau.

Cordialement

Frank

installation OCS => pb GLPI : php version 5.3.8 requiert

$
0
0
Bonjour,

Petite question, je procede a une installation classique de la combinaison OCS/ GLPI.

Après avoir téléchargé la dernière version  d' OCS.

Je procède à l'installation sans problème. création de bdd ok , connexion ok

Le souci survient au moment de l'installation de GLPI. car je rencontre une page blanche ou il m'est simplement indiqué que ma version de php n'est pas compatible.

La version de php étant livrée lors de l'installation OCS (avec Xampp) ,  J'ai essayer de monter en version mon php a travers Xampp mais la solution n'a pas été concluante. J'ai essayer d'installer la dernière version de xampp mais lors du lancement du setup ocs, le perl n'est pas reconnu.

Que puis je faire pour contourner ce problème ?

merci de votre aide

Answered: Probleme synchro site distant

$
0
0
Bonjour,

Pour les sites distants non reliés il convient de faire des inventaires locaux en utilisant l'option /local (agent windows) ou --local (agent unix/linux) et ensuite de les charger dans OCS avec l'utilitaire ocsinventory-injector.pl ou alors c'est finir de les relier au réseau principal avec des vpn.

Cordialement

Frank

Hardware_ID a changé

$
0
0
Bonjour,

J'aimerais savoir pourquoi les ID de mes machines déjà inventoriées remontent avec des ID différents au fur et à mesure du temps. Actuellement j'ai 942 machines dans la base et le dernier hardware_ID est 15897.
La semaine dernière c'était 15887 le dernier ID.

Dans les réglages du serveur, j'ai mis la variable AUTO_DUPLICATE_LVL sur Serial, macaddress et model.

Y-a-t-il un moyen pour stopper l'incrémentation des ID sans cesse?

Merci de votre aide.

Answered: Upgrade to Ubuntu 16.04 LTS Xenial broken

$
0
0
Hi/Bonjour

Nous travaillons sur une version compatible PHP7. Celle-ci devrait voir le jour assez rapidement (les semaines à venir).

Cordialement

Frank

Tutorial OCS on Ubuntu 16.04

$
0
0

Here a solution to make an OCS+GLPI on Ubuntu 16.04

mkdir /tmp/inventory
chmod 777 /tmp/inventory
apt-get install make apache2 mysql-server php perl libapache2-mod-perl2 libapache2-mod-php 
apt-get install libio-compress-perl libxml-simple-perl libdbi-perl libdbd-mysql-perl 
apt-get install libapache-dbi-perl libsoap-lite-perl libnet-ip-perl 
apt-get install php-mysql php-gd php7.0-dev php-mbstring php-soap
perl -MCPAN -e 'install XML::Entities'
wget https://github.com/OCSInventory-NG/OCSInventory-ocsreports/releases/download/2.2/OCSNG_UNIX_SERVER-2.2.tar.gz
wget https://github.com/glpi-project/glpi/releases/download/0.90.3/glpi-0.90.3.tar.gz
wget https://forge.glpi-project.org/attachments/download/2114/glpi-ocsinventoryng-1.2.1.tar.gz
tar -xzvf glpi-0.90.3.tar.gz -C /var/www
tar -xvzf glpi-ocsinventoryng-1.2.1.tar.gz -C /var/www/glpi/plugins
tar -xvf OCSNG_UNIX_SERVER-2.2.tar.gz
cd OCSNG_UNIX_SERVER-2.2
mv setup.sh originalsetup.sh
wget https://raw.githubusercontent.com/OCSInventory-NG/OCSInventory-Server/master/setup.sh
sh setup.sh (Everything default)
cd
rm -r *.gz
rm -r OCSNG_UNIX_SERVER-2.2/
chown -R www-data:www-data /usr/share/ocsinventory-reports
chown -R www-data:www-data /var/www/glpi
chmod -R 777 /var/www
chmod -R 777 /usr/share/ocsinventory-reports
chmod -R 777 /var/www/glpi

nano /etc/apache2/sites-available/glpi.conf
Write in {
Alias / /var/www/glpi/
<VirtualHost *:80>
    ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined
    #ServerName www.example.com
    DocumentRoot /var/www/glpi
      <Directory "/var/www/glpi/">
        Options Indexes MultiViews FollowSymLinks
        #AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>
</VirtualHost>
}

a2dissite 000-default
a2enconf ocsinventory-reports
a2ensite glpi.conf
a2enconf z-ocsinventory-server
service apache2 restart

Web browser {
http://IP_server/ocsreports/install.php
MySQL login: root
MySQL password:pswd
Name of Database:ocsweb
MySQL HostName:127.0.0.1 -> OK
Enter OCS NG GUI
Perform the update
Enter OCS NG GUI

Configuration :
Server : TRACE_DELETED (ON)
Inventory files : GENERATE_OCS_FILES : ON
OCS_FILES_OVERWRITE : ON
OCS_FILES_PATH /tmp/inventory
}

rm /usr/share/ocsinventory-reports/ocsreports/install.php

mysql -u root -p
SET PASSWORD FOR 'ocs'@'localhost' = PASSWORD('pswd');
SET PASSWORD FOR 'ocs'@'%' = PASSWORD('pswd');
exit

nano /usr/share/ocsinventory-reports/ocsreports/dbconfig.inc.php
{
define("PSWD_BASE","pswd");
}

nano /etc/apache2/conf-available/z-ocsinventory-server.conf
{
PerlSetVar OCS_DB_PWD pswd
In <Location /plugins> Comment lines :
Require local
SetHandler perl-script
}

service apache2 restart

Web browser {
http://IP_server/
create or use a database
}
rm /var/www/glpi/install/install.php

Don't forget to change your passwords in OCS and glpi.

With this solution, u'll have OCS & GLPI Installed but no connection
between them.

There is a bug i still haven't found the solution.
OCS will display 0 computer on the /ocsreports/
but if you go to All computers, u will see all of your computers.
If someone find the solution for this Post-it here please thx. 
Viewing all 7082 articles
Browse latest View live


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