Package: ocsinventory-server Version: 2.0.2-2 Severity: important Tags: upstream
Dear Maintainer, the ocsinventory server wont work with fusioninventory-agent since the upgrade to 2.0 in wheezy, this includes the fusioninventory-agent 2.1.10-1 in wheezy. The agent gets a 400 "Bad Request" when accessing http://localhost/ocsinventory, ocsinventory logs 127.0.0.1;FusionInventory-Agent_v2.1.10;useragent;Bad agent or agent version too recent for server !! The reason is probably an regression in the upstream code when checking the agent for validity in /usr/share/perl5/Apache/Ocsinventory/Server/Useragent.pm, sub useragent_prolog_read A proper fix is probably to extend %ocsagents with an entry for FusionInventory-Agent. I worked around the problem by using a hook in /etc/oscinventory/ocsinventory.conf: PerlSetEnv OCS_OPT_EXT_USERAGENTS_FILE_PATH "/etc/ocsinventory/ext-useragents" and put FusionInventory-Agent_v2.1.10 in there Regards J.Pietschmann -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.0.0-1-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages ocsinventory-server depends on: ii apache2 2.2.21-2 ii apache2-mpm-prefork [apache2] 2.2.21-2 ii libapache-dbi-perl 1.11-1 ii libapache2-mod-perl2 2.0.5-3 ii libcompress-zlib-perl 2.037-1 ii libdbd-mysql-perl 4.020-1 ii libdbi-perl 1.616-1+b1 ii libio-compress-perl [libcompress-zlib-perl] 2.037-2 ii libjs-jquery 1.6.4-1 ii libnet-ip-perl 1.25-3 ii libphp-pclzip 2.8.2-2 ii libxml-simple-perl 2.18-3 ii perl [libcompress-zlib-perl] 5.12.4-6 ii ucf 3.0025+nmu2 Versions of packages ocsinventory-server recommends: ii ocsinventory-reports 2.0.2-2 Versions of packages ocsinventory-server suggests: ii libsoap-lite-perl 0.714-1 ii mysql-server 5.1.58-1 ii mysql-server-5.1 [mysql-server] 5.1.58-1 ii nmap 5.21-1.1 ii ocsinventory-agent <none> ii samba-common 2:3.5.11~dfsg-4 -- Configuration Files: /etc/ocsinventory/ocsinventory.conf [Errno 13] Permission denied: u'/etc/ocsinventory/ocsinventory.conf' -- debconf information excluded -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org