CLOSED: Greyhole starts before MariaDB is ready - starting with delay ?
Posted: Thu Apr 07, 2016 4:22 am
Hallo,
after upgrade to F23 with Amahi 9 after every system start I find this errors in the Greyhole log:
###
Apr 07 12:49:25 CRITICAL initialize: Can't connect to database: SQLSTATE[HY000] [2002] No such file or directory
Apr 07 12:49:26 CRITICAL initialize: Can't connect to database: SQLSTATE[HY000] [2002] No such file or directory
Apr 07 12:49:27 CRITICAL initialize: Can't connect to database: SQLSTATE[HY000] [2002] No such file or directory
Apr 07 12:49:27 CRITICAL initialize: Can't connect to database: SQLSTATE[HY000] [2002] No such file or directory
Apr 07 12:49:28 CRITICAL initialize: Can't connect to database: SQLSTATE[HY000] [2002] No such file or directory
Apr 07 12:49:28 CRITICAL initialize: Can't connect to database: SQLSTATE[HY000] [2002] No such file or directory
Apr 07 12:50:32 INFO daemon: Greyhole (version 0.9.64) daemon started.
Apr 07 12:50:32 INFO daemon: Optimizing MySQL tables...
###
After that Greyhoel runs fine all the day.
The MariaDB-log shows at the end of the startup:
"12:49:29 /usr/libexec/mysqld: ready for connections"
So I think, Greyhole starts to fast. How can I give Greyhole a delay of 5 seconds before starting?
Or do you know an other solution?
The F23-system is installed new from scratch - you find it at
http://paste.fedoraproject.org/349268/45976696/ (bug 2222
An other - I think well known - bug on my system is that MariaDB is shown in the Dashboard as stopped - but I runs fine.
Kind regards
from Germany
Michael
after upgrade to F23 with Amahi 9 after every system start I find this errors in the Greyhole log:
###
Apr 07 12:49:25 CRITICAL initialize: Can't connect to database: SQLSTATE[HY000] [2002] No such file or directory
Apr 07 12:49:26 CRITICAL initialize: Can't connect to database: SQLSTATE[HY000] [2002] No such file or directory
Apr 07 12:49:27 CRITICAL initialize: Can't connect to database: SQLSTATE[HY000] [2002] No such file or directory
Apr 07 12:49:27 CRITICAL initialize: Can't connect to database: SQLSTATE[HY000] [2002] No such file or directory
Apr 07 12:49:28 CRITICAL initialize: Can't connect to database: SQLSTATE[HY000] [2002] No such file or directory
Apr 07 12:49:28 CRITICAL initialize: Can't connect to database: SQLSTATE[HY000] [2002] No such file or directory
Apr 07 12:50:32 INFO daemon: Greyhole (version 0.9.64) daemon started.
Apr 07 12:50:32 INFO daemon: Optimizing MySQL tables...
###
After that Greyhoel runs fine all the day.
The MariaDB-log shows at the end of the startup:
"12:49:29 /usr/libexec/mysqld: ready for connections"
So I think, Greyhole starts to fast. How can I give Greyhole a delay of 5 seconds before starting?
Or do you know an other solution?
The F23-system is installed new from scratch - you find it at
http://paste.fedoraproject.org/349268/45976696/ (bug 2222
An other - I think well known - bug on my system is that MariaDB is shown in the Dashboard as stopped - but I runs fine.
Kind regards
from Germany
Michael