You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Raheel Hasan <ra...@gmail.com> on 2013/10/22 18:42:17 UTC
Stop/Restart Solr
Hi,
is there a way to stop/restart java? I lost control over it via SSH and
connection was closed. But the Solr (start.jar) is still running.
thanks.
--
Regards,
Raheel Hasan
Re: Stop/Restart Solr
Posted by Raheel Hasan <ra...@gmail.com>.
also, is this DSTOP.PORT same as on which solr is visible on a browser
(i.e. like 8983 from http://localhost:8983)?
On Wed, Oct 23, 2013 at 2:49 PM, Raheel Hasan <ra...@gmail.com>wrote:
> Kill -9 #### didnt kill it... ... the process is now again listed, but
> with PPID=1 which I dont want to kill as many processes have this same id...
>
>
> On Tue, Oct 22, 2013 at 11:59 PM, Utkarsh Sengar <ut...@gmail.com>wrote:
>
>> We use this to start/stop solr:
>>
>> Start:
>> java -Dsolr.clustering.enabled=true -Dsolr.solr.home=multicore
>> -Djetty.class.path=lib/ext/* -Dbootstrap_conf=true -DnumShards=3
>> -DSTOP.PORT=8079 -DSTOP.KEY=some_value -jar start.jar
>>
>> Stop:
>> java -Dsolr.solr.home=multicore -Dbootstrap_conf=true -DnumShards=3
>> -DSTOP.PORT=8079 -DSTOP.KEY=some_value -jar start.jar --stop
>>
>>
>> Thanks,
>> -Utkarsh
>>
>>
>>
>> On Tue, Oct 22, 2013 at 10:09 AM, Raheel Hasan <raheelhasan.fsd@gmail.com
>> >wrote:
>>
>> > ok fantastic... thanks a lot guyz....
>> >
>> >
>> > On Tue, Oct 22, 2013 at 10:00 PM, François Schiettecatte <
>> > fschiettecatte@gmail.com> wrote:
>> >
>> > > Yago has the right command to search for the process, that will get
>> you
>> > > the process ID specifically the first number on the output line, then
>> do
>> > > 'kill ###', if that fails 'kill -9 ###'.
>> > >
>> > > François
>> > >
>> > > On Oct 22, 2013, at 12:56 PM, Raheel Hasan <raheelhasan.fsd@gmail.com
>> >
>> > > wrote:
>> > >
>> > > > its CentOS...
>> > > >
>> > > > and using jetty with solr here..
>> > > >
>> > > >
>> > > > On Tue, Oct 22, 2013 at 9:54 PM, François Schiettecatte <
>> > > > fschiettecatte@gmail.com> wrote:
>> > > >
>> > > >> A few more specifics about the environment would help,
>> > > Windows/Linux/...?
>> > > >> Jetty/Tomcat/...?
>> > > >>
>> > > >> François
>> > > >>
>> > > >> On Oct 22, 2013, at 12:50 PM, Yago Riveiro <yago.riveiro@gmail.com
>> >
>> > > wrote:
>> > > >>
>> > > >>> If you are asking about if solr has a way to restart himself, I
>> think
>> > > >> that the answer is no.
>> > > >>>
>> > > >>> If you lost control of the remote machine someone will need to go
>> and
>> > > >> restart the machine ...
>> > > >>>
>> > > >>> You can try use a kvm or other remote control system
>> > > >>>
>> > > >>> --
>> > > >>> Yago Riveiro
>> > > >>> Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
>> > > >>>
>> > > >>>
>> > > >>> On Tuesday, October 22, 2013 at 5:46 PM, François Schiettecatte
>> > wrote:
>> > > >>>
>> > > >>>> If you are on linux/unix, use the kill command.
>> > > >>>>
>> > > >>>> François
>> > > >>>>
>> > > >>>> On Oct 22, 2013, at 12:42 PM, Raheel Hasan <
>> > raheelhasan.fsd@gmail.com
>> > > (mailto:
>> > > >> raheelhasan.fsd@gmail.com)> wrote:
>> > > >>>>
>> > > >>>>> Hi,
>> > > >>>>>
>> > > >>>>> is there a way to stop/restart java? I lost control over it via
>> SSH
>> > > and
>> > > >>>>> connection was closed. But the Solr (start.jar) is still
>> running.
>> > > >>>>>
>> > > >>>>> thanks.
>> > > >>>>>
>> > > >>>>> --
>> > > >>>>> Regards,
>> > > >>>>> Raheel Hasan
>> > > >>>>>
>> > > >>>>
>> > > >>>>
>> > > >>>>
>> > > >>>
>> > > >>>
>> > > >>
>> > > >>
>> > > >
>> > > >
>> > > > --
>> > > > Regards,
>> > > > Raheel Hasan
>> > >
>> > >
>> >
>> >
>> > --
>> > Regards,
>> > Raheel Hasan
>> >
>>
>>
>>
>> --
>> Thanks,
>> -Utkarsh
>>
>
>
>
> --
> Regards,
> Raheel Hasan
>
--
Regards,
Raheel Hasan
Re: Stop/Restart Solr
Posted by Raheel Hasan <ra...@gmail.com>.
ok got it.... thanks :)
On Wed, Oct 23, 2013 at 7:33 PM, Walter Underwood <wu...@wunderwood.org>wrote:
> PPID is the "parent process ID". You want to kill the PID, not the PPID.
>
> wunder
>
> On Oct 23, 2013, at 3:09 AM, Jeevanandam M. wrote:
>
> > It seems process started recently. Is there any external cron/process
> triggering a startup of Solr?
> > Kill again and monitor it.
> >
> > - Jeeva
> >
> > ---------- Original Message ----------
> > From: Raheel Hasan [mailto:raheelhasan.fsd@gmail.com]
> > Sent: October 23, 2013 3:29:47 PM GMT+05:30
> > To: solr-user@lucene.apache.org
> > Subject: Re: Stop/Restart Solr
> >
> >
> > 31173 1 0 16:45 ? 00:00:08 java -jar start.jar
> >
> >
> > On Wed, Oct 23, 2013 at 2:53 PM, Jeevanandam M. <je...@myjeeva.com>
> wrote:
> >
> >> Can you please share output of following command?
> >> ps -ef | grep 'start.jar'
> >>
> >> - Jeeva
> >>
> >> ---------- Original Message ----------
> >> From: Raheel Hasan [mailto:raheelhasan.fsd@gmail.com]
> >> Sent: October 23, 2013 3:19:46 PM GMT+05:30
> >> To: solr-user@lucene.apache.org
> >> Subject: Re: Stop/Restart Solr
> >>
> >>
> >> Kill -9 #### didnt kill it... ... the process is now again listed, but
> with
> >> PPID=1 which I dont want to kill as many processes have this same id...
> >>
> >>
> >> On Tue, Oct 22, 2013 at 11:59 PM, Utkarsh Sengar <utkarsh2012@gmail.com
> >>> wrote:
> >>
> >>> We use this to start/stop solr:
> >>>
> >>> Start:
> >>> java -Dsolr.clustering.enabled=true -Dsolr.solr.home=multicore
> >>> -Djetty.class.path=lib/ext/* -Dbootstrap_conf=true -DnumShards=3
> >>> -DSTOP.PORT=8079 -DSTOP.KEY=some_value -jar start.jar
> >>>
> >>> Stop:
> >>> java -Dsolr.solr.home=multicore -Dbootstrap_conf=true -DnumShards=3
> >>> -DSTOP.PORT=8079 -DSTOP.KEY=some_value -jar start.jar --stop
> >>>
> >>>
> >>> Thanks,
> >>> -Utkarsh
> >>>
> >>>
> >>>
> >>> On Tue, Oct 22, 2013 at 10:09 AM, Raheel Hasan <
> >> raheelhasan.fsd@gmail.com
> >>>> wrote:
> >>>
> >>>> ok fantastic... thanks a lot guyz....
> >>>>
> >>>>
> >>>> On Tue, Oct 22, 2013 at 10:00 PM, François Schiettecatte <
> >>>> fschiettecatte@gmail.com> wrote:
> >>>>
> >>>>> Yago has the right command to search for the process, that will get
> you
> >>>>> the process ID specifically the first number on the output line, then
> >>> do
> >>>>> 'kill ###', if that fails 'kill -9 ###'.
> >>>>>
> >>>>> François
> >>>>>
> >>>>> On Oct 22, 2013, at 12:56 PM, Raheel Hasan <
> raheelhasan.fsd@gmail.com>
> >>>>> wrote:
> >>>>>
> >>>>>> its CentOS...
> >>>>>>
> >>>>>> and using jetty with solr here..
> >>>>>>
> >>>>>>
> >>>>>> On Tue, Oct 22, 2013 at 9:54 PM, François Schiettecatte <
> >>>>>> fschiettecatte@gmail.com> wrote:
> >>>>>>
> >>>>>>> A few more specifics about the environment would help,
> >>>>> Windows/Linux/...?
> >>>>>>> Jetty/Tomcat/...?
> >>>>>>>
> >>>>>>> François
> >>>>>>>
> >>>>>>> On Oct 22, 2013, at 12:50 PM, Yago Riveiro <yago.riveiro@gmail.com
> >
> >>>>> wrote:
> >>>>>>>
> >>>>>>>> If you are asking about if solr has a way to restart himself, I
> >>> think
> >>>>>>> that the answer is no.
> >>>>>>>>
> >>>>>>>> If you lost control of the remote machine someone will need to go
> >>> and
> >>>>>>> restart the machine ...
> >>>>>>>>
> >>>>>>>> You can try use a kvm or other remote control system
> >>>>>>>>
> >>>>>>>> --
> >>>>>>>> Yago Riveiro
> >>>>>>>> Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> On Tuesday, October 22, 2013 at 5:46 PM, François Schiettecatte
> >>>> wrote:
> >>>>>>>>
> >>>>>>>>> If you are on linux/unix, use the kill command.
> >>>>>>>>>
> >>>>>>>>> François
> >>>>>>>>>
> >>>>>>>>> On Oct 22, 2013, at 12:42 PM, Raheel Hasan <
> >>>> raheelhasan.fsd@gmail.com
> >>>>> (mailto:
> >>>>>>> raheelhasan.fsd@gmail.com)> wrote:
> >>>>>>>>>
> >>>>>>>>>> Hi,
> >>>>>>>>>>
> >>>>>>>>>> is there a way to stop/restart java? I lost control over it via
> >>> SSH
> >>>>> and
> >>>>>>>>>> connection was closed. But the Solr (start.jar) is still
> running.
> >>>>>>>>>>
> >>>>>>>>>> thanks.
> >>>>>>>>>>
> >>>>>>>>>> --
> >>>>>>>>>> Regards,
> >>>>>>>>>> Raheel Hasan
> >>>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>
> >>>>>>
> >>>>>> --
> >>>>>> Regards,
> >>>>>> Raheel Hasan
> >>>>>
> >>>>>
> >>>>
> >>>>
> >>>> --
> >>>> Regards,
> >>>> Raheel Hasan
> >>>>
> >>>
> >>>
> >>>
> >>> --
> >>> Thanks,
> >>> -Utkarsh
> >>>
> >>
> >>
> >>
> >> --
> >> Regards,
> >> Raheel Hasan
> >>
> >>
> >>
> >>
> >
> >
> > --
> > Regards,
> > Raheel Hasan
> >
> >
> >
>
> --
> Walter Underwood
> wunder@wunderwood.org
>
>
>
>
--
Regards,
Raheel Hasan
Re: Stop/Restart Solr
Posted by Walter Underwood <wu...@wunderwood.org>.
PPID is the "parent process ID". You want to kill the PID, not the PPID.
wunder
On Oct 23, 2013, at 3:09 AM, Jeevanandam M. wrote:
> It seems process started recently. Is there any external cron/process triggering a startup of Solr?
> Kill again and monitor it.
>
> - Jeeva
>
> ---------- Original Message ----------
> From: Raheel Hasan [mailto:raheelhasan.fsd@gmail.com]
> Sent: October 23, 2013 3:29:47 PM GMT+05:30
> To: solr-user@lucene.apache.org
> Subject: Re: Stop/Restart Solr
>
>
> 31173 1 0 16:45 ? 00:00:08 java -jar start.jar
>
>
> On Wed, Oct 23, 2013 at 2:53 PM, Jeevanandam M. <je...@myjeeva.com> wrote:
>
>> Can you please share output of following command?
>> ps -ef | grep 'start.jar'
>>
>> - Jeeva
>>
>> ---------- Original Message ----------
>> From: Raheel Hasan [mailto:raheelhasan.fsd@gmail.com]
>> Sent: October 23, 2013 3:19:46 PM GMT+05:30
>> To: solr-user@lucene.apache.org
>> Subject: Re: Stop/Restart Solr
>>
>>
>> Kill -9 #### didnt kill it... ... the process is now again listed, but with
>> PPID=1 which I dont want to kill as many processes have this same id...
>>
>>
>> On Tue, Oct 22, 2013 at 11:59 PM, Utkarsh Sengar <utkarsh2012@gmail.com
>>> wrote:
>>
>>> We use this to start/stop solr:
>>>
>>> Start:
>>> java -Dsolr.clustering.enabled=true -Dsolr.solr.home=multicore
>>> -Djetty.class.path=lib/ext/* -Dbootstrap_conf=true -DnumShards=3
>>> -DSTOP.PORT=8079 -DSTOP.KEY=some_value -jar start.jar
>>>
>>> Stop:
>>> java -Dsolr.solr.home=multicore -Dbootstrap_conf=true -DnumShards=3
>>> -DSTOP.PORT=8079 -DSTOP.KEY=some_value -jar start.jar --stop
>>>
>>>
>>> Thanks,
>>> -Utkarsh
>>>
>>>
>>>
>>> On Tue, Oct 22, 2013 at 10:09 AM, Raheel Hasan <
>> raheelhasan.fsd@gmail.com
>>>> wrote:
>>>
>>>> ok fantastic... thanks a lot guyz....
>>>>
>>>>
>>>> On Tue, Oct 22, 2013 at 10:00 PM, François Schiettecatte <
>>>> fschiettecatte@gmail.com> wrote:
>>>>
>>>>> Yago has the right command to search for the process, that will get you
>>>>> the process ID specifically the first number on the output line, then
>>> do
>>>>> 'kill ###', if that fails 'kill -9 ###'.
>>>>>
>>>>> François
>>>>>
>>>>> On Oct 22, 2013, at 12:56 PM, Raheel Hasan <ra...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> its CentOS...
>>>>>>
>>>>>> and using jetty with solr here..
>>>>>>
>>>>>>
>>>>>> On Tue, Oct 22, 2013 at 9:54 PM, François Schiettecatte <
>>>>>> fschiettecatte@gmail.com> wrote:
>>>>>>
>>>>>>> A few more specifics about the environment would help,
>>>>> Windows/Linux/...?
>>>>>>> Jetty/Tomcat/...?
>>>>>>>
>>>>>>> François
>>>>>>>
>>>>>>> On Oct 22, 2013, at 12:50 PM, Yago Riveiro <ya...@gmail.com>
>>>>> wrote:
>>>>>>>
>>>>>>>> If you are asking about if solr has a way to restart himself, I
>>> think
>>>>>>> that the answer is no.
>>>>>>>>
>>>>>>>> If you lost control of the remote machine someone will need to go
>>> and
>>>>>>> restart the machine ...
>>>>>>>>
>>>>>>>> You can try use a kvm or other remote control system
>>>>>>>>
>>>>>>>> --
>>>>>>>> Yago Riveiro
>>>>>>>> Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
>>>>>>>>
>>>>>>>>
>>>>>>>> On Tuesday, October 22, 2013 at 5:46 PM, François Schiettecatte
>>>> wrote:
>>>>>>>>
>>>>>>>>> If you are on linux/unix, use the kill command.
>>>>>>>>>
>>>>>>>>> François
>>>>>>>>>
>>>>>>>>> On Oct 22, 2013, at 12:42 PM, Raheel Hasan <
>>>> raheelhasan.fsd@gmail.com
>>>>> (mailto:
>>>>>>> raheelhasan.fsd@gmail.com)> wrote:
>>>>>>>>>
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> is there a way to stop/restart java? I lost control over it via
>>> SSH
>>>>> and
>>>>>>>>>> connection was closed. But the Solr (start.jar) is still running.
>>>>>>>>>>
>>>>>>>>>> thanks.
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Regards,
>>>>>>>>>> Raheel Hasan
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Regards,
>>>>>> Raheel Hasan
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Regards,
>>>> Raheel Hasan
>>>>
>>>
>>>
>>>
>>> --
>>> Thanks,
>>> -Utkarsh
>>>
>>
>>
>>
>> --
>> Regards,
>> Raheel Hasan
>>
>>
>>
>>
>
>
> --
> Regards,
> Raheel Hasan
>
>
>
--
Walter Underwood
wunder@wunderwood.org
Re: Stop/Restart Solr
Posted by Furkan KAMACI <fu...@gmail.com>.
Did you check that is it running as a service or not? If it runs as a
service when even you kill the process it may start again.
2013/10/23 Jeevanandam M. <je...@myjeeva.com>
> It seems process started recently. Is there any external cron/process
> triggering a startup of Solr?
> Kill again and monitor it.
>
> - Jeeva
>
> ---------- Original Message ----------
> From: Raheel Hasan [mailto:raheelhasan.fsd@gmail.com]
> Sent: October 23, 2013 3:29:47 PM GMT+05:30
> To: solr-user@lucene.apache.org
> Subject: Re: Stop/Restart Solr
>
>
> 31173 1 0 16:45 ? 00:00:08 java -jar start.jar
>
>
> On Wed, Oct 23, 2013 at 2:53 PM, Jeevanandam M. <je...@myjeeva.com> wrote:
>
> > Can you please share output of following command?
> > ps -ef | grep 'start.jar'
> >
> > - Jeeva
> >
> > ---------- Original Message ----------
> > From: Raheel Hasan [mailto:raheelhasan.fsd@gmail.com]
> > Sent: October 23, 2013 3:19:46 PM GMT+05:30
> > To: solr-user@lucene.apache.org
> > Subject: Re: Stop/Restart Solr
> >
> >
> > Kill -9 #### didnt kill it... ... the process is now again listed, but
> with
> > PPID=1 which I dont want to kill as many processes have this same id...
> >
> >
> > On Tue, Oct 22, 2013 at 11:59 PM, Utkarsh Sengar <utkarsh2012@gmail.com
> >> wrote:
> >
> >> We use this to start/stop solr:
> >>
> >> Start:
> >> java -Dsolr.clustering.enabled=true -Dsolr.solr.home=multicore
> >> -Djetty.class.path=lib/ext/* -Dbootstrap_conf=true -DnumShards=3
> >> -DSTOP.PORT=8079 -DSTOP.KEY=some_value -jar start.jar
> >>
> >> Stop:
> >> java -Dsolr.solr.home=multicore -Dbootstrap_conf=true -DnumShards=3
> >> -DSTOP.PORT=8079 -DSTOP.KEY=some_value -jar start.jar --stop
> >>
> >>
> >> Thanks,
> >> -Utkarsh
> >>
> >>
> >>
> >> On Tue, Oct 22, 2013 at 10:09 AM, Raheel Hasan <
> > raheelhasan.fsd@gmail.com
> >>> wrote:
> >>
> >>> ok fantastic... thanks a lot guyz....
> >>>
> >>>
> >>> On Tue, Oct 22, 2013 at 10:00 PM, François Schiettecatte <
> >>> fschiettecatte@gmail.com> wrote:
> >>>
> >>>> Yago has the right command to search for the process, that will get
> you
> >>>> the process ID specifically the first number on the output line, then
> >> do
> >>>> 'kill ###', if that fails 'kill -9 ###'.
> >>>>
> >>>> François
> >>>>
> >>>> On Oct 22, 2013, at 12:56 PM, Raheel Hasan <raheelhasan.fsd@gmail.com
> >
> >>>> wrote:
> >>>>
> >>>>> its CentOS...
> >>>>>
> >>>>> and using jetty with solr here..
> >>>>>
> >>>>>
> >>>>> On Tue, Oct 22, 2013 at 9:54 PM, François Schiettecatte <
> >>>>> fschiettecatte@gmail.com> wrote:
> >>>>>
> >>>>>> A few more specifics about the environment would help,
> >>>> Windows/Linux/...?
> >>>>>> Jetty/Tomcat/...?
> >>>>>>
> >>>>>> François
> >>>>>>
> >>>>>> On Oct 22, 2013, at 12:50 PM, Yago Riveiro <ya...@gmail.com>
> >>>> wrote:
> >>>>>>
> >>>>>>> If you are asking about if solr has a way to restart himself, I
> >> think
> >>>>>> that the answer is no.
> >>>>>>>
> >>>>>>> If you lost control of the remote machine someone will need to go
> >> and
> >>>>>> restart the machine ...
> >>>>>>>
> >>>>>>> You can try use a kvm or other remote control system
> >>>>>>>
> >>>>>>> --
> >>>>>>> Yago Riveiro
> >>>>>>> Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
> >>>>>>>
> >>>>>>>
> >>>>>>> On Tuesday, October 22, 2013 at 5:46 PM, François Schiettecatte
> >>> wrote:
> >>>>>>>
> >>>>>>>> If you are on linux/unix, use the kill command.
> >>>>>>>>
> >>>>>>>> François
> >>>>>>>>
> >>>>>>>> On Oct 22, 2013, at 12:42 PM, Raheel Hasan <
> >>> raheelhasan.fsd@gmail.com
> >>>> (mailto:
> >>>>>> raheelhasan.fsd@gmail.com)> wrote:
> >>>>>>>>
> >>>>>>>>> Hi,
> >>>>>>>>>
> >>>>>>>>> is there a way to stop/restart java? I lost control over it via
> >> SSH
> >>>> and
> >>>>>>>>> connection was closed. But the Solr (start.jar) is still running.
> >>>>>>>>>
> >>>>>>>>> thanks.
> >>>>>>>>>
> >>>>>>>>> --
> >>>>>>>>> Regards,
> >>>>>>>>> Raheel Hasan
> >>>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>
> >>>>>>
> >>>>>
> >>>>>
> >>>>> --
> >>>>> Regards,
> >>>>> Raheel Hasan
> >>>>
> >>>>
> >>>
> >>>
> >>> --
> >>> Regards,
> >>> Raheel Hasan
> >>>
> >>
> >>
> >>
> >> --
> >> Thanks,
> >> -Utkarsh
> >>
> >
> >
> >
> > --
> > Regards,
> > Raheel Hasan
> >
> >
> >
> >
>
>
> --
> Regards,
> Raheel Hasan
>
>
>
>
RE: Stop/Restart Solr
Posted by "Jeevanandam M." <je...@myjeeva.com>.
It seems process started recently. Is there any external cron/process triggering a startup of Solr?
Kill again and monitor it.
- Jeeva
---------- Original Message ----------
From: Raheel Hasan [mailto:raheelhasan.fsd@gmail.com]
Sent: October 23, 2013 3:29:47 PM GMT+05:30
To: solr-user@lucene.apache.org
Subject: Re: Stop/Restart Solr
31173 1 0 16:45 ? 00:00:08 java -jar start.jar
On Wed, Oct 23, 2013 at 2:53 PM, Jeevanandam M. <je...@myjeeva.com> wrote:
> Can you please share output of following command?
> ps -ef | grep 'start.jar'
>
> - Jeeva
>
> ---------- Original Message ----------
> From: Raheel Hasan [mailto:raheelhasan.fsd@gmail.com]
> Sent: October 23, 2013 3:19:46 PM GMT+05:30
> To: solr-user@lucene.apache.org
> Subject: Re: Stop/Restart Solr
>
>
> Kill -9 #### didnt kill it... ... the process is now again listed, but with
> PPID=1 which I dont want to kill as many processes have this same id...
>
>
> On Tue, Oct 22, 2013 at 11:59 PM, Utkarsh Sengar <utkarsh2012@gmail.com
>> wrote:
>
>> We use this to start/stop solr:
>>
>> Start:
>> java -Dsolr.clustering.enabled=true -Dsolr.solr.home=multicore
>> -Djetty.class.path=lib/ext/* -Dbootstrap_conf=true -DnumShards=3
>> -DSTOP.PORT=8079 -DSTOP.KEY=some_value -jar start.jar
>>
>> Stop:
>> java -Dsolr.solr.home=multicore -Dbootstrap_conf=true -DnumShards=3
>> -DSTOP.PORT=8079 -DSTOP.KEY=some_value -jar start.jar --stop
>>
>>
>> Thanks,
>> -Utkarsh
>>
>>
>>
>> On Tue, Oct 22, 2013 at 10:09 AM, Raheel Hasan <
> raheelhasan.fsd@gmail.com
>>> wrote:
>>
>>> ok fantastic... thanks a lot guyz....
>>>
>>>
>>> On Tue, Oct 22, 2013 at 10:00 PM, François Schiettecatte <
>>> fschiettecatte@gmail.com> wrote:
>>>
>>>> Yago has the right command to search for the process, that will get you
>>>> the process ID specifically the first number on the output line, then
>> do
>>>> 'kill ###', if that fails 'kill -9 ###'.
>>>>
>>>> François
>>>>
>>>> On Oct 22, 2013, at 12:56 PM, Raheel Hasan <ra...@gmail.com>
>>>> wrote:
>>>>
>>>>> its CentOS...
>>>>>
>>>>> and using jetty with solr here..
>>>>>
>>>>>
>>>>> On Tue, Oct 22, 2013 at 9:54 PM, François Schiettecatte <
>>>>> fschiettecatte@gmail.com> wrote:
>>>>>
>>>>>> A few more specifics about the environment would help,
>>>> Windows/Linux/...?
>>>>>> Jetty/Tomcat/...?
>>>>>>
>>>>>> François
>>>>>>
>>>>>> On Oct 22, 2013, at 12:50 PM, Yago Riveiro <ya...@gmail.com>
>>>> wrote:
>>>>>>
>>>>>>> If you are asking about if solr has a way to restart himself, I
>> think
>>>>>> that the answer is no.
>>>>>>>
>>>>>>> If you lost control of the remote machine someone will need to go
>> and
>>>>>> restart the machine ...
>>>>>>>
>>>>>>> You can try use a kvm or other remote control system
>>>>>>>
>>>>>>> --
>>>>>>> Yago Riveiro
>>>>>>> Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
>>>>>>>
>>>>>>>
>>>>>>> On Tuesday, October 22, 2013 at 5:46 PM, François Schiettecatte
>>> wrote:
>>>>>>>
>>>>>>>> If you are on linux/unix, use the kill command.
>>>>>>>>
>>>>>>>> François
>>>>>>>>
>>>>>>>> On Oct 22, 2013, at 12:42 PM, Raheel Hasan <
>>> raheelhasan.fsd@gmail.com
>>>> (mailto:
>>>>>> raheelhasan.fsd@gmail.com)> wrote:
>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> is there a way to stop/restart java? I lost control over it via
>> SSH
>>>> and
>>>>>>>>> connection was closed. But the Solr (start.jar) is still running.
>>>>>>>>>
>>>>>>>>> thanks.
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Regards,
>>>>>>>>> Raheel Hasan
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Regards,
>>>>> Raheel Hasan
>>>>
>>>>
>>>
>>>
>>> --
>>> Regards,
>>> Raheel Hasan
>>>
>>
>>
>>
>> --
>> Thanks,
>> -Utkarsh
>>
>
>
>
> --
> Regards,
> Raheel Hasan
>
>
>
>
--
Regards,
Raheel Hasan
Re: Stop/Restart Solr
Posted by Raheel Hasan <ra...@gmail.com>.
31173 1 0 16:45 ? 00:00:08 java -jar start.jar
On Wed, Oct 23, 2013 at 2:53 PM, Jeevanandam M. <je...@myjeeva.com> wrote:
> Can you please share output of following command?
> ps -ef | grep 'start.jar'
>
> - Jeeva
>
> ---------- Original Message ----------
> From: Raheel Hasan [mailto:raheelhasan.fsd@gmail.com]
> Sent: October 23, 2013 3:19:46 PM GMT+05:30
> To: solr-user@lucene.apache.org
> Subject: Re: Stop/Restart Solr
>
>
> Kill -9 #### didnt kill it... ... the process is now again listed, but with
> PPID=1 which I dont want to kill as many processes have this same id...
>
>
> On Tue, Oct 22, 2013 at 11:59 PM, Utkarsh Sengar <utkarsh2012@gmail.com
> >wrote:
>
> > We use this to start/stop solr:
> >
> > Start:
> > java -Dsolr.clustering.enabled=true -Dsolr.solr.home=multicore
> > -Djetty.class.path=lib/ext/* -Dbootstrap_conf=true -DnumShards=3
> > -DSTOP.PORT=8079 -DSTOP.KEY=some_value -jar start.jar
> >
> > Stop:
> > java -Dsolr.solr.home=multicore -Dbootstrap_conf=true -DnumShards=3
> > -DSTOP.PORT=8079 -DSTOP.KEY=some_value -jar start.jar --stop
> >
> >
> > Thanks,
> > -Utkarsh
> >
> >
> >
> > On Tue, Oct 22, 2013 at 10:09 AM, Raheel Hasan <
> raheelhasan.fsd@gmail.com
> >> wrote:
> >
> >> ok fantastic... thanks a lot guyz....
> >>
> >>
> >> On Tue, Oct 22, 2013 at 10:00 PM, François Schiettecatte <
> >> fschiettecatte@gmail.com> wrote:
> >>
> >>> Yago has the right command to search for the process, that will get you
> >>> the process ID specifically the first number on the output line, then
> > do
> >>> 'kill ###', if that fails 'kill -9 ###'.
> >>>
> >>> François
> >>>
> >>> On Oct 22, 2013, at 12:56 PM, Raheel Hasan <ra...@gmail.com>
> >>> wrote:
> >>>
> >>>> its CentOS...
> >>>>
> >>>> and using jetty with solr here..
> >>>>
> >>>>
> >>>> On Tue, Oct 22, 2013 at 9:54 PM, François Schiettecatte <
> >>>> fschiettecatte@gmail.com> wrote:
> >>>>
> >>>>> A few more specifics about the environment would help,
> >>> Windows/Linux/...?
> >>>>> Jetty/Tomcat/...?
> >>>>>
> >>>>> François
> >>>>>
> >>>>> On Oct 22, 2013, at 12:50 PM, Yago Riveiro <ya...@gmail.com>
> >>> wrote:
> >>>>>
> >>>>>> If you are asking about if solr has a way to restart himself, I
> > think
> >>>>> that the answer is no.
> >>>>>>
> >>>>>> If you lost control of the remote machine someone will need to go
> > and
> >>>>> restart the machine ...
> >>>>>>
> >>>>>> You can try use a kvm or other remote control system
> >>>>>>
> >>>>>> --
> >>>>>> Yago Riveiro
> >>>>>> Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
> >>>>>>
> >>>>>>
> >>>>>> On Tuesday, October 22, 2013 at 5:46 PM, François Schiettecatte
> >> wrote:
> >>>>>>
> >>>>>>> If you are on linux/unix, use the kill command.
> >>>>>>>
> >>>>>>> François
> >>>>>>>
> >>>>>>> On Oct 22, 2013, at 12:42 PM, Raheel Hasan <
> >> raheelhasan.fsd@gmail.com
> >>> (mailto:
> >>>>> raheelhasan.fsd@gmail.com)> wrote:
> >>>>>>>
> >>>>>>>> Hi,
> >>>>>>>>
> >>>>>>>> is there a way to stop/restart java? I lost control over it via
> > SSH
> >>> and
> >>>>>>>> connection was closed. But the Solr (start.jar) is still running.
> >>>>>>>>
> >>>>>>>> thanks.
> >>>>>>>>
> >>>>>>>> --
> >>>>>>>> Regards,
> >>>>>>>> Raheel Hasan
> >>>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>
> >>>>>>
> >>>>>
> >>>>>
> >>>>
> >>>>
> >>>> --
> >>>> Regards,
> >>>> Raheel Hasan
> >>>
> >>>
> >>
> >>
> >> --
> >> Regards,
> >> Raheel Hasan
> >>
> >
> >
> >
> > --
> > Thanks,
> > -Utkarsh
> >
>
>
>
> --
> Regards,
> Raheel Hasan
>
>
>
>
--
Regards,
Raheel Hasan
RE: Stop/Restart Solr
Posted by "Jeevanandam M." <je...@myjeeva.com>.
Can you please share output of following command?
ps -ef | grep 'start.jar'
- Jeeva
---------- Original Message ----------
From: Raheel Hasan [mailto:raheelhasan.fsd@gmail.com]
Sent: October 23, 2013 3:19:46 PM GMT+05:30
To: solr-user@lucene.apache.org
Subject: Re: Stop/Restart Solr
Kill -9 #### didnt kill it... ... the process is now again listed, but with
PPID=1 which I dont want to kill as many processes have this same id...
On Tue, Oct 22, 2013 at 11:59 PM, Utkarsh Sengar <ut...@gmail.com>wrote:
> We use this to start/stop solr:
>
> Start:
> java -Dsolr.clustering.enabled=true -Dsolr.solr.home=multicore
> -Djetty.class.path=lib/ext/* -Dbootstrap_conf=true -DnumShards=3
> -DSTOP.PORT=8079 -DSTOP.KEY=some_value -jar start.jar
>
> Stop:
> java -Dsolr.solr.home=multicore -Dbootstrap_conf=true -DnumShards=3
> -DSTOP.PORT=8079 -DSTOP.KEY=some_value -jar start.jar --stop
>
>
> Thanks,
> -Utkarsh
>
>
>
> On Tue, Oct 22, 2013 at 10:09 AM, Raheel Hasan <raheelhasan.fsd@gmail.com
>> wrote:
>
>> ok fantastic... thanks a lot guyz....
>>
>>
>> On Tue, Oct 22, 2013 at 10:00 PM, François Schiettecatte <
>> fschiettecatte@gmail.com> wrote:
>>
>>> Yago has the right command to search for the process, that will get you
>>> the process ID specifically the first number on the output line, then
> do
>>> 'kill ###', if that fails 'kill -9 ###'.
>>>
>>> François
>>>
>>> On Oct 22, 2013, at 12:56 PM, Raheel Hasan <ra...@gmail.com>
>>> wrote:
>>>
>>>> its CentOS...
>>>>
>>>> and using jetty with solr here..
>>>>
>>>>
>>>> On Tue, Oct 22, 2013 at 9:54 PM, François Schiettecatte <
>>>> fschiettecatte@gmail.com> wrote:
>>>>
>>>>> A few more specifics about the environment would help,
>>> Windows/Linux/...?
>>>>> Jetty/Tomcat/...?
>>>>>
>>>>> François
>>>>>
>>>>> On Oct 22, 2013, at 12:50 PM, Yago Riveiro <ya...@gmail.com>
>>> wrote:
>>>>>
>>>>>> If you are asking about if solr has a way to restart himself, I
> think
>>>>> that the answer is no.
>>>>>>
>>>>>> If you lost control of the remote machine someone will need to go
> and
>>>>> restart the machine ...
>>>>>>
>>>>>> You can try use a kvm or other remote control system
>>>>>>
>>>>>> --
>>>>>> Yago Riveiro
>>>>>> Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
>>>>>>
>>>>>>
>>>>>> On Tuesday, October 22, 2013 at 5:46 PM, François Schiettecatte
>> wrote:
>>>>>>
>>>>>>> If you are on linux/unix, use the kill command.
>>>>>>>
>>>>>>> François
>>>>>>>
>>>>>>> On Oct 22, 2013, at 12:42 PM, Raheel Hasan <
>> raheelhasan.fsd@gmail.com
>>> (mailto:
>>>>> raheelhasan.fsd@gmail.com)> wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> is there a way to stop/restart java? I lost control over it via
> SSH
>>> and
>>>>>>>> connection was closed. But the Solr (start.jar) is still running.
>>>>>>>>
>>>>>>>> thanks.
>>>>>>>>
>>>>>>>> --
>>>>>>>> Regards,
>>>>>>>> Raheel Hasan
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Regards,
>>>> Raheel Hasan
>>>
>>>
>>
>>
>> --
>> Regards,
>> Raheel Hasan
>>
>
>
>
> --
> Thanks,
> -Utkarsh
>
--
Regards,
Raheel Hasan
Re: Stop/Restart Solr
Posted by Raheel Hasan <ra...@gmail.com>.
Kill -9 #### didnt kill it... ... the process is now again listed, but with
PPID=1 which I dont want to kill as many processes have this same id...
On Tue, Oct 22, 2013 at 11:59 PM, Utkarsh Sengar <ut...@gmail.com>wrote:
> We use this to start/stop solr:
>
> Start:
> java -Dsolr.clustering.enabled=true -Dsolr.solr.home=multicore
> -Djetty.class.path=lib/ext/* -Dbootstrap_conf=true -DnumShards=3
> -DSTOP.PORT=8079 -DSTOP.KEY=some_value -jar start.jar
>
> Stop:
> java -Dsolr.solr.home=multicore -Dbootstrap_conf=true -DnumShards=3
> -DSTOP.PORT=8079 -DSTOP.KEY=some_value -jar start.jar --stop
>
>
> Thanks,
> -Utkarsh
>
>
>
> On Tue, Oct 22, 2013 at 10:09 AM, Raheel Hasan <raheelhasan.fsd@gmail.com
> >wrote:
>
> > ok fantastic... thanks a lot guyz....
> >
> >
> > On Tue, Oct 22, 2013 at 10:00 PM, François Schiettecatte <
> > fschiettecatte@gmail.com> wrote:
> >
> > > Yago has the right command to search for the process, that will get you
> > > the process ID specifically the first number on the output line, then
> do
> > > 'kill ###', if that fails 'kill -9 ###'.
> > >
> > > François
> > >
> > > On Oct 22, 2013, at 12:56 PM, Raheel Hasan <ra...@gmail.com>
> > > wrote:
> > >
> > > > its CentOS...
> > > >
> > > > and using jetty with solr here..
> > > >
> > > >
> > > > On Tue, Oct 22, 2013 at 9:54 PM, François Schiettecatte <
> > > > fschiettecatte@gmail.com> wrote:
> > > >
> > > >> A few more specifics about the environment would help,
> > > Windows/Linux/...?
> > > >> Jetty/Tomcat/...?
> > > >>
> > > >> François
> > > >>
> > > >> On Oct 22, 2013, at 12:50 PM, Yago Riveiro <ya...@gmail.com>
> > > wrote:
> > > >>
> > > >>> If you are asking about if solr has a way to restart himself, I
> think
> > > >> that the answer is no.
> > > >>>
> > > >>> If you lost control of the remote machine someone will need to go
> and
> > > >> restart the machine ...
> > > >>>
> > > >>> You can try use a kvm or other remote control system
> > > >>>
> > > >>> --
> > > >>> Yago Riveiro
> > > >>> Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
> > > >>>
> > > >>>
> > > >>> On Tuesday, October 22, 2013 at 5:46 PM, François Schiettecatte
> > wrote:
> > > >>>
> > > >>>> If you are on linux/unix, use the kill command.
> > > >>>>
> > > >>>> François
> > > >>>>
> > > >>>> On Oct 22, 2013, at 12:42 PM, Raheel Hasan <
> > raheelhasan.fsd@gmail.com
> > > (mailto:
> > > >> raheelhasan.fsd@gmail.com)> wrote:
> > > >>>>
> > > >>>>> Hi,
> > > >>>>>
> > > >>>>> is there a way to stop/restart java? I lost control over it via
> SSH
> > > and
> > > >>>>> connection was closed. But the Solr (start.jar) is still running.
> > > >>>>>
> > > >>>>> thanks.
> > > >>>>>
> > > >>>>> --
> > > >>>>> Regards,
> > > >>>>> Raheel Hasan
> > > >>>>>
> > > >>>>
> > > >>>>
> > > >>>>
> > > >>>
> > > >>>
> > > >>
> > > >>
> > > >
> > > >
> > > > --
> > > > Regards,
> > > > Raheel Hasan
> > >
> > >
> >
> >
> > --
> > Regards,
> > Raheel Hasan
> >
>
>
>
> --
> Thanks,
> -Utkarsh
>
--
Regards,
Raheel Hasan
Re: Stop/Restart Solr
Posted by Utkarsh Sengar <ut...@gmail.com>.
We use this to start/stop solr:
Start:
java -Dsolr.clustering.enabled=true -Dsolr.solr.home=multicore
-Djetty.class.path=lib/ext/* -Dbootstrap_conf=true -DnumShards=3
-DSTOP.PORT=8079 -DSTOP.KEY=some_value -jar start.jar
Stop:
java -Dsolr.solr.home=multicore -Dbootstrap_conf=true -DnumShards=3
-DSTOP.PORT=8079 -DSTOP.KEY=some_value -jar start.jar --stop
Thanks,
-Utkarsh
On Tue, Oct 22, 2013 at 10:09 AM, Raheel Hasan <ra...@gmail.com>wrote:
> ok fantastic... thanks a lot guyz....
>
>
> On Tue, Oct 22, 2013 at 10:00 PM, François Schiettecatte <
> fschiettecatte@gmail.com> wrote:
>
> > Yago has the right command to search for the process, that will get you
> > the process ID specifically the first number on the output line, then do
> > 'kill ###', if that fails 'kill -9 ###'.
> >
> > François
> >
> > On Oct 22, 2013, at 12:56 PM, Raheel Hasan <ra...@gmail.com>
> > wrote:
> >
> > > its CentOS...
> > >
> > > and using jetty with solr here..
> > >
> > >
> > > On Tue, Oct 22, 2013 at 9:54 PM, François Schiettecatte <
> > > fschiettecatte@gmail.com> wrote:
> > >
> > >> A few more specifics about the environment would help,
> > Windows/Linux/...?
> > >> Jetty/Tomcat/...?
> > >>
> > >> François
> > >>
> > >> On Oct 22, 2013, at 12:50 PM, Yago Riveiro <ya...@gmail.com>
> > wrote:
> > >>
> > >>> If you are asking about if solr has a way to restart himself, I think
> > >> that the answer is no.
> > >>>
> > >>> If you lost control of the remote machine someone will need to go and
> > >> restart the machine ...
> > >>>
> > >>> You can try use a kvm or other remote control system
> > >>>
> > >>> --
> > >>> Yago Riveiro
> > >>> Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
> > >>>
> > >>>
> > >>> On Tuesday, October 22, 2013 at 5:46 PM, François Schiettecatte
> wrote:
> > >>>
> > >>>> If you are on linux/unix, use the kill command.
> > >>>>
> > >>>> François
> > >>>>
> > >>>> On Oct 22, 2013, at 12:42 PM, Raheel Hasan <
> raheelhasan.fsd@gmail.com
> > (mailto:
> > >> raheelhasan.fsd@gmail.com)> wrote:
> > >>>>
> > >>>>> Hi,
> > >>>>>
> > >>>>> is there a way to stop/restart java? I lost control over it via SSH
> > and
> > >>>>> connection was closed. But the Solr (start.jar) is still running.
> > >>>>>
> > >>>>> thanks.
> > >>>>>
> > >>>>> --
> > >>>>> Regards,
> > >>>>> Raheel Hasan
> > >>>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>
> > >>>
> > >>
> > >>
> > >
> > >
> > > --
> > > Regards,
> > > Raheel Hasan
> >
> >
>
>
> --
> Regards,
> Raheel Hasan
>
--
Thanks,
-Utkarsh
Re: Stop/Restart Solr
Posted by Raheel Hasan <ra...@gmail.com>.
ok fantastic... thanks a lot guyz....
On Tue, Oct 22, 2013 at 10:00 PM, François Schiettecatte <
fschiettecatte@gmail.com> wrote:
> Yago has the right command to search for the process, that will get you
> the process ID specifically the first number on the output line, then do
> 'kill ###', if that fails 'kill -9 ###'.
>
> François
>
> On Oct 22, 2013, at 12:56 PM, Raheel Hasan <ra...@gmail.com>
> wrote:
>
> > its CentOS...
> >
> > and using jetty with solr here..
> >
> >
> > On Tue, Oct 22, 2013 at 9:54 PM, François Schiettecatte <
> > fschiettecatte@gmail.com> wrote:
> >
> >> A few more specifics about the environment would help,
> Windows/Linux/...?
> >> Jetty/Tomcat/...?
> >>
> >> François
> >>
> >> On Oct 22, 2013, at 12:50 PM, Yago Riveiro <ya...@gmail.com>
> wrote:
> >>
> >>> If you are asking about if solr has a way to restart himself, I think
> >> that the answer is no.
> >>>
> >>> If you lost control of the remote machine someone will need to go and
> >> restart the machine ...
> >>>
> >>> You can try use a kvm or other remote control system
> >>>
> >>> --
> >>> Yago Riveiro
> >>> Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
> >>>
> >>>
> >>> On Tuesday, October 22, 2013 at 5:46 PM, François Schiettecatte wrote:
> >>>
> >>>> If you are on linux/unix, use the kill command.
> >>>>
> >>>> François
> >>>>
> >>>> On Oct 22, 2013, at 12:42 PM, Raheel Hasan <raheelhasan.fsd@gmail.com
> (mailto:
> >> raheelhasan.fsd@gmail.com)> wrote:
> >>>>
> >>>>> Hi,
> >>>>>
> >>>>> is there a way to stop/restart java? I lost control over it via SSH
> and
> >>>>> connection was closed. But the Solr (start.jar) is still running.
> >>>>>
> >>>>> thanks.
> >>>>>
> >>>>> --
> >>>>> Regards,
> >>>>> Raheel Hasan
> >>>>>
> >>>>
> >>>>
> >>>>
> >>>
> >>>
> >>
> >>
> >
> >
> > --
> > Regards,
> > Raheel Hasan
>
>
--
Regards,
Raheel Hasan
Re: Stop/Restart Solr
Posted by François Schiettecatte <fs...@gmail.com>.
Yago has the right command to search for the process, that will get you the process ID specifically the first number on the output line, then do 'kill ###', if that fails 'kill -9 ###'.
François
On Oct 22, 2013, at 12:56 PM, Raheel Hasan <ra...@gmail.com> wrote:
> its CentOS...
>
> and using jetty with solr here..
>
>
> On Tue, Oct 22, 2013 at 9:54 PM, François Schiettecatte <
> fschiettecatte@gmail.com> wrote:
>
>> A few more specifics about the environment would help, Windows/Linux/...?
>> Jetty/Tomcat/...?
>>
>> François
>>
>> On Oct 22, 2013, at 12:50 PM, Yago Riveiro <ya...@gmail.com> wrote:
>>
>>> If you are asking about if solr has a way to restart himself, I think
>> that the answer is no.
>>>
>>> If you lost control of the remote machine someone will need to go and
>> restart the machine ...
>>>
>>> You can try use a kvm or other remote control system
>>>
>>> --
>>> Yago Riveiro
>>> Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
>>>
>>>
>>> On Tuesday, October 22, 2013 at 5:46 PM, François Schiettecatte wrote:
>>>
>>>> If you are on linux/unix, use the kill command.
>>>>
>>>> François
>>>>
>>>> On Oct 22, 2013, at 12:42 PM, Raheel Hasan <raheelhasan.fsd@gmail.com(mailto:
>> raheelhasan.fsd@gmail.com)> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> is there a way to stop/restart java? I lost control over it via SSH and
>>>>> connection was closed. But the Solr (start.jar) is still running.
>>>>>
>>>>> thanks.
>>>>>
>>>>> --
>>>>> Regards,
>>>>> Raheel Hasan
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
> --
> Regards,
> Raheel Hasan
Re: Stop/Restart Solr
Posted by Yago Riveiro <ya...@gmail.com>.
If is CentOS use:
ps -ef | grep java | grep 'start.jar' will give you the process ( I assumed that you only have one instance running. )
--
Yago Riveiro
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
On Tuesday, October 22, 2013 at 5:56 PM, Raheel Hasan wrote:
> its CentOS...
>
> and using jetty with solr here..
>
>
> On Tue, Oct 22, 2013 at 9:54 PM, François Schiettecatte <
> fschiettecatte@gmail.com (mailto:fschiettecatte@gmail.com)> wrote:
>
> > A few more specifics about the environment would help, Windows/Linux/...?
> > Jetty/Tomcat/...?
> >
> > François
> >
> > On Oct 22, 2013, at 12:50 PM, Yago Riveiro <yago.riveiro@gmail.com (mailto:yago.riveiro@gmail.com)> wrote:
> >
> > > If you are asking about if solr has a way to restart himself, I think
> > that the answer is no.
> > >
> > > If you lost control of the remote machine someone will need to go and
> > restart the machine ...
> > >
> > > You can try use a kvm or other remote control system
> > >
> > > --
> > > Yago Riveiro
> > > Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
> > >
> > >
> > > On Tuesday, October 22, 2013 at 5:46 PM, François Schiettecatte wrote:
> > >
> > > > If you are on linux/unix, use the kill command.
> > > >
> > > > François
> > > >
> > > > On Oct 22, 2013, at 12:42 PM, Raheel Hasan <raheelhasan.fsd@gmail.com (mailto:raheelhasan.fsd@gmail.com)(mailto:
> > raheelhasan.fsd@gmail.com (mailto:raheelhasan.fsd@gmail.com))> wrote:
> > > >
> > > > > Hi,
> > > > >
> > > > > is there a way to stop/restart java? I lost control over it via SSH and
> > > > > connection was closed. But the Solr (start.jar) is still running.
> > > > >
> > > > > thanks.
> > > > >
> > > > > --
> > > > > Regards,
> > > > > Raheel Hasan
> > > > >
> > > >
> > > >
> > >
> >
> >
>
>
>
> --
> Regards,
> Raheel Hasan
>
>
Re: Stop/Restart Solr
Posted by Raheel Hasan <ra...@gmail.com>.
its CentOS...
and using jetty with solr here..
On Tue, Oct 22, 2013 at 9:54 PM, François Schiettecatte <
fschiettecatte@gmail.com> wrote:
> A few more specifics about the environment would help, Windows/Linux/...?
> Jetty/Tomcat/...?
>
> François
>
> On Oct 22, 2013, at 12:50 PM, Yago Riveiro <ya...@gmail.com> wrote:
>
> > If you are asking about if solr has a way to restart himself, I think
> that the answer is no.
> >
> > If you lost control of the remote machine someone will need to go and
> restart the machine ...
> >
> > You can try use a kvm or other remote control system
> >
> > --
> > Yago Riveiro
> > Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
> >
> >
> > On Tuesday, October 22, 2013 at 5:46 PM, François Schiettecatte wrote:
> >
> >> If you are on linux/unix, use the kill command.
> >>
> >> François
> >>
> >> On Oct 22, 2013, at 12:42 PM, Raheel Hasan <raheelhasan.fsd@gmail.com(mailto:
> raheelhasan.fsd@gmail.com)> wrote:
> >>
> >>> Hi,
> >>>
> >>> is there a way to stop/restart java? I lost control over it via SSH and
> >>> connection was closed. But the Solr (start.jar) is still running.
> >>>
> >>> thanks.
> >>>
> >>> --
> >>> Regards,
> >>> Raheel Hasan
> >>>
> >>
> >>
> >>
> >
> >
>
>
--
Regards,
Raheel Hasan
Re: Stop/Restart Solr
Posted by François Schiettecatte <fs...@gmail.com>.
A few more specifics about the environment would help, Windows/Linux/...? Jetty/Tomcat/...?
François
On Oct 22, 2013, at 12:50 PM, Yago Riveiro <ya...@gmail.com> wrote:
> If you are asking about if solr has a way to restart himself, I think that the answer is no.
>
> If you lost control of the remote machine someone will need to go and restart the machine ...
>
> You can try use a kvm or other remote control system
>
> --
> Yago Riveiro
> Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
>
>
> On Tuesday, October 22, 2013 at 5:46 PM, François Schiettecatte wrote:
>
>> If you are on linux/unix, use the kill command.
>>
>> François
>>
>> On Oct 22, 2013, at 12:42 PM, Raheel Hasan <raheelhasan.fsd@gmail.com (mailto:raheelhasan.fsd@gmail.com)> wrote:
>>
>>> Hi,
>>>
>>> is there a way to stop/restart java? I lost control over it via SSH and
>>> connection was closed. But the Solr (start.jar) is still running.
>>>
>>> thanks.
>>>
>>> --
>>> Regards,
>>> Raheel Hasan
>>>
>>
>>
>>
>
>
Re: Stop/Restart Solr
Posted by Yago Riveiro <ya...@gmail.com>.
You can do `ps -ef | grep java | grep 'start.jar'`
--
Yago Riveiro
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
On Tuesday, October 22, 2013 at 5:52 PM, Raheel Hasan wrote:
> ok. I thought there must be a way to restart solr..
>
> Because, once the process is running (i.e. start.jar), I dont know where to
> find it. pgrep doesnt return start.jar but java as a whole.
>
> So how to know the exact process number of start.jar?
>
> Thanks..
>
>
>
> On Tue, Oct 22, 2013 at 9:50 PM, Yago Riveiro <yago.riveiro@gmail.com (mailto:yago.riveiro@gmail.com)>wrote:
>
> > If you are asking about if solr has a way to restart himself, I think that
> > the answer is no.
> >
> > If you lost control of the remote machine someone will need to go and
> > restart the machine ...
> >
> > You can try use a kvm or other remote control system
> >
> > --
> > Yago Riveiro
> > Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
> >
> >
> > On Tuesday, October 22, 2013 at 5:46 PM, François Schiettecatte wrote:
> >
> > > If you are on linux/unix, use the kill command.
> > >
> > > François
> > >
> > > On Oct 22, 2013, at 12:42 PM, Raheel Hasan <raheelhasan.fsd@gmail.com (mailto:raheelhasan.fsd@gmail.com)(mailto:
> > raheelhasan.fsd@gmail.com (mailto:raheelhasan.fsd@gmail.com))> wrote:
> > >
> > > > Hi,
> > > >
> > > > is there a way to stop/restart java? I lost control over it via SSH and
> > > > connection was closed. But the Solr (start.jar) is still running.
> > > >
> > > > thanks.
> > > >
> > > > --
> > > > Regards,
> > > > Raheel Hasan
> > > >
> > >
> > >
> >
> >
>
>
>
> --
> Regards,
> Raheel Hasan
>
>
Re: Stop/Restart Solr
Posted by Raheel Hasan <ra...@gmail.com>.
ok. I thought there must be a way to restart solr..
Because, once the process is running (i.e. start.jar), I dont know where to
find it. pgrep doesnt return start.jar but java as a whole.
So how to know the exact process number of start.jar?
Thanks..
On Tue, Oct 22, 2013 at 9:50 PM, Yago Riveiro <ya...@gmail.com>wrote:
> If you are asking about if solr has a way to restart himself, I think that
> the answer is no.
>
> If you lost control of the remote machine someone will need to go and
> restart the machine ...
>
> You can try use a kvm or other remote control system
>
> --
> Yago Riveiro
> Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
>
>
> On Tuesday, October 22, 2013 at 5:46 PM, François Schiettecatte wrote:
>
> > If you are on linux/unix, use the kill command.
> >
> > François
> >
> > On Oct 22, 2013, at 12:42 PM, Raheel Hasan <raheelhasan.fsd@gmail.com(mailto:
> raheelhasan.fsd@gmail.com)> wrote:
> >
> > > Hi,
> > >
> > > is there a way to stop/restart java? I lost control over it via SSH and
> > > connection was closed. But the Solr (start.jar) is still running.
> > >
> > > thanks.
> > >
> > > --
> > > Regards,
> > > Raheel Hasan
> > >
> >
> >
> >
>
>
>
--
Regards,
Raheel Hasan
Re: Stop/Restart Solr
Posted by Yago Riveiro <ya...@gmail.com>.
If you are asking about if solr has a way to restart himself, I think that the answer is no.
If you lost control of the remote machine someone will need to go and restart the machine ...
You can try use a kvm or other remote control system
--
Yago Riveiro
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
On Tuesday, October 22, 2013 at 5:46 PM, François Schiettecatte wrote:
> If you are on linux/unix, use the kill command.
>
> François
>
> On Oct 22, 2013, at 12:42 PM, Raheel Hasan <raheelhasan.fsd@gmail.com (mailto:raheelhasan.fsd@gmail.com)> wrote:
>
> > Hi,
> >
> > is there a way to stop/restart java? I lost control over it via SSH and
> > connection was closed. But the Solr (start.jar) is still running.
> >
> > thanks.
> >
> > --
> > Regards,
> > Raheel Hasan
> >
>
>
>
Re: Stop/Restart Solr
Posted by François Schiettecatte <fs...@gmail.com>.
If you are on linux/unix, use the kill command.
François
On Oct 22, 2013, at 12:42 PM, Raheel Hasan <ra...@gmail.com> wrote:
> Hi,
>
> is there a way to stop/restart java? I lost control over it via SSH and
> connection was closed. But the Solr (start.jar) is still running.
>
> thanks.
>
> --
> Regards,
> Raheel Hasan