mschlenstedt/Loxberry

Could not set up Samba Config

Closed this issue · 7 comments

AND-8 commented

Frische Installation auf Hyper-V

────────────
Configuring Samba...
───────────

mv: cannot stat '/etc/samba': No such file or directory
/dev/fd/63: line 626: testparm: command not found

[FAILED ] .... Could not set up Samba Config.

AND-8 commented

Windows 11, Hyper-V, Installation am 13.3.2023.
image

Log
image

Kannst du bitte das gesamte Logfile hier anhängen? Liegt in /boot

AND-8 commented

loxberry_install.log
Anbei das Log File

Kann ich leider gerade nicht nachvollziehen noch nachstellen - habe aber auch kein HyperV. Er hat bei Dir Samba korrekt installiert (zumindest laut Log) - komisch ist aber, dass /etc/samba dann angeblich nicht existieren soll.

Seltsam auch die Fehlermeldung "/dev/fd/63". Hier steht, dass es etwas mit dem SSH Client zu tun hat. Nutzt Du Putty?

https://askubuntu.com/questions/1086617/dev-fd-63-no-such-file-or-directory

AND-8 commented

Danke für deine schnelle Hilfe, dann kannst du hier schließen.
Ich habe es heute versucht mit der 3.0.0.2 nachzustellen.
Leider konnte ich es NICHT reproduzieren.

Gestern hatte ich die 3.0.0.1.

Ich habe genau den gleichen Fehler, komplett neue Installation auf einem Loxberrry v2 ArmV7
Ich nutze Putty von Windows aus.

Das ist etwas was ich im Log finden konnte:

Created symlink /etc/systemd/system/multi-user.target.wants/nmbd.service → /lib/systemd/system/nmbd.service.
Failed to preset unit: Unit file /etc/systemd/system/samba-ad-dc.service is masked.
/usr/bin/deb-systemd-helper: error: systemctl preset failed on samba-ad-dc.service: No such file or directory
Created symlink /etc/systemd/system/multi-user.target.wants/smbd.service → /lib/systemd/system/smbd.service.
samba-ad-dc.service is a disabled or a static unit, not starting it.

Loxberry V2? Der ist nicht aktuell.