Greyhole won't start after Amahi re-install
Posted: Sat Apr 07, 2012 8:40 pm
I needed to change the domain name I use on my local LAN which required me to delete my hda from Amahi's list & re-install with a new install code. After doing so, my greyhole server won't start.
When I bring up the web interface & check Setup --> Settings --> Servers it shows Greyhole as stopped. Trying to start the server from the command line with "#greyhole -D" fails with a "Can't describe tasks with query: DESCRIBE tasks - Error: Table 'greyhole.tasks' doesn't exist" error.
detail from http://wiki.amahi.org/index.php/Greyhol ... leshooting is as follows
#uname -r; rpm -q samba hda-greyhole
samba-3.5.5-68.fc14.1.i686
hda-greyhole-0.9.2-1.i386
#fpaste /etc/samba/smb.conf
http://fpaste.org/4ZOY/
#fpaste /etc/greyhole.conf
http://fpaste.org/1YVV/
#mount; fdisk -l; df -h; greyhole --stats
http://fpaste.org/w6AT/
#mysql -u root -phda -e "select * from disk_pool_partitions" hda_production
id path minimum_free created_at updated_at
8 /var/hda/files/drives/drive1 10 2012-04-07 23:15:08 2012-04-07 23:15:08
9 /var/hda/files/drives/drive2 10 2012-04-07 23:15:17 2012-04-07 23:15:17
10 /var/hda/files/drives/drive3 10 2012-04-07 23:15:19 2012-04-07 23:15:19
#mysql -u root -phda -e "select concat(path, '/gh') from disk_pool_partitions" hda_production | grep -v 'concat(' | xargs ls -la | fpaste
http://fpaste.org/jHiD/
#greyhole --view-queue
Can't describe tasks with query: DESCRIBE tasks - Error: Table 'greyhole.tasks' doesn't exist
#tail /var/log/greyhole.log
Apr 07 17:05:54 4 daemon: You have no storage_pool_directory defined. Greyhole can't run.
Apr 07 17:10:45 4 daemon: You have no storage_pool_directory defined. Greyhole can't run.
Apr 07 17:15:54 4 daemon: You have no storage_pool_directory defined. Greyhole can't run.
Apr 07 17:17:25 4 daemon: You have no storage_pool_directory defined. Greyhole can't run.
Apr 07 17:27:25 4 daemon: You have no storage_pool_directory defined. Greyhole can't run.
Apr 07 17:37:25 4 daemon: You have no storage_pool_directory defined. Greyhole can't run.
Apr 07 17:45:42 4 daemon: You have no storage_pool_directory defined. Greyhole can't run.
Apr 07 17:45:43 4 daemon: You have no storage_pool_directory defined. Greyhole can't run.
Apr 07 17:56:06 4 daemon: You have no storage_pool_directory defined. Greyhole can't run.
Apr 07 18:06:06 4 daemon: You have no storage_pool_directory defined. Greyhole can't run.
When I bring up the web interface & check Setup --> Settings --> Servers it shows Greyhole as stopped. Trying to start the server from the command line with "#greyhole -D" fails with a "Can't describe tasks with query: DESCRIBE tasks - Error: Table 'greyhole.tasks' doesn't exist" error.
detail from http://wiki.amahi.org/index.php/Greyhol ... leshooting is as follows
#uname -r; rpm -q samba hda-greyhole
samba-3.5.5-68.fc14.1.i686
hda-greyhole-0.9.2-1.i386
#fpaste /etc/samba/smb.conf
http://fpaste.org/4ZOY/
#fpaste /etc/greyhole.conf
http://fpaste.org/1YVV/
#mount; fdisk -l; df -h; greyhole --stats
http://fpaste.org/w6AT/
#mysql -u root -phda -e "select * from disk_pool_partitions" hda_production
id path minimum_free created_at updated_at
8 /var/hda/files/drives/drive1 10 2012-04-07 23:15:08 2012-04-07 23:15:08
9 /var/hda/files/drives/drive2 10 2012-04-07 23:15:17 2012-04-07 23:15:17
10 /var/hda/files/drives/drive3 10 2012-04-07 23:15:19 2012-04-07 23:15:19
#mysql -u root -phda -e "select concat(path, '/gh') from disk_pool_partitions" hda_production | grep -v 'concat(' | xargs ls -la | fpaste
http://fpaste.org/jHiD/
#greyhole --view-queue
Can't describe tasks with query: DESCRIBE tasks - Error: Table 'greyhole.tasks' doesn't exist
#tail /var/log/greyhole.log
Apr 07 17:05:54 4 daemon: You have no storage_pool_directory defined. Greyhole can't run.
Apr 07 17:10:45 4 daemon: You have no storage_pool_directory defined. Greyhole can't run.
Apr 07 17:15:54 4 daemon: You have no storage_pool_directory defined. Greyhole can't run.
Apr 07 17:17:25 4 daemon: You have no storage_pool_directory defined. Greyhole can't run.
Apr 07 17:27:25 4 daemon: You have no storage_pool_directory defined. Greyhole can't run.
Apr 07 17:37:25 4 daemon: You have no storage_pool_directory defined. Greyhole can't run.
Apr 07 17:45:42 4 daemon: You have no storage_pool_directory defined. Greyhole can't run.
Apr 07 17:45:43 4 daemon: You have no storage_pool_directory defined. Greyhole can't run.
Apr 07 17:56:06 4 daemon: You have no storage_pool_directory defined. Greyhole can't run.
Apr 07 18:06:06 4 daemon: You have no storage_pool_directory defined. Greyhole can't run.