[Samba] unexpected smb stop service.

Meli Marco Marco.Meli at gknsintermetals.com
Fri Feb 17 17:14:55 GMT 2006


Hi All,

 

I'm working on SUSE Linux 2.6.11.4-21.9-default i686 i386 GNU/Linux, with
Samba Version 3.0.21a-0.1-SUSE.

At Initially installation seems all works fine, but sometimes happens nobody
can access to data share, people already authenticated, continuing working
as well, while new users entry receive an error message.

I have found something in "/var/log/messages" file reported below:

 

Feb 17 12:01:38 server smbd[1021]:   chdir (/data) failed

Feb 17 12:01:44 server smbd[965]: [2006/02/17 12:01:44, 0]
smbd/service.c:set_current_service(49)

Feb 17 12:01:44 server smbd[965]:   chdir (/data) failed

Feb 17 12:01:47 server smbd[6722]: [2006/02/17 12:01:47, 0]
smbd/service.c:set_current_service(49)

Feb 17 12:01:47 server smbd[6722]:   chdir (/data) failed

Feb 17 12:01:49 server smbd[3033]: [2006/02/17 12:01:49, 0]
smbd/service.c:set_current_service(49)

Feb 17 12:01:50 server sshd[7775]: Accepted publickey for root from
::ffff:10.90.1.31 port 4622 ssh2

Feb 17 12:01:50 server smbd[3033]:   chdir (/data) failed

 

Feb 17 12:01:58 server smbd[3244]: [2006/02/17 12:01:58, 0]
tdb/tdbutil.c:tdb_log(772)

Feb 17 12:01:58 server smbd[3244]:   tdb(/etc/samba/secrets.tdb): tdb_lock
failed on list 2 ltype=1 (Interrupted system call)

Feb 17 12:01:58 server smbd[3244]: [2006/02/17 12:01:58, 0]
tdb/tdbutil.c:tdb_chainlock_with_timeout_internal(82)

Feb 17 12:01:58 server smbd[3244]:   tdb_chainlock_with_timeout_internal:
alarm (10) timed out for key replay cache mutex in tdb
/etc/samba/secrets.tdb

Feb 17 12:02:01 server smbd[3931]: [2006/02/17 12:02:01, 0]
tdb/tdbutil.c:tdb_log(772) 

 

Chdir (/data) failed is a recurrent error but seems doesn't stop the
service, while "Interrupted system call" produce effects described above.

 

Could you help me to eliminate both errors or tell me why they appear?

Restarting daemons seems the only work around solution now. 

 

Below my smb.conf file:

[global]

        server string = xxx

        netbios name = XXX

        workgroup = WORKGROUP

        security = ADS

        password server = XXX XXX

        socket options = TCP_NODELAY SO_KEEPALIVE

        realm = WORKGROUP.DOMAIN

        allow trusted domains = yes

        auth methods = guest sam_ignoredomain winbind:ntdomain

        encrypt passwords = yes

        admin users = xxx

        nt acl support = yes

        map acl inherit = yes

        idmap uid = 10000-20000

        idmap gid = 10000-20000

        winbind enum users = yes

        winbind enum groups = yes

        winbind separator = /

        winbind use default domain = no

        dos charset = 850

        unix charset = ISO8859-15

        display charset = ISO8859-15

        printing = cups

        printcap name = cups

        printcap cache time = 750

        cups options = raw

        domain master = No

        log file = /var/log/samba/log.%m

        log level = 1

        max log size = 50

        passdb expand explicit = no

[data]

        comment = Linux-Fileserver

        path = /data

        writeable = yes

        create mask = 0770

        security mask = 0777

        directory security mask = 0777

        directory mask = 0770

        force directory security mode = 0

        directory security mask = 0777

        hide unreadable = yes

 

Thanks.

Marco.



More information about the samba mailing list