×

INDI Library v1.7.6 Released. (27 Feb 2019)

First release of 2019 comes with quite a few new drivers across the board along with significant performance improvements to INDI camera and live streaming performance. Many drivers received significant updates to improve performance & stability, while a few were re-written from scratch to be in line with INDI standards. Here are some of the highlights:

how to automatically restart kstar after a crash

  • Posts: 15
  • Thank you received: 0

how to automatically restart kstar after a crash was created by deruazpepin

Hi,

I experience some kstars crash one night every too.
I would like to restart it automatically when it crashes.
For this I have a process that tests the kstar process and that is able to relaunch it when it deseapears.
I would like to know if there is a proper commend line to relauch kstars and activate the scheduler in order to restart from where it was before the crash.

Thanks for your help!!
2 weeks 17 hours ago #36379

Please Log in or Create an account to join the conversation.

  • Posts: 471
  • Karma: 1
  • Thank you received: 79

Replied by Ihoujin on topic how to automatically restart kstar after a crash

I don't know if one. It's a good idea. I think it would be a great feature to add. I know when KStars crashes the indi drivers are usually still running. It would be great if an auxiliary watchdog driver could respond to a crash by opening kstars back up and link ekos back to the still running drivers.
INDI/KStars on Raspberry Pi 3B+
Lubuntu 16.04
Skywatcher HEQ5 Pro Mount
Canon 600D Camera
Orion SSAG @280mm Guide Scope
PHD2
Adafruit Motor Hat shield
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.
The following user(s) said Thank You: Ron Kramer
1 week 6 days ago #36488

Please Log in or Create an account to join the conversation.

  • Posts: 673
  • Karma: 13
  • Thank you received: 199

Replied by TallFurryMan on topic Re:how to automatically restart kstar after a crash

Having a driver doing this is probably not feasible. I know Jasem ultimately wants the scheduler to be an independent process, but what we could do right now is to store the state of the scheduler and continue right where we stopped. Restarting kstars should be left to a script at the user side ( while true ; do kstars ; done). But of course it would be better if kstars did not crash at all.

-Eric
HEQ5-Pro - Atik 314E - Orion ED80T - DMK21 on Orion 50mm
DIY 3D-printed Moonlite and FWheel RGB/LPR
KStars and indiserver on two Atom 1.6GHz 1GB RAM Linux, VPN remote access
The following user(s) said Thank You: dokeeffe
1 week 4 days ago #36573

Please Log in or Create an account to join the conversation.

  • Posts: 180
  • Thank you received: 26

Replied by Ron Kramer on topic Re:how to automatically restart kstar after a crash

Yes when I restart - it says the server is running KILL before restarting? (I said no and it crashed) I now say yes. So why not just have it accept "Y" as default ? else hit "N" in 6 seconds?
1 week 4 days ago #36581

Please Log in or Create an account to join the conversation.

Time to create page: 0.305 seconds