Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MySQL server has gone away #304

Open
old-square-eyes opened this issue Sep 30, 2022 · 2 comments
Open

MySQL server has gone away #304

old-square-eyes opened this issue Sep 30, 2022 · 2 comments

Comments

@old-square-eyes
Copy link

PHP Fatal error:  Uncaught Exception: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away in /usr/bin/greyhole:730
Stack trace:
#0 /usr/bin/greyhole(740): DB::execute('SELECT GET_LOCK...', Array)
#1 /usr/bin/greyhole(748): DB::getFirst('SELECT GET_LOCK...', Array)
#2 /usr/bin/greyhole(792): DB::getFirstValue('SELECT GET_LOCK...', Array)
#3 /usr/bin/greyhole(4440): DB::acquireLock('read_smb_spool', 5)
#4 /usr/bin/greyhole(7909): SambaSpool::parse_samba_spool()
#5 /usr/bin/greyhole(8629): ProcessSpoolCliRunner->run()
#6 {main}
  thrown in /usr/bin/greyhole on line 730

Log tail is stuck on the below...

root@openmediavault:~# greyhole -L
Oct 01 08:14:30 INFO fsck: Cleaning executed tasks: keeping the last 60 days of logs.
@uSlackr
Copy link

uSlackr commented Sep 30, 2022

The obvious question is whether MySQL is healthy.

@old-square-eyes
Copy link
Author

Rebooted and it seems to be fine now. Machine is shared with OMV. Though I hadn't used OMV features since before it apparently failed at the above line in a fsck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants