[Samba] Samba4 Centos 7 - CPU 100%

Rowland Penny rpenny at samba.org
Mon Aug 29 13:24:13 UTC 2016

On Mon, 29 Aug 2016 09:53:33 -0300
Maiquel Consalter <maiquelconsalter at gmail.com> wrote:

> >You say you have compiled Samba yourself, so I take it that Samba is
> i>nstalled at /usr/local/samba, if so, is the new samba in your PATH
> i>and
> >are there any OS Samba packages installed ?
> I compile myself. I removed all packets for samba before start the
> instalation.
> My options: ./configure --sysconfdir=/etc/samba/
> --mandir=/usr/share/man/ --enable-debug --enable-selftest && make &&
> make instasll

So you have smb.conf at /etc/samba, the manpages at /usr/share/man and
everything else at /usr/local/samba.
If you open a terminal and type 'echo $PATH' , do you have
'/usr/local/samba/bin:/usr/local/samba/sbin:' at the start ?

> >Is there a firewall running, if so, try turning it off // Is Selinux
> running, if so, try disabling it.
> setenforce 0
> service firewalld stop
> service iptables stop
> service ip6tables stop
> systemctl disable firewalld
> systemctl disable iptables
> systemctl disable ip6tables

Does this change anything ?

> >What packages did you install before compiling Samba ?
> yum install libacl-devel e2fsprogs-devel gnutls-devel readline-devel
> python-devel gdb pkgconfig gcc libblkid-devel zlib-devel
> setroubleshoot-server setroubleshoot-plugins policycoreutils-python
> libsemanage-python setools-libs-python setools-libs popt-devel
> libpcap-devel sqlite-devel libidn-devel libxml2-devel libacl-devel
> libsepol-devel libattr-devel keyutils-libs-devel cyrus-sasl-devel
> krb5-workstation perl openldap-devel bind bind-sdb

If you look here:


and compare it with your list, there are these extra packages:

attr libaio-devel perl-ExtUtils-MakeMaker perl-Parse-Yapp perl-Test-Base 
cups-devel bind-utils libxslt docbook-style-xsl autoconf python-crypto

These may be packages that are already installed, but I suggest you try
to install them and if any get installed, you will have to recompile


More information about the samba mailing list