Description of problem: Version-Release number of selected component (if applicable): Fedora 16 Beta 3.1.0-7.fc16.x86_64 #1 SMP x86_64 GNU/Linux Samba 3.6.1-74.fc16.x86_64 How reproducible: Install Fedora without any Windows Manager like KDE or Gnome. I choose BTRFS as file system for all my partitions (/ and /boot). Even after rebooting the system the Samba deamon does not run. systemctl reports: samba.service Loaded: error (Reason: No such file or directory) Active: inactive (dead) Steps to Reproduce: 1. Install Fedora without any Desktop Environment and Btrfs. 2. If not already installed install Samba. Actual results: Samba is installed but not functional. Expected results: Working Samba Additional info: It seems samba is properly installed. At least smbd and nmbd are in /usr/sbin and can be started although the manual start failes: cat log.smbd [2011/11/06 14:28:35, 0] smbd/server.c:1045(main) smbd version 3.6.1-74.fc16 started. Copyright Andrew Tridgell and the Samba Team 1992-2011 [2011/11/06 14:28:35.493615, 0] smbd/server.c:1101(main) standard input is not a socket, assuming -D option [2011/11/06 14:28:38.196357, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - No such file or directory [2011/11/06 14:28:38.196547, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2011/11/06 14:29:38.257335, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - No such file or directory [2011/11/06 14:29:38.257523, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
Hmm, sorry. I don't have enough experience to determine what causes problems. It seems Samba has nothing to do with my problem. Now I installed MySql and the mysqld doesn't work either. Probably my system is not installed correctly. Unfortunately, I have no clue what is the problem.
What does that mean "Samba does not work". What do you want to do? Which error did you get and how did you produce it. Is smbd running? (ps aux | grep smbd)
Hello Andreas, Hmm, obviously my English is still bad, I though I described my problem good enough. smbd is not running and I cannot start it. Error by systemctl see above. First I thought there is a problem with Samba, but now I know that something is wrong with my installation. I installed MySql with yum and have the same problem. mysqld is not started. systemd and systemctl respectively reports the same error as with Samba. So I think that my lack of experience causes this error. I installed Fedora without any Desktop Environment and it seems a important component is missing. I will install it again. Sorry for the inconvenience.
Do you still see these errors or was this invalid?
Hi Andreas, I still see this error. However, it is not only the samba service that is not started properly. The vnstat daemon is also not started properly. So, I don't have a problem with samba, it seems I have a problem with systemd. My walkaround is to start the binaries manually without systemctl. Also, vnstat --daemon for example. You may not accountable for systemd, but have you any glue what could the problem be? thx, Wolfgang
The error message was given in the problem description. The error message is "No such file or directory" (would it kill systemd/samba to say what directory is missing?) The file missing is /var/run/samba It's on tmpfs though - so would be not there after a reboot anyway?
Do you have a /etc/tmpfiles.d/samba file on your system ? If not that is a packaging bug we should fix asap Andreas.
Nope, no such file. Also not referenced by any rpm on my system.
Hmm, just checked the process list and smbd is running; however: # systemctl status samba.service samba.service Loaded: error (Reason: No such file or directory) Active: inactive (dead) No nmbd process and still no /var/run/samba. In case it matters, many smbd error messages in /var/log/messages because cups not running.
samba-3.6.4-84.fc17.1 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/samba-3.6.4-84.fc17.1
samba-3.6.4-84.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/samba-3.6.4-84.fc16
Package samba-3.6.4-84.fc17.1: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing samba-3.6.4-84.fc17.1' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-6485/samba-3.6.4-84.fc17.1 then log in and leave karma (feedback).
samba-3.6.5-85.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/samba-3.6.5-85.fc16
samba-3.6.5-85.fc17.1 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/samba-3.6.5-85.fc17.1
samba-3.6.5-85.fc17.1 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.
samba-3.6.5-85.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.
I didn't get around to installing testing version but I see 3.6.5-85 has the fix. But after updating and rebooting # systemctl status samba.service samba.service Loaded: error (Reason: No such file or directory) Active: inactive (dead) # systemctl stop samba.service # systemctl status samba.service samba.service Loaded: error (Reason: No such file or directory) Active: inactive (dead) but ... # cat /run/smbd.pid 1245 # ps -fp 1245 UID PID PPID C STIME TTY TIME CMD root 1245 1 0 17:08 ? 00:00:00 /usr/sbin/smbd ]# rpm -q samba samba-3.6.5-85.fc16.x86_64