Still happening. Tried the apparmor fix but that didn't help.
Then found the line about skip-bdb and removed that and it fixed it.
--
package mysql-server-5.1 5.1.37-1ubuntu4 failed to install/upgrade: subprocess
installed post-installation script returned error exit status 1
I tried the following, but neither solved my problem:
Post #24: Remove --skip-bdb. In my case, this setting isn't in
/etc/mysql/my.cnf. I wasn't getting any errors related to bdb.
Post #25: Starting mysql while apparmor is off. Mysql still fails to
start.
When I uninstall and reinstall mysql,
I had the issue from the original description.
I was able to stop it manually using 'mysqladmin shutdown -u root -p
...' Then followed the instructions here:
http://mirzmaster.wordpress.com/2009/01/16/mysql-access-denied-for-user-
debian-sys-maintlocalhost/
And after starting it again I was
Also to follow up on comment #29, after fixing the first issue, I still
encountered this error, which I suspect may have been caused due to the
initial upgrade failures:
ERROR 1577 (HY000) at line 1: Cannot proceed because system tables
used by Event Scheduler were found damaged at server start
Still happening. Tried the apparmor fix but that didn't help.
Then found the line about skip-bdb and removed that and it fixed it.
--
package mysql-server-5.1 5.1.37-1ubuntu4 failed to install/upgrade: subprocess
installed post-installation script returned error exit status 1
I tried the following, but neither solved my problem:
Post #24: Remove --skip-bdb. In my case, this setting isn't in
/etc/mysql/my.cnf. I wasn't getting any errors related to bdb.
Post #25: Starting mysql while apparmor is off. Mysql still fails to
start.
When I uninstall and reinstall mysql,
I had the issue from the original description.
I was able to stop it manually using 'mysqladmin shutdown -u root -p
...' Then followed the instructions here:
http://mirzmaster.wordpress.com/2009/01/16/mysql-access-denied-for-user-
debian-sys-maintlocalhost/
And after starting it again I was
Also to follow up on comment #29, after fixing the first issue, I still
encountered this error, which I suspect may have been caused due to the
initial upgrade failures:
ERROR 1577 (HY000) at line 1: Cannot proceed because system tables
used by Event Scheduler were found damaged at server start
I have experienced this for the last few months, each time mysql is upgraded. A
workaround that works for me is:
1. stop apparmor [/etc/init.d/apparmor stop ]
2. stop mysql (probably not necessary) [ /etc/init.d/mysql stop ]
3. start mysql [ /etc/init.d/mysql start ]
4. start apparmor
szu,
Thanks. That seems to have fixed it for me.
Eric
On Fri, Feb 26, 2010 at 3:51 PM, szu szu...@poczta.onet.pl wrote:
in my case the mysql server failed to start because of the outdated
config file, removing skip-bdb from /etc/mysql/my.cnf solved the
problem (this is because they removed
I have experienced this for the last few months, each time mysql is upgraded. A
workaround that works for me is:
1. stop apparmor [/etc/init.d/apparmor stop ]
2. stop mysql (probably not necessary) [ /etc/init.d/mysql stop ]
3. start mysql [ /etc/init.d/mysql start ]
4. start apparmor
szu,
Thanks. That seems to have fixed it for me.
Eric
On Fri, Feb 26, 2010 at 3:51 PM, szu szu...@poczta.onet.pl wrote:
in my case the mysql server failed to start because of the outdated
config file, removing skip-bdb from /etc/mysql/my.cnf solved the
problem (this is because they removed
in my case the mysql server failed to start because of the outdated
config file, removing skip-bdb from /etc/mysql/my.cnf solved the
problem (this is because they removed berkeley db support in mysql)
the daemon.log attached to this bug shows the same as mine:
Oct 6 09:59:30 asterios mysqld:
in my case the mysql server failed to start because of the outdated
config file, removing skip-bdb from /etc/mysql/my.cnf solved the
problem (this is because they removed berkeley db support in mysql)
the daemon.log attached to this bug shows the same as mine:
Oct 6 09:59:30 asterios mysqld:
The most recent mysql 5.1 upgrade has caused this bug for the last few
weeks now. I've reported it now as aaport popped up and I remembered my
launchpad login.
I did try removing and reinstalling mysql but this didn't fix the issue,
as it's my development box I'm not too bothered. I'll try some
The most recent mysql 5.1 upgrade has caused this bug for the last few
weeks now. I've reported it now as aaport popped up and I remembered my
launchpad login.
I did try removing and reinstalling mysql but this didn't fix the issue,
as it's my development box I'm not too bothered. I'll try some
Is this really not a critical bug? Has anyone tried to install mysql-
server immediately after a fresh install? Does it work?
I just installed 9.10 desktop 64 bit onto bare metal. Fresh install with
no upgrade involved (reformatted drives that used to have an 8.04 system
installed). I've
Is this really not a critical bug? Has anyone tried to install mysql-
server immediately after a fresh install? Does it work?
I just installed 9.10 desktop 64 bit onto bare metal. Fresh install with
no upgrade involved (reformatted drives that used to have an 8.04 system
installed). I've
Please help me!
Today, after updating the mysql-server-5.1 in Ubuntu 9.10 - Database Error:
Unable to connect to the database: Could not connect to MySQL.
Why this update released?
How can I start the server now?
...
$ sudo service mysql start
* Starting MySQL database server mysqld
syslog:
...
Feb 10 22:52:37 svm-PC /etc/init.d/mysql[6309]: 0 processes alive and
'/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
Feb 10 22:52:37 svm-PC /etc/init.d/mysql[6309]: Could not open required
defaults file: /etc/mysql/debian.cnf
Feb 10 22:52:37 svm-PC
On Wed, Feb 10, 2010 at 04:55:29PM -, Vyacheslav Sudyarov wrote:
...
Feb 10 22:52:37 svm-PC /etc/init.d/mysql[6309]: 0 processes alive and
'/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
Feb 10 22:52:37 svm-PC /etc/init.d/mysql[6309]: Could not open required
Is there a /etc/mysql/debian.cnf file on the system?
Yes
I solved the problem this way:
reinstalled mysql-server-5.1 and deleted old mysql-server packages.
Apparently today updating the mysql-server-5.1 poorly installed.
--
package mysql-server-5.1 5.1.37-1ubuntu4 failed to install/upgrade:
Please help me!
Today, after updating the mysql-server-5.1 in Ubuntu 9.10 - Database Error:
Unable to connect to the database: Could not connect to MySQL.
Why this update released?
How can I start the server now?
...
$ sudo service mysql start
* Starting MySQL database server mysqld
syslog:
...
Feb 10 22:52:37 svm-PC /etc/init.d/mysql[6309]: 0 processes alive and
'/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
Feb 10 22:52:37 svm-PC /etc/init.d/mysql[6309]: Could not open required
defaults file: /etc/mysql/debian.cnf
Feb 10 22:52:37 svm-PC
On Wed, Feb 10, 2010 at 04:55:29PM -, Vyacheslav Sudyarov wrote:
...
Feb 10 22:52:37 svm-PC /etc/init.d/mysql[6309]: 0 processes alive and
'/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
Feb 10 22:52:37 svm-PC /etc/init.d/mysql[6309]: Could not open required
Is there a /etc/mysql/debian.cnf file on the system?
Yes
I solved the problem this way:
reinstalled mysql-server-5.1 and deleted old mysql-server packages.
Apparently today updating the mysql-server-5.1 poorly installed.
--
package mysql-server-5.1 5.1.37-1ubuntu4 failed to install/upgrade:
balticg...@ubuntu:~$ sudo service mysql start
mysql: unrecognized service
balticg...@ubuntu:~$
--
package mysql-server-5.1 5.1.37-1ubuntu4 failed to install/upgrade: subprocess
installed post-installation script returned error exit status 1
https://bugs.launchpad.net/bugs/444349
You received
balticg...@ubuntu:~$ sudo service mysql start
mysql: unrecognized service
balticg...@ubuntu:~$
--
package mysql-server-5.1 5.1.37-1ubuntu4 failed to install/upgrade: subprocess
installed post-installation script returned error exit status 1
https://bugs.launchpad.net/bugs/444349
You received
In my case, I simlinked /usr/share to /home/share, I had to add
/sys/devices/system/cpu/ r,
/home/share/mysql/** r,
to /etc/apparmor.d/usr.sbin.mysqld
bye,
Eduard
--
package mysql-server-5.1 5.1.37-1ubuntu4 failed to install/upgrade: subprocess
installed post-installation script
In my case, I simlinked /usr/share to /home/share, I had to add
/sys/devices/system/cpu/ r,
/home/share/mysql/** r,
to /etc/apparmor.d/usr.sbin.mysqld
bye,
Eduard
--
package mysql-server-5.1 5.1.37-1ubuntu4 failed to install/upgrade: subprocess
installed post-installation script
I had this problem on a vanilla update from jaunty to karmic. Everything
seemed to update okay, but later when I went to run a MySQL backup I
couldn't do it. It was only then that I realized that karmic included an
upgrade to MySQL 5.1. The upgrade had not completely worked.
I went in and tried
I had this problem on a vanilla update from jaunty to karmic. Everything
seemed to update okay, but later when I went to run a MySQL backup I
couldn't do it. It was only then that I realized that karmic included an
upgrade to MySQL 5.1. The upgrade had not completely worked.
I went in and tried
Try to add 'user=mysql' in [mysqld] section of /etc/mysql/my.cnf before
doing 'apt-get install mysql-server'.
It worked for me. My problem was mysqld creating log files
(/var/lib/mysql/[hostname]-bin.[number]) for innodb tables owned by root
during the installation/upgrade. When started normally
Try to add 'user=mysql' in [mysqld] section of /etc/mysql/my.cnf before
doing 'apt-get install mysql-server'.
It worked for me. My problem was mysqld creating log files
(/var/lib/mysql/[hostname]-bin.[number]) for innodb tables owned by root
during the installation/upgrade. When started normally
Same problem here with a fresh install of both ubuntu server karmic and
mysql.
Night Eagle solution didn't work for me.
--
package mysql-server-5.1 5.1.37-1ubuntu4 failed to install/upgrade: subprocess
installed post-installation script returned error exit status 1
Same problem here with a fresh install of both ubuntu server karmic and
mysql.
Night Eagle solution didn't work for me.
--
package mysql-server-5.1 5.1.37-1ubuntu4 failed to install/upgrade: subprocess
installed post-installation script returned error exit status 1
I added the following line to /etc/apparmor.d/usr.sbin.mysqld:
/sys/devices/system/cpu/ r,
then reloaded apparmor profile and that fixed the problem for me.
--
package mysql-server-5.1 5.1.37-1ubuntu4 failed to install/upgrade: subprocess
installed post-installation script returned error
I added the following line to /etc/apparmor.d/usr.sbin.mysqld:
/sys/devices/system/cpu/ r,
then reloaded apparmor profile and that fixed the problem for me.
--
package mysql-server-5.1 5.1.37-1ubuntu4 failed to install/upgrade: subprocess
installed post-installation script returned error
I suspect this has something to do with apparmor. Something important is
forbidden. However, disabling the /usr/sbin/mysqld profile for apparmor
has no effect, because the profile is reenabled and put to enforce mode
on trying to reinstall.
--
package mysql-server-5.1 5.1.37-1ubuntu4 failed to
Ah, yes. There is a workaround. Open /etc/default/grub in an editor.
Change the line
GRUB_CMDLINE_LINUX_DEFAULT=quiet splash
into:
GRUB_CMDLINE_LINUX_DEFAULT=quiet splash apparmor=0
reboot a normal kernel (don't pick a safe mode option). The type
sudo apt-get -f install
That should fix mysql.
One more thing: You do need to run update-grub every time you change the
/etc/default/grub for the changes to have effect.
--
package mysql-server-5.1 5.1.37-1ubuntu4 failed to install/upgrade: subprocess
installed post-installation script returned error exit status 1
Setting up mysql-server-5.1 (5.1.37-1ubuntu5) ...
* Stopping MySQL database server mysqld [ OK ]
* Starting MySQL database server mysqld [fail]
invoke-rc.d: initscript mysql, action start failed.
dpkg: error processing
I had the same problem on a fresh MySQL installation on Karmic systems,
a 32 bit system at work, and a 64 bit system at home.
--
package mysql-server-5.1 5.1.37-1ubuntu4 failed to install/upgrade: subprocess
installed post-installation script returned error exit status 1
I suspect this has something to do with apparmor. Something important is
forbidden. However, disabling the /usr/sbin/mysqld profile for apparmor
has no effect, because the profile is reenabled and put to enforce mode
on trying to reinstall.
--
package mysql-server-5.1 5.1.37-1ubuntu4 failed to
Ah, yes. There is a workaround. Open /etc/default/grub in an editor.
Change the line
GRUB_CMDLINE_LINUX_DEFAULT=quiet splash
into:
GRUB_CMDLINE_LINUX_DEFAULT=quiet splash apparmor=0
reboot a normal kernel (don't pick a safe mode option). The type
sudo apt-get -f install
That should fix mysql.
One more thing: You do need to run update-grub every time you change the
/etc/default/grub for the changes to have effect.
--
package mysql-server-5.1 5.1.37-1ubuntu4 failed to install/upgrade: subprocess
installed post-installation script returned error exit status 1
Setting up mysql-server-5.1 (5.1.37-1ubuntu5) ...
* Stopping MySQL database server mysqld [ OK ]
* Starting MySQL database server mysqld [fail]
invoke-rc.d: initscript mysql, action start failed.
dpkg: error processing
Ack! How can this be rated as low?!? I need MySQL working to receive my
email! Please fix this at once!
MySQL died for me too when going from 9.04 - 9.10. Note I have no skip-
kbk in my.cnf so no work around works for me.
--
package mysql-server-5.1 5.1.37-1ubuntu4 failed to install/upgrade:
Ack! How can this be rated as low?!? I need MySQL working to receive my
email! Please fix this at once!
MySQL died for me too when going from 9.04 - 9.10. Note I have no skip-
kbk in my.cnf so no work around works for me.
--
package mysql-server-5.1 5.1.37-1ubuntu4 failed to install/upgrade:
I have the problem. upgrade from Jaunty to Karmic.. I am thinking that
when I did my upgrade it was from 5.0 to 5.1.
I am also running 32bit.
in my /var/log/syslog I have these error messages.
Nov 3 13:57:52 webtech-office kernel: [ 8496.971043] type=1503
audit(1257274672.791:266):
** Also affects: mysql-server
Importance: Undecided
Status: New
--
package mysql-server-5.1 5.1.37-1ubuntu4 failed to install/upgrade: subprocess
installed post-installation script returned error exit status 1
https://bugs.launchpad.net/bugs/444349
You received this bug notification
I have encountered this upgrading from Jaunty to Karmic. The dist-
upgrade has stalled with 285 packages still to go, because when setting
up mysql-server-5.1 (5.1.37-1ubuntu5) it attempts to restart the mysql
service. MySQL now consistently fails at start (/etc/init.d/mysql start)
as above,
** Also affects: mysql-server
Importance: Undecided
Status: New
--
package mysql-server-5.1 5.1.37-1ubuntu4 failed to install/upgrade: subprocess
installed post-installation script returned error exit status 1
https://bugs.launchpad.net/bugs/444349
You received this bug notification
I have encountered this upgrading from Jaunty to Karmic. The dist-
upgrade has stalled with 285 packages still to go, because when setting
up mysql-server-5.1 (5.1.37-1ubuntu5) it attempts to restart the mysql
service. MySQL now consistently fails at start (/etc/init.d/mysql start)
as above,
Oct 6 09:59:20 asterios mysqld_safe: Starting mysqld daemon with databases
from /var/lib/mysql
Oct 6 09:59:22 asterios mysqld: 091006 9:59:22 [Note] Plugin 'FEDERATED' is
disabled.
Oct 6 09:59:22 asterios mysqld: /usr/sbin/mysqld: Table 'mysql.plugin' doesn't
exist
Oct 6 09:59:23 asterios
** Changed in: mysql-dfsg-5.1 (Ubuntu)
Status: New = Triaged
** Changed in: mysql-dfsg-5.1 (Ubuntu)
Importance: Medium = Low
--
package mysql-server-5.1 5.1.37-1ubuntu4 failed to install/upgrade: subprocess
installed post-installation script returned error exit status 1
Oct 6 09:59:20 asterios mysqld_safe: Starting mysqld daemon with databases
from /var/lib/mysql
Oct 6 09:59:22 asterios mysqld: 091006 9:59:22 [Note] Plugin 'FEDERATED' is
disabled.
Oct 6 09:59:22 asterios mysqld: /usr/sbin/mysqld: Table 'mysql.plugin' doesn't
exist
Oct 6 09:59:23 asterios
** Changed in: mysql-dfsg-5.1 (Ubuntu)
Status: New = Triaged
** Changed in: mysql-dfsg-5.1 (Ubuntu)
Importance: Medium = Low
--
package mysql-server-5.1 5.1.37-1ubuntu4 failed to install/upgrade: subprocess
installed post-installation script returned error exit status 1
** Attachment added: .etc.apparmor.d.usr.sbin.mysqld.txt
http://launchpadlibrarian.net/33107392/.etc.apparmor.d.usr.sbin.mysqld.txt
** Attachment added: AptOrdering.txt
http://launchpadlibrarian.net/33107393/AptOrdering.txt
** Attachment added: Dependencies.txt
** Attachment added: .etc.apparmor.d.usr.sbin.mysqld.txt
http://launchpadlibrarian.net/33107392/.etc.apparmor.d.usr.sbin.mysqld.txt
** Attachment added: AptOrdering.txt
http://launchpadlibrarian.net/33107393/AptOrdering.txt
** Attachment added: Dependencies.txt
60 matches
Mail list logo