Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Dec 25, 2010 10:23 am 
Offline
Senior Member
User avatar

Joined: Fri Dec 11, 2009 7:09 pm
Posts: 168
So- I upgraded mysql from 5 to 5.1.49 on Debian Lenny using the dotdeb repositories, and it borked out.
Being a somewhat ham handed admin, and it being Christmas morning and all, I decided to take the plunge and upgrade from Lenny to squeeze. That upgrade went fine, but mysql still wouldn't upgrade *or* downgrade back to 5.
Code:
101225  8:52:07 [Warning] option 'thread_stack': unsigned value 65536 adjusted t
101225  8:52:07 [Note] Plugin 'FEDERATED' is disabled.
101225  8:52:07 [Note] Plugin 'InnoDB' is disabled.
101225  8:52:07 [ERROR] /usr/sbin/mysqld: unknown option '--skip-bdb'
101225  8:52:07 [ERROR] Aborting

101225  8:52:07 [Note] /usr/sbin/mysqld: Shutdown complete

Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing mysql-server-5.1 (--configure):
 subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
                                      Errors were encountered while processing:
 mysql-server-5.1


Anyway- the fix was to use a new my.cnf file. Apparently there are some changes and the old ones will not work.
I did
Code:
linpear:~# cp /etc/mysql/my.cnf /etc/mysql/my.cnf.mine
linpear:~# cp /etc/mysql/my.cnf.dpkg-dist /etc/mysql/my.cnf

did an -f install, and all is well.
[/code]Hope this helps someone- and now I have a shiney new Squeeze install, running the latest linode paravirt kernel.

_________________
--
Chris Bryant


Top
   
PostPosted: Sat Dec 25, 2010 11:02 pm 
Offline
Senior Member

Joined: Fri Jan 09, 2009 5:32 pm
Posts: 634
bryantrv wrote:
Hope this helps someone- and now I have a shiney new Squeeze install, running the latest linode paravirt kernel.


You should check those default params against your size of linode, you might have too much memory specified.


Top
   
PostPosted: Sun Dec 26, 2010 8:50 am 
Offline
Senior Member
User avatar

Joined: Fri Dec 11, 2009 7:09 pm
Posts: 168
glg wrote:
bryantrv wrote:
Hope this helps someone- and now I have a shiney new Squeeze install, running the latest linode paravirt kernel.


You should check those default params against your size of linode, you might have too much memory specified.


Yes- I did go back and edit the new my.cnf file with my old values, which for some reason worked fine.

There are still some oddities though, with Squeeze, Apache 2.2.16, PHP 5.3.3-6, and MySql 5.1.54, I am using more memory, though Munin shows about the same used, but a *lot* more committed.

_________________
--

Chris Bryant


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group