There is nothing to do in /var/www to made ocs working.
There is nothing to do in /var/www to made ocs working.
Hello,
I'm sorry for my bad english skills but i try my best. I'm from Germany so a German answer would be very nice but english is also fine. :)
I tried to set up OCS Inventory. I installed the ocs server 2.5 with the repository package of debian buster. The Server seems to work. Than i installed the Unix Agent 2.4.2 on my Linux Mint 19 PC. I installed it also with the repository package.
My problem is when i start the agent with
sudo ocsinventory-agent --debug
he gives me this response
sudo ocsinventory-agent --info --debug
[debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.4.2
[debug] Log system initialised (Stderr)
[debug] --scan-homedirs missing. Don't scan user directories
[debug] Accountinfo file: /var/lib/ocsinventory-agent/http:__ocsinventory.intern.bfw-dresden.de_ocsinventory-reports_/ocsinv.adm
[debug] OCS Agent initialised
[debug] Turns hooks on for /etc/ocsinventory/modules.conf
[debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.4.2
[debug] Log system initialised (Stderr)
[debug] Calling handlers : `start_handler'
[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>tf02-MiniPC-2019-04-04-09-32-04</DEVICEID>
<QUERY>PROLOG</QUERY>
</REQUEST>
[error] Deflating problem
My /etc/ocsinventory/ocsinventory-agent.cfg :
server=http://ocsinventory.intern.bfw-dresden.de/ocsinventory-reports/
proxyPort = 3128
port = 80
#proxy = 10.11.255.254:3128
debug = 2
I think .../ocsinventory-reports/ must be fine because i moved this from /usr/share/... to /var/www/html/... to get the Webinterface working
I used WireShark to find a problem. So i found out that the agent is trying to send to the log in page because wireshark showed me that the server is giving response with the html skript of the log-in page. is this right? i didn't think so but i don't find a solution to fix it
Thanks in advance !
i hope someone can help me with my problem
Bonjour,
Je dois effectuer un inventaire de toutes les machines présentes sur le réseau de mon entreprise (inclus dans l'AD ou non).
J'ai cette erreur qui s'affiche : "Nom de réseau introuvable". Que puis-je faire?
Hello,
I have to make an inventory of all the computers on my business network. I have some computers that aren't in the AD.
This error appears when I try to use the Agent Deployment Tool :
Hello, I got this error message when executing ocsinventory-agent
[error] Deflating problem
I have tried [error] Deflating Problem and Probleme [error] Deflating problem, neither both worked.
Can anyone help me to realize how to fix this bug?
Thanks
under Debian or ubuntu, you must enable ocsinventory-server.conf and ocsinventory-reports.conf in the apache configuration.
I enabled the ocsinventory-server.conf and the ocsinventory-reports.conf with a2enconf ocsinventory-server; a2enconf ocsinventory-reports. After enabling the first one the server wasn't available anymore. So I disabled it again (a2disconf ocsinventory-server.conf) and the server is reachable again. But still the inventory isn't possible.
Are there more configs to enable?
Bonjour,
Je viens de procéder a l'installation des serveurs OCSinventory sur un centos 7. Je l'ai installé sur un serveur physique dedier.
J'ai installé l'agent windows sur un autre pc tournant sous windows 10 Ent 64Bit.
Lorsque j'exécute l'agent j'ai une notification d'agent executé avec succès mais rien ne remonte coté serveur (OCS).
Voici le contenu de mon fichier ocsinventory.ini :
[OCS Inventory Agent]
ComProvider=ComHTTP.dll
Debug=1
Local=
NoSoftware=0
HKCU=0
NoTAG=0
IpDisc=
[HTTP]
Server=http://XX.XX.X.XXX/ocsinventory
SSL=1
CaBundle=cacert.pem
AuthRequired=0
User=
Pwd=
ProxyType=0
Proxy=
ProxyPort=0
ProxyAuthRequired=0
ProxyUser=
ProxyPwd=
[OCS Inventory Service]
TTO_WAIT=0
INVENTORY_ON_STARTUP=0
PROLOG_FREQ=10
OLD_PROLOG_FREQ=10
Et voici le contenu de mon fichier OCSinventory.log :
==============================================================================
Starting OCS Inventory NG Agent on Friday, October 04, 2019 20:52:40.
AGENT => Running OCS Inventory NG Agent Version 2.4.0.0
AGENT => Using OCS Inventory NG FrameWork Version 2.4.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.4.0.0>
AGENT => Sending Prolog
DID_CHECK => Read DeviceID <XXX-SGE-XXX-04-2019-10-02-13-28-58> and MACs <XX:1C:BF:F8:96:B510:E7:C6:EX:A7: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://XX.XX.X.XXX/ocsinventory>
COM SERVER => HTTP Post response received <HTTP Status Code #500>
COM SERVER => Cleaning cURL library
ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #500>
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:00.
merci d'avance pour votre aide
Doudou