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

Answered: ERROR *** AGENT => Failed to send Prolog

$
0
0
Merci vincent_n, je ne peux pas croire que j'ai passé tout ce temps à chercher alors que la solution était si simple.

Answered: No connection between OCS inventory and agent

$
0
0
I have the same problem.

CentOS 6.8
Server version: 5.5.54 MySQL Community Server (GPL) by Remi
PHP 5.6.30 (cli) (built: Jan 19 2017 08:00:02)
OCSInventory Server 2.3
OCSNG-Windows-Agent-2.3.0.0

Answered: Is there a tool to gather informations of several OCS servers in one view ?

Answered: How to pick up all versions of IE with OCS ?

$
0
0

Hello,

I did what you did (I noticed thanks to you that I made a mistake in my regkey by the way) but my registry tab on each computer is either empty or non usable.

Do you have an idea/solution ?


Bonjour,

J'ai fais ce que tu as fait mais mon onglet "registry" reste soit vide soit "grisé" (non utilisable).

As-tu une idée/solution ?

[error] Cannot establish communication : 500 Internal Server Error

$
0
0

Hi

Since a week we got a HTTP 500 error when the OCS Agent send the data to the OCS Server on Suse !
On the server and on the agent was nothing changed ! The error occured the first time at 03:00.
Also in the logfiles I can't find a "real" error. mysql is running. System was booted without success.
Yesterday I stopped and started the mysql DB, and magic 2 agents could store there data in the DB (seen in the OCS GUI). This behavior could not be reproduced now. Stop and start of the mysql DB didn't help anymore.

OCS Server is 2.0.4, MySQL is  5.5.49, both running on Suse Enterprise 11, SP4
Here are entry from the logfiles:

/var/log/ocsinventory-server/activity.log
------------------------------------------------------
Wed Dec 21 07:30:39 2016;4924;100;SVR-OFTRINGNF11-2012-09-05-13-43-19;172.22.233.218;COOP_customized_windows_agent_v2.0.4.1;prolog;accepted
Wed Dec 21 07:30:39 2016;4924;311;SVR-OFTRINGNF11-2012-09-05-13-43-19;172.22.233.218;COOP_customized_windows_agent_v2.0.4.1;session;started
Wed Dec 21 07:31:05 2016;6533;319;SVR-OFTRINGNF11-2012-09-05-13-43-19;172.22.233.218;COOP_customized_windows_agent_v2.0.4.1;session;found
Wed Dec 21 07:31:05 2016;6533;104;SVR-OFTRINGNF11-2012-09-05-13-43-19;172.22.233.218;COOP_customized_windows_agent_v2.0.4.1;inventory;incoming
Wed Dec 21 07:31:05 2016;6533;515;SVR-OFTRINGNF11-2012-09-05-13-43-19;172.22.233.218;COOP_customized_windows_agent_v2.0.4.1;end;error

/var/log/apache2/access_log
------------------------------------------
172.20.214.218 - - [21/Dec/2016:07:32:13 +0100] "POST /ocsinventory HTTP/1.1" 200 302 "-""COOP_customized_windows_agent_v2.0.4.1"
172.30.199.218 - - [21/Dec/2016:07:32:13 +0100] "POST /ocsinventory HTTP/1.1" 200 302 "-""COOP_customized_windows_agent_v2.0.4.1"
172.20.214.218 - - [21/Dec/2016:07:32:30 +0100] "POST /ocsinventory HTTP/1.1"500 1058 "-""COOP_customized_windows_agent_v2.0.4.1"
172.30.199.218 - - [21/Dec/2016:07:32:37 +0100] "POST /ocsinventory HTTP/1.1"500 1058 "-""COOP_customized_windows_agent_v2.0.4.1"


Any ideas, tipps, tricks ???
ANY help is very welcome !!!

Is there a possibility to set a debug loglevel to see more informations ?

Thank you very much !!!
Regards,
Frank

Impossible to install Ocs Inventory last version

$
0
0
Hello,

I have install Xampp version 5.6.21, (i have Glpi, Grr that fonction correctly)

When i Try to install ocsinventory server, i obtain un message

XAMPP server is installed but Perl not found on you computer ....

And i can't continue the install.

You can help me, please ?

Thanks you

Version ocsinventory-server-2.3 plugins

$
0
0

Hello,

In have installed OCSNG_UNIX_SERVER-2.3 on a debian 7 server. When I download the plugins I get the following error.

The communication server encountered the following error on install :  
Click here to solve your problem

How can I solve this problem?

Thanks John

Is it possible to create a URL in the field USERID in order to search the info related to USERID ?

$
0
0
Hi  guys!!

I would like to change the field userid in "http://ocs-server/ocs/index.php?function=visu_computers" and attach into an ajax function link what i call "function_get_userinfo.php" where i can get directly some the info about the userid. This function returns some json data, what i included an alert popup to show what i want see.

I modified around the line #273 from the file function_table_html.php in the olders versions. It worked great.

The code i changed looked like that:

if ($v == "") $v="&nbsp";
                if ($k == "User"){
                     $v = "<a id=\"userinfo\" class=\"userinfo\" href=require/function_get_userinfo.php?q=$v>$v</a>";
                };                 
                echo "<td class='ta' >".$begin.$v.$end."</td>";

In the version 2.3RC this dont work. So where in 2.3RC i can change this? What file i can change this.

Thanks!!!

Logiciels affectés

$
0
0
Bonjour,

quand je vais sur la page " Tous les logiciels "

Je vois bien mes logicels présent ainsi que sur le nombre de pc que ce logiciel est installé.

Quand je clique sur le chiffre, cela me donne aucun résultat et je ne vois aucun pc rattaché a ce logiciel.

J'espere avoir été assez claire pour expliquer mon problème .

Merci d'avance

OCS 2.3 Serveur - OCS-NG GUI erreur 500

$
0
0
Bonjour,

je viens d'installer OCS Inventory Server 2.3 sur Fedora. L'installation s'est bien déroulée mais après avoir démarré le script install.php et procédé à la création de la base de données, j'arrive à l'étape de démarrer le GUI pour la première fois... mais j'obtiens une erreur 500. J'ai vérifié si j'arrivais à me connecter avec l'usager 'ocs' sur ma base de données et c'était le cas. J'ai vérifié si la base était bien créée et c'était le cas. J'ai roulé install.php une deuxième fois et on m'indiquait que la base était OK.

Dans le fichier error_log de apache, j'obtiens les lignes suivantes, au redémarrage du service, je ne sens rien d'anormal.

[Tue Jan 17 09:05:26.432019 2017] [core:info] [pid 26500] AH00096: removed PID file /run/httpd/httpd.pid (pid=26500)
[Tue Jan 17 09:05:26.432058 2017] [mpm_prefork:notice] [pid 26500] AH00170: caught SIGWINCH, shutting down gracefully
[Tue Jan 17 09:05:27.782154 2017] [suexec:notice] [pid 27416] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Jan 17 09:05:27.782277 2017] [:notice] [pid 27416] ModSecurity for Apache/2.9.0 (http://www.modsecurity.org/) configured.
[Tue Jan 17 09:05:27.782283 2017] [:notice] [pid 27416] ModSecurity: APR compiled version="1.5.2"; loaded version="1.5.2"
[Tue Jan 17 09:05:27.782287 2017] [:notice] [pid 27416] ModSecurity: PCRE compiled version="8.38 "; loaded version="8.39 2016-06-14"
[Tue Jan 17 09:05:27.782297 2017] [:warn] [pid 27416] ModSecurity: Loaded PCRE do not match with compiled!
[Tue Jan 17 09:05:27.782299 2017] [:notice] [pid 27416] ModSecurity: LUA compiled version="Lua 5.3"
[Tue Jan 17 09:05:27.782301 2017] [:notice] [pid 27416] ModSecurity: YAJL compiled version="2.1.0"
[Tue Jan 17 09:05:27.782303 2017] [:notice] [pid 27416] ModSecurity: LIBXML compiled version="2.9.3"
[Tue Jan 17 09:05:27.782306 2017] [:notice] [pid 27416] ModSecurity: Status engine is currently disabled, enable it by set SecStatusEngine to On.
[Tue Jan 17 09:05:28.084697 2017] [auth_digest:notice] [pid 27416] AH01757: generating secret for digest authentication ...
[Tue Jan 17 09:05:28.088040 2017] [lbmethod_heartbeat:notice] [pid 27416] AH02282: No slotmem from mod_heartmonitor
[Tue Jan 17 09:05:28.105036 2017] [mpm_prefork:notice] [pid 27416] AH00163: Apache/2.4.25 (Fedora) OpenSSL/1.0.2j-fips PHP/5.6.29 mod_perl/2.0.10 Perl/v5.22.2 configured -- resuming normal operations
[Tue Jan 17 09:05:28.105067 2017] [core:notice] [pid 27416] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'

J'ai vérifié et chaque module est bel et bien installé sur mon poste. Je dois admettre que je ne sais plus quoi faire maintenant. À l'aide?

Answered: OCS Teledeployment : can't find information file at ...

$
0
0
Hi,

Ok i paste the logs :

DOWNLOAD.LOG :

Starting OCS Inventory NG Package Download and Setup Tool on Thursday, January 19, 2017 14:32:52.
DOWNLOAD => Running OCS Inventory NG Download Version 2.1.1.1
DOWNLOAD => Using OCS Inventory NG FrameWork Version 2.1.1.1
DOWNLOAD => Using network connection with Communication Server
DOWNLOAD => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.1.1.1>
DOWNLOAD => Starting new period of 10 cycles
DOWNLOAD => Parsing directory <C:\ProgramData\OCS Inventory NG\Agent\download> for packages
DOWNLOAD => No package found, exiting
DOWNLOAD => Unloading communication provider
DOWNLOAD => Execution duration: 00:00:00.

OCSINVENTORY.LOG :

Starting OCS Inventory NG Agent on Wednesday, January 25, 2017 11:12:12.
AGENT => Running OCS Inventory NG Agent Version 2.1.1.1
AGENT => Using OCS Inventory NG FrameWork Version 2.1.1.1
AGENT => Loading plug-in(s)
AGENT => Using network connection with Communication Server
AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.1.1.1>
AGENT => Sending Prolog
ERROR *** AGENT => Failed to send Prolog <Couldn't connect to server>
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:00.

I choose only the last entry of each log, there is the same error in all try.

Of course the client and the server can communicate (ping and i can access OCS from the client, even in https)

Regards

Answered: Apache perl error (hash reference)

$
0
0
not yet, only started installing the agents yesterday (linux windows and macosx) only (some) linux seems to be an issue, even a linux machine that is essentially a mirror of another might not work while it's mirror does

Answered: How to pick up all versions of IE with OCS ?

$
0
0

My bad ! I just needed to be patient, it works ! Thanks a lot laugh

But now, do you know a way to display it for all computers and not computer by computer ?

A script, plugin, external tool ? frown


J'ai rien dis j'avais juste besoin d'être patient, ça fonctionne ! Merci beaucoup !

Mais maintenant, est-ce que tu connais un moyen de l'afficher pour tous les PC en même temps ? 

En tout cas, merci beaucoup pour ton temps !

[RESOLVED] Error on client after db migration FR/ENG

$
0
0

Hi,

I just update my Ubuntu Server from 14.04LTS to 16.04LTS and OCS to 2.3, at this point everything was ok.
The ocs db was on a dedicated MySQL but I want to migrate it to the ocs web server.

Once the migration done, I changed the z-ocsinventory-server.conf et dbconfig.inc.php to point to the new server. GUI is ok but clients can't send theirs inventories.

A <HTTP Status Code #500>  appears in the OCSinventory.log

When I check the Apache2 error log on the server i found this error:

Can't call method "do" on an undefined value at /usr/local/share/perl/5.22.1/Apache/Ocsinventory/Server/System.pm line 189.\n

I tested direct mysql connection and SHOW TABLES; with my db user -> OK

I hope someone could help me.

Answered: How to pick up all versions of IE with OCS ?

$
0
0

D'accord, merci beaucoup pour ton aide en tout cas !

Bonne continuation smiley


I want to know if OCS Inventory works with PostgreSQL

$
0
0
I´m interested to know if I can install OCS inventory NG Sever with the database PostgreSQL

Thanks

[error] Cannot establish communication : 500 Internal Server Error

$
0
0

Hi

Since a week we got a HTTP 500 error when the OCS Agent send the data to the OCS Server on Suse !
On the server and on the agent was nothing changed ! The error occured the first time at 03:00.
Also in the logfiles I can't find a "real" error. mysql is running. System was booted without success.
Yesterday I stopped and started the mysql DB, and magic 2 agents could store there data in the DB (seen in the OCS GUI). This behavior could not be reproduced now. Stop and start of the mysql DB didn't help anymore.

OCS Server is 2.0.4, MySQL is  5.5.49, both running on Suse Enterprise 11, SP4
Here are entry from the logfiles:

/var/log/ocsinventory-server/activity.log
------------------------------------------------------
Wed Dec 21 07:30:39 2016;4924;100;SVR-OFTRINGNF11-2012-09-05-13-43-19;172.22.233.218;COOP_customized_windows_agent_v2.0.4.1;prolog;accepted
Wed Dec 21 07:30:39 2016;4924;311;SVR-OFTRINGNF11-2012-09-05-13-43-19;172.22.233.218;COOP_customized_windows_agent_v2.0.4.1;session;started
Wed Dec 21 07:31:05 2016;6533;319;SVR-OFTRINGNF11-2012-09-05-13-43-19;172.22.233.218;COOP_customized_windows_agent_v2.0.4.1;session;found
Wed Dec 21 07:31:05 2016;6533;104;SVR-OFTRINGNF11-2012-09-05-13-43-19;172.22.233.218;COOP_customized_windows_agent_v2.0.4.1;inventory;incoming
Wed Dec 21 07:31:05 2016;6533;515;SVR-OFTRINGNF11-2012-09-05-13-43-19;172.22.233.218;COOP_customized_windows_agent_v2.0.4.1;end;error

/var/log/apache2/access_log
------------------------------------------
172.20.214.218 - - [21/Dec/2016:07:32:13 +0100] "POST /ocsinventory HTTP/1.1" 200 302 "-""COOP_customized_windows_agent_v2.0.4.1"
172.30.199.218 - - [21/Dec/2016:07:32:13 +0100] "POST /ocsinventory HTTP/1.1" 200 302 "-""COOP_customized_windows_agent_v2.0.4.1"
172.20.214.218 - - [21/Dec/2016:07:32:30 +0100] "POST /ocsinventory HTTP/1.1"500 1058 "-""COOP_customized_windows_agent_v2.0.4.1"
172.30.199.218 - - [21/Dec/2016:07:32:37 +0100] "POST /ocsinventory HTTP/1.1"500 1058 "-""COOP_customized_windows_agent_v2.0.4.1"


Any ideas, tipps, tricks ???
ANY help is very welcome !!!

Is there a possibility to set a debug loglevel to see more informations ?

Thank you very much !!!
Regards,
Frank

Answered: I want to know if OCS Inventory works with PostgreSQL

$
0
0

I'm 90% sure it works only with MySQL frown

How to update the server ocs inventory

$
0
0

Good day, I have ocs inventory version 2.1.2 installed on centos 6.6 server, I see that is already the new version 2.3 of ocs inventory, but I do not know the procedure to perform the update. I appreciate if you can tell me how this procedure is performed, and the corresponding backup.

Answered: I want to know if OCS Inventory works with PostgreSQL

$
0
0
Hello,

OCS Inventory doesn't work with PostgreSQL.
It needs MySQL or MariaDB.

Regards,
Bexounet
Viewing all 7074 articles
Browse latest View live