we had a centos 7.0 samba server running samba 4.1.1-32.el7_0. the upgrade to centos 7.1 (with samba 4.1.12-21.el7_1) caused samba to start core dumping at an alarming rate until it filled up the hard drive.
the machine is a member of a non-active directory domain with a centos 7.0 samba domain controller.
the [global] section of testparm reads as follows:
workgroup = ARTRS
server string = ARTRS Storage Server
security = DOMAIN
map to guest = Bad User
log file = /var/log/samba/log.%m
max log size = 50
idmap config * : backend = tdb
cups options = raw
i was able to return the machine to service by downgrading libsmbclient, libwbclient, samba, samba-client, samba-common, and samba-libs to 4.1.1-38.el7_0.
unfortunately, i failed to save the /var/log/samba/log.smb file before doing the downgrade, so i have lost the error log. it simply repeated:
../source3/smbd/server.c:429 Unclean shutdown of pid
and
../source3/smbd/server.c:429(remove_child_pid)
hundreds of times.
anyone else experiencing this problem? i've disabled updates for our other samba servers for the time being, but i'd love to get to the bottom of this.
centos 7.1 update causing samba core dump
Re: centos 7.1 update causing samba core dump
Just a wild guess: Have you checked pid file smbd.pid in /var/run? Maybe systemctl is continuously trying to restart the service that keeps bailing out because of an existing pid file...
Root is evil: Do not use root (sudo) to run any of the commands specified in my posts unless explicitly indicated. Please, provide the necessary amount of context to understand your problem/question.
-
- Posts: 3
- Joined: 2015/03/31 18:39:31
Re: centos 7.1 update causing samba core dump
there doesn't appear to be anything strange going on with the pid file.
-
- Posts: 3
- Joined: 2015/03/31 18:39:31
Re: centos 7.1 update causing samba core dump
one possible difference i've found:
under samba 4.1.1:
# net rpc join member
Enter root's password:
Joined domain ARTRS.
under samba 4.1.12
# net rpc join member
No realm has been specified! Do you really want to join an Active Directory server?
Enter root's password:
No realm has been specified! Do you really want to join an Active Directory server?
Using short domain name -- ARTRS
Joined 'SMBTEST' to domain 'ARTRS'
is it possible that 4.1.12 is not recognizing that we are not running active directory?
under samba 4.1.1:
# net rpc join member
Enter root's password:
Joined domain ARTRS.
under samba 4.1.12
# net rpc join member
No realm has been specified! Do you really want to join an Active Directory server?
Enter root's password:
No realm has been specified! Do you really want to join an Active Directory server?
Using short domain name -- ARTRS
Joined 'SMBTEST' to domain 'ARTRS'
is it possible that 4.1.12 is not recognizing that we are not running active directory?