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

Linux ocs-agent inventory missing


Uninstall OCS-NG agent Windows

$
0
0

Hi,

what would be the best way to uninstall the OCS NG agent remotely? I tried with the following batch file

@ECHO OFF
"C:\Program Files (x86)\OCS Inventory Agent\uninst.exe" /s
EXIT

That works but it still shows the uninstallation window although I'm using the /s parameter. Is there a better way?

Kind regards,
Jo

Imposssibilité de déployer un package

$
0
0

Bonjour,

Depuis le passage de la version 2.3 à la version 2.3.1 il m'est impossible de déployer un package vers un poste. Je peux néanmoins déployer les anciens packages créés avant cette mise à jour. J'utilise bien l'option launch pour exécuter un .bat mais j'ai à chaque fois une erreur dans le download.log. J'ai aussi testé le déploiement sur des versions d'agent Windows différentes (notamment avec la dernière version 2.3) mais rien n'y fait.

Voici le contenu du download.log :

==============================================================================
Starting OCS Inventory NG Package Download and Setup Tool on Wednesday, September 06, 2017 12:13:51.
DOWNLOAD => Running OCS Inventory NG Download Version 2.3.0.0
DOWNLOAD => Using OCS Inventory NG FrameWork Version 2.3.0.0
DOWNLOAD => Using network connection with Communication Server
 COM PROVIDER => Loading Communication Provider <C:\Program Files (x86)\OCS Inventory Agent\ComHTTP.dll>
DOWNLOAD => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.3.0.0>
DOWNLOAD => Starting new period of 10 cycles
 DOWNLOAD => Flushing package queue
DOWNLOAD => Parsing directory <C:\ProgramData\OCS Inventory NG\Agent\download> for packages
 DOWNLOAD => Verifying package <C:\ProgramData\OCS Inventory NG\Agent\download\1504692734>
DOWNLOAD => Package <1504692734> verified and added to process queue
 DOWNLOAD => Processing packages for cycle 1 on Wednesday, September 06, 2017 12:13:51
 DOWNLOAD => Pausing for cycle latency (1 seconds)
 DOWNLOAD => Processing packages for cycle 2 on Wednesday, September 06, 2017 12:13:52
 DOWNLOAD => Pausing for cycle latency (1 seconds)
 DOWNLOAD => Processing packages for cycle 3 on Wednesday, September 06, 2017 12:13:53
 DOWNLOAD => Pausing for cycle latency (1 seconds)
 DOWNLOAD => Processing packages for cycle 4 on Wednesday, September 06, 2017 12:13:54
 DOWNLOAD => Pausing for cycle latency (1 seconds)
 DOWNLOAD => Processing packages for cycle 5 on Wednesday, September 06, 2017 12:13:55
DOWNLOAD => Downloading package fragment <1504692734-1>
 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://ocsreports.xxxxxx.xx/download/1504692734/1504692734-1>
 COM SERVER => fileGet response received <HTTP Status Code #200>
 COM SERVER => Cleaning cURL library
 DOWNLOAD => Pausing for fragment latency (1 seconds)
 DOWNLOAD => Pausing for cycle latency (1 seconds)
 DOWNLOAD => Processing packages for cycle 6 on Wednesday, September 06, 2017 12:13:58
 DOWNLOAD => Pausing for cycle latency (1 seconds)
 DOWNLOAD => Processing packages for cycle 7 on Wednesday, September 06, 2017 12:13:59
 DOWNLOAD => Pausing for cycle latency (1 seconds)
 DOWNLOAD => Processing packages for cycle 8 on Wednesday, September 06, 2017 12:14:00
 DOWNLOAD => Pausing for cycle latency (1 seconds)
 DOWNLOAD => Processing packages for cycle 9 on Wednesday, September 06, 2017 12:14:01
 DOWNLOAD => Pausing for cycle latency (1 seconds)
 DOWNLOAD => Processing packages for cycle 10 on Wednesday, September 06, 2017 12:14:02
DOWNLOAD => Building package <1504692734>
 PACKAGE => Verifying fragment files of package <1504692734>
 PACKAGE => Checking free disk space for package <1504692734>
 PACKAGE => Building ZIP for package <1504692734>
 PACKAGE => Verifying ZIP signature for package <1504692734>
 DOWNLOAD => Package <1504692734> built successfully
DOWNLOAD => Executing action <LAUNCH> for package <1504692734>
 PACKAGE => Launching command <TESTdep.bat> for package <1504692734> on <Wednesday, September 06, 2017 12:14:02>
 PACKAGE => Package <1504692734> successfully launched. Command exit code is <1>. Package return code is <EXIT_CODE_1>
 PACKAGE => No post execution command provided for package <1504692734>
ERROR *** DOWNLOAD => Will not register package <1504692734> in history: result <EXIT_CODE_1> not a success
DOWNLOAD => Sending result code <EXIT_CODE_1> for package <1504692734>
 DID_CHECK => Read DeviceID <PCCLT4163-2017-08-03-09-16-46> and MACs <18:03:73:20:71:340A:00:27:00:00:040A:00:27:00:00:100A:00:27:00:00:17> 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 <https://ocsreports.xxxxxxx.xx/ocsinventory>
 COM SERVER => HTTP Post response received <HTTP Status Code #200>
 COM SERVER => Cleaning cURL library
 DOWNLOAD => Result code request successfully sent
 DOWNLOAD => Pausing for fragment latency (1 seconds)
 DOWNLOAD => Pausing for cycle latency (1 seconds)
 DOWNLOAD => Pausing for period latency (1 seconds)
DOWNLOAD => Starting new period of 10 cycles
 DOWNLOAD => Flushing package queue
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:30.


Voici le contenu de mon .bat (que j'ai testé d'exécuter directement sur mon poste et qui fonctionne):

msiexec.exe /i "\\xxxxxxx\Ocs\Signandgo_WSS_v6.1_64bits_fr-fr.msi" /qn /norestart SNG_SERVER_SSL=1 SNG_SERVER_ADDRESS="xxxxxxxx" SNG_SERVER_PORT=3103 SNG_AGCONF_PWD="xxxxxxxx" SNG_AGENT_NAME="AGCONF" SNG_PROFILE="NOMINATIF" REMOVEFOOTPRINT="1" INSTALLDIR="C:\Program Files\Sign and go 6.1 Workstation Security Suite" ADDLOCAL=eSSOClient,eSSOUserAdmin,CredProv,WSSConfiguration,VCRedist

copy /y "\\xxxxxxxx\xxxxxxx\SSO\sngESSOEngineSkin.bmp""C:\Program Files\Sign and go 6.1 Workstation Security Suite"

copy /y "\\xxxxxxx\xxxxxx\SSO\snglogo.bmp""C:\Program Files\Sign and go 6.1 Workstation Security Suite"

Voilà, si vous avez des idées je suis preneur.

 

#ocsinventory-agent => [error] Cannot establish communication : 404 Not Found

$
0
0

OS server : Debian 4.9

OS agent : windows 7

OCSNG_UNIX_SERVER-2.3.1

OCS Agent : 2.0.5

Pour forcer un premier inventaire avec la commande ocsinventory-agent lors de l'installation j'ai un problème d'erreur 404.

agent logs :

Apache error log : 

Le fichier /var/log/apache2/error.log m'indique :

 ...server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)

 .... server certificate does NOT include an ID which matches the server name

Merci.

Answered: Linux ocs-agent inventory missing

$
0
0
Hi,

Post ocsinventory-agent.log file content.

Regards

Frank

Answered: Pas de remontée d'inventaire

$
0
0
Bonjour,

Des erreurs dans le fichier ocsinventory.log? Ce fichier est stocké dans C:\ProgramData\OCS Inventory NG\Agent.

Cordialement

Frank

Answered: Cannot establis communication

$
0
0
Hi,

Is "ocsinventory-ng" hostname known in your dns? Try with the ip address of the server.

Regards

Frank

ocsinventory-agent

$
0
0
where I set the ip address instead of ocsinventory-ng.

the result shown is the debug on the server "ocsinventory-agent  --debug "

Answered: Pas de remontée d'inventaire

$
0
0
Bonjour,

Suite à votre commentaire je suis allé voir dans ocsinventory.log. J'ai l'impression qu'il n'arrive pas à contacter le serveur OCS, cependant j'arrive à le ping et vice versa. Avez vous une idée ?

Merci d'avance

PS :

==============================================================================

Starting OCS Inventory NG Agent on Wednesday, November 08, 2017 13:55:02.

AGENT => Running OCS Inventory NG Agent Version 2.3.1.1

AGENT => Using OCS Inventory NG FrameWork Version 2.3.1.1

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.1.1>

AGENT => Sending Prolog

DID_CHECK => Read DeviceID <DEV38-2017-11-08-09-01-58> and MACs <A4:5D:36:59:8E:076C:88:14:9E:30:1C6C:88:14:9E:30:1C6C:88:14:9E:30:1C6C:88:14:9E:30:1C6C:88:14:9E:30:1C00:00:00:00:00:0000:00:00:00:00:0000:00:00:00:00:0000:00:00:00:00:0000:00:00:00:00:0000:00:00:00:00:00> in file <ocsinventory.dat>

DID_CHECK => MAC Address changed new:<A4:5D:36:59:8E:076C:88:14:9E:30:1C00:00:00:00:00:0000:00:00:00:00:0000:00:00:00:00:0000:00:00:00:00:0000:00:00:00:00:0000:00:00:00:00:00> old:<A4:5D:36:59:8E:076C:88:14:9E:30:1C6C:88:14:9E:30:1C6C:88:14:9E:30:1C6C:88:14:9E:30:1C6C:88:14:9E:30:1C00:00:00:00:00:0000:00:00:00:00:0000:00:00:00:00:0000:00:00:00:00:0000:00:00:00:00:0000:00:00:00:00:00>

DID_CHECK => Generating new unique ID for device <DEV38>

DID_CHECK => writing DeviceID <DEV38-2017-11-08-13-55-02> and MACs <A4:5D:36:59:8E:076C:88:14:9E:30:1C00:00:00:00:00:0000:00:00:00:00:0000:00:00:00:00:0000:00:00:00:00:0000:00:00:00:00:0000:00:00:00:00:00> in file <C:\ProgramData\OCS Inventory NG\Agent\ocsinventory.dat>

COM SERVER => Initializing cURL library for sendRequest

COM SERVER => Using cURL with 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://192.168.1.10/ocsinventory>

WARNING *** COM SERVER => Failed to send HTTP Post request <Couldn't connect to server>

COM SERVER => Cleaning cURL library

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:22.

Serial number for snmp scan servers

$
0
0
Hi
I am not able to get serial number of server in ocs server by snmp scan features
Please help me to get serial numbers for server with snmp scan

Answered: Linux ocs-agent inventory missing

Answered: Pas de remontée d'inventaire

$
0
0
Re,

Je suis arrivé à avoir une remontée d'inventaire sans Firewall. Cependant est il possible d'avoir le Firewall activé ?

J'ai ouvert les ports 80 (server, client) et modifié le fichier ocsinventory.ini côté agent. Mais aucune remontée.

Une idée ?

PS :

[OCS Inventory Agent]
ComProvider=ComHTTP.dll
Debug=1
Local=
NoSoftware=0
HKCU=0
NoTAG=0
IpDisc=
[HTTP]
Server=http://192.168.1.10:80/ocsinventory
SSL=0
CaBundle=cacert.pem
AuthRequired=1
User=gHe4KnbIZgNfn0GzTEiFvA==|||1kF9mw6lYICsjyXtUtlD9A==
Pwd=9PgeKUbUyU8UIJ4Dfm/I0A==|||Xo0LSnLaYRa4cbcGQIdT/Q==
ProxyType=0
Proxy=
ProxyPort=0
ProxyAuthRequired=0
ProxyUser=
ProxyPwd=
[OCS Inventory Service]
TTO_WAIT=1380
PROLOG_FREQ=24
OLD_PROLOG_FREQ=24

Only use agent

$
0
0
Hi all

Is it possible to just use the agent without the server? And another application collect the data via API from the agent?

Thanks,

David

Imposssibilité de déployer un package

$
0
0

Bonjour,

Depuis le passage de la version 2.3 à la version 2.3.1 il m'est impossible de déployer un package vers un poste. Je peux néanmoins déployer les anciens packages créés avant cette mise à jour. J'utilise bien l'option launch pour exécuter un .bat mais j'ai à chaque fois une erreur dans le download.log. J'ai aussi testé le déploiement sur des versions d'agent Windows différentes (notamment avec la dernière version 2.3) mais rien n'y fait.

Voici le contenu du download.log :

==============================================================================
Starting OCS Inventory NG Package Download and Setup Tool on Wednesday, September 06, 2017 12:13:51.
DOWNLOAD => Running OCS Inventory NG Download Version 2.3.0.0
DOWNLOAD => Using OCS Inventory NG FrameWork Version 2.3.0.0
DOWNLOAD => Using network connection with Communication Server
 COM PROVIDER => Loading Communication Provider <C:\Program Files (x86)\OCS Inventory Agent\ComHTTP.dll>
DOWNLOAD => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.3.0.0>
DOWNLOAD => Starting new period of 10 cycles
 DOWNLOAD => Flushing package queue
DOWNLOAD => Parsing directory <C:\ProgramData\OCS Inventory NG\Agent\download> for packages
 DOWNLOAD => Verifying package <C:\ProgramData\OCS Inventory NG\Agent\download\1504692734>
DOWNLOAD => Package <1504692734> verified and added to process queue
 DOWNLOAD => Processing packages for cycle 1 on Wednesday, September 06, 2017 12:13:51
 DOWNLOAD => Pausing for cycle latency (1 seconds)
 DOWNLOAD => Processing packages for cycle 2 on Wednesday, September 06, 2017 12:13:52
 DOWNLOAD => Pausing for cycle latency (1 seconds)
 DOWNLOAD => Processing packages for cycle 3 on Wednesday, September 06, 2017 12:13:53
 DOWNLOAD => Pausing for cycle latency (1 seconds)
 DOWNLOAD => Processing packages for cycle 4 on Wednesday, September 06, 2017 12:13:54
 DOWNLOAD => Pausing for cycle latency (1 seconds)
 DOWNLOAD => Processing packages for cycle 5 on Wednesday, September 06, 2017 12:13:55
DOWNLOAD => Downloading package fragment <1504692734-1>
 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://ocsreports.xxxxxx.xx/download/1504692734/1504692734-1>
 COM SERVER => fileGet response received <HTTP Status Code #200>
 COM SERVER => Cleaning cURL library
 DOWNLOAD => Pausing for fragment latency (1 seconds)
 DOWNLOAD => Pausing for cycle latency (1 seconds)
 DOWNLOAD => Processing packages for cycle 6 on Wednesday, September 06, 2017 12:13:58
 DOWNLOAD => Pausing for cycle latency (1 seconds)
 DOWNLOAD => Processing packages for cycle 7 on Wednesday, September 06, 2017 12:13:59
 DOWNLOAD => Pausing for cycle latency (1 seconds)
 DOWNLOAD => Processing packages for cycle 8 on Wednesday, September 06, 2017 12:14:00
 DOWNLOAD => Pausing for cycle latency (1 seconds)
 DOWNLOAD => Processing packages for cycle 9 on Wednesday, September 06, 2017 12:14:01
 DOWNLOAD => Pausing for cycle latency (1 seconds)
 DOWNLOAD => Processing packages for cycle 10 on Wednesday, September 06, 2017 12:14:02
DOWNLOAD => Building package <1504692734>
 PACKAGE => Verifying fragment files of package <1504692734>
 PACKAGE => Checking free disk space for package <1504692734>
 PACKAGE => Building ZIP for package <1504692734>
 PACKAGE => Verifying ZIP signature for package <1504692734>
 DOWNLOAD => Package <1504692734> built successfully
DOWNLOAD => Executing action <LAUNCH> for package <1504692734>
 PACKAGE => Launching command <TESTdep.bat> for package <1504692734> on <Wednesday, September 06, 2017 12:14:02>
 PACKAGE => Package <1504692734> successfully launched. Command exit code is <1>. Package return code is <EXIT_CODE_1>
 PACKAGE => No post execution command provided for package <1504692734>
ERROR *** DOWNLOAD => Will not register package <1504692734> in history: result <EXIT_CODE_1> not a success
DOWNLOAD => Sending result code <EXIT_CODE_1> for package <1504692734>
 DID_CHECK => Read DeviceID <PCCLT4163-2017-08-03-09-16-46> and MACs <18:03:73:20:71:340A:00:27:00:00:040A:00:27:00:00:100A:00:27:00:00:17> 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 <https://ocsreports.xxxxxxx.xx/ocsinventory>
 COM SERVER => HTTP Post response received <HTTP Status Code #200>
 COM SERVER => Cleaning cURL library
 DOWNLOAD => Result code request successfully sent
 DOWNLOAD => Pausing for fragment latency (1 seconds)
 DOWNLOAD => Pausing for cycle latency (1 seconds)
 DOWNLOAD => Pausing for period latency (1 seconds)
DOWNLOAD => Starting new period of 10 cycles
 DOWNLOAD => Flushing package queue
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:30.


Voici le contenu de mon .bat (que j'ai testé d'exécuter directement sur mon poste et qui fonctionne):

msiexec.exe /i "\\xxxxxxx\Ocs\Signandgo_WSS_v6.1_64bits_fr-fr.msi" /qn /norestart SNG_SERVER_SSL=1 SNG_SERVER_ADDRESS="xxxxxxxx" SNG_SERVER_PORT=3103 SNG_AGCONF_PWD="xxxxxxxx" SNG_AGENT_NAME="AGCONF" SNG_PROFILE="NOMINATIF" REMOVEFOOTPRINT="1" INSTALLDIR="C:\Program Files\Sign and go 6.1 Workstation Security Suite" ADDLOCAL=eSSOClient,eSSOUserAdmin,CredProv,WSSConfiguration,VCRedist

copy /y "\\xxxxxxxx\xxxxxxx\SSO\sngESSOEngineSkin.bmp""C:\Program Files\Sign and go 6.1 Workstation Security Suite"

copy /y "\\xxxxxxx\xxxxxx\SSO\snglogo.bmp""C:\Program Files\Sign and go 6.1 Workstation Security Suite"

Voilà, si vous avez des idées je suis preneur.

 

Answered: Only use agent

$
0
0
Hi,

You can generate an xml file and import it in an another application. There is no api in the agent.

Regards

Frank

Answered: ocsinventory-agent

$
0
0
Hi,

Post error.log file content with the change you made.

Regards

Frank

http://getmysupplement.com/erezan-xtreme/

$
0
0

Erezan Xtreme Whey protein is one of the greatest among all Muscle Building products. There are other alternatives to whey like eggs and soy protein. You can also try these alternatives also. Let us discuss these options first before persuading ourselves whey protein is the selection that is better.

http://getmysupplement.com/erezan-xtreme/

Imposssibilité de déployer un package

$
0
0

Bonjour,

Depuis le passage de la version 2.3 à la version 2.3.1 il m'est impossible de déployer un package vers un poste. Je peux néanmoins déployer les anciens packages créés avant cette mise à jour. J'utilise bien l'option launch pour exécuter un .bat mais j'ai à chaque fois une erreur dans le download.log. J'ai aussi testé le déploiement sur des versions d'agent Windows différentes (notamment avec la dernière version 2.3) mais rien n'y fait.

Voici le contenu du download.log :

==============================================================================
Starting OCS Inventory NG Package Download and Setup Tool on Wednesday, September 06, 2017 12:13:51.
DOWNLOAD => Running OCS Inventory NG Download Version 2.3.0.0
DOWNLOAD => Using OCS Inventory NG FrameWork Version 2.3.0.0
DOWNLOAD => Using network connection with Communication Server
 COM PROVIDER => Loading Communication Provider <C:\Program Files (x86)\OCS Inventory Agent\ComHTTP.dll>
DOWNLOAD => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.3.0.0>
DOWNLOAD => Starting new period of 10 cycles
 DOWNLOAD => Flushing package queue
DOWNLOAD => Parsing directory <C:\ProgramData\OCS Inventory NG\Agent\download> for packages
 DOWNLOAD => Verifying package <C:\ProgramData\OCS Inventory NG\Agent\download\1504692734>
DOWNLOAD => Package <1504692734> verified and added to process queue
 DOWNLOAD => Processing packages for cycle 1 on Wednesday, September 06, 2017 12:13:51
 DOWNLOAD => Pausing for cycle latency (1 seconds)
 DOWNLOAD => Processing packages for cycle 2 on Wednesday, September 06, 2017 12:13:52
 DOWNLOAD => Pausing for cycle latency (1 seconds)
 DOWNLOAD => Processing packages for cycle 3 on Wednesday, September 06, 2017 12:13:53
 DOWNLOAD => Pausing for cycle latency (1 seconds)
 DOWNLOAD => Processing packages for cycle 4 on Wednesday, September 06, 2017 12:13:54
 DOWNLOAD => Pausing for cycle latency (1 seconds)
 DOWNLOAD => Processing packages for cycle 5 on Wednesday, September 06, 2017 12:13:55
DOWNLOAD => Downloading package fragment <1504692734-1>
 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://ocsreports.xxxxxx.xx/download/1504692734/1504692734-1>
 COM SERVER => fileGet response received <HTTP Status Code #200>
 COM SERVER => Cleaning cURL library
 DOWNLOAD => Pausing for fragment latency (1 seconds)
 DOWNLOAD => Pausing for cycle latency (1 seconds)
 DOWNLOAD => Processing packages for cycle 6 on Wednesday, September 06, 2017 12:13:58
 DOWNLOAD => Pausing for cycle latency (1 seconds)
 DOWNLOAD => Processing packages for cycle 7 on Wednesday, September 06, 2017 12:13:59
 DOWNLOAD => Pausing for cycle latency (1 seconds)
 DOWNLOAD => Processing packages for cycle 8 on Wednesday, September 06, 2017 12:14:00
 DOWNLOAD => Pausing for cycle latency (1 seconds)
 DOWNLOAD => Processing packages for cycle 9 on Wednesday, September 06, 2017 12:14:01
 DOWNLOAD => Pausing for cycle latency (1 seconds)
 DOWNLOAD => Processing packages for cycle 10 on Wednesday, September 06, 2017 12:14:02
DOWNLOAD => Building package <1504692734>
 PACKAGE => Verifying fragment files of package <1504692734>
 PACKAGE => Checking free disk space for package <1504692734>
 PACKAGE => Building ZIP for package <1504692734>
 PACKAGE => Verifying ZIP signature for package <1504692734>
 DOWNLOAD => Package <1504692734> built successfully
DOWNLOAD => Executing action <LAUNCH> for package <1504692734>
 PACKAGE => Launching command <TESTdep.bat> for package <1504692734> on <Wednesday, September 06, 2017 12:14:02>
 PACKAGE => Package <1504692734> successfully launched. Command exit code is <1>. Package return code is <EXIT_CODE_1>
 PACKAGE => No post execution command provided for package <1504692734>
ERROR *** DOWNLOAD => Will not register package <1504692734> in history: result <EXIT_CODE_1> not a success
DOWNLOAD => Sending result code <EXIT_CODE_1> for package <1504692734>
 DID_CHECK => Read DeviceID <PCCLT4163-2017-08-03-09-16-46> and MACs <18:03:73:20:71:340A:00:27:00:00:040A:00:27:00:00:100A:00:27:00:00:17> 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 <https://ocsreports.xxxxxxx.xx/ocsinventory>
 COM SERVER => HTTP Post response received <HTTP Status Code #200>
 COM SERVER => Cleaning cURL library
 DOWNLOAD => Result code request successfully sent
 DOWNLOAD => Pausing for fragment latency (1 seconds)
 DOWNLOAD => Pausing for cycle latency (1 seconds)
 DOWNLOAD => Pausing for period latency (1 seconds)
DOWNLOAD => Starting new period of 10 cycles
 DOWNLOAD => Flushing package queue
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:30.


Voici le contenu de mon .bat (que j'ai testé d'exécuter directement sur mon poste et qui fonctionne):

msiexec.exe /i "\\xxxxxxx\Ocs\Signandgo_WSS_v6.1_64bits_fr-fr.msi" /qn /norestart SNG_SERVER_SSL=1 SNG_SERVER_ADDRESS="xxxxxxxx" SNG_SERVER_PORT=3103 SNG_AGCONF_PWD="xxxxxxxx" SNG_AGENT_NAME="AGCONF" SNG_PROFILE="NOMINATIF" REMOVEFOOTPRINT="1" INSTALLDIR="C:\Program Files\Sign and go 6.1 Workstation Security Suite" ADDLOCAL=eSSOClient,eSSOUserAdmin,CredProv,WSSConfiguration,VCRedist

copy /y "\\xxxxxxxx\xxxxxxx\SSO\sngESSOEngineSkin.bmp""C:\Program Files\Sign and go 6.1 Workstation Security Suite"

copy /y "\\xxxxxxx\xxxxxx\SSO\snglogo.bmp""C:\Program Files\Sign and go 6.1 Workstation Security Suite"

Voilà, si vous avez des idées je suis preneur.

 

Problème communication agent OCS

$
0
0
Bonjour à tous,

J'ai une erreur dans la remontée de mon agent sur mon serveur OCS, j'ai lu plusieurs forums et j'ai vu qu'il fallait éditer les fichiers : "z-ocsinventory-server.conf" et "dbconfig.inc.php"

Voici mon erreur :

[Tue Nov 14 16:59:04.350152 2017] [perl:error] [pid 11801] [client 10.57.8.39:54472] Can't call method "do" on an undefined value at /usr/local/share/perl5/Apache/Ocsinventory/Server/System.pm line 189.\n

Mon fichier dbconfig.inc.php :

<?php
define("DB_NAME", "OCSWEB");
define("SERVER_READ","localhost");
define("SERVER_WRITE","localhost");
define("COMPTE_BASE","mon nom de compte");
define("PSWD_BASE","mon mdp");
?>

Mon fichier z-ocsinventory-server.conf :

# Master Database settings
  # Replace localhost by hostname or ip of MySQL server for WRITE
  PerlSetEnv OCS_DB_HOST localhost
  # Replace 3306 by port where running MySQL server, generally 3306
  PerlSetEnv OCS_DB_PORT 3306
  # Name of database
  PerlSetEnv OCS_DB_NAME ocsweb
  PerlSetEnv OCS_DB_LOCAL ocsweb
  # User allowed to connect to database
  PerlSetEnv OCS_DB_USER monusername
  # Password for user
  PerlSetVar OCS_DB_PWD monmdp

Merci de votre aide et bonne soirée

Cannot establish communication

$
0
0

inventario@SERVER-INVENTARIO:~$ ocsinventory-agent --debug
Config: Failed to open /etc/ocsinventory-agent/ocsinventory-agent.cfg
[debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.3
[debug] Log system initialised (Stderr)
[info] You should run this program as super-user.
[debug] --scan-homedirs missing. Don't scan user directories
[error] Failed to create /var/lib/ocsinventory-agent/http:__ocsinventory-ng_ocsinventory directory: Permission denied
[debug] No accountinfo file defined
[debug] OCS Agent initialised
[debug] Turns hooks on for /etc/ocsinventory-agent/modules.conf
[debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.3
[debug] Log system initialised (Stderr)
[debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.3
[debug] Log system initialised (Stderr)
[debug] Calling handlers : `start_handler'
[debug] [snmp] Calling snmp_start_handler
[debug]  - Net::SNMP loaded
[debug] [download] Calling download_start_handler
[debug]  - LWP loaded
[debug]  - LWP::Protocol::https loaded
[debug] Compress::Zlib is available.
[debug] Calling handlers : `prolog_writer'
[debug] sending XML
[debug] sending: <?xml version="1.0" encoding="UTF-8"?>
<REQUEST>
  <DEVICEID>SERVER-INVENTARIO-2017-10-06-16-05-47</DEVICEID>
  <QUERY>PROLOG</QUERY>
</REQUEST>
[error] Cannot establish communication : 500 Can't connect to ocsinventory-ng:80

Help me

Viewing all 4573 articles
Browse latest View live


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