[Samba] smb panic when adding printer with apw

Dermot paikkos at googlemail.com
Fri Jun 24 03:05:37 MDT 2011


On 24 June 2011 09:48, Thorsten Leiser <t.leiser at synchron-is.de> wrote:
> Hi Dermot,
>
> here are the file permissions on /var/log/samba/log.smbd,
> -rw-r--r-- 1 root root  434340 24. Jun 10:41 log.smbd
> (all files in this directory have this permission)
>
> the parent directory ( /var/log/samba )
> drwxr-x--- 3 root        adm     4096 24. Jun 08:07 samba
>
> the smbd is running as root user, but there are also some smbd childs
> running with user rights.
> --- snip
> root     18677 17385  0 07:36 ?        00:00:01 /usr/sbin/smbd -D
> root     18678 17385  0 07:36 ?        00:00:00 /usr/sbin/smbd -D
> m028u032 18683 17385  0 07:39 ?        00:00:00 /usr/sbin/smbd -D
> root     18684 17385  0 07:39 ?        00:00:01 /usr/sbin/smbd -D
> root     18685 17385  0 07:39 ?        00:00:02 /usr/sbin/smbd -D
> --- snap
>

>
> Am 24.06.2011 10:08, schrieb Dermot:
>>
>> On 24 June 2011 07:13, Thorsten Leiser<t.leiser at synchron-is.de>  wrote:
>>>
>>> Hi,
>>> [2011/06/24 07:47:56,  0] lib/debug.c:reopen_logs(663)
>>>  Unable to open new log file /var/log/samba/log.smbd: Permission denied
>>> [2011/06/24 07:47:56,  0] lib/debug.c:reopen_logs(663)
>>>  Unable to open new log file /var/log/samba/log.smbd: Permission denied
>>> [2011/06/24 07:47:56,  0] lib/debug.c:reopen_logs(663)
>>>  Unable to open new log file /var/log/samba/log.smbd: Permission denied
>>> [2011/06/24 07:47:56,  0] lib/fault.c:fault_report(40)

Can you determine what the user process is? smbstatus perhaps? This
error says that it wants to create a new log file. What does your
smb.conf say about max log size? I am not very savy with smb printing
but that message suggests that something wants to have write access
either to the /var/log/samab directory or the log.smbd file and
doesn't have it. There are a few tests you can do to see where the
error lies. I would chmod the log.smbd file and see it that gets you
round the error.
Dp.


More information about the samba mailing list