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

OCS Linux And Windows agents can't communicate with the OCS Server

$
0
0

Environment:

OCS Server: Ubuntu 14, OCS - 2.3.1

OCS Agents: OCS 2.3 on Ubuntu 14, Windows 7, Windows 8, Windows 10

I don't see any servers or computers at the http://website/ocsreports/

I checked my  Agent log file and I got this:

 [error] Cannot establish communication : 404 Not Found

 mod_perl module correctly installed on the OCS server.

My Ubuntu agent config file is :

server=http://server.ip.address/ocsinventory
debug=1
basevardir=/var/lib/ocsinventory-agent

I restarted Apache web server few times, it wasn't help me.

What else can I do to fix this issue? 

Please help me ASAP.

THANKS!


Windows Agent fail to send inventory

$
0
0
Hi everyone, my agent ( on Win 10 ) does not seem to sent inventory to the OCS server, however, i cant determine where en when does the error occurs ...

This is ocsinventory.ini:

[OCS Inventory Agent]
ComProvider=ComHTTP.dll
Debug=2
Local=
NoSoftware=0
HKCU=0
NoTAG=0
IpDisc=
[HTTP]
Server=http://"MY_OCS_SERVER_IP"/
SSL=1
CaBundle=cacert.pem
AuthRequired=0
User=
Pwd=
ProxyType=0
Proxy=
ProxyPort=0
ProxyAuthRequired=0
ProxyUser=
ProxyPwd=
[OCS Inventory Service]
TTO_WAIT=35760
INVENTORY_ON_STARTUP=0
PROLOG_FREQ=10
OLD_PROLOG_FREQ=10

 en there is the OCS log :

==============================================================================
Starting OCS Inventory NG Agent on Wednesday, March 01, 2017 16:36:57.
AGENT => Running OCS Inventory NG Agent Version 2.3.0.0
AGENT => Using OCS Inventory NG FrameWork Version 2.3.0.0
AGENT => Loading plug-in(s)
    DLL PLUGIN => Searching for Plug-in DLL(s) in folder <C:\Program Files (x86)\OCS Inventory Agent\plugins>
    DLL PLUGIN => 0 DLL Plug-in(s) successfully loaded on 0 DLL(s) found
AGENT => Using network connection with Communication Server
    COM PROVIDER => Loading Communication Provider <C:\Program Files (x86)\OCS Inventory Agent\ComHTTP.dll>
AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.3.0.0>
    AGENT => Sending getLabel request
    COM SERVER => Initializing cURL library for getFile
    COM SERVER => Using cURL without server authentication
    COM SERVER => Disabling cURL proxy support
    COM SERVER => Enabling cURL SSL server validation support using CA Bundle <C:\ProgramData\OCS Inventory NG\Agent\cacert.pem>
    COM SERVER => Sending fileGet request to URL <http://192.168.10.195//deploy/label>
    COM SERVER => fileGet response received <HTTP Status Code #404>
    COM SERVER => Cleaning cURL library
    AGENT => Failed to retrieve Label <HTTP Status Code #404>
AGENT => Sending Prolog
    DID_CHECK => Read DeviceID <DESKTOP-QII1OJ2-2017-03-01-15-01-21> and MACs <5C:51:4F:92:0D:D35C:51:4F:92:0D:D428:D2:44:4C:1A:0A00:50:56:C0:00:0100:50:56:C0:00:08> in file <ocsinventory.dat>
    COM SERVER => Initializing cURL library for sendRequest
    COM SERVER => Using cURL without server authentication
    COM SERVER => Disabling cURL proxy support
    COM SERVER => Enabling cURL SSL server validation support using CA Bundle <C:\ProgramData\OCS Inventory NG\Agent\cacert.pem>
    COM SERVER => Sending HTTP Post request to URL <http://192.168.10.195/>
    COM SERVER => HTTP Post response received <HTTP Status Code #200>
    COM SERVER => Cleaning cURL library
================= TRACE START ===============

================= TRACE STOP ===============
AGENT => Prolog successfully sent
SUPPORT => No support detected, Registration key : N/A
    AGENT => Prolog Frequency set to 10 hour(s)
    AGENT => Inventory on startup option set to  
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:00.

If anyone can provide help i would be very thankfull,

Thanks !

Agent : fileGet response received

$
0
0

My Agent is not able to connect to server.

Manual import of Agent created inventory XML-File works without problems.

I read all the questions and answers here but still not found the reason for my problem.

This is my OCSInventory.log:

==============================================================================
Starting OCS Inventory NG Agent on Wednesday, March 15, 2017 12:29:14.
AGENT => Running OCS Inventory NG Agent Version 2.3.0.0
AGENT => Using OCS Inventory NG FrameWork Version 2.3.0.0
AGENT => Loading plug-in(s)
    DLL PLUGIN => Searching for Plug-in DLL(s) in folder <C:\Program Files (x86)\OCS Inventory Agent\plugins>
    DLL PLUGIN => 0 DLL Plug-in(s) successfully loaded on 0 DLL(s) found
AGENT => Using network connection with Communication Server
    COM PROVIDER => Loading Communication Provider <C:\Program Files (x86)\OCS Inventory Agent\ComHTTP.dll>
AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.3.0.0>
    AGENT => Sending getLabel request
    COM SERVER => Initializing cURL library for getFile
    COM SERVER => Using cURL without server authentication
    COM SERVER => Disabling cURL proxy support
    COM SERVER => Disabling cURL SSL server validation support
    COM SERVER => Sending fileGet request to URL <http://xxx.xxx.xxx.xxx/ocsinventory/deploy/label>
    COM SERVER => fileGet response received <HTTP Status Code #400>
    COM SERVER => Cleaning cURL library
    AGENT => Failed to retrieve Label <HTTP Status Code #400>
AGENT => Sending Prolog
    DID_CHECK => Read DeviceID <xxx...> and MACs <xxxxxx..> in file <ocsinventory.dat>
    COM SERVER => Initializing cURL library for sendRequest
    COM SERVER => Using cURL without server authentication
    COM SERVER => Disabling cURL proxy support
    COM SERVER => Disabling cURL SSL server validation support
    COM SERVER => Sending HTTP Post request to URL <http://xxx.xxx.xxx.xxx/ocsinventory>
    COM SERVER => HTTP Post response received <HTTP Status Code #400>
    COM SERVER => Cleaning cURL library
================= TRACE START ===============

================= TRACE STOP ===============
ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #400>
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:00.

This is my ocsinventory.ini

[OCS Inventory Agent]
ComProvider=ComHTTP.dll
Debug=2
Local=
NoSoftware=0
HKCU=0
NoTAG=0
IpDisc=
[HTTP]
Server=http://xxx.xxx.xxx.xxx/ocsinventory
SSL=0
CaBundle=cacert.pem
AuthRequired=0
User=
Pwd=
ProxyType=0
Proxy=
ProxyPort=0
ProxyAuthRequired=0
ProxyUser=
ProxyPwd=
[OCS Inventory Service]
TTO_WAIT=1140
INVENTORY_ON_STARTUP=0

This is my apache error.log (looks like this could be the reason???)

ocsinventory-server: Bad setting. `SUPPORT` is not set. Default: `1`
ocsinventory-server: Can't load SOAP::Transport::HTTP* - Web service will be unavailable
[Wed Mar 15 07:35:08.199747 2017] [mpm_prefork:notice] [pid 1134] AH00163: Apache/2.4.10 (Debian) mod_perl/2.0.9dev Perl/v5.20.2 configured -- resuming normal operations

...

Can anybody help me please!?!

OCS agent: pas de remonté des PC

$
0
0

Bonjour,

J'ai installé GLPI et OCS, le tout est bien configuré ensemble mais je ne parviens pas à remonter les PC via l'agent.

Ils sont sur WS2012, j'ai installé ocsreports via github directement:

https://github.com/OCSInventory-NG/OCSInventory-ocsreports

Voici le message d'erreur dans les logs


Starting OCS Inventory NG Agent on Wednesday, March 15, 2017 13:45:08.
AGENT => Running OCS Inventory NG Agent Version 2.3.0.0
AGENT => Using OCS Inventory NG FrameWork Version 2.3.0.0
AGENT => Loading plug-in(s)
    DLL PLUGIN => Searching for Plug-in DLL(s) in folder <C:\Program Files (x86)\OCS Inventory Agent\plugins>
    DLL PLUGIN => 0 DLL Plug-in(s) successfully loaded on 0 DLL(s) found
AGENT => Using network connection with Communication Server
    COM PROVIDER => Loading Communication Provider <C:\Program Files (x86)\OCS Inventory Agent\ComHTTP.dll>
AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.3.0.0>
    AGENT => Sending getLabel request
    COM SERVER => Initializing cURL library for getFile
    COM SERVER => Using cURL without server authentication
    COM SERVER => Disabling cURL proxy support
    COM SERVER => Enabling cURL SSL server validation support using CA Bundle <C:\ProgramData\OCS Inventory NG\Agent\cacert.pem>
    COM SERVER => Sending fileGet request to URL <http://xxx.xx.x.xxx/ocsreports/deploy/label>
    COM SERVER => fileGet response received <HTTP Status Code #404>
    COM SERVER => Cleaning cURL library
    AGENT => Failed to retrieve Label <HTTP Status Code #404>
AGENT => Sending Prolog
    DID_CHECK => Read DeviceID <xxxxx-xx-2017-03-15-09-34-57> and MACs <xx.xx.xx.xx.xx> in file <ocsinventory.dat>
    COM SERVER => Initializing cURL library for sendRequest
    COM SERVER => Using cURL without server authentication
    COM SERVER => Disabling cURL proxy support
    COM SERVER => Enabling cURL SSL server validation support using CA Bundle <C:\ProgramData\OCS Inventory NG\Agent\cacert.pem>
    COM SERVER => Sending HTTP Post request to URL <http://xxx.xx.x.xxx/ocsreports>
    COM SERVER => HTTP Post response received <HTTP Status Code #200>
    COM SERVER => Cleaning cURL library
AGENT => Prolog successfully sent
SUPPORT => No support detected, Registration key : N/A
    AGENT => Prolog Frequency set to 10 hour(s)
    AGENT => Inventory on startup option set to  
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:00.

Je précise que je n'ai pas installé le module "mod_perl", car il est introuvable pour apache 2.4.x (wamp).

Merci de votre aide.

How can attribute PC to an account

$
0
0
Good day all,

I just installed OCS server 2.3.1 and an agent to a Windows 10 worstation. During the windows agent installation I entered a tag name (toto) and now, when I lunch http://myserver/ocsreports/ I can see an new entry. Under the "Account info: TAG" colomn, I can see ma 'toto' tag.

I also install an agent into another PC but I gave another name as the PC belong to another group. Let call this second group 'titi'.

I lunched I lunch http://myserver/ocsreports/, and now, I can see two entries , one with titi tag and the other with toto tag.

I create two new user, "titi-gp" and "toto-gp".

What, I want, when I longin with titi-gp, I only can view the entry with 'titi' tag, and when I login with toto-gp, I only can see the entries with toto tag.

Is there a way to do it?

Many thank for your advise, Cheers

Answered: Inventory problem

$
0
0

"i can't connect to my adminsitrative console from another pc but https://[IP OCS server]/ocsreport works from the server"

Can you even see the GUI on your web browser from the other computer or you get an error message ?
Are the server and other computer on same network ? 

"'i've no inventory for my client in the server but i've send inventory data from my client to the serveur and the server ping response is ok."

1. Stop OCS Inventory service on the Windows machine
2. Enable debug=2 in ocsinventory.ini (default locations is C:\ProgramData\OCS Inventory NG\Agent\) to get more logs for the agent.
3. Restart the OCS Inventory service
4. Show us the OCSInventory.log (same folder as ocsinventory.ini)

 

Answered: How do i to get OCS Inventory Agent in Client windows work

$
0
0
The agent must not have a version upper than your server.

So if you have a 2.1.2 server, your agent must be 2.1.1.1 or older.

If you want to use 2.3 agent, you have to update your server to 2.3.1

Answered: FreeBSD Memory nor correctly reported.

$
0
0

Upgrade the Agent to version 2.3 resolved my problem.


Proxmox VM Disks reporting not correct

$
0
0

Hi,

I have Proxmox hosts on LVM and some VMs' on them. When I look at the Proxmox host under Disks I see the following which does not seem correct:

It looks like all the drives are full. When I run df -h I see the correct storage and free space for /dev/dm-0 and /dev/mapper/pve-data. It matches the information on:

/var/lib/vz    /dev/mapper/pve-data    ext4    301460    451061

df -h ouput:
Filesystem            Size  Used Avail Use% Mounted on
udev                   10M     0   10M   0% /dev
tmpfs                 1.6G   29M  1.6G   2% /run
/dev/dm-0             9.8G  4.3G  5.0G  47% /
tmpfs                 3.9G   40M  3.9G   1% /dev/shm
tmpfs                 5.0M     0  5.0M   0% /run/lock
tmpfs                 3.9G     0  3.9G   0% /sys/fs/cgroup
/dev/mapper/pve-data  441G  147G  295G  34% /var/lib/vz
cgmfs                 100K     0  100K   0% /run/cgmanager/fs
/dev/fuse              30M   16K   30M   1% /etc/pve

When I view the Disk of one of the Host's guests I see the same information as above in the first slide. The word Disks might be incorrectly seen as these are partitions that may happen to be portions of Disks. Under Storage there is nothing. I would've like to be able to see what the physical drives connected to a server is and the details of the physical drive. 

What am I missing?

Answered: OCS Linux And Windows agents can't communicate with the OCS Server

$
0
0
Thanks for respond, I installed OCS-Agent 2.1 on the Ubuntu server as you said above, but I have the same issue. It doesn't work.

erreur de lecture du registre : Failed in call to .....

$
0
0

Bonjour,

Ma config : poste client W10/64Bits , ocs agent windows Ver. 2.1.1.3 , ocs serveur Ver. 2.1.2

Pour info j'ai bien activé REGISTRY Fonctionnalité de recherche dans le registre => ON

Mais malgrès cela j'ai systématiquement un retour dans sysinfo.log  "Failed in call to <RegOpenKey> function for subkey ....."

Exemple ci dessous avec une recherche sur une clé spécifique que j'ai crée :

Registry GetRegistryMultipleValues (HKLM\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Deploiement\Noyau)...
    Failed in call to <RegOpenKey> function for subkey HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Deploiement\Noyau of selected hive !
Registry GetRegistryMultipleValues (HKLM\HKEY_LOCAL_MACHINE\SOFTWARE\Deploiement\Noyau)...
    Failed in call to <RegOpenKey> function for subkey HKEY_LOCAL_MACHINE\SOFTWARE\Deploiement\Noyau of selected hive !

Avez vous une solution svp ?

Merci

Old server version - upgrade possible?

$
0
0
Thanks a lot, that was indeed the reason! So stupid, I was shure I had checked it...

Is there an easy way to upgrade server from 2.0.5 to  2.3 or do I have to install a new server? Can I somewhere find  an installation guide / tutorial for upgrade?

Thanks for your help!

Pas de remontée d'adresse IP des agents Linux

$
0
0
Bonjour,

Je rencontre un problème important au niveau de la remontée d'inventaire de mes agents Linux. Ils sont en version unifiée v2.1.1, la version du serveur OCS a été montée en 2.3, et depuis ce passage en 2.3, l'adresse IP des machines Linux ne remonte plus dans les inventaires. Une tentative de montée d'un agent Linux en 2.3 a été infructueuse. En sachant que dans "IpDiscover", on voit ces machines apparaître dans "Non inventoriés", avec l'adresse IP ! Mais dans le fichier XML des agents, le champs de l'adresse IP est vide.

Les agents n'ont donc pas été modifiés, toutes les informations sont remontées sauf l'adresse IP...

Merci

MS Office key 2013 H&B

$
0
0
Hi,

The key of MS Office 2013 Home and Business can not be read, only version 2016 Home and Business.
I use Windows 10 Pro 64 bit. The MS Office version is 32 Bit, both 2013 and 2016.
If I run the VBS script manually, I see the output only on the computer with 2016 version. The 2013 version has neither issue nor error.
I use last version of OCS Inventory Server 2.3.1, Agent 2.30, and Officepack 1.1.1

Please, can someone tell me what I'm doing wrong?
Thanks in advance!

Answered: OCS Linux And Windows agents can't communicate with the OCS Server

$
0
0
Ubuntu OCS agent config file on my first post ! ! !

Ubuntu ZABBIX AGENT LOG

[Thu Apr 13 09:43:09 2017][debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.1.1
[Thu Apr 13 09:43:09 2017][debug] Log system initialised (File)
[Thu Apr 13 09:43:09 2017][debug] --scan-homedirs missing. Don't scan user directories
[Thu Apr 13 09:43:09 2017][debug] Accountinfo file: /var/lib/ocsinventory-agent/http:__MyIPAdress_ocsinventory/ocsinv.adm
[Thu Apr 13 09:43:09 2017][debug] OCS Agent initialised
[Thu Apr 13 09:43:10 2017][debug] Turns hooks on for /etc/ocsinventory/modules.conf
[Thu Apr 13 09:43:10 2017][debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.1.1
[Thu Apr 13 09:43:10 2017][debug] Log system initialised (File)
[Thu Apr 13 09:43:10 2017][debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.1.1
[Thu Apr 13 09:43:10 2017][debug] Log system initialised (File)
[Thu Apr 13 09:43:10 2017][debug] Calling handlers : `start_handler'
[Thu Apr 13 09:43:10 2017][debug] [snmp] Calling snmp_start_handler
[Thu Apr 13 09:43:10 2017][debug]  - Net::SNMP loaded
[Thu Apr 13 09:43:10 2017][debug] [download] Calling download_start_handler
[Thu Apr 13 09:43:10 2017][debug]  - LWP loaded
[Thu Apr 13 09:43:10 2017][debug]  - LWP::Protocol::https loaded
[Thu Apr 13 09:43:10 2017][debug] Compress::Zlib is available.
[Thu Apr 13 09:43:10 2017][debug] Calling handlers : `prolog_writer'
[Thu Apr 13 09:43:10 2017][debug] sending XML
[Thu Apr 13 09:43:10 2017][debug] sending: <?xml version="1.0" encoding="UTF-8"?>
<REQUEST>
  <DEVICEID>ip-172-32-72-25-2017-04-12-11-21-15</DEVICEID>
  <QUERY>PROLOG</QUERY>
</REQUEST>
[Thu Apr 13 09:43:10 2017][error] Cannot establish communication : 404 Not Found

Ubuntu Apache Access Log:

IP  - - [13/Apr/2017:09:27:04 -0400] "GET /zabbix/chart.php?itemids%5B%5D=25450&=&width=500&height=100&period=3600&stime=20180412105129&updateProfile=1&profileIdx=web.screens&profileIdx2=21&sid=01f1a21de6bc5cf8&scree$
IP  - - [13/Apr/2017:09:27:09 -0400] "GET /zabbix/chart.php?itemids%5B%5D=25465&=&width=500&height=100&period=3600&stime=20180412105129&updateProfile=1&profileIdx=web.screens&profileIdx2=21&sid=01f1a21de6bc5cf8&scree$
IP  - - [13/Apr/2017:09:27:09 -0400] "GET /zabbix/chart2.php?graphid=562&screenid=21&width=500&height=100&legend=1&updateProfile=1&profileIdx=web.screens&profileIdx2=21&period=3600&stime=20180412105129&sid=01f1a21de6$
IP  - - [13/Apr/2017:09:27:09 -0400] "GET /zabbix/chart.php?itemids%5B%5D=25451&=&width=500&height=100&period=3600&stime=20180412105129&updateProfile=1&profileIdx=web.screens&profileIdx2=21&sid=01f1a21de6bc5cf8&scree$
IP  - - [13/Apr/2017:09:27:15 -0400] "POST /zabbix/jsrpc.php?output=json-rpc HTTP/1.1" 200 1074 "http://mywebsite/zabbix/screens.php?elementid=21" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, $
IP  - - [13/Apr/2017:09:27:24 -0400] "GET /zabbix/chart6.php?graphid=600&screenid=21&width=500&height=100&legend=1&graph3d=1&updateProfile=1&profileIdx=web.screens&profileIdx2=21&period=3600&stime=20180412105129&sid=$
IP  - - [13/Apr/2017:09:27:24 -0400] "GET /zabbix/chart6.php?graphid=601&screenid=21&width=500&height=100&legend=1&graph3d=1&updateProfile=1&profileIdx=web.screens&profileIdx2=21&period=3600&stime=20180412105129&sid=$
IP  - - [13/Apr/2017:09:27:24 -0400] "GET /zabbix/chart6.php?graphid=641&screenid=21&width=500&height=100&legend=1&graph3d=1&updateProfile=1&profileIdx=web.screens&profileIdx2=21&period=3600&stime=20180412105129&sid=$
IP  - - [13/Apr/2017:09:27:26 -0400] "POST /zabbix/jsrpc.php?output=json-rpc HTTP/1.1" 200 1073 "http://mywebsite/zabbix/screens.php?elementid=21" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, $
IP  - - [13/Apr/2017:09:27:28 -0400] "GET /zabbix/chart.php?itemids%5B%5D=25449&=&width=500&height=100&period=3600&stime=20180412105129&updateProfile=1&profileIdx=web.screens&profileIdx2=21&sid=01f1a21de6bc5cf8&scree$
IP  - - [13/Apr/2017:09:27:28 -0400] "GET /zabbix/chart2.php?graphid=561&screenid=21&width=500&height=100&legend=1&updateProfile=1&profileIdx=web.screens&profileIdx2=21&period=3600&stime=20180412105129&sid=01f1a21de6$
IP  - - [13/Apr/2017:09:27:35 -0400] "GET /zabbix/chart.php?itemids%5B%5D=25450&=&width=500&height=100&period=3600&stime=20180412105129&updateProfile=1&profileIdx=web.screens&profileIdx2=21&sid=01f1a21de6bc5cf8&scree$
IP  - - [13/Apr/2017:09:27:37 -0400] "POST /zabbix/jsrpc.php?output=json-rpc HTTP/1.1" 200 1073 "http://mywebsite/zabbix/screens.php?elementid=21" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, $

Ubuntu Apache Error Log:

[Wed Apr 12 14:57:50.316424 2017] [ssl:warn] [pid 20268] AH01906: RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Apr 12 14:57:50.316460 2017] [ssl:warn] [pid 20268] AH01909: RSA certificate configured for mywebsite:443 does NOT include an ID which matches the server name
[Wed Apr 12 14:57:50.530790 2017] [ssl:warn] [pid 20269] AH01906: RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Apr 12 14:57:50.530816 2017] [ssl:warn] [pid 20269] AH01909: RSA certificate configured for mywebsite:443 does NOT include an ID which matches the server name
[Wed Apr 12 14:57:50.534586 2017] [mpm_prefork:notice] [pid 20269] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.21 OpenSSL/1.0.1f mod_perl/2.0.8 Perl/v5.18.2 configured -- resuming normal operations
[Wed Apr 12 14:57:50.534603 2017] [core:notice] [pid 20269] AH00094: Command line: '/usr/sbin/apache2'
[Wed Apr 12 15:01:34.073706 2017] [mpm_prefork:notice] [pid 20269] AH00169: caught SIGTERM, shutting down
[Wed Apr 12 15:01:35.249550 2017] [ssl:warn] [pid 20635] AH01906: RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Apr 12 15:01:35.249581 2017] [ssl:warn] [pid 20635] AH01909: RSA certificate configured for mywebsite:443 does NOT include an ID which matches the server name
[Wed Apr 12 15:01:35.463968 2017] [ssl:warn] [pid 20636] AH01906: RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Apr 12 15:01:35.463996 2017] [ssl:warn] [pid 20636] AH01909: RSA certificate configured for mywebsite:443 does NOT include an ID which matches the server name
[Wed Apr 12 15:01:35.467708 2017] [mpm_prefork:notice] [pid 20636] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.21 OpenSSL/1.0.1f mod_perl/2.0.8 Perl/v5.18.2 configured -- resuming normal operations
[Wed Apr 12 15:01:35.467723 2017] [core:notice] [pid 20636] AH00094: Command line: '/usr/sbin/apache2'
[Thu Apr 13 02:00:25.268407 2017] [cgi:error] [pid 31985] [client IP:38106] script not found or unable to stat: /usr/lib/cgi-bin/php

AGENT => Failed to retrieve Label

$
0
0
Bonjour,

Voici le soucis, si j'utilise la version 2.05 du client je n'ai aucun soucis, dès que je veux essayer dès la 2.1.1 j'ai l'erreur 400 au niveau du client

==============================================================================
Starting OCS Inventory NG Agent on Thursday, March 23, 2017 10:27:42.
AGENT => Running OCS Inventory NG Agent Version 2.3.0.0
AGENT => Using OCS Inventory NG FrameWork Version 2.3.0.0
AGENT => Loading plug-in(s)
    DLL PLUGIN => Searching for Plug-in DLL(s) in folder <C:\Program Files (x86)\OCS Inventory Agent\plugins>
    DLL PLUGIN => 0 DLL Plug-in(s) successfully loaded on 0 DLL(s) found
AGENT => Using network connection with Communication Server
    COM PROVIDER => Loading Communication Provider <C:\Program Files (x86)\OCS Inventory Agent\ComHTTP.dll>
AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.3.0.0>
    AGENT => Sending getLabel request
    COM SERVER => Initializing cURL library for getFile
    COM SERVER => Using cURL without server authentication
    COM SERVER => Disabling cURL proxy support
    COM SERVER => Disabling cURL SSL server validation support
    COM SERVER => Sending fileGet request to URL <http://xxx.xxx.xxx.xxx/ocsinventory/deploy/label>
    COM SERVER => fileGet response received <HTTP Status Code #400>
    COM SERVER => Cleaning cURL library
    AGENT => Failed to retrieve Label <HTTP Status Code #400>
AGENT => Sending Prolog
    DID_CHECK => Read DeviceID <F-203-2017-03-13-11-50-07> and MACs <DC:4A:3E:57:EC:68> in file <ocsinventory.dat>
    COM SERVER => Initializing cURL library for sendRequest
    COM SERVER => Using cURL without server authentication
    COM SERVER => Disabling cURL proxy support
    COM SERVER => Disabling cURL SSL server validation support
    COM SERVER => Sending HTTP Post request to URL <http://xxx.xxx.xxx.xxx/ocsinventory>
    COM SERVER => HTTP Post response received <HTTP Status Code #400>
    COM SERVER => Cleaning cURL library
ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #400>
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:00.

Le serveur qui est installé depuis un bail (peut être même avant les versions 2.X)  upgradé sans problème à chaque version.

l'application fonctionne sans soucis excepté avec les clients post 2.0.5 comme détaillé plus haut, ce n'est pas bloquant mais ça pourrait créer un soucis un jour, dans une version ultérieure de windows.

ocsinventory server version 2.3.1

os serveur ubunu 14.04.

Ce serveur sert aussi comme serveur glpi et fog.

Les seules erreurs dans le log apache

ocsinventory-server: Bad setting. `SUPPORT` is not set. Default: `1`
ocsinventory-server: Can't load SOAP::Transport::HTTP* - Web service will be unavailable

bien essayé des les résoudre, mais on dirait qu'elles sont assez banales et surtout non bloquantes

Si vous aviez une petite piste je suis preneur :)

Cant retrieve info from Agent

$
0
0
Hello

greetings from Spain

I have just installed in a SERVER 2008 this software

XAMPP  + OCS Server ver 2.1.2, all runs - as far i can see - properly

The problem is when I install in a client PC the Agent 2.3.0.0, first question.

my url server direction is http://192.168.1.1:8088/ocsinventory

all seems ok, but i cant see nothing from the  admin console.

I thought about firewall issue and make new rules for this, but nothing happens.

I tried install Agent NG directly  in my SERVER to fetch local info, ,and not working neither.

QUESTIONS:

Is there any trick to check if all is properly installed?

Thanks in advance.

Answered: MS Office key 2013 H&B

$
0
0
Hi,

An updated version of the plugin will inventory this version of office. Stay tuned.

Regards

Frank

Answered: Inventory problem

$
0
0
Hi,

By default on CentOS 7 firewalld is started. Disable it. Your two problems are linked to the started firewall. Stop it and retry an inventory.

Regards

Frank

Answered: OCS Linux And Windows agents can't communicate with the OCS Server

$
0
0

 frankb  GLPI - this is another inventory software. So I didn't install it.

You asked: Did you enable z-ocsinventory-server.conf file with a2enconf command?

Yes I did. But I still have the same issue.

What else can I do to resolve it ?

Viewing all 4573 articles
Browse latest View live


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