Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158769 - mysql-5.0.26-r1 reports as not started with baselayout-1.13.0-alpha10-r2
Summary: mysql-5.0.26-r1 reports as not started with baselayout-1.13.0-alpha10-r2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 166606
  Show dependency tree
 
Reported: 2006-12-21 13:15 UTC by Marcus Furlong
Modified: 2007-02-14 21:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus Furlong 2006-12-21 13:15:43 UTC
mysql seems not to start with baselayout-1.13.0-alpha10-r2

* Starting mysql (/etc/mysql/my.cnf)
 * MySQL NOT started (1)                                                                                                 [ !! ]
 * ERROR:  mysql failed to start

although ps shows that it's running (is it meant to be running twice?)

 8667 ?        Ssl    0:00 /usr/sbin/mysqld --defaults-file=/etc/mysql/my.cnf --basedir=/usr --datadir=/var/lib/mysql --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/run/mysqld/mysqld.sock
 8673 ?        Ssl    0:00 /usr/sbin/mysqld --defaults-file=/etc/mysql/my.cnf --basedir=/usr --datadir=/var/lib/mysql --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/run/mysqld/mysqld.sock
Comment 1 Justus Ranvier 2006-12-25 12:15:48 UTC
I have the same problem on my machine.
Comment 2 Roy Marples (RETIRED) gentoo-dev 2007-01-04 05:10:55 UTC
The error is in the mysql init script, on line 275.
Basically, if you use pid-file as an option in mysqld_thing then it causes mysql to create a blank pidfile, hence the error.

I've tested with ssh_thing =1 and =0 and it seems to create the pidfile in the right place quite happily without it.
Comment 3 Marcus Furlong 2007-01-04 05:26:20 UTC
(In reply to comment #2)
> The error is in the mysql init script, on line 275.
> Basically, if you use pid-file as an option in mysqld_thing then it causes
> mysql to create a blank pidfile, hence the error.
> 
> I've tested with ssh_thing =1 and =0 and it seems to create the pidfile in the
> right place quite happily without it.
> 

Confirmed, commenting out this line fixes the error for me. pidfile is created correctly without it.

Comment 4 Francesco R. (RETIRED) gentoo-dev 2007-01-04 12:12:19 UTC
commented out line 275 as Suggested by Roy, in cvs now.