Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110451 - mysql won't start after upgrading due to missing /var/log/mysql dir
Summary: mysql won't start after upgrading due to missing /var/log/mysql dir
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL: http://www.gentoo.org/doc/en/mysql-up...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-25 09:16 UTC by Roy Moorman
Modified: 2005-10-25 10:59 UTC (History)
0 users

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 Roy Moorman 2005-10-25 09:16:47 UTC
This is a very simple one..

If you follow the guide exactly, you remove the /var/log/mysql dir in step 3.2
and the mysql initscript would not start the daemon.
Ofcourse, no log file would be generated.
Either the ebuild should create it for the user, or the guide should be corrected.


Reproducible: Always
Steps to Reproduce:
1. follow the guide up to point 3.4
2. issue the command /etc/init.d/mysql start


Actual Results:  
notice the daemon failing to start [FAILED] -> no explanation in /var/log/messages

after checking the /etc/mysql/my.cnf I noticed that there should be a log in
/var/log/mysql.  Then I noticed the directory was missing.
re-created it and voila, mysql was working again.

Expected Results:  
the ebuild should have created /var/log/mysql in my opinion
Comment 1 Lance Albertson (RETIRED) gentoo-dev 2005-10-25 09:23:42 UTC
This is NOT an infrastructure bug. Please make sure you check that the next time
you submit a bug.
Comment 2 Francesco R. (RETIRED) gentoo-dev 2005-10-25 10:59:55 UTC
this should be fixed already,
please emerge --sync and try again.

If it's not please reopen.