Friday 18 March 2011 11:50:04 am
Hi guys, I am experiencing problems making solr server run as service... - Here I set the SOLR_HOME=/var/www/vhosts/xxxxxxxx.net/httpdocs/extension/ezfind/java in /extension/ezfind/bin/scripts/rhel/solr file - and then copied the red hat solr file in the /etc/init.d directory..
[root@xx ~]# cp /var/www/vhosts/xxxxxx.net/httpdocs/extension/ezfind/bin/scripts/rhel/solr /etc/init.d - Set the solr file permission to be executable..
[root@xx ~]# chmod +x /etc/init.d/solr - Manually set the virtual links..
[root@xx ~]# cd /etc/rc3.d
[root@xx rc3.d]# ln -s ../init.d/solr S70solr
[root@xx rc3.d]# ln -s ../init.d/solr K70solr
[root@xx rc3.d]# cd /etc/rc5.d
[root@xx rc5.d]# ln -s ../init.d/solr S70solr
[root@xx rc5.d]# ln -s ../init.d/solr K70solr When starting solr..
[root@xx ~]# /etc/init.d/solr start ..it seems to go fine as it responds this way..
/etc/init.d/solr: line 24: /var/www/vhosts/xxxx.net/httpdocs/extension/ezfind/java: is a directory
* Starting Solr indexing server (solr)
...done. ..but when checking the status..
[root@xx ~]# /etc/init.d/solr status .. it echoes solr's not running ...
/etc/init.d/solr: line 24: /var/www/vhosts/xxxxxx.net/httpdocs/extension/ezfind/java: is a directory
* Solr indexing server (solr) is not running What can this depend on? Any idea? I really look forward to your helpful reply. Thanks!
loredanaebook.it
|