I noticed that Cpg had updated his comments however I have experienced a few problems.
I followed the suggestions as above but was getting an error in the Greyhole log file that Samba didn't know of the existing share share so I edited the smb.conf file adding
Code: Select all
dfree command = /usr/bin/greyhole-dfree
vfs objects = greyhole
Code: Select all
[root@localhost ~]# tail -f /var/log/greyhole.log
Aug 08 21:39:11 2 daemon: Can't connect to mysql database.
Aug 08 21:40:19 4 status: PHP Unknown Error [8192]: mysql_connect(): The mysql extension is deprecated and will be removed in the f uture: use mysqli or PDO instead in /usr/bin/greyhole on line 435
Aug 08 21:40:19 4 status: PHP Warning [2]: mysql_connect(): Access denied for user 'greyhole_user'@'localhost' (using password: YES ) in /usr/bin/greyhole on line 435; BT: greyhole[L2025] db_connect() => greyhole[L435] mysql_connect(localhost,greyhole_user,89y63j dwe)
Aug 08 21:40:19 2 status: Can't connect to mysql database.
Aug 08 22:15:01 4 fsck: PHP Unknown Error [8192]: mysql_connect(): The mysql extension is deprecated and will be removed in the fut ure: use mysqli or PDO instead in /usr/bin/greyhole on line 435
Aug 08 22:15:01 4 fsck: PHP Warning [2]: mysql_connect(): Access denied for user 'greyhole_user'@'localhost' (using password: YES) in /usr/bin/greyhole on line 435; BT: greyhole[L2025] db_connect() => greyhole[L435] mysql_connect(localhost,greyhole_user,89y63jdw e)
Code: Select all
# Remove the -p parameter if your MySQL root user doesn't require a password for local connections.
mysql -u root -p -e "create database greyhole; grant all on greyhole.* to greyhole_user@localhost identified by '89y63jdwe';"
mysql -u greyhole_user -p89y63jdwe greyhole < /usr/share/greyhole/schema-mysql.sql