Antsle Forum

Welcome to our Antsle community! This forum is to connect all Antsle users to post experiences, make user-generated content available for the entire community and more. 

Please note: This forum is about discussing one specific issue at a time. No generalizations. No judgments. Please check the Forum Rules before posting. If you have specific questions about your Antsle and expect a response from our team directly, please continue to use the appropriate channels (email: [email protected]) so every inquiry is tracked. 

Please or Register to create posts and topics.

unit antletsl.service entered failed state

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?
matterantimatter has reacted to this post.
matterantimatter

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?

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.

@matterantimatter

 


this actually fixes the problem

yum install avahi-ui-tools

then restart antletsl

systemctl antletsl restart

lancem, JAGKD705 and 2 other users have reacted to this post.
lancemJAGKD705mshappeanagnorisis

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!

JAGKD705 and anagnorisis have reacted to this post.
JAGKD705anagnorisis

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

systemctl restart antletsl