Description of problem: [root@dhcp231-29 log]# /etc/init.d/solr status rake is stopped [root@dhcp231-29 log]# rpm -qa | grep aeolus aeolus-conductor-0.0.3-0.fc14.20110330133246git37c7457.x86_64 aeolus-configure-2.0.0-5.fc14.2011033093316gitecf8f95.noarch aeolus-conductor-daemons-0.0.3-0.fc14.20110330133246git37c7457.x86_64 aeolus-conductor-doc-0.0.3-0.fc14.20110330133246git37c7457.x86_64
The init script in puppet checks status on the wrong thing. The script will require a bigger change because it is possible to have multiple instances of solr running, so we need to distinguish between them.
fixed on commit 031813d68451a64e9f173d8cf08ed68cba8b714d
/etc/init.d/solr status still returns rake info. It should return solr status. verification details: [root@nec-em19 ~]# /etc/init.d/solr status rake (pid 6925) is running... verified on: [root@nec-em19 ~]# rpm -qa | grep aeolus rubygem-aeolus-cli-0.0.1-1.fc14.20110620142346git1c969a7.noarch aeolus-conductor-doc-0.3.0-0.fc14.20110620142346git1c969a7.noarch aeolus-conductor-daemons-0.3.0-0.fc14.20110620142346git1c969a7.noarch aeolus-conductor-0.3.0-0.fc14.20110620142346git1c969a7.noarch aeolus-all-0.3.0-0.fc14.20110620142346git1c969a7.noarch aeolus-configure-2.0.1-0.fc14.20110602110128git5cb9257.noarch
I think this is just a misunderstanding. If you look at /etc/init.d/solr, you'll see that solr is actually a rake process. The PROG is /usr/bin/rake. rake is used to start, stop, and check status of solr. If you do a ps -ef | grep solr, you'll see that the process id matches the id displayed by "service solr status".
<weshay> rwsu, morazi there is a diff between doing the right thing / wrong thing and whats obvious to a new user.. agreed its doing the right thing, but its not obvious <weshay> honestly I would just remove "rake" from that line
Status should now be reported as "solr" instead of "rake". aeolus-configure-2.0.1-0.fc14.20110622123902gitdf4ae05.noarch.rpm
[root@ibm-x3950m2-01 noarch]# /etc/init.d/solr status solr (pid 22403) is running... [root@ibm-x3950m2-01 noarch]# [root@ibm-x3950m2-01 noarch]# rpm -qa | grep aeolus aeolus-conductor-0.3.0-0.el6.20110623205403git551632a.noarch aeolus-configure-2.0.1-0.el6.20110622123902gitdf4ae05.noarch aeolus-conductor-doc-0.3.0-0.el6.20110623205403git551632a.noarch aeolus-all-0.3.0-0.el6.20110623205403git551632a.noarch rubygem-aeolus-cli-0.0.1-1.el6.20110623205403git551632a.noarch aeolus-conductor-daemons-0.3.0-0.el6.20110623205403git551632a.noarch aeolus-conductor-devel-0.3.0-0.el6.20110623205403git551632a.noarch
release pending...
perm close