Tudor,
Thanks for bringing this issue up.
I updated the website www.qmailtoaster.com to reflect the necessity of
higher versions of the MySQL libraries (which Remi provides) when
upgrading QMT which includes higher versions Dovecot.
Below is the full procedure for from Install to Upgrade:
1) CentOS 6 Minimal Install
2) QMT Install
# curl
https://raw.githubusercontent.com/QMailToaster/qmailtoaster-util/master/qt-bootstrap-1
>qt-bootstrap-1
# sh qt-bootstrap-1 (system will reboot)
# curl
https://raw.githubusercontent.com/QMailToaster/qmailtoaster-util/master/qt-bootstrap-2
>qt-bootstrap-2
# sh qt-bootstrap-2
# mv /opt/qmailtoaster-util/bin/qt-install
/opt/qmailtoaster-util/bin/qt-install.bak
# curl -o /opt/qmailtoaster-util/bin/qt-install
https://raw.githubusercontent.com/qmtoaster/cos6/master/qt-install
# chmod 755 /opt/qmailtoaster-util/bin/qt-install
# qt-install
3) Upgrading QMT
# rpm -Uvh
https://raw.githubusercontent.com/qmtoaster/cos6/master/qmt-release-1-4.qt.el6.noarch.rpm
# yum install yum-utils
# yum install http://rpms.remirepo.net/enterprise/remi-release-6.rpm
# yum-config-manager --enable remi remi-php56
# yum update
# yum --enablerepo=qmt-testing update
Eric
On 5/17/2017 10:39 AM, Todor Petrov Vmobile wrote:
Hi Eric,
Thank you! The problem is fixed. The softlimit was 12000000 now is
64000000. There are no more error messages in the log. Everything
works perfect, smtp-ssl too.
So - the other problem was installing without using remi repo. I will
include that in my manual. Thank you again.
Sent from my BlackBerry 10 smartphone.
*From: *Eric Broch
*Sent: *17 май 2017, сряда, 18:57
*To: *[email protected]
*Reply To: *[email protected]
*Subject: *Re: [qmailtoaster] centos 6 update
Hi Tudor,
This looks like a softlimit error.
If you look in /var/log/messages I imagine you'll find a 'segfault' error.
Check for the softlimit line in /var/qmail/supervise/smtp-ssl/run
exec /usr/bin/softlimit -m 64000000
Mine is set to 64000000. I'm not sure what yours is set to, you might
want to double it then stop qmail and start it.
# qmailctl stop
# qmailctl start
Eric
On 5/17/2017 9:33 AM, Todor Petrov wrote:
Hi Eric,
Now it is installed perfectly. After adding remi repo the setup was
successful without any errors. But now smtp-ssl is not working -
mysql-library again. I find in the log the following error:
/var/qmail/bin/qmail-smtpd: error while loading shared libraries:
libmysqlclient.so.18: failed to map segment from shared object:
Cannot allocate memory
The service is up with port 465 but when I try to check ssl version
from outside with testing script the output is:
Testing protocols:
SSLv2: NO
SSLv3: NO
TLSv1: NO
TLSv1.1: NO
TLSv1.2: NO
And of course the smtp-ssl does not work.
The output of old errors before installing remi repo:
Error: Package: 1:dovecot-2.2.24-11.qt.el6.x86_64 (qmt-current)
Requires: libmysqlclient.so.18(libmysqlclient_16)(64bit)
Error: Package: qmailadmin-1.2.16-1.qt.el6.x86_64 (qmt-current)
Requires: libmysqlclient.so.18(libmysqlclient_16)(64bit)
Error: Package: qmailadmin-1.2.16-1.qt.el6.x86_64 (qmt-current)
Requires: libmysqlclient.so.18()(64bit)
Error: Package: 1:dovecot-2.2.24-11.qt.el6.x86_64 (qmt-current)
Requires: libmysqlclient.so.18()(64bit)
You could try using --skip-broken to work around the problem
*after the command: yum --enablerepo=remi update*
i have:
Updating:
clamav x86_64 0.99.2-2.qt.el6 qmt-current 2.7 M
dovecot x86_64 1:2.2.24-11.qt.el6 qmt-current
7.9 M
mysql x86_64 5.5.56-1.el6.remi remi 5.7 M
mysql-libs x86_64 5.5.56-1.el6.remi remi 781 k
mysql-server x86_64 5.5.56-1.el6.remi remi 10 M
perl-Compress-Raw-Bzip2 x86_64 2.052-1.el6.rf rpmforge 104 k
php x86_64 5.4.45-13.el6.remi remi
2.8 M
php-cli x86_64 5.4.45-13.el6.remi remi
4.1 M
php-common x86_64 5.4.45-13.el6.remi remi
968 k
qmailadmin x86_64 1.2.16-1.qt.el6 qmt-current 2.2 M
spamassassin x86_64 3.4.1-0.qt.el6 qmt-current 1.1 M
spamdyke x86_64 5.0.1-0.qt.el6 qmt-current 118 k
Installing for dependencies:
compat-mysql51 x86_64 5.1.73-1.el6.remi remi 1.4 M
On 17-May-17 6:20 PM, Eric Broch wrote:
Hi Tudor,
Remi is not original to qmailtoaster. The only reason I installed
Remi is for Roundcube on CentOS 6. I wouldn't need it otherwise.
Here's the Remi wizard which will get you started. I'm not sure why
you can't update, though. Can you send me all the errors associated
with yum update?
http://rpms.remirepo.net/wizard/
Eric
On 5/17/2017 8:34 AM, Todor Petrov wrote:
Hi Eric,
Thank you for the answer. I see that you have remi repo - it is not
included in the setup procedure. Should I install it first or after
the setup is complete.
Btw - I cant find remi-php56 for centos 6 - just a 5.4 and 7.0.
Which repos must be installed additionally (not included in the setup)?
On 17-May-17 3:42 PM, Eric Broch wrote:
Hi Tudor,
Running 'yum provides libmysqlclient_r.so.16' I get the following.....
[root@ ~]# yum provides libmysqlclient_r.so.16
Loaded plugins: fastestmirror, priorities, protectbase,
refresh-packagekit, security
Determining fastest mirrors
epel/metalink | 11 kB 00:00
* base: mirrors.cat.pdx.edu
* epel: ca.mirror.babylon.network
* extras: mirror.atlantic.net
* qmailtoaster-current: mirror2.qmailtoaster.com
* qmailtoaster-current-nodist: mirror2.qmailtoaster.com
* qmt-current: ftp.whitehorsetc.com
* remi: rpms.remirepo.net
* remi-php56: rpms.remirepo.net
* remi-safe: rpms.remirepo.net
* rpmforge: www.mirrorservice.org
* updates: repos.dfw.quadranet.com
* webtatic: us-east.repo.webtatic.com
base | 3.7 kB 00:00
epel | 4.3 kB 00:00
epel/primary_db | 5.9 MB 00:01
extras | 3.4 kB 00:00
qmailtoaster-current | 2.9 kB 00:00
qmailtoaster-current-nodist | 2.9 kB 00:00
qmt-current | 2.9 kB 00:00
remi | 2.9 kB 00:00
remi/primary_db | 1.7 MB 00:03
remi-php56 | 2.9 kB 00:00
remi-php56/primary_db | 218 kB 00:01
remi-safe | 2.9 kB 00:00
remi-safe/primary_db | 725 kB 00:02
rpmforge | 1.9 kB 00:00
rspamd/signature | 833 B 00:00
rspamd/signature | 2.9 kB 00:00 ...
rspamd/primary_db | 7.5 kB 00:00
updates | 3.4 kB 00:00
updates/primary_db | 828 kB 00:01
webtatic | 3.6 kB 00:00
webtatic/primary_db | 218 kB 00:00
28 packages excluded due to repository priority protections
0 packages excluded due to repository protections
mysql-libs-5.1.73-8.el6_8.i686 : The shared libraries required for
MySQL clients
Repo : base
Matched from:
Other : libmysqlclient_r.so.16
Eric
On 5/17/2017 1:19 AM, Todor Petrov wrote:
Hi all,
I have a installation of Centos 6 and qmailtoaster. Everything
was fine before I tried to update from the testing repo.
Now few packages cant update and show errors of missing
libmysqlclient_r.so.16(libmysqlclient_16)(64bit)
everything else is fully updated and there are no more packages
for mysql libs in the repo.
Can someone help me how to fix this issue?
I see the development of qmt for Centos7 is very actual and the
installation and configuration looks very easy. Is it recommended
to upgrade to 7?
--
--
Eric Broch
White Horse Technical Consulting (WHTC)
--
Eric Broch
White Horse Technical Consulting (WHTC)
--
Eric Broch
White Horse Technical Consulting (WHTC)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
--
Eric Broch
White Horse Technical Consulting (WHTC)