SOLVED: Troubleshooting issue
Posted: Fri May 09, 2014 5:22 pm
Not sure if this is the correct section to be placing this but have an issue which may or may not be greyhole but tried to do some digging around with no joy. Not 100% sure where to start but came back from being away for a couple of weeks and had to restart my server as it was not recognised on my network. Went to the dash board and got an error indicating that the drive may be full before it jumped to another page indicating I could not access the server.
I am pretty much a Noob with linux but had an amahi 6 server before updating to 7 a few months back, the data drives were taken from the amahi 6 server and have been running with no issues.
df -h returned the following
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/fedora_h111-root 50G 47G 0 100% /
devtmpfs 7.6G 0 7.6G 0% /dev
tmpfs 7.6G 84K 7.6G 1% /dev/shm
tmpfs 7.6G 604K 7.6G 1% /run
tmpfs 7.6G 0 7.6G 0% /sys/fs/cgroup
tmpfs 7.6G 64K 7.6G 1% /tmp
/dev/sdb1 1.8T 1.5T 231G 87% /var/hda/files
/dev/sdc1 1.8T 1.5T 238G 87% /var/hda/files/drives/drive2
/dev/sdd1 2.7T 2.4T 239G 91% /var/hda/files/drives/drive3
/dev/sda1 477M 81M 368M 18% /boot
/dev/mapper/fedora_h111-home 402G 75M 381G 1% /home
none 4.0M 0 4.0M 0% /var/spool/greyhole/mem
Done a bit of digging and then typed greyhole --stats and got this
PHP Fatal error: Uncaught exception 'Exception' with message 'SQLSTATE[HY000]: General error: 1021 Disk full (/var/tmp/#sql_580_0); waiting for someone to free some space...' in /usr/bin/greyhole:491
Stack trace:
#0 /usr/bin/greyhole(517): DB::execute('DESCRIBE tasks', Array)
#1 /usr/bin/greyhole(562): DB::getAll('DESCRIBE tasks')
#2 /usr/bin/greyhole(472): DB::migrate()
#3 /usr/bin/greyhole(3101): DB::connect()
#4 /usr/bin/greyhole(3065): CommandLineHelper->getRunner()
#5 /usr/bin/greyhole(3440): CommandLineHelper->processCommandLine()
#6 {main}
thrown in /usr/bin/greyhole on line 491
Didn't have a clue what was happening so thought before asking for advice checked - uname -r; rpm -q samba hda-greyhole
3.13.9-100.fc19.x86_64
samba-4.0.16-1.fc19.x86_64
package hda-greyhole is not installed
/etc.greyhole.conf
bash: /etc.greyhole.conf: No such file or directory
and then also tried this systemctl status greyhole.service
greyhole.service
Loaded: error (Reason: No such file or directory)
Active: inactive (dead)
I thought this was very strange as I know greyhole was installed when I added the data drives and had been working fine.
It's mainly used for serving my media and I have subsonic and Plex installed. The strange thing is that before I tried the restart Plex appeared to be running as my niece had been accessing it over the internet earlier today. I tried to access the server from outside my network with the amahi app earlier in the week and could not access it nor could I access the subsonic server but Plex was working on my iPad but it's not running now as the server does not seem to be fully booting up.
Any help would be greatly appreciated.
I am pretty much a Noob with linux but had an amahi 6 server before updating to 7 a few months back, the data drives were taken from the amahi 6 server and have been running with no issues.
df -h returned the following
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/fedora_h111-root 50G 47G 0 100% /
devtmpfs 7.6G 0 7.6G 0% /dev
tmpfs 7.6G 84K 7.6G 1% /dev/shm
tmpfs 7.6G 604K 7.6G 1% /run
tmpfs 7.6G 0 7.6G 0% /sys/fs/cgroup
tmpfs 7.6G 64K 7.6G 1% /tmp
/dev/sdb1 1.8T 1.5T 231G 87% /var/hda/files
/dev/sdc1 1.8T 1.5T 238G 87% /var/hda/files/drives/drive2
/dev/sdd1 2.7T 2.4T 239G 91% /var/hda/files/drives/drive3
/dev/sda1 477M 81M 368M 18% /boot
/dev/mapper/fedora_h111-home 402G 75M 381G 1% /home
none 4.0M 0 4.0M 0% /var/spool/greyhole/mem
Done a bit of digging and then typed greyhole --stats and got this
PHP Fatal error: Uncaught exception 'Exception' with message 'SQLSTATE[HY000]: General error: 1021 Disk full (/var/tmp/#sql_580_0); waiting for someone to free some space...' in /usr/bin/greyhole:491
Stack trace:
#0 /usr/bin/greyhole(517): DB::execute('DESCRIBE tasks', Array)
#1 /usr/bin/greyhole(562): DB::getAll('DESCRIBE tasks')
#2 /usr/bin/greyhole(472): DB::migrate()
#3 /usr/bin/greyhole(3101): DB::connect()
#4 /usr/bin/greyhole(3065): CommandLineHelper->getRunner()
#5 /usr/bin/greyhole(3440): CommandLineHelper->processCommandLine()
#6 {main}
thrown in /usr/bin/greyhole on line 491
Didn't have a clue what was happening so thought before asking for advice checked - uname -r; rpm -q samba hda-greyhole
3.13.9-100.fc19.x86_64
samba-4.0.16-1.fc19.x86_64
package hda-greyhole is not installed
/etc.greyhole.conf
bash: /etc.greyhole.conf: No such file or directory
and then also tried this systemctl status greyhole.service
greyhole.service
Loaded: error (Reason: No such file or directory)
Active: inactive (dead)
I thought this was very strange as I know greyhole was installed when I added the data drives and had been working fine.
It's mainly used for serving my media and I have subsonic and Plex installed. The strange thing is that before I tried the restart Plex appeared to be running as my niece had been accessing it over the internet earlier today. I tried to access the server from outside my network with the amahi app earlier in the week and could not access it nor could I access the subsonic server but Plex was working on my iPad but it's not running now as the server does not seem to be fully booting up.
Any help would be greatly appreciated.