Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
MySQL error on start
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
KePSuX
Guru
Guru


Joined: 29 Sep 2003
Posts: 312
Location: Fredericksburg Va

PostPosted: Sun Jun 27, 2004 9:09 pm    Post subject: MySQL error on start Reply with quote

Bear with me as I'm not very MySQL savvy. I have installed mysql 4.20 and when I run /etc/init.d/mysql start it is telling me

Code:

elvis mysql # /etc/init.d/mysql start
 * WARNING:  "mysql" has already been started.



the error log in /var/log/mysqld.err is :

Code:

040627 15:42:09  bdb:  PANIC: No such file or directory
040627 15:42:09  Can't init databases
040627 15:42:09  Aborting


It's a pretty cryptic message, and I was hoping someone else has seen something like this. Any ideas of where to look, or is there more info I can submit for you folks to help me? Thanks as usual!
_________________
http://www.atomicraygunattack.com
Back to top
View user's profile Send private message
nitro322
Guru
Guru


Joined: 24 Jul 2002
Posts: 594
Location: USA

PostPosted: Mon Jun 28, 2004 5:44 am    Post subject: Reply with quote

I can't give you any definite solutions, but here are a couple things you can try:

Try running '/etc/init.d/mysql zap', then '/etc/init.d/mysql start'. See if that tells you anything different.

Did you initialize the database after installation? If not, try running 'ebuild /var/db/pkg/dev-db/mysql-4.0.18-r2/mysql-4.0.18-r2.ebuild config'. Of course, be sure to change that command to match your installed version.

I've never seen that bdb error before. I'd suspect it has something to do with Berkekey DB support, though. If it still fails after trying the above two steps, try recompiling mysql without Berkeley DB support (-berkdb USE flag). Unless you know that you specifically need it, this shouldn't affect how you use MySQL at all.
Back to top
View user's profile Send private message
Rav70
l33t
l33t


Joined: 11 Feb 2004
Posts: 607
Location: Poland

PostPosted: Mon Jun 28, 2004 7:38 am    Post subject: Reply with quote

Did you create necessary tables using mysql_install_db?
_________________
Q: Why is Microsoft's Product Support a failure?
A: Because Microsoft needs a Support Group instead.
Back to top
View user's profile Send private message
KePSuX
Guru
Guru


Joined: 29 Sep 2003
Posts: 312
Location: Fredericksburg Va

PostPosted: Mon Jun 28, 2004 7:28 pm    Post subject: Reply with quote

Yeah, we tried using zap. Even after you manually set it to off, and try and start, it does the same thing.

But, I'm going to try and not compile for berkley DB.

Thank you.
_________________
http://www.atomicraygunattack.com
Back to top
View user's profile Send private message
Raniz
l33t
l33t


Joined: 13 Sep 2003
Posts: 967
Location: Varberg, Sweden

PostPosted: Mon Jun 28, 2004 7:30 pm    Post subject: Reply with quote

Rav70 wrote:
Did you create necessary tables using mysql_install_db?
Back to top
View user's profile Send private message
KePSuX
Guru
Guru


Joined: 29 Sep 2003
Posts: 312
Location: Fredericksburg Va

PostPosted: Tue Jun 29, 2004 4:41 am    Post subject: Reply with quote

nitro322 wrote:

I've never seen that bdb error before. I'd suspect it has something to do with Berkekey DB support, though. If it still fails after trying the above two steps, try recompiling mysql without Berkeley DB support (-berkdb USE flag). Unless you know that you specifically need it, this shouldn't affect how you use MySQL at all.


Code:

emerge unmerge mysql
USE="-berkdb" emerge mysql


This worked. Thanks!!
_________________
http://www.atomicraygunattack.com
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum