Most files being sent to attic

User avatar
gboudreau
Posts: 606
Joined: Sat Jan 23, 2010 1:15 pm
Location: Montréal, Canada
Contact:

Re: Most files being sent to attic

Postby gboudreau » Fri Dec 17, 2010 12:29 pm

That alone shouldn't start a second greyhole daemon.
There was a bug in greyhole init.d script that sometimes made it report the daemon was offline, when it was in fact running. Maybe the version running on Amahi currently has this bug.
Upcoming updates will fix that.
- Guillaume Boudreau

User avatar
gboudreau
Posts: 606
Joined: Sat Jan 23, 2010 1:15 pm
Location: Montréal, Canada
Contact:

Re: Most files being sent to attic

Postby gboudreau » Sun Dec 26, 2010 6:29 pm

I just checked, and the Amahi version of Greyhole already has that bugfix.

I think monit (the watchdog) restarted Greyhole when it shouldn't have.
Could you please attach here all the /var/log/monit* files you have ?

You can create an archive of all those log files like this:

Code: Select all

tar zcf monit.tgz /var/log/monit*
- Guillaume Boudreau

User avatar
jayrock
Posts: 223
Joined: Thu Dec 02, 2010 12:55 am

Re: Most files being sent to attic

Postby jayrock » Sun Jan 02, 2011 3:58 am

Hello Guillaume,

this morning I experienced a similar problem. Files copied to a share didn't show up but were moved straigt to the attic. I found this thread when I searched for " Failed file copy. Will mark this tombstone 'Gone'. " and then discovered that there were also two greyhole daemons running on my machine. Sorry I didn't write down the PIDs. The problem occured only this morning after starting the machine at around 11:06. Note that I restarted HDA on 11:46.

I have uploaded my monit file from yesterday and today to here: http://paste.amahi.org/d4c164cfc. There are a lot of lines saying "monit: Error reading pid from file '/var/run/greyhole.pid'" - are these related to the problem?

Cheers, jayrock

User avatar
gboudreau
Posts: 606
Joined: Sat Jan 23, 2010 1:15 pm
Location: Montréal, Canada
Contact:

Re: Most files being sent to attic

Postby gboudreau » Sun Jan 02, 2011 5:01 am

If this happens to anyone else, I'd also need the /var/log/boot.log, and excerpt from greyhole.log:

Code: Select all

grep -B 10 -A 10 "daemon started" /var/log/greyhole.log
Also, the latest experimental Greyhole should fix this. To try it:

Code: Select all

rpm -Uvh http://www.greyhole.net/releases/hda-greyhole-0.8.3-1.`uname -i`.rpm
- Guillaume Boudreau

jfk365
Posts: 10
Joined: Fri Dec 17, 2010 6:18 am

Re: Most files being sent to attic

Postby jfk365 » Fri Jan 21, 2011 5:28 am

Hi
Ive been on holiday and I am now back and using my Amahi again, just posting this FYI

I will update to the lastest version after posting and hope problem goes away.

Thanks again

Log from /var/log/monit*

http://fpaste.org/Y5DN/

log from /var/log/greyhole.log

Code: Select all

# grep -B 10 -A 10 "daemon started" /var/log/greyhole.log Jan 16 10:01:02 7 sleep: Nothing to do... Sleeping. Jan 16 10:01:12 7 parse_logs: Parsing Samba logs... Jan 16 10:01:12 7 parse_logs: Done parsing. Jan 16 10:01:12 7 sleep: Nothing to do... Sleeping. Jan 16 10:01:22 7 parse_logs: Parsing Samba logs... Jan 16 10:01:22 7 parse_logs: Done parsing. Jan 16 10:01:22 7 sleep: Nothing to do... Sleeping. Jan 16 10:01:32 7 parse_logs: Parsing Samba logs... Jan 16 10:01:32 7 parse_logs: Done parsing. Jan 16 10:01:32 7 sleep: Nothing to do... Sleeping. Jan 16 11:25:38 6 daemon: Greyhole (version 0.7.5) daemon started. Jan 16 11:25:38 7 daemon: Loading graveyard backup directories... Jan 16 11:25:38 6 daemon: Greyhole (version 0.7.5) daemon started. Jan 16 11:25:38 7 daemon: Loading graveyard backup directories... Jan 16 11:25:38 7 daemon: Found 2 directories in the settings table. Jan 16 11:25:38 7 daemon: Found 2 directories in the settings table. Jan 16 11:25:38 7 parse_logs: Parsing Samba logs... Jan 16 11:25:38 7 parse_logs: Done parsing. Jan 16 11:25:38 7 simplify_tasks: Simplifying pending tasks. Jan 16 11:25:38 7 parse_logs: Parsing Samba logs... Jan 16 11:25:38 7 parse_logs: Done parsing. Jan 16 11:25:38 7 parse_logs: Parsing Samba logs... Jan 16 11:25:38 7 parse_logs: Done parsing. -- Jan 16 11:26:08 7 parse_logs: Done parsing. Jan 16 11:26:08 7 parse_logs: Done parsing. Jan 16 11:26:08 7 sleep: Nothing to do... Sleeping. Jan 16 11:26:08 7 sleep: Nothing to do... Sleeping. Jan 16 11:26:18 7 parse_logs: Parsing Samba logs... Jan 16 11:26:18 7 parse_logs: Parsing Samba logs... Jan 16 11:26:18 7 parse_logs: Done parsing. Jan 16 11:26:18 7 parse_logs: Done parsing. Jan 16 11:26:18 7 sleep: Nothing to do... Sleeping. Jan 16 11:26:18 7 sleep: Nothing to do... Sleeping. Jan 16 11:31:32 6 daemon: Greyhole (version 0.7.5) daemon started. Jan 16 11:31:32 7 daemon: Loading graveyard backup directories... Jan 16 11:31:32 7 daemon: Found 2 directories in the settings table. Jan 16 11:31:32 7 parse_logs: Parsing Samba logs... Jan 16 11:31:32 7 parse_logs: Done parsing. Jan 16 11:31:32 7 simplify_tasks: Simplifying pending tasks. Jan 16 11:31:32 7 parse_logs: Parsing Samba logs... Jan 16 11:31:32 7 parse_logs: Done parsing. Jan 16 11:31:32 7 sleep: Nothing to do... Sleeping. Jan 16 11:31:42 7 parse_logs: Parsing Samba logs... Jan 16 11:31:42 7 parse_logs: Done parsing. -- Jan 16 11:35:22 7 sleep: Nothing to do... Sleeping. Jan 16 11:35:32 7 parse_logs: Parsing Samba logs... Jan 16 11:35:32 7 parse_logs: Done parsing. Jan 16 11:35:32 7 sleep: Nothing to do... Sleeping. Jan 16 11:35:43 7 parse_logs: Parsing Samba logs... Jan 16 11:35:43 7 parse_logs: Done parsing. Jan 16 11:35:43 7 sleep: Nothing to do... Sleeping. Jan 16 11:35:53 7 parse_logs: Parsing Samba logs... Jan 16 11:35:53 7 parse_logs: Done parsing. Jan 16 11:35:53 7 sleep: Nothing to do... Sleeping. Jan 21 13:28:08 6 daemon: Greyhole (version 0.7.5) daemon started. Jan 21 13:28:08 7 daemon: Loading graveyard backup directories... Jan 21 13:28:08 7 daemon: Found 2 directories in the settings table. Jan 21 13:28:08 7 parse_logs: Parsing Samba logs... Jan 21 13:28:08 7 parse_logs: Done parsing. Jan 21 13:28:08 7 simplify_tasks: Simplifying pending tasks. Jan 21 13:28:08 7 parse_logs: Parsing Samba logs... Jan 21 13:28:08 7 parse_logs: Done parsing. Jan 21 13:28:08 7 sleep: Nothing to do... Sleeping. Jan 21 13:28:18 7 parse_logs: Parsing Samba logs... Jan 21 13:28:18 7 parse_logs: Done parsing. -- Jan 21 13:47:05 7 sleep: Nothing to do... Sleeping. Jan 21 13:47:15 7 parse_logs: Parsing Samba logs... Jan 21 13:47:15 7 parse_logs: Done parsing. Jan 21 13:47:15 7 sleep: Nothing to do... Sleeping. Jan 21 13:47:25 7 parse_logs: Parsing Samba logs... Jan 21 13:47:25 7 parse_logs: Done parsing. Jan 21 13:47:25 7 sleep: Nothing to do... Sleeping. Jan 21 13:47:35 7 parse_logs: Parsing Samba logs... Jan 21 13:47:35 7 parse_logs: Done parsing. Jan 21 13:47:35 7 sleep: Nothing to do... Sleeping. Jan 21 13:48:41 6 daemon: Greyhole (version 0.7.5) daemon started. Jan 21 13:48:41 6 daemon: Greyhole (version 0.7.5) daemon started. Jan 21 13:48:41 7 daemon: Loading graveyard backup directories... Jan 21 13:48:41 7 daemon: Loading graveyard backup directories... Jan 21 13:48:41 7 daemon: Found 2 directories in the settings table. Jan 21 13:48:41 7 daemon: Found 2 directories in the settings table. Jan 21 13:48:41 7 parse_logs: Parsing Samba logs... Jan 21 13:48:41 7 parse_logs: Done parsing. Jan 21 13:48:41 7 simplify_tasks: Simplifying pending tasks. Jan 21 13:48:41 7 parse_logs: Parsing Samba logs... Jan 21 13:48:41 7 parse_logs: Done parsing. Jan 21 13:48:41 7 simplify_tasks: Simplifying pending tasks.

User avatar
gboudreau
Posts: 606
Joined: Sat Jan 23, 2010 1:15 pm
Location: Montréal, Canada
Contact:

Re: Most files being sent to attic

Postby gboudreau » Fri Jan 21, 2011 6:56 am

Your Amahi auto-updates seems to be broken.
Amahi is supposed to check every hour for new hda* packages versions, and install anything it finds.
hda-greyhole is now at 0.8.4 in the Amahi repository, so all Amahi installs should have this version installed (automatically).
You should update it manually ASAP, as the version you're running is buggy, then you should look into why it didn't update itself automatically.
- Guillaume Boudreau

Who is online

Users browsing this forum: No registered users and 23 guests