Piler Service start error
When i try starting piler service i get following error.
starting piler . . . /etc/init.d/mailpiler: line 7: 25795 Segmentation fault (core dumped) /usr/local/sbin/piler -d
Regards Vicku
Comments (24)
-
repo owner -
reporter - attached messgaes.txt
piler 0.1.24-master-branch, build 836, Janos SUTO sj@acts.hu
Build Date: Thu Sep 12 09:48:26 IST 2013 ldd version: ldd (GNU libc) 2.12 gcc version: gcc version 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC) Configure command: ./configure --localstatedir=/var --with-database=mysql
Linux 2.6.32-358.18.1.el6.centos.plus.i686
#1SMP Wed Aug 28 14:12:36 UTC 2013 i686 i686 i386 GNU/Linux -
repo owner so it's a 32-bit centos 6.4, right? Is it a fresh install or an upgraded system? Do you have any archiving or retention rules set? Is there anything in /var/log/maillog syslog and messages could be related to the issue?
-
reporter Yes it is a fresh installation No i have not set any archiving or retention rules Nope i dint find any error in maillog and syslog but i had attache messages in my last post.
-
The same issue, CentOS 6.4 mariadb-server-5.5.32-2.el6.x86_64
#! piler -v piler 0.1.24-master-branch, build 836, Janos SUTO <sj@acts.hu> Build Date: Thu Sep 12 06:06:00 EDT 2013 ldd version: ldd (GNU libc) 2.12 gcc version: gcc version 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC) Configure command: ./configure --localstatedir=/var --with-database=mysql --enable-starttls --enable-tcpwrappers
kernel: piler[1489]: segfault at 118 ip 00007f907eb37fc2 sp 00007fffa5ccc3d0 error 4 in libmysqlclient.so.18.0.0[7f907eb1a000+2d6000]
-
repo owner wait a second. Did you install mariadb from the beginning or you installed stock mysql, and then switched to mariadb?
-
It is fresh server installation
On another server i use mariadb-server-5.5.32-1.el6.x86_64 with
piler 0.1.23, build 789, Janos SUTO <sj@acts.hu> Build Date: Fri Aug 16 05:57:45 EDT 2013 ldd version: ldd (GNU libc) 2.12 gcc version: gcc version 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC) Configure command: ./configure --localstatedir=/var --enable-starttls --enable-tcpwrappers
-
repo owner OK, I'm setting up a centos 6.4 x64 install and try it. I'1ll let you know what I find.
-
repo owner installed piler latest master branch with stock mysql: starts properly. Installed with mariadb: it crashes right after starting. Investigating the issue...
-
repo owner It appears that the mariadb version of libmysqlclient.so differs from the stock centos shipped libmysqlclient_r.so.16. I did the following:
installed stock centos mysql packages, installed piler latest master branch, and verified that it works. Then saved /usr/lib64/libmysqlclient_r:16.so (see ldd /usr/local/sbin/piler to figure out the exact lib).
Then removed the mysql packages, and put the saved libmysqlclient_r.so.16.0 file to /usr/local/lib
Finally installed mariadb packages, started mysql (the mariadb version), then started piler, and since it was using a different .so file, it worked.
Still not clear about the source of the problem, but this could be a workaround. I think I'll create an rpm version of piler for centos and redhat. Stay tuned.
-
reporter Kindly provide me step by step resolution to fix my issue
-
repo owner Well, I attached a text file with the steps. Bitbucket kills any formatting :-(
Anyway still investigating why it failed with mariadb's libraries.
-
repo owner - attached mariadb-fix.txt
-
reporter Thanks jsuto but im using 32 bit centos 6.4 The steps provided by you includes file related to 64 bit. Kindly provide steps for 32 bit.
-
repo owner OK, I think it should work with 32-bit, too. Just use "lib" instead of "lib64".
-
It is issue of latest mariadb file /usr/share/aclocal/mysql.m4 from install of mysqlclient16-5.1.61-1.ius.el6.x86_64 conflicts with file from package mariadb-devel-5.5.32-2.el6.x86_64
and package mysqlclient16 was replaced
-
repo owner Have you uninstalled mariadb packages, then installed mysql-devel, then recompiled piler, then removed mysql packages, and finally reinstalled mariadb* packages? Because they shouldn't conflict if at a given time only one of them are installed on your system.
-
I've installed mysql-5.1.69-1.el6_4.x86_64 piler recompiled and started, but when i made second time /etc/init.d/rc.piler reload after adding archiving rule
i got
1466 Segmentation fault /usr/local/sbin/piler -d
kernel: piler[1381]: segfault at 0 ip 00007f16b44a6d9f sp 00007fff4fae18d8 error 4 in libc-2.12.so[7f16b4374000+18a000]
glibc-2.12-1.107.el6_4.4.x86_64 installed. server reboot does not help. piler not started after 2nd reload
-
repo owner In the meantime I added mariadb support to the latest master branch by using their "MariaDB Client Library for C 1.0.0 Stable".
All you have to do is to remove all stock mysql packages, install mariadb packages. Then run ./configure .... --with-database=mariadb then you are likely to get an error indicating you don't have mariadb client library installed.
Fear not, go to the webpage it says, and download and install the appropriate version (look for your distribution and platform).
-
reporter Dear jsuto still no success even after following the steps provided. same problem
starting piler . . . /etc/init.d/rc.piler: line 11: 8357 Segmentation fault (core dumped) /usr/local/sbin/piler -d
-
repo owner Is a remote assistance possible? I'd login via ssh, and take a look. If it's ok, then please contact me with my email address, see piler -V
-
repo owner Please download the latest master branch, it should fix this error.
-
repo owner ok, I assume this issue is resolved by the master branch
-
repo owner - changed status to resolved
- Log in to comment
What version do you use? (piler -V) What OS / distribution do you use? Is there anything in the maillog?