Can't restart samba

  • Samba wasn't working. So i tried to deactivate samba in the webgui and than starting samba again.
    But when i try to deactivate i get this:


    • Offizieller Beitrag

    systemctl status avahi-daemon.service

    Post the output of this command.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Code
    cat /var/log/syslog | grep avahi
    Oct  4 23:05:06 NAS avahi-daemon[30822]: Found user 'avahi' (UID 105) and group 'avahi' (GID 112).
    Oct  4 23:05:06 NAS avahi-daemon[30822]: Successfully dropped root privileges.
    Oct  4 23:05:06 NAS avahi-daemon[30822]: chroot.c: fork() failed: Resource temporarily unavailable
    Oct  4 23:05:06 NAS avahi-daemon[30822]: failed to start chroot() helper daemon.
    Oct  4 23:05:06 NAS systemd[1]: avahi-daemon.service: main process exited, code=exited, status=255/n/a
    Oct  4 23:05:06 NAS systemd[1]: Unit avahi-daemon.service entered failed state.
  • systemctl status avahi-daemon.service

    Code
    ● avahi-daemon.service - Avahi mDNS/DNS-SD Stack
    Loaded: loaded (/lib/systemd/system/avahi-daemon.service; enabled)
    Active: failed (Result: exit-code) since Di 2016-10-04 23:05:06 CEST; 3min 0s ago
    Process: 30822 ExecStart=/usr/sbin/avahi-daemon -s (code=exited, status=255)
    Main PID: 30822 (code=exited, status=255)
    
    
    Okt 04 23:05:06 NAS systemd[1]: avahi-daemon.service: main process exited, code=exited, status=255/n/a
    Okt 04 23:05:06 NAS systemd[1]: Failed to start Avahi mDNS/DNS-SD Stack.
    Okt 04 23:05:06 NAS systemd[1]: Unit avahi-daemon.service entered failed state.
    • Offizieller Beitrag

    Try to get avahi started with this:chmod -R a+Xr /etc/avahi/systemctl start avahi-daemon

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!