Do commands as root user and don't use sudo.
See my previous post about configuring Greyhole if you have not set it up. That also would indicate your issue is not Greyhole related,
[ Post made via Android ] 
This is what i get when i run things as root:
login as: root
root@192.168.1.10's password:
[root@freenas ~]# greyhole --fsck
[root@freenas ~]#
[root@freenas ~]# yum -y install amahi-greyhole
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* fedora: ftp.usf.edu
* updates: ftp.usf.edu
Package amahi-greyhole-0.9.49-2.x86_64 already installed and latest version
Nothing to do
[root@freenas ~]#
[root@freenas ~]# hda-create-db-and-user greyhole
hda-create-db-and-user: creating greyhole
ERROR 1396 (HY000) at line 2: Operation CREATE USER failed for 'greyhole'@'localhost'
[root@freenas ~]#
[root@freenas ~]# mysql -u greyhole -pgreyhole greyhole < /usr/share/greyhole/schema-mysql.sql
ERROR 1050 (42S01) at line 1: Table 'settings' already exists
[root@freenas ~]# configure /etc/greyhole.conf:
-bash: configure: command not found
-bash: /etc/greyhole.conf: Permission denied
[root@freenas ~]#
Any ideas what i'm doing wrong? thanks again for your assistance in advance