greyhole disk use app
Posted: Fri Apr 04, 2014 6:16 pm
Not sure if this should go under the apps section or this one. I replaced one of my drives in the pool with a larger unit. I was patting my newbie back and all seemed fine except for when I checked the gh-du app. When I run it, I get this:
#!/usr/bin/php -d open_basedir=/
Is it some php error?
I updated greyhole and rebooted, but still I get that error. The log monitor shows this:
ERROR read_smb_spool: PHP Fatal Error: Uncaught exception 'Exception' with message 'SQLSTATE[HY000]: General error: 2006 MySQL server has gone away' in /usr/bin/greyhole:488
Stack trace:
#0 /usr/bin/greyhole(506): DB::execute('SELECT COUNT(*)...', Array)
#1 /usr/bin/greyhole(4696): DB::getFirstValue('SELECT COUNT(*)...')
#2 /usr/bin/greyhole(3411): parse_samba_spool()
#3 /usr/bin/greyhole(3438): DaemonRunner->run()
#4 {main}
thrown; BT: greyhole[L488]
Apr 04 20:15:17 INFO daemon: Greyhole (version %VERSION%) daemon started.
Apr 04 20:15:17 INFO daemon: Optimizing MySQL tables...
Apr 04 20:15:18 DEBUG daemon: Loading metadata store backup directories...
Apr 04 20:15:18 DEBUG daemon: Found 2 directories in the settings table.
Apr 04 20:15:18 DEBUG daemon: Checking symlink at /usr/lib/samba/vfs/greyhole.so...
Apr 04 20:15:18 DEBUG daemon: Is OK.
Apr 04 20:15:18 DEBUG simplify_tasks: Simplifying pending tasks.
Apr 04 20:15:19 DEBUG sleep: Nothing to do... Sleeping.
Apr 04 20:15:29 DEBUG sleep: Nothing to do... Sleeping.
Apr 04 20:15:39 DEBUG sleep: Nothing to do... Sleeping.
Apr 04 20:15:41 ERROR initialize: PHP Fatal Error: Uncaught exception 'Exception' with message 'SQLSTATE[HY093]: Invalid parameter number: no parameters were bound' in /usr/share/greyhole/web-app/index.php:488
Stack trace:
#0 /usr/share/greyhole/web-app/index.php(514): DB::execute('SELECT size, de...', Array)
#1 /usr/share/greyhole/web-app/index.php(2078): DB::getAll('SELECT size, de...')
#2 {main}
thrown; BT: index.php[L488]
Apr 04 20:15:49 DEBUG sleep: Nothing to do... Sleeping.
Any help is welcomed.
thanks
#!/usr/bin/php -d open_basedir=/
Is it some php error?
I updated greyhole and rebooted, but still I get that error. The log monitor shows this:
ERROR read_smb_spool: PHP Fatal Error: Uncaught exception 'Exception' with message 'SQLSTATE[HY000]: General error: 2006 MySQL server has gone away' in /usr/bin/greyhole:488
Stack trace:
#0 /usr/bin/greyhole(506): DB::execute('SELECT COUNT(*)...', Array)
#1 /usr/bin/greyhole(4696): DB::getFirstValue('SELECT COUNT(*)...')
#2 /usr/bin/greyhole(3411): parse_samba_spool()
#3 /usr/bin/greyhole(3438): DaemonRunner->run()
#4 {main}
thrown; BT: greyhole[L488]
Apr 04 20:15:17 INFO daemon: Greyhole (version %VERSION%) daemon started.
Apr 04 20:15:17 INFO daemon: Optimizing MySQL tables...
Apr 04 20:15:18 DEBUG daemon: Loading metadata store backup directories...
Apr 04 20:15:18 DEBUG daemon: Found 2 directories in the settings table.
Apr 04 20:15:18 DEBUG daemon: Checking symlink at /usr/lib/samba/vfs/greyhole.so...
Apr 04 20:15:18 DEBUG daemon: Is OK.
Apr 04 20:15:18 DEBUG simplify_tasks: Simplifying pending tasks.
Apr 04 20:15:19 DEBUG sleep: Nothing to do... Sleeping.
Apr 04 20:15:29 DEBUG sleep: Nothing to do... Sleeping.
Apr 04 20:15:39 DEBUG sleep: Nothing to do... Sleeping.
Apr 04 20:15:41 ERROR initialize: PHP Fatal Error: Uncaught exception 'Exception' with message 'SQLSTATE[HY093]: Invalid parameter number: no parameters were bound' in /usr/share/greyhole/web-app/index.php:488
Stack trace:
#0 /usr/share/greyhole/web-app/index.php(514): DB::execute('SELECT size, de...', Array)
#1 /usr/share/greyhole/web-app/index.php(2078): DB::getAll('SELECT size, de...')
#2 {main}
thrown; BT: index.php[L488]
Apr 04 20:15:49 DEBUG sleep: Nothing to do... Sleeping.
Any help is welcomed.
thanks