Project

General

Profile

Bug #7886

afpstats not working

Added by Michael Polanz over 4 years ago. Updated over 4 years ago.

Status:
Closed: Behaves correctly
Priority:
Nice to have
Assignee:
Suraj Ravichandran
Category:
OS
Target version:
-
Seen in:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

  1. afpstats
    Traceback (most recent call last):
    File "/usr/local/bin/afpstats", line 16, in main
    "/org/netatalk/AFPStats")
    File "/usr/local/lib/python2.7/site-packages/dbus/bus.py", line 241, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
    File "/usr/local/lib/python2.7/site-packages/dbus/proxies.py", line 248, in init
    self._named_service = conn.activate_name_owner(bus_name)
    File "/usr/local/lib/python2.7/site-packages/dbus/bus.py", line 180, in activate_name_owner
    self.start_service_by_name(bus_name)
    File "/usr/local/lib/python2.7/site-packages/dbus/bus.py", line 278, in start_service_by_name
    'su', (bus_name, flags)))
    File "/usr/local/lib/python2.7/site-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
    DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.netatalk.AFPStats was not provided by any .service files

History

#1 Updated by Michael Polanz over 4 years ago

Maybe I should add that neither restarting dbus, netatalk, or the whole Server changes anything.

#2 Updated by Josh Paetzel over 4 years ago

This is a tool sef wrote.

#3 Updated by Sean Fagan over 4 years ago

No it isn't. I wrote afpusers.

#4 Updated by Suraj Ravichandran over 4 years ago

  • Status changed from Unscreened to Closed: Behaves correctly

After taking a look at the afpstats source code, it seems to be just providing the afp users list (check: http://sprunge.us/DGNX)

afpusers (wriiten by Sean, our own mac ninja!) provides you with the same information.

Please give that a try.

Also, afpstats requires D-BUS support which freenas does not have, so.....

I am closing this ticket, comment below if you hit any other obstacles.

Also available in: Atom PDF