Package: ocsinventory-server Version: 1.01-6 Severity: normal
When configuration of ocs server is bad, apache log contains: «[... 2009] [error] [client ....] Failed to open log file : Permission denied\n». This error is inaccurate and does not help the user of the apache log file. Using strace on apache, I disvovered that apache/ocs tries to open /ocsinventory-NG.log in the filesystem root. The error should be: «[... 2009] [error] [client ....] Failed to log to /ocsinventory-NG.log» As I do not know how to change destination of the log file, I create /ocsinventory-NG.log with chmod 777. Then ocs works fines, with dirty log in filesystem root. NB: The issue might also be related to installing lenny ocs after upgrade after installation of ocs from tar on etch.80 -- System Information: Debian Release: 5.0.3 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.24-etchnhalf.1-amd64 (SMP w/2 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages ocsinventory-server depends on: ii apache2 2.2.9-10+lenny4 Apache HTTP Server metapackage ii apache2-mpm-prefork [apa 2.2.9-10+lenny4 Apache HTTP Server - traditional n ii dbconfig-common 1.8.39 common framework for packaging dat ii debconf [debconf-2.0] 1.5.24 Debian configuration management sy ii libapache-dbi-perl 1.07-1 Connect apache server to database ii libapache2-mod-perl2 2.0.4-5 Integration of perl with the Apach ii libcompress-zlib-perl 2.012-1 Perl module for creation and manip ii libdbd-mysql-perl 4.007-1 A Perl5 database interface to the ii libdbi-perl 1.605-1 Perl5 database interface by Tim Bu ii libnet-ip-perl 1.25-2 Perl extension for manipulating IP ii libxml-simple-perl 2.18-1 Perl module for reading and writin ii ucf 3.0016 Update Configuration File: preserv Versions of packages ocsinventory-server recommends: ii ocsinventory-reports 1.01-6 Hardware and software inventory to Versions of packages ocsinventory-server suggests: ii libsoap-lite-pe 0.69-1 Client and server side SOAP implem ii mysql-server 5.0.51a-24+lenny2 MySQL database server (metapackage ii mysql-server-5. 5.0.51a-24+lenny2 MySQL database server binaries ii ocsinventory-ag 1:0.0.9.2repack1-4lenny1 Hardware and software inventory to -- 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