sphinx on centos 7 cant started because of searchd.pid absent
centos7, php-5.4, sphinx
Solution
I have just resolved this issue.
I took a look at sphinx log /var/log/sphinx/searchd.log and noted that some data files under folder /var/log/sphinx/data/ are Permission denied;
I set `chown` sphinx:sphinx on /var/log/sphinx/data/ folder and It started to work as charm )
Thanks
Problem
I installed sphinx-2.2.11 on my CentOS 7 ``` yum install -y postgresql-libs unixODBC wget http://sphinxsearch.com/files/sphinx-2.2.11-1.rhel7.x86_64.rpm yum install sphinx-2.2.11-1.rhel7.x86_64.rpm ``` Installation went without any errors and then I created sphinx config and installed php extension (also all without error) I restart apache (httpd) and I tried to START sphinx service ``` systemctl start searchd ``` I got this message Job for searchd.service failed because a configured resource limit was > exceeded. See "systemctl status searchd.service" and "journalctl -xe" for details. after launch command - systemctl status searchd.service May 02 20:28:57 kvmde43-10657.fornex.org systemd[1]: Failed to read PID from file /var/run/sphinx/searchd.pid: Invalid argument May 02 20:28:57 kvmde43-10657.fornex.org systemd[1]: Failed to start SphinxSearch Search Engine. In fact I havn't "searchd.pid" anywhere at system though installation went good) How should I fix it ? Thanks in advance