afpstats not working
Traceback (most recent call last):
File "/usr/local/bin/afpstats", line 16, in main
File "/usr/local/lib/python2.7/site-packages/dbus/bus.py", line 241, in get_object
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
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
DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.netatalk.AFPStats was not provided by any .service files
#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.