mailpiler not getting starts

Issue #673 closed
nikhildas created an issue

Getting error while applying Archive rule and gui also giving error as Add the following to /etc/sudoers: 'www-data ALL=NOPASSWD: /etc/init.d/rc.piler reload' even adding as the same apache ALL=NOPASSWD: /etc/init.d/mailpiler reload Defaults requiretty Defaults:%apache !requiretty

stopping piler starting piler . . . /etc/init.d/piler: line 10: 3150 Segmentation fault /usr/local/sbin/piler -d OS is CENTOS 6.7 piler is piler 0.1.24-master-branch, build 836, Janos SUTO sj@acts.hu

Build Date: Thu Mar 17 12:36:42 IST 2016 ldd version: ldd (GNU libc) 2.12 gcc version: gcc version 4.4.7 20120313 (Red Hat 4.4.7-16) (GCC) Configure command: ./configure --localstatedir=/var --with-database=mysql --enable-starttls

Comments (13)

  1. Janos SUTO repo owner

    First of all: don't create two issues on the same problem.

    Then I'm not sure why you use 0.1.24. It's an obsolete build, and unfortunately it wasn't a quite good one. I suggest you to install 1.1.1 (or you may try even the master branch as well), if it's a new installation.

    The problem seems obvious (based on #672), the piler daemon cannot connect to the mysql server by using the credentials in piler.conf.

  2. nikhildas reporter

    Now am able to leave the error on Webgui by adding the /etc/init.d/piler reload instead of rc.piler on the file in webfolder /controller/policy/apply.php and it showing rule Aplied but same time in server piler service get stopped. To start again piler I need to remove the rule ,the error is getting after the rules is

    starting piler . . . /etc/init.d/piler: line 10: 1874 Segmentation fault /usr/local/sbin/piler -d My vim /etc/init.d/piler is as NAME=piler PID_FILE=/usr/local/sbin/pilerconf -q pidfile | cut -f2 -d= PID_NUMBER=test -f ${PID_FILE} && cat ${PID_FILE}

    start() { echo "starting $NAME . . ." /usr/local/sbin/piler -d }

    stop() { echo "stopping $NAME" kill ${PID_NUMBER} }

    check_status(){ test -f /proc/${PID_NUMBER}/status }

    case "$1" in start) start;

  3. nikhildas reporter

    HI

    I did the installation piler 1.1.1, build 904, Janos SUTO sj@acts.hu

    Build Date: Tue Apr 5 13:41:43 IST 2016 ldd version: ldd (GNU libc) 2.12 gcc version: gcc version 4.4.7 20120313 (Red Hat 4.4.7-16) (GCC) Configure command: ./configure --localstatedir=/var --with-database=mysql --enable-starttls –enable-tcpwrappers

    Will update you acfter checkup ,since its not listed through sphinx on auditor login can I make the listing with in 10mns through crontab.

  4. Janos SUTO repo owner

    I don't follow you, but I hope you can make it. If you encounter a problem, then reopen this issue.

  5. nikhildas reporter

    HI

    Can you help me please where can i define toindex more than 1000 in control panel auditor search

  6. Janos SUTO repo owner

    edit config-site.php, and add/edit like below:

    $config['MAX_SEARCH_HITS'] = 5000;
    

    However, note that the max value is the same for both audit records and search records, so be sure to read the FAQ, and fix the sphinx part as well.

  7. nikhildas reporter

    Hi

    Now the starting problem what i mentioned reload when applying through web-gui has been rectified with the help of piler 1.1.1 .Pleas help me on the archiving rule I endable archiving rule with a from address to spam ,how can i test the functioality since still te mails from the sender is listing on the auditor.

  8. nikhildas reporter

    Hi

    I tired with retention rule also from a sender as 2 days ,that also not getting applied in server log

    the log saying as retention=2557, delay=0.08, delays=0.08/0.00/0.00/0.00/0.00/0.00, status=stored

    please help

  9. Log in to comment