I installed Archlinux on my newly purchased GoFlex Net and the installation went all fine.
Now I wanted to share the SATA Disc to my Network with Samba.
I folowed the Samba Installation Instructions from archlinuxarm and I got it installed and configured also the samba config file.
Firstly I want to know how to configure my GoFlex Net to start samba on boot up ? Do I need to put smbd and nmbd as services into the rc.conf ? Or does samba start auto-magically without this entry in the rc.conf?
Second and so said my main problem is that I am now stuck because samba (smbd and nmbd) won't start. Neither at the bootup process nor if I start it manually. I tested the smb.conf and this is what I get:
$this->bbcode_second_pass_code('', '[root@portal ~]# testparm /etc/samba/smb.conf
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[port]"
Loaded services file OK.
ERROR: pid directory /var/run/samba does not exist
Server role: ROLE_STANDALONE
')
I checked if the PID files were present in /var/run/samba and there were NOT. Even the Folder named "samba" was not in /var/run/ . So I created it manually and startet smbd and nmbd again and then it WORKED! ...
Why smbd and nmbd do not create the samba Folder in "/var/run/" at start ? If they would I wouldn't have problems at all. Now I need to know how to solve this and would be really happy if you could help me.
Does Samba have to less rights to create the samba folder in /var/run/ ?
Thank you in advance!
