Quantcast
Channel: Ocsinventory Q&A - Recent questions
Viewing all 4372 articles
Browse latest View live

My OCS Agent not communicating with server.

$
0
0
Hi friends,

I need your help...

My OCS Agent not communicating with server.

Only two agents are with this problem.

Below I post the ini file and log file.

INI

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

LOG

Starting OCS Inventory NG Agent on Friday, June 10, 2016 11:44:24.
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
AGENT => Prolog successfully sent
SUPPORT => No support detected, Registration key : N/A
ERROR *** AGENT => Failed to write Prolog Frequency <Error code 5 = Access is denied.  >
AGENT => Inventory required
AGENT => Launching hardware and software checks
AGENT => Sending Inventory
INVENTORY => Inventory changed since last run
ERROR *** AGENT => Failed to send Inventory <HTTP Status Code #500>
AGENT =>  Communication Server ask for Package Download
ERROR *** DOWNLOAD => Found result code <SUCCESS> for OCS Inventory Agent Setup package but no package ID specified, so remove all packages to avoid running Agent setup in loop !
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:24.

Whats wrong?

2.1.1: Duplicates found but not displayed when pressing on "MAC Address only"

$
0
0
Hello all,

this is a rather old issue I have been having. I'm running a network of around 170 Windows PCs. Initially, I had OCS-NG installed at version 1.x, alongside GLPI. Everything worked fine, including detection of duplicates as well as merging them.

This installation, after various upgrades is now on version 2.1.1. Most of my clients are running 2.1.1.1. Along this upgrade road, at some point the duplicates presented a problem. The server still sees duplicate systems, mainly due to the fact that I am renaming these windows clients.

For example, clicking the "Duplicates" option in web admin, it states currently that 8 systems have a duplicate MAC address ("MAC address only: 8"). And so far, so good. But if I click on the number "8", it doesn't show me the 8 systems that have identical (usually pairs of) MAC addresses. Instead, it shows a "NO RESULT"!

If I display all clients, I can clearly find those with duplicate MAC addresses. Why aren't these displayed when I click on the number "8" above?

The activity log does not help, it is filled with information from clients publishing their status to the server. Nothing is produced when I click on "8".

Can you help me debug this please? I have written about the same issue when it first appeared, but the answer back then was the agent at that time finally ended up being to update the server and clients (which I did). See original thread at https://www.ocsinventory-ng.org/forums.ocsinventory-ng.org/viewtopic.php?id=12378

How can I finally solve this? It's driving me nuts. 3 years, and I still can't figure out what's wrong here.
Again, this was not like this from the start. It started happening on a specific OCS-NG version (before 2.0.5.3).

OCS Inventory integration with SAP or Microsoft System Center

$
0
0
Hello,

In the company we have over 300 computers, and do not want to install the OSC Agent to each computer to create an inventory, we would like to have a unified inventory to collect the assets of Microsoft, SAP, Oracle, vmware, etc. Would be the possibility to integrate OCS Server with Microsoft System Center ,the SAP Server, Oracle db...? so that the information could be extracted directly from there...

If it is not possible to automate the process. Could I create an inventory based on downloading information in XML format from System Center and SAP and load it directly into OCS?

AD SSO with release 2.2 ?!

$
0
0
Hi there,

Been an happy user of version 2.1 for some times. So I decided to give a try to the new 2.2 release, but since the upgrade, I'm not able to SSO anymore into OCSInventory :'(

As I did the original setup a long time ago, I re-used those 2 documents:

http://wiki.ocsinventory-ng.org/index.php/Documentation:OCSsynchroLDAP
http://wiki.ocsinventory-ng.org/index.php/Howtos:Ocsreports_transparent_login_in_MS_AD_domain_on_ubuntu_server

But I'm always getting the following errors:

Warning: Invalid argument supplied for foreach() in /usr/share/ocsinventory-reports/ocsreports/backend/identity/identity.php on line 39
Warning: file_get_contents(config/profiles/.xml): failed to open stream: No such file or directory in /usr/share/ocsinventory-reports/ocsreports/require/header.php on line 406
Warning: Invalid argument supplied for foreach() in /usr/share/ocsinventory-reports/ocsreports/require/config/XMLProfileSerializer.php on line 64
Warning: Invalid argument supplied for foreach() in /usr/share/ocsinventory-reports/ocsreports/require/config/XMLProfileSerializer.php on line 70
Warning: Invalid argument supplied for foreach() in /usr/share/ocsinventory-reports/ocsreports/require/config/XMLProfileSerializer.php on line 76
Warning: Invalid argument supplied for foreach() in /usr/share/ocsinventory-reports/ocsreports/require/config/XMLProfileSerializer.php on line 80
Warning: array_search() expects parameter 2 to be array, null given in /usr/share/ocsinventory-reports/ocsreports/require/html_header.php on line 184

Any clues on what could go wrong (is there some remnants from 2.1 to cleanup in files or DB)? The only thing that changed since ocss2.1 is my apache2, I was forced to upgrade from 2.2 to 2.4 (but apache2 is working fine for all my others sites & applications). For the rest setup is as follow (and didn't changed):

- Gentoo Linux host OCS Server
- LDAP Active Directory on Win2008 R2

Thanks !!

Error HTTP/1.1 404 Not Found ocsinventory

$
0
0
Hi everyone,

I tried to deploy the OCS Agent using the GPO on Active Directory and it worked, the agent it's been installed on my Client (Win10), however the communication with my OCS Server (Windows 2012 + XAMPP) is not working. My firewall is already disabled and I also have communications with the server, but the agent tries to contact an "ocsinventory" directory which doesn't exist on my Apache. I have looked for answers here and all I got was something with "mod_perl" which I guess it's installed.

Looking on Event Viewer on my client side I have these errors:
 

"Service encounter error <OCS Inventory NG Agent encounter an error (exit code is 4 => Failed to talk with Communication Server)>."

"Service encounter error <Failed to load/parse last inventory state>."

I installed this addon of Perl "xampp-win32-perl-addon-5.10.0-2.2.11-pl2-installer"

I am using XAMPP Version: 5.6.14, OCS Server Ver. 2.1.2 and Agent 2.1.0.3

Is there anyway to check if the perl module is working?

Follow some informations...

Thanks!

c:\xampp\apache\bin>httpd.exe -l
Compiled in modules:
  core.c
  mod_win32.c
  mpm_winnt.c
  http_core.c
  mod_so.c

c:\xampp\apache\bin>httpd -t -D DUMP_MODULES
Loaded Modules:
 core_module (static)
 win32_module (static)
 mpm_winnt_module (static)
 http_module (static)
 so_module (static)
 access_compat_module (shared)
 actions_module (shared)
 alias_module (shared)
 allowmethods_module (shared)
 asis_module (shared)
 auth_basic_module (shared)
 authn_core_module (shared)
 authn_file_module (shared)
 authz_core_module (shared)
 authz_groupfile_module (shared)
 authz_host_module (shared)
 authz_user_module (shared)
 autoindex_module (shared)
 cgi_module (shared)
 dav_lock_module (shared)
 dir_module (shared)
 env_module (shared)
 headers_module (shared)
 include_module (shared)
 info_module (shared)
 isapi_module (shared)
 log_config_module (shared)
 cache_disk_module (shared)
 mime_module (shared)
 negotiation_module (shared)
 proxy_module (shared)
 proxy_ajp_module (shared)
 rewrite_module (shared)
 setenvif_module (shared)
 socache_shmcb_module (shared)
 ssl_module (shared)
 status_module (shared)
 version_module (shared)
 php5_module (shared)

Is there a plugin that could send the information to the server of any removable drive connected to it?

$
0
0
Hello there, I have configure OCS Inventory NG server 2.2 on Redhat Linux 7 and I want to know if there is any plugin that could detect if any removable drive is connected to it and further sends the information to the server. If yes, then please gimme the link to download it.

Thank you.

It is possible to create a group in ocs, putting a filter for certain software?

$
0
0

 I thought I'd create a group and place a filter, where all machines having it installed, will be listed in this group

I would like that notify me when change a device any computer. Is it posible?

$
0
0
Good Morning.

 I would like that notify me when change a device any computer. I need manage the change in PC. Is it posible?

Thanks.

Statistics do not work activation in Package

$
0
0

Hello,


I have installed the OCS server 2.2 on Linux CentOS 7, the agent installed on the PC is the OCSNG-Windows-Agent-2.1.1.3. I configured deployment functionality, I copied the files on each computer cacerm.pem.

Now, I've done a deployment (a copy of a folder to computers) all OK the file is copied to computers, but when reviewing the statistics package on the server OCS this state do not show any success or failure?

why?  

Activity.log

Tue Jun  7 08:55:47 2016;8176;318;L-STDSEGURIDAD-2016-05-30-11-10-07;172.22.60.10;OCS-NG_WINDOWS_AGENT_v2.1.1.3;session;missing
Tue Jun  7 08:55:47 2016;8176;114;L-STDSEGURIDAD-2016-05-30-11-10-07;172.22.60.10;OCS-NG_WINDOWS_AGENT_v2.1.1.3;inventory;no_session
Tue Jun  7 08:55:47 2016;8176;104;L-STDSEGURIDAD-2016-05-30-11-10-07;172.22.60.10;OCS-NG_WINDOWS_AGENT_v2.1.1.3;inventory;incoming
Tue Jun  7 08:55:47 2016;8176;113;L-STDSEGURIDAD-2016-05-30-11-10-07;172.22.60.10;OCS-NG_WINDOWS_AGENT_v2.1.1.3;inventory;u:sounds
Tue Jun  7 08:55:47 2016;8176;113;L-STDSEGURIDAD-2016-05-30-11-10-07;172.22.60.10;OCS-NG_WINDOWS_AGENT_v2.1.1.3;inventory;u:drives
Tue Jun  7 08:55:47 2016;8176;101;L-STDSEGURIDAD-2016-05-30-11-10-07;172.22.60.10;OCS-NG_WINDOWS_AGENT_v2.1.1.3;inventory;transmitted
Tue Jun  7 09:04:28 2016;8653;2001;L-STDSEGURIDAD-2016-05-30-11-10-07;172.22.60.10;OCS-NG_WINDOWS_AGENT_v2.1.1.3;download;1464967970(SUCCESS)
Tue Jun  7 09:04:28 2016;8653;2501;L-STDSEGURIDAD-2016-05-30-11-10-07;172.22.60.10;OCS-NG_WINDOWS_AGENT_v2.1.1.3;download;1464967970(SUCCESS)
Tue Jun  7 09:04:38 2016;8177;2001;L-STDSEGURIDAD-2016-05-30-11-10-07;172.22.60.10;OCS-NG_WINDOWS_AGENT_v2.1.1.3;download;1465247252(SUCCESS)
Tue Jun  7 09:04:38 2016;8177;2501;L-STDSEGURIDAD-2016-05-30-11-10-07;172.22.60.10;OCS-NG_WINDOWS_AGENT_v2.1.1.3;download;1465247252(SUCCESS)
Tue Jun  7 09:22:07 2016;4675;1004;L-STDSEGURIDAD-2016-05-30-11-10-07;172.22.60.10;OCS-NG_WINDOWS_AGENT_v2.1.1.3;ipdiscover;incoming
Tue Jun  7 09:22:07 2016;4675;100;L-STDSEGURIDAD-2016-05-30-11-10-07;172.22.60.10;OCS-NG_WINDOWS_AGENT_v2.1.1.3;prolog;accepted
Tue Jun  7 09:22:07 2016;4675;311;L-STDSEGURIDAD-2016-05-30-11-10-07;172.22.60.10;OCS-NG_WINDOWS_AGENT_v2.1.1.3;session;started
Tue Jun  7 09:24:13 2016;8653;319;L-STDSEGURIDAD-2016-05-30-11-10-07;172.22.60.10;OCS-NG_WINDOWS_AGENT_v2.1.1.3;session;found
Tue Jun  7 09:24:13 2016;8653;104;L-STDSEGURIDAD-2016-05-30-11-10-07;172.22.60.10;OCS-NG_WINDOWS_AGENT_v2.1.1.3;inventory;incoming
Tue Jun  7 09:24:13 2016;8653;113;L-STDSEGURIDAD-2016-05-30-11-10-07;172.22.60.10;OCS-NG_WINDOWS_AGENT_v2.1.1.3;inventory;u:drives
Tue Jun  7 09:24:13 2016;8653;320;L-STDSEGURIDAD-2016-05-30-11-10-07;172.22.60.10;OCS-NG_WINDOWS_AGENT_v2.1.1.3;session;end
Tue Jun  7 09:24:13 2016;8653;101;L-STDSEGURIDAD-2016-05-30-11-10-07;172.22.60.10;OCS-NG_WINDOWS_AGENT_v2.1.1.3;inventory;transmitted
Tue Jun  7 09:24:13 2016;8075;2001;L-STDSEGURIDAD-2016-05-30-11-10-07;172.22.60.10;OCS-NG_WINDOWS_AGENT_v2.1.1.3;download;1464967970(SUCCESS_ALREADY_SETUP)
Tue Jun  7 09:24:13 2016;8075;2501;L-STDSEGURIDAD-2016-05-30-11-10-07;172.22.60.10;OCS-NG_WINDOWS_AGENT_v2.1.1.3;download;1464967970(SUCCESS_ALREADY_SETUP)
Tue Jun  7 09:24:13 2016;3016;2001;L-STDSEGURIDAD-2016-05-30-11-10-07;172.22.60.10;OCS-NG_WINDOWS_AGENT_v2.1.1.3;download;1465247252(SUCCESS_ALREADY_SETUP)
Tue Jun  7 09:24:13 2016;3016;2501;L-STDSEGURIDAD-2016-05-30-11-10-07;172.22.60.10;OCS-NG_WINDOWS_AGENT_v2.1.1.3;download;1465247252(SUCCESS_ALREADY_SETUP)
Tue Jun  7 09:28:55 2016;9905;1004;L-STDSEGURIDAD-2016-05-30-11-10-07;172.22.60.10;OCS-

Thanks.

Marco Tacuri

Does OCS change the OCS ID's over time? Or When does OCS chang the Inventory ID?

$
0
0
Explanation:

I figured out that you can use the OCS ID's for deploy an packet to an PC or System instand of selecting via the checkbox. For example: if you got arround 2.000 active systems in your Company and your trying to make changes overtime via selecting a group or an randomly number of PC to make changes whitout make the change to everyone, you have to select every single System via the checkbox or make the change one by one. I found out if you got the OCS ID for each System you can use those ID's to make an instand chang whitout selcecting them which is really time saving!  

In Detail: lets say I have 3 Desktop's and the OCS ID: "D1: 1234 D2: 12345 D3: 123456" Now i want to make an packet deploy to the 3 Desktop's. I'm using the OCS ID and the Deploy Link:

For Example: https/yourserver/ocsreports/index.php?function=pack_search&head=1&idchecked=1234,12345,123456 if i execute the Link the canges are for D1; D2 and D3

Now to my Questions: I got an Excel-list whit arround 2.000 OCS ID's and the PC-Names. I found out that some of the OCS ID change over the past 2 weeks. Now I wounder if OCS changes the ID's automaticly or those any system changing also change the OCS ID's? Or in genarl how those OCS creats the OCS ID's

Thanks for the Time

Simon

Deployment problems

$
0
0
Hello, I test deployment feature. I had two warnings first is when i want to activate packages: "WARNING: Can't find information file at https://192.168.255.193/download/1465979537/". Second problem is when i decide to ignore that message and try deploy this package. In logs everything seems to be ok but nothing hapens.

Please help me this features is very important to me.

    IPDISCOVER => Waited 4860 ms for the threads to die
    IPDISCOVER => NETWORK scan finished, 92 hosts found, 255 scanned
    EXECUTABLE PLUGIN => Searching for VBS script(s) in folder <C:\OCS Inventory Agent\plugins>
    EXECUTABLE PLUGIN => Searching for executable(s) in folder <C:\OCS Inventory Agent\plugins>
AGENT => Sending Inventory
    INVENTORY => Checking last inventory state
    INVENTORY => Logical drives inventory state changed
    INVENTORY => Software inventory state changed
INVENTORY => Inventory changed since last run
    INVENTORY => Generating XML document with Device properties
    INVENTORY => XML Update BIOS
    INVENTORY => XML Update 1 CPU(s)
    INVENTORY => XML Update 2 Memory Slot(s)
    INVENTORY => XML Update 6 Input Device(s)
    INVENTORY => XML Update 8 System Port(s)
    INVENTORY => XML Update 6 System Controller(s)
    INVENTORY => XML Update 2 System Slot(s)
    INVENTORY => XML Update 3 Sound Device(s)
    INVENTORY => XML Update 1 Storage Peripheral(s)
    INVENTORY => XML Update 2 Logical Drive(s)
    INVENTORY => XML Update 3 Modem(s)
    INVENTORY => XML Update 8 Network Adapter(s)
    INVENTORY => XML Update 1 Video Adapter(s)
    INVENTORY => XML Update 2 Monitor(s)
    INVENTORY => XML Update 8 Printer(s)
    INVENTORY => XML Update 900 Software
    INVENTORY => XML Update 0 Registry Value(s)
    INVENTORY => XML Update Administrative Information(s)
    INVENTORY => XML Update common Device properties
    COM SERVER => Initializing cURL library for sendRequest
    COM SERVER => Using cURL with server authentication
    COM SERVER => Disabling cURL proxy support
    COM SERVER => Enabling cURL SSL server validation support using CA Bundle <cacert.pem>
    COM SERVER => Sending HTTP Post request to URL <https://192.168.255.193/ocsinventory>
    COM SERVER => HTTP Post response received <HTTP Status Code #200>
    COM SERVER => Cleaning cURL library
AGENT => Inventory successfully sent
    INVENTORY => Writing new inventory state
AGENT =>  Communication Server ask for Package Download
    DOWNLOAD => Package history file successfully cleaned for duplicate IDs
DOWNLOAD => Download and setup tool successfully started
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:49.

----

DOWNLOAD => Running OCS Inventory NG Download Version 2.1.1.3
DOWNLOAD => Using OCS Inventory NG FrameWork Version 2.1.1.3
DOWNLOAD => Using network connection with Communication Server
    COM PROVIDER => Loading Communication Provider <C:\OCS Inventory Agent\ComHTTP.dll>
DOWNLOAD => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.1.1.3>
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\1465984084>
DOWNLOAD => Package <1465984084> verified and added to process queue
    DOWNLOAD => Processing packages for cycle 1 on Wednesday, June 15, 2016 11:51:51
DOWNLOAD => Downloading package fragment <1465984084-1>
    COM SERVER => Initializing cURL library for getFile
    COM SERVER => Using cURL with server authentication
    COM SERVER => Disabling cURL proxy support
    COM SERVER => Enabling cURL SSL server validation support using CA Bundle <cacert.pem>
    COM SERVER => Sending fileGet request to URL <HTTP://192.168.255.193/download/1465984084/1465984084-1>
    COM SERVER => fileGet response received <HTTP Status Code #200>
    COM SERVER => Cleaning cURL library
    DOWNLOAD => Pausing for fragment latency (10 seconds)
    DOWNLOAD => Pausing for cycle latency (60 seconds)
    DOWNLOAD => Processing packages for cycle 2 on Wednesday, June 15, 2016 11:53:01
DOWNLOAD => Building package <1465984084>
    PACKAGE => Verifying fragment files of package <1465984084>
    PACKAGE => Checking free disk space for package <1465984084>
    PACKAGE => Building ZIP for package <1465984084>
    PACKAGE => Verifying ZIP signature for package <1465984084>
    DOWNLOAD => Package <1465984084> built successfully
DOWNLOAD => Executing action <EXECUTE> for package <1465984084>
    PACKAGE => Executing command <test.bat> for package <1465984084> on <Wednesday, June 15, 2016 11:53:01>
    PACKAGE => Package <1465984084> successfully executed. Command exit code is <0>. Package return code is <SUCCESS>
    PACKAGE => No post execution command provided for package <1465984084>
DOWNLOAD => Sending result code <SUCCESS> for package <1465984084>
    DID_CHECK => Read DeviceID <SGI2-2016-06-10-13-07-26> and MACs <28:D2:44:27:EA:3A9C:4E:36:CC:2D:209C:4E:36:CC:2D:219C:4E:36:CC:2D:213C:77:E6:EB:44:D40A:00:27:00:00:0000:09:0F:FE:00:0100:FF:40:D8:38:6B> in file <ocsinventory.dat>
    COM SERVER => Initializing cURL library for sendRequest
    COM SERVER => Using cURL with server authentication
    COM SERVER => Disabling cURL proxy support
    COM SERVER => Enabling cURL SSL server validation support using CA Bundle <cacert.pem>
    COM SERVER => Sending HTTP Post request to URL <https://192.168.255.193/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 (10 seconds)
    DOWNLOAD => Pausing for cycle latency (60 seconds)
    DOWNLOAD => Processing packages for cycle 3 on Wednesday, June 15, 2016 11:54:12
    DOWNLOAD => Pausing for cycle latency (60 seconds)
    DOWNLOAD => Processing packages for cycle 4 on Wednesday, June 15, 2016 11:55:12
    DOWNLOAD => Pausing for cycle latency (60 seconds)
    DOWNLOAD => Processing packages for cycle 5 on Wednesday, June 15, 2016 11:56:12
    DOWNLOAD => Pausing for cycle latency (60 seconds)
    DOWNLOAD => Processing packages for cycle 6 on Wednesday, June 15, 2016 11:57:12
    DOWNLOAD => Pausing for cycle latency (60 seconds)
    DOWNLOAD => Processing packages for cycle 7 on Wednesday, June 15, 2016 11:58:12
    DOWNLOAD => Pausing for cycle latency (60 seconds)
    DOWNLOAD => Processing packages for cycle 8 on Wednesday, June 15, 2016 11:59:12
    DOWNLOAD => Pausing for cycle latency (60 seconds)
    DOWNLOAD => Processing packages for cycle 9 on Wednesday, June 15, 2016 12:00:12
    DOWNLOAD => Pausing for cycle latency (60 seconds)
    DOWNLOAD => Processing packages for cycle 10 on Wednesday, June 15, 2016 12:01:12
    DOWNLOAD => Pausing for cycle latency (60 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:10:23.

I inventory all exe files in the softwares section, how to tell with a plugin to remove from the DB is no longer there ?

$
0
0
I inventory all exe files from the PC in the softwares section of the DB. It's working well but if I remove an exe file, the plugin send the xml information and the removed exe is no longer there, but it's not removed from the DB.

Any ideas ?

Problem with Teledeploy

$
0
0

I modified the scripts below in order to uninstall the "Mozilla Maintenance Service".

I put
Action: Launch
Command: I put the schedule_uninst_mozilla_maintenance.bat to call uninstall_mozilla_maintenance.bat
Priority: 5

The scripts are:

uninstall_mozilla_maintenance.bat

rem File uninstall_mozilla_maintenance.cmd
rem Unstested on W9X (command.com) - please run with cmd.exe
rem To only remove service:
rem     sc.exe delete "Mozilla Maintenance Service"
rem

 %System Drive%
 cd "%ProgramFiles%"
 if not exist "Mozilla Maintenance Service"goto end 

 cd "Mozilla Maintenance Service"
 if exist Uninstall.exe call Uninstall.exe /S 
 del *.* /s /q
 cd ..
 rd "Mozilla Maintenance Service"/s /q 
 :end 
 cd 

schedule_uninst_mozilla_maitenance.bat 

#File schedule_uninst_mozilla_maintenance.bat 
copy uninstall_mozilla_maintenance.bat C:\
for /f (tokens=1) %%a in ('time /T') do set /A heure=%%a + 1
at %heure%:10 "C:\uninstall_mozilla_maintenance.bat"

I can not get results and I can not even find the error. 

user profile not exist

$
0
0
Hi,

I use OCS server V2.1.2 (with centos 6)

When I want create a User (juste for request), no profile User exit.

How to create this profile ?

Thank you for your help

Pas d'inventaire des agents OCS

$
0
0
Bonjour à tous,

Je déploie actuellement une solution OCS/GLPI sur un server Debian Jessie  sur un parc fonctionnant sur de l'OS Windows (Principalement XP et 7), et je rencontre un problème après le déploiement des agents OCS.

Je vous explique : l'installation du server OCS:GLPI s'est déroulée sans encombres, les interfaces web sont bien accessibles et les accès aux bases de données (Mysql) sont opérationnels. J'ai installer la version 2.0.5 d'OCS server, et je déploie des agents en version 2.1.1.3.

Je fais le déploiement avec l'outil OCS Deploy Tool, télécharger depuis le site officiel, l'installation sur les clients est OK mais une fois ceux ci installés, mon serveur voit bien qu'un l'agent l'a contacté, il créer une entrée d'inventaire, mais ne remonte que la version de l'agent du poste qui l'a contacté ...(Je pourrais fournir une capture d'écran si mon explication n'est pas claire).

Avec wireshark et les logs du server apache, j'ai vu qu'une erreur 500 se produisait à chaque fois que l'agent envoyait ses données, mais je n'ai pas réussi à en savoir plus ...

Désolé d'avance du peu d'informations données dans ce sujet, j'en donnerais au cas par cas suivant les solutions que vous pourriez me proposer ... Je vous avoues que c'est la première fois que je met en place cette solution sur un parc, je sors tout juste de l'école :(

D'avance merci pour m'avoir lu et de votre aide !

Problème : HTTP Status Code #403

$
0
0
Bonjour,

Depuis plusieurs jours j'ai un problème avec l'agent Windows, il ne communique pas avec le serveur. Le HTTP n'est pas autoriser, et idem pour le HTTPS qui ne fonctionne pas non plus. Je n'est aucune idée de comment résoudre le problème.

Voilà mon fichier log (OCSInventory.log) : http://pastebin.com/XqzqRVkW

Si quelqu'un s'y connait ou a une idée de comment résoudre le problème je suis preneur !

Merci :)

Installation multiples de OCS sur un réseau

$
0
0
Bonjour,

Je viens de mettre en place un serveur GLPI (0.90.1) et OCS Inventory Serveur 2.2 sur une machine Debian.

Actuellement, une société extérieure utilise déjà OCS et a déployé (sur un parc de machines Windows XP/7/10) l'agent en version 2.1.1.1 mais elle ne souhaite pas me donner l'accès à leur base de données, je me retourne donc vers vous pour avoir quelques conseils/directions à me donner afin de faire cohabiter 2 exemplaires d'OCS sur un même réseau.

L'agent redescend avec un .bat depuis une GPO, j'imagine qu'il ne serait pas judicieux de déployer une 2nd fois l'agent (en version 2.1.1.3) sur les postes.

Merci d'avance.

Apache don't start "Can't locate Apache.pm"

$
0
0

Hi,

I have installed an Ocsinventory in a CentOs 7.2. Beyond yum perl package doesn't exist in this release, Apache don't start after include "z-ocsinventory-server.conf" and "ocsinventory-reports.conf" in my httpd.conf. The file error.log of httpd as two lines : 

Can't locate Apache/Ocsinventory/Plugins/Apache.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /opt/applis/httpd) at (eval 13) line 2.\n

Can't load Perl module Apache::Ocsinventory::Plugins::Apache for server srv-ocs.clinique.local:0, exiting...

Folder "/etc/ocsinventory-server" exist with "plugins" and "perl" folders, but without any files.

In my Ocs_server_setup.log, only two lines are on error :

Checking for Apache2::SOAP PERL module
Unsupported version of mod_perl at /root/perl5/lib/perl5/SOAP/Transport/HTTP2.pm line 85.
Compilation failed in require.
BEGIN failed--compilation aborted.
User choose to continue setup without PERL module SOAP::Apache2

Somebody can help me? 

I have CentOs 7.2, Php 5.6.3, httpd 2.4.20, mod_perl 2.0.9

Thanks

Mise à jour agents OCS 4.0.6.1 > 2.1.1.3

$
0
0
Bonjour à tous,

Je viens de déployer un nouveau server OCS sur mon parc informatique, et je voudrais savoir savoir s'il est possible de déployer la dernière version des agents OCS sans avoir a désinstaller celle installée sur tout les postes du domaine ..

Je voudrais faire ce déploiement par GPO, en utilisant le packager d'OCS, et ma question est la suivante :

Quels paramètres dois je spécifier lorsque je lance le packager dans le champ "Commande line option" ? J'ai bien vu une liste d'options (/NP /INSTALL /SERVER=XXX.XXX.... ), dans laquelle j'ai remarqué l'option /UPGRADE, mais dois je passer ce paramètre directement dans le packager ou dans la GPO après avoir créer mon package ?

Si je ne suis pas clair, merci de me le faire savoir, j'essayerais de reformuler !

D'avance merci

Cordialement

Virtual network interface

$
0
0
Hi

We have deployed ~900 computers on our network and we are facing an odd bug.
Some, but not all, of our computers have several network adapters where one of them is real and the others are virtual adapters. These virtual adapters seem to get the same virtual IP given by Windows on the range of 169.254.x.x along the same MAC for those adapters. But the real network card have a correct IP and MAC.

On the main page of our server those computers appear with the wrong IP (those 169.254.x.x windows given IPs) instead of the real IP they should show.
What can we do to fix it?

The wrong IPs seems to be saved on HARDWARE.IPADDR while the true IPs are always on HARDWARE.IPSRC.
Should we exchange those values on "Apache/Ocsinventory/Server/Inventory/Update/Hardware.pm"?

Any help would be gladly appreciated.

Regards,

************

Server version: OCS-Server-2.2

Agent version: OCS-Windows-Agent-2.1.1.1
Viewing all 4372 articles
Browse latest View live


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