Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 158769
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Linux MySQL bugs team <mysql-bugs@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Marcus Furlong <furlongm@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 158769 depends on: Show dependency tree
Bug 158769 blocks: 166606
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-12-21 13:15 0000
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 From Jack Byer 2006-12-25 12:15:48 0000 -------
I have the same problem on my machine.

------- Comment #2 From Roy Marples (RETIRED) 2007-01-04 05:10:55 0000 -------
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 From Marcus Furlong 2007-01-04 05:26:20 0000 -------
(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 From Francesco R. (RETIRED) 2007-01-04 12:12:19 0000 -------
commented out line 275 as Suggested by Roy, in cvs now.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug