What is my Greyhole doing??

sleife
Posts: 79
Joined: Tue Nov 02, 2010 2:56 am

What is my Greyhole doing??

Postby sleife » Sat Sep 21, 2013 6:01 am

Hi everybody my Server does since 3 days the following:


/var/log/greyhole.log:
Sep 21 14:48:07 7 fsck: Found /var/hda/files/drives/drive7/gh/Pictures/Adobe/Fotos von Digitalkamera/2007-10-14-1310-06/DSCF1971.JPG
Sep 21 14:48:07 7 fsck: Loading metafiles for Pictures/Adobe/Fotos von Digitalkamera/2007-10-14-1310-06/DSCF1971.JPG ...
Sep 21 14:48:07 7 fsck: Got 2 metadata files: array ( '/var/hda/files/drives/drive7/gh/Pictures/Adobe/Fotos von Digitalkamera/2007-10-14-1310-06/DSCF1971.JPG' => array ( 'path' => '/var/hda/files/drives/drive7/gh/Pictures/Adobe/Fotos von Digitalkamera/2007-10-14-1310-06/DSCF1971.JPG', 'is_linked' => false, 'state' => 'OK', ), '/var/hda/files/drives/drive6/gh/Pictures/Adobe/Fotos von Digitalkamera/2007-10-14-1310-06/DSCF1971.JPG' => array ( 'path' => '/var/hda/files/drives/drive6/gh/Pictures/Adobe/Fotos von Digitalkamera/2007-10-14-1310-06/DSCF1971.JPG', 'is_linked' => true, 'state' => 'OK', ), )
Sep 21 14:48:07 7 fsck: Found /var/hda/files/drives/drive4/gh/Pictures/Adobe/Fotos von Digitalkamera/2007-10-14-1310-06/DSCF2013.JPG
Sep 21 14:48:07 7 fsck: Found /var/hda/files/drives/drive7/gh/Pictures/Adobe/Fotos von Digitalkamera/2007-10-14-1310-06/DSCF2013.JPG
Sep 21 14:48:07 7 fsck: Loading metafiles for Pictures/Adobe/Fotos von Digitalkamera/2007-10-14-1310-06/DSCF2013.JPG ...
Sep 21 14:48:07 7 fsck: Got 2 metadata files: array ( '/var/hda/files/drives/drive7/gh/Pictures/Adobe/Fotos von Digitalkamera/2007-10-14-1310-06/DSCF2013.JPG' => array ( 'path' => '/var/hda/files/drives/drive7/gh/Pictures/Adobe/Fotos von Digitalkamera/2007-10-14-1310-06/DSCF2013.JPG', 'is_linked' => false, 'state' => 'OK', ), '/var/hda/files/drives/drive4/gh/Pictures/Adobe/Fotos von Digitalkamera/2007-10-14-1310-06/DSCF2013.JPG' => array ( 'path' => '/var/hda/files/drives/drive4/gh/Pictures/Adobe/Fotos von Digitalkamera/2007-10-14-1310-06/DSCF2013.JPG', 'is_linked' => true, 'state' => 'OK', ), )

I had a problem with the amahi Server, that the greyhole Server was stopped, so i do the following:
https://wiki.amahi.org/index.php/Greyho ... leshooting --> Clearing The Greyhole Work Queue


Information:
OS: Ubuntu 12.04
Version: greyhole, version 0.9.22, for linux-gnu

hda@hda-desktop:~$ pastebinit /etc/samba/smb.conf
Traceback (most recent call last):
File "/usr/bin/pastebinit", line 339, in <module>
page = url_opener.open(website, params) #Send the informations and be redirected to the final page
File "/usr/lib/python2.7/urllib.py", line 209, in open
return getattr(self, name)(url, data)
File "/usr/lib/python2.7/urllib.py", line 344, in open_http
h.endheaders(data)
File "/usr/lib/python2.7/httplib.py", line 954, in endheaders
self._send_output(message_body)
File "/usr/lib/python2.7/httplib.py", line 814, in _send_output
self.send(msg)
File "/usr/lib/python2.7/httplib.py", line 776, in send
self.connect()
File "/usr/lib/python2.7/httplib.py", line 757, in connect
self.timeout, self.source_address)
File "/usr/lib/python2.7/socket.py", line 571, in create_connection
raise err
IOError: [Errno socket error] [Errno 113] No route to host

greyhole.conf
-> open with terminal i receive this bakc:
hda@hda-desktop:~$ sudo pastebinit /etc/greyhole.conf​
Unable to read from: /etc/greyhole.conf​
-> open with the explorer
# This file is automatically generated by Amahi on Sun Nov 11 12:23:15 +0100 2012
# Any manual changes WILL BE OVERWRITTEN!
# Set the defaults (carefully) in /var/hda/platform/html/config/greyhole.yml
db_engine = mysql
db_host = localhost
db_user = greyhole
db_pass = *****
db_name = greyhole
balance_modified_files = false
email_to = root
greyhole_log_file = /var/log/greyhole.log
log_level = DEBUG
log_memory_usage = false
dir_selection_algorithm = most_available_space
df_cache_time = 15
delete_moves_to_attic = true
# sticky_files and stick_into options are nested - see http://wiki.amahi.org/index.php/Greyhol ... ed_options
sticky_files = Music/
# add any group of other settings
# here in multiple lines
storage_pool_directory = /var/hda/files/drives/drive3/gh, min_free: 10gb
storage_pool_directory = /var/hda/files/drives/drive6/gh, min_free: 10gb
storage_pool_directory = /var/hda/files/drives/drive4/gh, min_free: 10gb
storage_pool_directory = /var/hda/files/drives/drive7/gh, min_free: 10gb
storage_pool_directory = /var/hda/files/drives/drive5/gh, min_free: 10gb
num_copies[Pictures] = 2
num_copies[Movies] = 1
num_copies[Music] = 2
num_copies[Share] = 999
num_copies[Application] = 1
num_copies[Test] = 1
Last edited by sleife on Mon Nov 11, 2013 3:29 am, edited 2 times in total.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: What is my Greyhole doing??

Postby bigfoot65 » Sun Sep 22, 2013 4:49 pm

I would recommend a Greyhole update. The current version I believe available is 0.9.34 and corrects many bugs.

There is guidance in the wiki on how to upgrade.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

sleife
Posts: 79
Joined: Tue Nov 02, 2010 2:56 am

Re: What is my Greyhole doing??

Postby sleife » Mon Sep 23, 2013 12:23 am

Ok i did the Update to "Greyhole 0.9.34"

But the Problem still exists if its really a problem?


/var/log/greyhole.log:
Sep 23 09:15:36 7 fsck: Found /var/hda/files/drives/drive6/gh/Pictures/2012-06-03/025.JPG
Sep 23 09:15:36 7 fsck: Found /var/hda/files/drives/drive7/gh/Pictures/2012-06-03/025.JPG
Sep 23 09:15:36 7 fsck: Loading metafiles for Pictures/2012-06-03/025.JPG ...
Sep 23 09:15:36 7 fsck: Got 2 metadata files.
Sep 23 09:15:36 7 fsck: Found /var/hda/files/drives/drive6/gh/Pictures/2012-06-03/044.JPG
Sep 23 09:15:36 7 fsck: Found /var/hda/files/drives/drive7/gh/Pictures/2012-06-03/044.JPG
Sep 23 09:15:36 7 fsck: Loading metafiles for Pictures/2012-06-03/044.JPG ...
Sep 23 09:15:36 7 fsck: Got 2 metadata files.
Sep 23 09:15:36 7 fsck: Found /var/hda/files/drives/drive6/gh/Pictures/2012-06-03/063.JPG
Sep 23 09:15:36 7 fsck: Found /var/hda/files/drives/drive7/gh/Pictures/2012-06-03/063.JPG
Sep 23 09:15:36 7 fsck: Loading metafiles for Pictures/2012-06-03/063.JPG ...
Sep 23 09:15:36 7 fsck: Got 2 metadata files.
Sep 23 09:15:36 7 fsck: Found /var/hda/files/drives/drive6/gh/Pictures/2012-06-03/053.JPG
Sep 23 09:15:36 7 fsck: Found /var/hda/files/drives/drive7/gh/Pictures/2012-06-03/053.JPG
Sep 23 09:15:36 7 fsck: Loading metafiles for Pictures/2012-06-03/053.JPG ...
Sep 23 09:15:36 7 fsck: Got 2 metadata files.
Sep 23 09:15:36 7 fsck: Found /var/hda/files/drives/drive4/gh/Pictures/2012-06-03/089.JPG
Sep 23 09:15:36 7 fsck: Found /var/hda/files/drives/drive7/gh/Pictures/2012-06-03/089.JPG
Sep 23 09:15:36 7 fsck: Loading metafiles for Pictures/2012-06-03/089.JPG ...
Sep 23 09:15:36 7 fsck: Got 2 metadata files.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: What is my Greyhole doing??

Postby bigfoot65 » Mon Sep 23, 2013 5:09 am

Kind of looks normal to me. Don't see this as a problem.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

sleife
Posts: 79
Joined: Tue Nov 02, 2010 2:56 am

Re: What is my Greyhole doing??

Postby sleife » Mon Sep 30, 2013 1:43 am

Hello I wann push this Thread, because its not ok.

This is the problem:
Sep 30 10:23:18 6 fsck: fsck for /var/hda/files/drives/drive2/Pictures completed.
Sep 30 10:23:18 2 fsck: Can't insert in tasks_completed: SQLSTATE[HY000]: General error: 1033 Incorrect information in file: './greyhole/tasks_completed.frm'
Sep 30 10:23:36 6 daemon: Greyhole (version 0.9.34) daemon started.
Sep 30 10:23:36 6 daemon: Optimizing MySQL tables...
Sep 30 10:23:36 6 daemon: Repairing tasks_completed MySQL table...
Sep 30 10:23:36 7 daemon: Loading metadata store backup directories...
Sep 30 10:23:36 7 daemon: Found 2 directories in the settings table.
Sep 30 10:23:36 7 simplify_tasks: Simplifying pending tasks.
Sep 30 10:23:36 6 fsck: Now working on task ID 1: fsck /var/hda/files/drives/drive2/Pictures/

Greyhole does the fsck job and when its finish, the greyhole deamon shut down and starts again with the message above. What does this mean? Doesnt found something helpful in google.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: What is my Greyhole doing??

Postby bigfoot65 » Mon Sep 30, 2013 5:36 am

What OS are you using?
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

sleife
Posts: 79
Joined: Tue Nov 02, 2010 2:56 am

Re: What is my Greyhole doing??

Postby sleife » Tue Oct 01, 2013 8:05 am

OS: Ubuntu 12.04

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: What is my Greyhole doing??

Postby bigfoot65 » Tue Oct 01, 2013 8:07 am

Have you checked out the troubleshooting steps in the wiki?
https://wiki.amahi.org/index.php/Greyho ... leshooting
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

sleife
Posts: 79
Joined: Tue Nov 02, 2010 2:56 am

Re: What is my Greyhole doing??

Postby sleife » Wed Oct 02, 2013 2:54 am

Yes this is what i wrote in the first Post.

And i still dont have an idea whats going on with my server because the Queue doenst stuck its something different.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: What is my Greyhole doing??

Postby bigfoot65 » Wed Oct 02, 2013 6:41 am

Not sure what is going on. Is the OS updates current? I am running Ubuntu myself and not having any issues.

Did you modify any config files manually?
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 29 guests