Forums / Extensions / eZ Find / script to run solr as a service

script to run solr as a service

Author Message

laurent le cadet

Thursday 03 January 2008 2:25:08 am

Hi,

I would like to know if there is a script to run solr as a service (start/stop/restart...) on the web server (chkconfig -> script).

Best regards.

Laurent

Gaetano Giunta

Thursday 03 January 2008 6:46:12 am

There you go: http://issues.ez.no/IssueView.php?Id=12142&activeItem=12

Bonne Annee!
Gaetano

Principal Consultant International Business
Member of the Community Project Board

laurent le cadet

Thursday 03 January 2008 7:09:32 am

Thanks Gaetano et bonne année également :)

laurent le cadet

Tuesday 05 February 2008 11:30:59 pm

Gaetano,

We still have problem to use is find as service.
The script (http://issues.ez.no/IssueView.php?Id=12142&activeItem=12) doesn't seems to be ok with our server configuration (redhat (rhel4) + Centos 4.5) and I don't really know how to rewrite it.

Any hint?

Laurent

Guillaume Kulakowski

Friday 15 February 2008 3:22:29 am

In RHEL5, there isn't "start-stop-daemon" script.

You can use the daemon application :

man daemon

Look at the oters script in /etc/init.d/ for a exemple

My blog : http://www.llaumgui.com (not in eZ Publish ;-))
eZC on RHEL : http://blog.famillecollet.com/pages/Config-en
eZC on Fedora : just "yum install php-channel-ezc"