Piler does not start CentOS 6.5

Issue #327 resolved
Graham Pearson created an issue

Trying this out in a test environment and when I try to start rc.piler with the command

service rc.piler start

produces and error message of:

/usr/local/sbin/pilerconf: error while loading shared libraries: libpiler.so: cannot open shared object file: No such file or directory

The libpiler.so file has been placed in /usr/local/lib

Within the /etc/ld.so.conf.d the piler.conf file has /usr/local/lib so not sure why the startup script is not finding the shared object.

Comments (3)

  1. Graham Pearson reporter

    Before running the service rc.piler start if a user runs the command ldconfig it solved this issue.

    Next issue is when rc.piler is started and rc.searchd is started. Viewing the website for the first time will display

    Error: SQL:STATE[HY000][2003] Can't connect to MySQL server on '127.0.0.1' (13) on database: sphinx

    During the install, the database created was piler but sphinx was not. Any database schema for this database. All config files show piler as the database that I can see.

  2. Janos SUTO repo owner

    sphinx is not a real database, it's a reference for searchd (which acts as a mysql server on a high port). However on centos I think it's a selinux restriction. Make sure to set the following:

    setsebool -P httpd_can_network_connect=1

    then try again.

  3. Log in to comment