Migration issue - piler and searchd not starting

Issue #634 closed
Arunmani Murugan created an issue

Dear jsuto,

We are trying to migrate our piler server to another server over cloud As per restore procedure we deleted /var/piler/store sphinx /usr/local/etc/piler.conf piler.key and /var/www/piler and rsynced it from old piler machine

but while starting piler and searchd service not working FYI, old piler version, root@mailarchive:~# piler –V piler 0.1.24-master-branch, build 836, Janos SUTO sj@acts.hu Build Date: Tue Dec 31 17:45:01 IST 2013 ldd version: ldd (Ubuntu EGLIBC 2.15-0ubuntu10.5) 2.15 gcc version: gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) Configure command: ./configure --localstatedir=/var --enable-starttls --enable-tcpwrappers --enable-clamd --enable-memcached --with-database=mysql

new piler version, -sh-4.1$ piler -v piler 1.1.1, build 904, Janos SUTO sj@acts.hu Build Date: Sat Oct 24 16:32:47 JST 2015 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-tcpwrappers --enable-starttls

Please help me to resolve the issue and get piler and searchd service running.

Comments (7)

  1. Janos SUTO repo owner

    You didn't tell me any specific thing I could start on. What error message do you get in mail log, does piler start at all, etc.

  2. Janos SUTO repo owner

    The "cannot bind to port" indicates that something is listening on where piler should. Check what it is, and make it stop. Also notice the sql error. Newer versions of piler may require fixing the database scheme. Check out the upgrade docs to see what you need to do.

    Also you have to fix the sphinx config as well, since 2.2 sphinx has slightly different options than 2.0. Check out the piler shipped version of the sphinx config to see what you need to fix. Also note that the 2.0 -> 2.2 sphinx upgrade may require you to drop all the indices, and reindex from scratch. You'll see.

  3. Arunmani Murugan reporter

    Dear jsuto,

    I have started rc.piler service.. as you said it had issue with ports conflict between postfix and piler.. so stopped postfix and restarted piler worked.. For sphinx service and MySQL fix am waiting for approval from superiors for upgradation as piler 0.1.24 is in production.

    I will update the status once it is done.

  4. Log in to comment