Your message dated Mon, 18 May 2009 21:32:38 +0000
with message-id <[email protected]>
and subject line Bug#513124: fixed in ocsinventory-server 1.02-1
has caused the Debian Bug report #513124,
regarding "ERROR: MySql connection problem" when not using mysql in localhost
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
513124: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=513124
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ocsinventory-server
Version: 1.01-6
Severity: normal
Tags: patch

Hi!

We have installed ocs with the database in another server, and we were
getting this message when trying to connect, and also after logout:

    ERROR: MySql connection problem
    Can't connect to local MySQL server through socket 
'/var/run/mysqld/mysqld.sock' (2)

Searching a little we found: 
http://forums.ocsinventory-ng.org/viewtopic.php?id=1552

Patch:

--- /usr/share/ocsinventory-server/ocsreports/preferences.php.old       
2009-01-26 15:39:11.000000000 -0200
+++ /usr/share/ocsinventory-server/ocsreports/preferences.php   2009-01-26 
14:58:40.000000000 -0200
@@ -11,6 +11,7 @@
 //Modified on $Date: 2007/02/16 16:39:13 $$Author: plemmet $($Revision: 1.25 $)
 
 error_reporting(E_ALL & ~E_NOTICE);
+require("dbconfig.inc.php");
 @session_start();
 
 define("UTF8_DEGREE", 1 );                             // 0 For non utf8 
database, 1 for utf8



It would be good to have it applied on the Debian package.

Thank you!

Best regards,
Nelson

-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.28.1-naoliv1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



--- End Message ---
--- Begin Message ---
Source: ocsinventory-server
Source-Version: 1.02-1

We believe that the bug you reported is fixed in the latest version of
ocsinventory-server, which is due to be installed in the Debian FTP archive:

ocsinventory-reports_1.02-1_all.deb
  to pool/main/o/ocsinventory-server/ocsinventory-reports_1.02-1_all.deb
ocsinventory-server_1.02-1.diff.gz
  to pool/main/o/ocsinventory-server/ocsinventory-server_1.02-1.diff.gz
ocsinventory-server_1.02-1.dsc
  to pool/main/o/ocsinventory-server/ocsinventory-server_1.02-1.dsc
ocsinventory-server_1.02-1_all.deb
  to pool/main/o/ocsinventory-server/ocsinventory-server_1.02-1_all.deb
ocsinventory-server_1.02.orig.tar.gz
  to pool/main/o/ocsinventory-server/ocsinventory-server_1.02.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Pierre Chifflier <[email protected]> (supplier of updated ocsinventory-server 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 18 May 2009 22:28:05 +0200
Source: ocsinventory-server
Binary: ocsinventory-server ocsinventory-reports
Architecture: source all
Version: 1.02-1
Distribution: experimental
Urgency: low
Maintainer: Pierre Chifflier <[email protected]>
Changed-By: Pierre Chifflier <[email protected]>
Description: 
 ocsinventory-reports - Hardware and software inventory tool (Administration 
Console)
 ocsinventory-server - Hardware and software inventory tool (Communication 
Server)
Closes: 499820 504331 513124 518318 526829 527354
Changes: 
 ocsinventory-server (1.02-1) experimental; urgency=low
 .
   * New Upstream Version (Closes: #526829, #513124)
   * Refreshed patches
   * Symlink is created during ocsinventory-reports.postinst (Closes: #518318)
   * Add Swedish debconf translation (Closes: #504331)
   * Bump standards version to 3.8.1
   * Handle upgrade from previous versions by moving the old (incompatible)
     config file out of the way (Closes: #499820).
     See README.Debian for details
   * Add local scripts to ocsinventory-server package (Closes: #527354)
Checksums-Sha1: 
 66530615309b29732e98b5946b8b739f393e30bf 1170 ocsinventory-server_1.02-1.dsc
 6902f1dc588b5dba158faecddb56323ce6f0e509 1499220 
ocsinventory-server_1.02.orig.tar.gz
 1cd7025a335fc3167739852ffbb15cef96e2387c 22159 
ocsinventory-server_1.02-1.diff.gz
 ae26e01d527a5eebe5b4be753c63558b7d169970 68240 
ocsinventory-server_1.02-1_all.deb
 d33baac6aca52abda766c80da4dcc19c9b842c53 1410974 
ocsinventory-reports_1.02-1_all.deb
Checksums-Sha256: 
 d419740fa8d178edfb290ae21237dae8d27576f9d43a200a53213ed23fc4eae1 1170 
ocsinventory-server_1.02-1.dsc
 41a158652ff5b6fdd3f549f04278e76b388cbf442cb02434c3d7634cc1556e15 1499220 
ocsinventory-server_1.02.orig.tar.gz
 9b5726302685e77d9530b0125d90ba493f0574b5d6cef79c97d562980625f30b 22159 
ocsinventory-server_1.02-1.diff.gz
 763fa0857f90a3dd4a0ae5867c0104d0bf57076e4633e7d42829ac53d56986b5 68240 
ocsinventory-server_1.02-1_all.deb
 0ecedea7549663a42b66d3a1b16a30a86a3b6dd7db47a2a3fdfabe729df8ff4a 1410974 
ocsinventory-reports_1.02-1_all.deb
Files: 
 c111bc301d6567bb7826017d0044fc70 1170 web extra ocsinventory-server_1.02-1.dsc
 abebc61ba04de0e36ec2283c04f17c0d 1499220 web extra 
ocsinventory-server_1.02.orig.tar.gz
 b158fbf3362e44683a9eb77481af5c1e 22159 web extra 
ocsinventory-server_1.02-1.diff.gz
 9ef99a7281bce15b131e29e9ad73c75b 68240 web extra 
ocsinventory-server_1.02-1_all.deb
 bc5724d0794a7858df8341cf0ffadca9 1410974 web extra 
ocsinventory-reports_1.02-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFKEctLtwVrWo1fQMsRAuoOAJ9A/2JckG3BxPbXFawDq0sCxBeSpwCfb6G7
ou0M5ovc3qmkMLetMR+hrQg=
=CNjA
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to