You are not logged in.

#1 2014-08-18 14:16:08

Soukyuu
Member
Registered: 2014-04-08
Posts: 854

[Samba] smbd missing pid file and permissions?

Not sure if it fits into networking or programs section. I have configured a samba server, with smbd running as a socket, following the wiki. Everything works fine, but my journal is full of

smbd[799]: [2014/08/17 23:51:26.561664,  0] ../lib/util/pidfile.c:153(pidfile_unlink)
smbd[799]: Failed to delete pidfile /var/run/smbd.pid. Error was No such file or directory

This one appear every time the socket closes, I guess?

There is also this:

smbd[3032]: [2014/08/18 11:37:45.062579,  0] ../source3/param/loadparm.c:4365(process_usershare_file)
smbd[3032]: process_usershare_file: stat of /var/lib/samba/usershare/sharename failed. Permission denied

I can still access the share fine though, so I'm not sure what the error message is about.

How do I fix these? Do you need any more info?


[ Arch x86_64 | linux | Framework 13 | AMD Ryzen™ 5 7640U | 32GB RAM | KDE Plasma Wayland ]

Offline

#2 2017-04-18 03:03:49

enihcam
Member
From: Internet
Registered: 2009-12-20
Posts: 220

Re: [Samba] smbd missing pid file and permissions?

Please report the bug to upstream. The root cause is samba instance never generates a PID file but it tries to delete.

Offline

Board footer

Powered by FluxBB