Ubuntu 18.04 TRASHED by INDI/KStars/

  • Posts: 16
  • Thank you received: 2

Ubuntu 18.04 TRASHED by INDI/KStars/ was created by CCCMC825

Hi,

So in brief, KStars/INDI/Ekos, for an unknown reason, writes an immense amount of log to /var/log/kernal.log and /var/log/syslog and trashed two of my computers running Ubuntu 18.04 LTS. Absolutely 0 bytes left in /root on both computers and I am now unable to boot them up.

My equipment profile is as follows:
QHY165C
QHY5L-II-C
EQMOD Mount (HEQ5-Pro)
DIY Arduino Focuser (Moonlite protocol)

This is a very serious problem. INDI/KStars/Ekos managed to write 69GB of log within a matter of minutes.

If I manage to recover and open (69GB of log ... I don't have a computer with that much RAM) the log files I will post some of the logs here.

Regards,
Jon
The following user(s) said Thank You: knro
2 months 2 weeks ago #32167

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

Replied by knro on topic Ubuntu 18.04 TRASHED by INDI/KStars/

This is most likely from QHY CCD logging. Disable CCD logging in Ekos.
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
The following user(s) said Thank You: CCCMC825
2 months 2 weeks ago #32168

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

  • Posts: 16
  • Thank you received: 2

Replied by CCCMC825 on topic Ubuntu 18.04 TRASHED by INDI/KStars/

Hi Jasem,

Thanks for your tip. However, it looks like that the CCD logging cannot be enabled in the first place. Am I missing something?

Cheers,
Jonathan
2 months 2 weeks ago #32202
Attachments:

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

Replied by knro on topic Ubuntu 18.04 TRASHED by INDI/KStars/

Which files were logging then?
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
2 months 2 weeks ago #32203

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

Replied by knro on topic Ubuntu 18.04 TRASHED by INDI/KStars/

Which files were logging then? Check the CCD driver --> Options , and see if logging was enabled there.
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
2 months 2 weeks ago #32204

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

  • Posts: 16
  • Thank you received: 2

Replied by CCCMC825 on topic Ubuntu 18.04 TRASHED by INDI/KStars/

The files in which logs piled up were /var/log/syslog and /var/log/kern.log.
I suppose by disabling debugging the logging is off?

Thanks,
Jon
2 months 2 weeks ago #32205
Attachments:

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

  • Posts: 65
  • Thank you received: 15

Replied by DerPit on topic Ubuntu 18.04 TRASHED by INDI/KStars/

Yikes. Indeed just confirmed that (somewhat unexpectedly) all the EKOS messages go to syslog...
I don't know how one can get to several GB that way.
One thing to prevent it is activating the 'log to file' option of kstars, then all messages end up in $HOME/.local/share/kstars/logs. Will at least prevent your system clogging up.
openSUSE Tumbleweed KStars git INDI git
GPDX+EQMOD, ASI1600+EFW+ASI290 mini
2 months 2 weeks ago #32214

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

Replied by knro on topic Ubuntu 18.04 TRASHED by INDI/KStars/

What? how are they going to syslog?! let me check here.

EDIT: Just tried with all combinations and can't get a single message to syslog or kernel log. What messages are you seeing? Do they come from specific drivers?
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
Last edit: 2 months 2 weeks ago by knro.
2 months 2 weeks ago #32230

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

  • Posts: 65
  • Thank you received: 15

Replied by DerPit on topic Ubuntu 18.04 TRASHED by INDI/KStars/

It's all the stuff that is (also) written to the message consoles of kstars:
Attached is the output of 'journalctl -b -g kstars' on my machine (openSUSE Tumbleweed).
(IMHO you should also allow to attach simple gziped text files, not onlt archives :( )
When I activate 'write to file' the log to syslog stops.
Likely some journal setting, to include all sort of stdout/err stuff to the syslog? I'm not too familiar with configuring logging, but will try to have a look.
openSUSE Tumbleweed KStars git INDI git
GPDX+EQMOD, ASI1600+EFW+ASI290 mini
2 months 2 weeks ago #32235
Attachments:

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

Replied by knro on topic Ubuntu 18.04 TRASHED by INDI/KStars/

Well, it's not something in KStars itself. Maybe OpenSUSE logs everything that goes to stdout? If you "disable" logging, it also logs nevertheless?
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
2 months 2 weeks ago #32236

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

  • Posts: 65
  • Thank you received: 15

Replied by DerPit on topic Ubuntu 18.04 TRASHED by INDI/KStars/

I think it must be a feature of the DE/Window manager. If I start kstars from the command line, nothing gets logged to syslog. Only if I start via the start menu (KDE plasma). So it's somewhat similar to when started from systemd. There exists a setting for that in case of systemd services, like 'StandardOutput=null' (man systemd.exec), but I don't know where to put that directive for programs started from the DE....
There seems to be a way to do it from the application, like only logging to stdout when called from a tty.
openSUSE Tumbleweed KStars git INDI git
GPDX+EQMOD, ASI1600+EFW+ASI290 mini
2 months 2 weeks ago #32238

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

  • Posts: 198
  • Karma: 4
  • Thank you received: 47

Replied by stash on topic Ubuntu 18.04 TRASHED by INDI/KStars/

This may help you until you find the problem. Rotate logs automatically linoxide.com/linux-how-to/setup-log-rotation-logrotate-ubuntu/

Plus learn to start Linux in safe mode linuxconfig.org/how-to-boot-ubuntu-18-04...ency-and-rescue-mode to "untrash" your system :-)
RPI3 Ubuntu 16.04 / AMD desktop Kstars under Ubuntu 16.04 Mounts :azeq6 ,SWAZGoTo

RPI3 Fedora testing out on AMD desktop Fedpra 28 - running kstars 2.9.4 , Indilib 1.7.4 ?????
2 months 2 weeks ago #32252

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

Time to create page: 0.880 seconds