Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Avahi package won't start (with work around)

    2.2 Snapshot Feedback and Problems - RETIRED
    1
    1
    1.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      ankaerith
      last edited by

      Avahi won't start from the gui and nothing is logged.  I was able to track down a few issues and resolve them from the command line.  I suspect the package needs some work for 2.2.

      /usr/local/etc/rc.d/avahi-daemon.sh :

      It looks for: /usr/pbi/avahi-amd64/sbin/avahi-daemon

      But avahi-daemon is installed at: /usr/pbi/avahi-amd64/local/sbin/avahi-daemon

      After fixing that path, I get this error:

      Shared object "libavahi-common.so.3" not found, required by "avahi-daemon"

      I resolved that with: ldconfig -m /usr/pbi/avahi-amd64/local/lib/

      Then: Failed to open file '/usr/local/etc/avahi/avahi-daemon.conf': No such file or directory

      Fixed that with: ln -s /usr/pbi/avahi-amd64/etc/avahi/avahi-daemon.conf avahi-daemon.conf

      The service runs now and I can control it from the GUI.  I'm sure this isn't the proper solution, but it worked for me.

      I also added executed these commands so the ldconfig is persistent across reboots:

      
      echo '#\!/bin/sh' > /usr/local/etc/rc.d/000-ldconfig.sh 
      echo '/sbin/ldconfig -m /usr/pbi/avahi-amd64/local/lib/' >> /usr/local/etc/rc.d/000-ldconfig.sh
      chmod a+x /usr/local/etc/rc.d/000-ldconfig.sh 
      
      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.