Koozali.org: home of the SME Server

NETATALK / AFP - how do I enable debug/logging? files disappearing

Offline migraineboy

  • *
  • 8
  • +0/-0
I have a situation where random files are getting deleted from 6.0.1 server.  Files that are accessed by MAC clients seem to be the only ones that are disappearing. 

I used AFFA to upgrade to new hardware and am now running the latest version of 7 and have the same issue.

I would like to enable logging to show each file access and more importantly - delete.  I am hoping it is on workstation with some software on it which is freaking out.

CG

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: NETATALK / AFP - how do I enable debug/logging? files disappearing
« Reply #1 on: August 28, 2008, 12:15:32 AM »
I would like to enable logging to show each file access and more importantly - delete. 

I don't know whether there is any such logging, but there is a lot of documentation for netatalk which I haven't read - you can see the list by typing:

rpm -qd netatalk

If there is no configuration option to produce the logging you need, you can trace the program using strace, or capture the network traffic using tcpdump and analyse it after the fact using wireshark.

Offline mercyh

  • *
  • 824
  • +0/-0
    • http://mercyh.org
Re: NETATALK / AFP - how do I enable debug/logging? files disappearing
« Reply #2 on: August 28, 2008, 03:22:57 PM »
I think your problem could be related to this post and the attached bug:

http://forums.contribs.org/index.php?topic=40157.0

I doubt that the files are actually being removed. I think that the Macs are changing the permissions so they are not accessible.

If you log in with Winscp as root and browse to those directories are the files actually not there?