[Samba] Samba4 Centos 7 - CPU 100%

Maiquel Consalter maiquelconsalter at gmail.com
Mon Aug 29 13:48:15 UTC 2016


> >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 ?
Follow my echo $PATH =>
usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/local/samba/bin:/usr/local/samba/sbin:/root/bin
>
> >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 ?
No, i just stop the problem it´s the same.
>
> >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
> pam-devel

> 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
Ok, I will install and recompile the samba. Soon i will give feedback for
you.
Tks.

2016-08-29 10:24 GMT-03:00 Rowland Penny via samba <samba at lists.samba.org>:

> 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:
>
> https://wiki.samba.org/index.php/Operating_system_
> requirements/Dependencies_-_Libraries_and_programs#Red_
> Hat_Enterprise_Linux_.2F_CentOS_.2F_Scientific_Linux
>
> 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
> pam-devel
>
> 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
> Samba.
>
> Rowland
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>



-- 
Att,
Maiquel


More information about the samba mailing list