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