unit antletsl.service entered failed state

5 replies
masroorz
6 posts

Hello,

I have the following error message from journalctl -fu antletsl

unit antletsl.service entered failed state

antletsl.service failed

started antletsl service

traceback (most recent call last)

file /usr/local/bin antletsID, line 20, in <module>

import avahi, dbus

importError: no module named avahi

antletsl.service: main process exited, code=exited, startus=1/FAILURE

unit antletsl.service entered failed state

antletsl.service failed

Any suggestions please?

▲ 1
matterantimatter
5 posts

I'm having the same issue after upgrading to 2.0.0

It looks like the Python module avahi is not installed, and it's causing the antletsl service from starting.

I've been looking around the the web, and I can't find the module anywhere.  Is there a version that can be distributed?

matterantimatter
5 posts

I think I might have this working now.

I downloaded this repo: https://github.com/lathiat/avahi as a ZIP, and extracted it to the root users home directory at /root/build/avahi-master.    This contains the full avahi project, but you only need the Python bindings, which are in /root/build/avahi-master/avahi-python/avahi/

To install it (as root):

cd /usr/lib/python2.7/site-packages

This is the directory that python2 will look for the avahi module, by default.

cp -r ~/build/avahi-master/avahi-python/avahi ./

This moves the avahi module folder and its contents of the site-packages folder.

After that, I was able to start antletsl using systemctl start antletsl.

masroorz
6 postsedited

@matterantimatter


this actually fixes the problem

yum install avahi-ui-tools

then restart antletsl

systemctl antletsl restart

▲ 4
mshappe
23 posts

I was also having this problem and came here looking for a solution before pestered Support. Can confirm that this fixes it. Not sure why that's not already present. Thanks!

▲ 2
JAGKD705
4 posts

One correction to @masroorz instructions. The command to restart antletsl is:

systemctl restart antletsl

Log in to reply. New here? It takes a minute.