Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] mysql: starts manually, does not start ...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
wsw70
n00b
n00b


Joined: 06 Sep 2005
Posts: 20
Location: usually Poland

PostPosted: Sun Jan 07, 2007 1:47 pm    Post subject: [SOLVED] mysql: starts manually, does not start ... Reply with quote


The problem is solved. There is a new version of mysql (I had -r1, see below) as well as a new sys-apps/mysql. Installing them magically enabled a proper run of the init.d script.

Code:

[I--] [  ] dev-db/mysql-5.0.26-r2 (0)
[I--] [  ] dev-perl/DBD-mysql-2.9007 (0)
[I--] [  ] sys-apps/mysql-1.1 (0)
[I--] [  ] virtual/mysql-5.0 (0)



Original message:

Greetings,

I have a weird problem when starting mysql (and failing) -- the core of the problem is that that I cannot get any error messages.
I use mysql for years with gentoo, it may be that the issue appeared with a recent upgrade.

The installed packages are:
Code:

[I--] [  ] dev-db/mysql-5.0.26-r1 (0)
[I--] [  ] dev-perl/DBD-mysql-2.9007 (0)
[I--] [  ] virtual/mysql-5.0 (0)

The short story:

  • mysql when started as
    Code:
    # mysql --user=mysqld

    starts fine and runs fine
  • mysql when started with
    Code:
    # /etc/init.d/mysql start

    fails to start with the follwing error:
    Code:

     * Starting mysql ...
     * Starting mysql (/etc/mysql/my.cnf)
     * MySQL NOT started (1)



I would be happy to debug this myself - just do not know how to enable logging when starting a service via the init.d scripts.
My /var/log/mysql directory had 0 length files. The ownerships are correct (mysql:mysql).

Any help would be greatly appreciated (either how to enable verbose errors, or how to fix the problem :) or anything).

Thank you in advance,
Wojtek
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Sun Jan 07, 2007 2:58 pm    Post subject: Reply with quote

This bug perchance?
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
wsw70
n00b
n00b


Joined: 06 Sep 2005
Posts: 20
Location: usually Poland

PostPosted: Mon Jan 08, 2007 8:51 am    Post subject: Reply with quote

moocha wrote:
This bug perchance?


Yes, though in my case mysql was not starting.

Thanks for the pointer.
Wojtek
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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