[Samba] Broken samba

Bob Williams linux at barrowhillfarm.org.uk
Sat Sep 26 03:56:32 MDT 2009


Hello Helmut,

On Saturday 26 September 2009 10:17:00 Helmut Hullen wrote:
> Hallo, Bob,
> 
> Du meintest am 26.09.09:
> > barrowhillfarm:~ # testparm /etc/samba/smb.conf
> >
> > ERROR: lock directory file:///var/lib/samba does not exist
> > ERROR: state directory file:///var/lib/samba does not exist
> > ERROR: cache directory file:///var/lib/samba does not exist
> > ERROR: pid directory file:///var/run/samba does not exist
> >
> >
> > Why are those lock, state, cache and pid directory files missing? I
> > can't believe I'm supposed to create them myself ;) The testparm
> > command was run as root, so it can't be a permissions problem.
> 
> What tells
> 
>         ls -ld /var/lib/samba
>         ls -ld /var/run/samba
> 
barrowhillfarm:~ # ls -ld /var/lib/samba
drwxr-xr-x 8 root root 4096 Sep 24 11:01 /var/lib/samba
barrowhillfarm:~ # ls -ld /var/run/samba
drwxr-xr-x 2 root root 4096 Sep 24 11:01 /var/run/samba
barrowhillfarm:~ #

Thanks,

Bob
-- 
Registered Linux User #463880		FSFE Member #1300
GPG-FP: A6C1 457C 6DBA B13E 5524 F703 D12A FB79 926B 994E
openSUSE 11.1, Kernel 2.6.27.25-0.1-default, KDE 4.3
Intel Core2 Quad Q9400 2.66GHz, 4GB DDR RAM, nVidia GeForce 9200GS


More information about the samba mailing list