From: Dannes W. <da...@ex...> - 2017-10-10 10:46:10
|
Oops I did not completely read the message :-) why don't you start with the bin\startup.bat scripts? regards Dannes On Tue, Oct 10, 2017 at 12:44 PM, Dannes Wessels <da...@ex...> wrote: > Actually this is a FAQ on this list; by default the shutdown script > connects to port 8080, not 8088; > Please update the file "client.properties" to match the new configuration. > > cheers > > Dannes > > > On Tue, Oct 10, 2017 at 11:33 AM, Миљан Ушћумлић <mil...@gm...> > wrote: > >> Yes, from the Dashboard, Java Admin client and console window with Ctr+C, >> but not with the command line. >> >> >> On 10.10.2017 11:16, pedro winstley wrote: >> >> So you can shut it down from the dashboard? >> >> On 10 Oct 2017 11:14 am, "Миљан Ушћумлић" <mil...@gm...> >> wrote: >> >>> Hi Pedro, >>> >>> Well, the problem is that for me the shutdown is always unresponsive >>> with the command line invocation, but not by other means. If it comes to >>> the situation that I have to kill the process and do the recovery, I'll do >>> that, but I would like to use some safer and more elegant way to shut the >>> database in that situation if possible. >>> >>> Thanks, >>> Miljan >>> >>> >>> On 10.10.2017 9:43, pedro winstley wrote: >>> >>> Hi Miljan >>> >>> As far as I know, if it has become unresponsive in the way you describe >>> then you have to kill the process and deal with some form of data recovery. >>> >>> P >>> >>> On 10 Oct 2017 9:37 am, "Миљан Ушћумлић" <mil...@gm...> >>> wrote: >>> >>>> Hi Pedro, >>>> >>>> Thanks for your reply and the tips. My application is not yet in the >>>> production; just developing it. I am asking about the command line >>>> shutdown because I want to prevent some possible strange scenarios. At this >>>> point machine on which eXist resides is not a headless one, so I can stop >>>> the database with Ctr+C in console window. >>>> >>>> But, I would like to have a possibility to shut it down from the >>>> command line. >>>> >>>> Is there anyone who can shut it down this way? >>>> >>>> Thanks, >>>> Miljan >>>> >>>> On 9.10.2017 17:00, pedro winstley wrote: >>>> >>>> Hi Milan >>>> Find the process and kill it >>>> This could be similar to situations that i have come across with >>>> deadlocks. >>>> You'll then need to then remove any lock files in the data directory >>>> and try to either restart (which might work ok if there are not incomplete >>>> transactions) but it may be that it starts reindexing. Check the exist.log >>>> to see how it's getting on. The alternative is to retrieve your data using >>>> the emergency recovery tools and then restore into a database which has had >>>> the lck, log and dbx files removed (read the documentation) before starting. >>>> Hope this helps >>>> >>>> >>>> On 9 Oct 2017 4:50 pm, "Миљан Ушћумлић" <mil...@gm...> >>>> wrote: >>>> >>>> Hello all, >>>> >>>> I am trying to shut down the database from command line, but to no >>>> avail. My database is at the URI: xmldb:exist://localhost:8088/exist/xmlrpc. >>>> I am able to shut it down from the Dashboard and Java admin client but not >>>> from the command line. I am running eXist 3.5.0 on Windows but this also >>>> was an issue with the earlier versions. >>>> >>>> I am starting eXist from the command line with this command: >>>> java -Xmx1024M -Djava.endorsed.dirs=lib/endorsed -Djetty.port=8888 >>>> -Dexist.home=C:\Programs\exist-db -jar start.jar jetty >>>> And, that is OK. >>>> >>>> 1. When I want to shut it down and type this: >>>> java -Dexist.home=C:\Programs\exist-db shutdown -u admin -p admin -jar >>>> start.jar >>>> or >>>> java -Dexist.home=C:\Programs\exist-db shutdown -u admin -p admin >>>> --uri xmldb:exist://localhost:8888/xmlrpc -jar start.jar >>>> I am getting: >>>> Error: Could not find or load main class shutdown >>>> >>>> 2. When I use shutdown script: >>>> shutdown.bat -u admin -p admin --uri xmldb:exist://localhost:8888/x >>>> mlrpc >>>> or >>>> shutdown.bat -u admin -p admin >>>> I am getting: >>>> ERROR: Failed to read server's response: Connection refused: connect >>>> CAUSE: Failed to read server's response: Connection refused: connect >>>> >>>> When I start eXist on the port 8080 and run shutdown script I am >>>> getting this error: >>>> ERROR: HTTP server returned unexpected status: Unauthorized >>>> CAUSE: HTTP server returned unexpected status: Unauthorized >>>> >>>> Am I missing something here? Does anyone have similar issue or maybe >>>> solution to it? >>>> >>>> Thanks, >>>> Miljan >>>> >>>> ------------------------------------------------------------ >>>> ------------------ >>>> Check out the vibrant tech community on one of the world's most >>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >>>> _______________________________________________ >>>> Exist-open mailing list >>>> Exi...@li... >>>> https://lists.sourceforge.net/lists/listinfo/exist-open >>>> >>>> >>>> >>>> >>> >> >> ------------------------------------------------------------ >> ------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> _______________________________________________ >> Exist-open mailing list >> Exi...@li... >> https://lists.sourceforge.net/lists/listinfo/exist-open >> >> > > > -- > eXist-db Native XML Database - http://exist-db.org > Join us on linked-in: http://www.linkedin.com/groups?gid=35624 > -- eXist-db Native XML Database - http://exist-db.org Join us on linked-in: http://www.linkedin.com/groups?gid=35624 |