- Версия пакета - netatalk-3.1.13-alt1 - Шаги воспроизведения - # apt-get install netatalk # systemctl start netatalk $ afpstats - Получаемый результат - $ afpstats Traceback (most recent call last): File "/usr/lib64/python3/site-packages/dbus/bus.py", line 173, in activate_name_owner return self.get_name_owner(bus_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3/site-packages/dbus/bus.py", line 348, in get_name_owner return self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3/site-packages/dbus/connection.py", line 634, in call_blocking reply_message = self.send_message_with_reply_and_block( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.netatalk.AFPStats': no such name During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/bin/afpstats", line 15, in main remote_object = bus.get_object("org.netatalk.AFPStats", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3/site-packages/dbus/bus.py", line 237, in get_object return self.ProxyObjectClass(self, bus_name, object_path, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3/site-packages/dbus/proxies.py", line 250, in __init__ self._named_service = conn.activate_name_owner(bus_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3/site-packages/dbus/bus.py", line 178, in activate_name_owner self.start_service_by_name(bus_name) File "/usr/lib64/python3/site-packages/dbus/bus.py", line 273, in start_service_by_name return (True, self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3/site-packages/dbus/connection.py", line 634, in call_blocking reply_message = self.send_message_with_reply_and_block( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.netatalk.AFPStats was not provided by any .service files - Примечание - В man написано: NOTE afpd must support D-Bus. Check it by "afpd -V". "afpstats = yes" must be set in @pkgconfdir@/afp.conf. Убеждаемся: # afpd -V | grep D-Bus D-Bus support: Yes # grep -B2 afpstats /etc/netatalk/afp.conf [Global] ; Global server settings afpstats = yes