[Bug 588104] Re: package bacula-director-mysql 5.0.1-1ubuntu1 failed to install/upgrade: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

2012-05-17 Thread Ubuntu Foundation's Bug Bot
** Attachment removed: "VarLogDistupgradeSystemstatetargz.gz"
   
https://bugs.launchpad.net/bugs/588104/+attachment/1411354/+files/VarLogDistupgradeSystemstatetargz.gz

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/588104

Title:
  package bacula-director-mysql 5.0.1-1ubuntu1 failed to
  install/upgrade: ERROR 2002 (HY000): Can't connect to local MySQL
  server through socket '/var/run/mysqld/mysqld.sock' (2)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bacula/+bug/588104/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 588104] Re: package bacula-director-mysql 5.0.1-1ubuntu1 failed to install/upgrade: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

2010-12-24 Thread Launchpad Bug Tracker
[Expired for bacula (Ubuntu) because there has been no activity for 60
days.]

** Changed in: bacula (Ubuntu)
   Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/588104

Title:
  package bacula-director-mysql 5.0.1-1ubuntu1 failed to install/upgrade: ERROR 
2002 (HY000): Can't connect to local MySQL server through socket 
'/var/run/mysqld/mysqld.sock' (2)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 588104] Re: package bacula-director-mysql 5.0.1-1ubuntu1 failed to install/upgrade: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

2010-10-05 Thread vedavata

The same problem:

Setting up bacula-director-mysql (5.0.1-1ubuntu1) ...
debconf: Unknown template field '_description', in stanza #9 of 
/var/lib/dpkg/info/bacula-director-mysql.templates

dbconfig-common: writing config to 
/etc/dbconfig-common/bacula-director-mysql.conf
Processing configuration...Ok.
 * Starting Bacula Director...
05-Oct 14:45 bacula-dir: ERROR TERMINATION at lex.c:784
Config error: expected a string, got T_EOL: =
: line 236, col 12 of file /etc/bacula/bacula-dir.conf
  dbname = ; DB Address = ""; dbuser = ""; dbpassword = ""

  [fail]
dpkg: error processing bacula-director-mysql (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of bacula-server:
 bacula-server depends on bacula-director-mysql (>= 5.0.1-1ubuntu1) | 
bacula-director; however:
  Package bacula-director-mysql is not configured yet.
  Package bacula-director is not installed.
  Package bacula-director-mysql which provides bacula-director is not 
configured yet.
dpkg: error processing bacula-server (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of bacula:
 bacula depends on bacula-server; however:
  Package bacula-server is not configured yet.
dpkg: error processing bacula (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup 
error from a previous failure.
No apport report written because the error message indicates its a followup 
error from a previous failure.
Errors were encountered while processing:
 bacula-director-mysql
 bacula-server
 bacula
E: Sub-process /usr/bin/dpkg returned an error code (1)



And the same during uninstall :

2 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up bacula-director-mysql (5.0.1-1ubuntu1) ...
debconf: Unknown template field '_description', in stanza #9 of 
/var/lib/dpkg/info/bacula-director-mysql.templates

dbconfig-common: writing config to 
/etc/dbconfig-common/bacula-director-mysql.conf
Processing configuration...Ok.
 * Starting Bacula Director...  
 
05-Oct 14:53 bacula-dir: ERROR TERMINATION at lex.c:784
Config error: expected a string, got T_EOL: =
: line 236, col 12 of file /etc/bacula/bacula-dir.conf
  dbname = ; DB Address = ""; dbuser = ""; dbpassword = ""

  [fail]
dpkg: error processing bacula-director-mysql (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of bacula-server:
 bacula-server depends on bacula-director-mysql (>= 5.0.1-1ubuntu1) | 
bacula-director; however:
  Package bacula-director-mysql is not configured yet.
  Package bacula-director is not installed.
  Package bacula-director-mysql which provides bacula-director is not 
configured yet.
dpkg: error processing bacula-server (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup 
error from a previous failure.
Errors were encountered while processing:
 bacula-director-mysql
 bacula-server
E: Sub-process /usr/bin/dpkg returned an error code (1)

-- 
package bacula-director-mysql 5.0.1-1ubuntu1 failed to install/upgrade: ERROR 
2002 (HY000): Can't connect to local MySQL server through socket 
'/var/run/mysqld/mysqld.sock' (2)
https://bugs.launchpad.net/bugs/588104
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 588104] Re: package bacula-director-mysql 5.0.1-1ubuntu1 failed to install/upgrade: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

2010-06-03 Thread Hontvári József Levente
Yes, I meant MySQL was running before the OS upgrade. Actually there is
a log entry in VarLogDistupgradeApttermlog.gz which shows that it had
been running for about a month. I had the feeling that MySQL was stopped
by the upgrade script before the bacula upgrade, and indeed I saw a few
lines *after* the failed bacula upgrade (and after submitting this
issue, so this is not in the logs) on the console that was related to
MySQL. Maybe MySQL was started at that time. Following that, the second
Bacula reconfiguration succeeded. In the log file above I also see two
strange lines:

(Reading database ... 55366 files and directories currently installed.)
Preparing to replace mysql-server-5.1 5.1.37-1ubuntu5.1 (using 
.../mysql-server-5.1_5.1.41-3ubuntu12.1_i386.deb) ...
 * Stopping MySQL database server mysqld    
[ OK ]
 * Stopping MySQL database server mysqld    
[ OK ]
Unpacking replacement mysql-server-5.1 ...
Preparing to replace ubuntu-serverguide 9.10.11 (using 
.../ubuntu-serverguide_10.04.3_all.deb) ...

I.e. it stops MySQL two times. On the other hand I do not find any line
in this log file, which would indicate that MySQL daemon was started
later during the upgrade (and before this issue report).

-- 
package bacula-director-mysql 5.0.1-1ubuntu1 failed to install/upgrade: ERROR 
2002 (HY000): Can't connect to local MySQL server through socket 
'/var/run/mysqld/mysqld.sock' (2)
https://bugs.launchpad.net/bugs/588104
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 588104] Re: package bacula-director-mysql 5.0.1-1ubuntu1 failed to install/upgrade: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

2010-06-03 Thread Scott Moser
- "MySQL was definietely run well before the upgrade"

  did you mean "running" ?

It sure would seem to me that the likely issue was that mysql server was
not running when you started the upgrade.  Nothing in the logs attached
would seem to indicate that mysql was shut down.


** Changed in: bacula (Ubuntu)
   Status: New => Incomplete

-- 
package bacula-director-mysql 5.0.1-1ubuntu1 failed to install/upgrade: ERROR 
2002 (HY000): Can't connect to local MySQL server through socket 
'/var/run/mysqld/mysqld.sock' (2)
https://bugs.launchpad.net/bugs/588104
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 588104] Re: package bacula-director-mysql 5.0.1-1ubuntu1 failed to install/upgrade: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

2010-05-31 Thread Hontvari Jozsef
At the end of the OS upgrade, Ubuntu displays "A recovery will run now
(dpkg --configure -a)." After this it again attempts to upgrade the
bacula database, and it seems it have completed successfully.

-- 
package bacula-director-mysql 5.0.1-1ubuntu1 failed to install/upgrade: ERROR 
2002 (HY000): Can't connect to local MySQL server through socket 
'/var/run/mysqld/mysqld.sock' (2)
https://bugs.launchpad.net/bugs/588104
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 588104] Re: package bacula-director-mysql 5.0.1-1ubuntu1 failed to install/upgrade: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

2010-05-31 Thread Hontvari Jozsef

** Attachment added: "Dependencies.txt"
   http://launchpadlibrarian.net/49474430/Dependencies.txt

** Attachment added: "VarLogDistupgradeAptlog.gz"
   http://launchpadlibrarian.net/49474431/VarLogDistupgradeAptlog.gz

** Attachment added: "VarLogDistupgradeApttermlog.gz"
   http://launchpadlibrarian.net/49474432/VarLogDistupgradeApttermlog.gz

** Attachment added: "VarLogDistupgradeLspcitxt.gz"
   http://launchpadlibrarian.net/49474433/VarLogDistupgradeLspcitxt.gz

** Attachment added: "VarLogDistupgradeMainlog.gz"
   http://launchpadlibrarian.net/49474435/VarLogDistupgradeMainlog.gz

** Attachment added: "VarLogDistupgradeSystemstatetargz.gz"
   http://launchpadlibrarian.net/49474436/VarLogDistupgradeSystemstatetargz.gz

-- 
package bacula-director-mysql 5.0.1-1ubuntu1 failed to install/upgrade: ERROR 
2002 (HY000): Can't connect to local MySQL server through socket 
'/var/run/mysqld/mysqld.sock' (2)
https://bugs.launchpad.net/bugs/588104
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs