´╗┐
×

INDI Library v1.9.2 Released (14 Sep 2021)

Bimonthly Stable INDI Library release introduces new drivers and fixes for existing ones.

Indi server crashes

  • Posts: 36
  • Thank you received: 1

Indi server crashes was created by Tim

I decided to do a clean install. So I removed all the indi and kstars packages using synaptic package manager and then re-installed by doing the following
sudo apt-add-repository ppa:mutlaqja/indinightly
sudo apt-get update
sudo apt-get install indi-full kstars-bleeding gsc

Then I tried to run indiserver from the konsole using
indiserver -v indi_simulator_telescope indi_simulator_ccd

This failed with the following output
tim@dell-desktop:~$ indiserver -v indi_simulator_telescope indi_simulator_ccd   
2021-02-19T22:29:48: startup: indiserver -v indi_simulator_telescope indi_simulator_ccd 
2021-02-19T22:29:48: Driver indi_simulator_telescope: pid=56196 rfd=3 wfd=6 efd=7
2021-02-19T22:29:48: Driver indi_simulator_ccd: pid=56197 rfd=4 wfd=9 efd=10
2021-02-19T22:29:48: listening to port 7624 on fd 5
2021-02-19T22:29:48: Driver indi_simulator_ccd: indi_simulator_ccd: error while loading shared libraries: libcfitsio.so.5: cannot open shared object file: No such file or directory
Child process 56197 died
2021-02-19T22:29:48: Driver indi_simulator_ccd: stderr EOF
2021-02-19T22:29:48: Driver indi_simulator_ccd: restart #1
2021-02-19T22:29:48: Driver indi_simulator_ccd: pid=56198 rfd=0 wfd=9 efd=10
2021-02-19T22:29:48: Driver indi_simulator_ccd: indi_simulator_ccd: error while loading shared libraries: libcfitsio.so.5: cannot open shared object file: No such file or directory
Child process 56198 died
2021-02-19T22:29:48: Driver indi_simulator_ccd: stderr EOF
2021-02-19T22:29:48: Driver indi_simulator_ccd: restart #2
2021-02-19T22:29:48: Driver indi_simulator_ccd: pid=56199 rfd=0 wfd=9 efd=10
Child process 56199 died
2021-02-19T22:29:48: Driver indi_simulator_ccd: indi_simulator_ccd: error while loading shared libraries: libcfitsio.so.5: cannot open shared object file: No such file or directory
2021-02-19T22:29:48: Driver indi_simulator_ccd: stderr EOF
2021-02-19T22:29:48: Driver indi_simulator_ccd: restart #3
2021-02-19T22:29:48: Driver indi_simulator_ccd: pid=56200 rfd=0 wfd=9 efd=10
Child process 56200 died
2021-02-19T22:29:48: Driver indi_simulator_ccd: indi_simulator_ccd: error while loading shared libraries: libcfitsio.so.5: cannot open shared object file: No such file or directory
2021-02-19T22:29:48: Driver indi_simulator_ccd: stderr EOF
2021-02-19T22:29:48: Driver indi_simulator_ccd: restart #4
2021-02-19T22:29:48: Driver indi_simulator_ccd: pid=56201 rfd=0 wfd=9 efd=10
Child process 56201 died
2021-02-19T22:29:48: Driver indi_simulator_ccd: indi_simulator_ccd: error while loading shared libraries: libcfitsio.so.5: cannot open shared object file: No such file or directory
2021-02-19T22:29:48: Driver indi_simulator_ccd: stdin EOF
2021-02-19T22:29:48: Driver indi_simulator_ccd: restart #5
2021-02-19T22:29:48: Driver indi_simulator_ccd: pid=56202 rfd=0 wfd=9 efd=10
Child process 56202 died
2021-02-19T22:29:48: Driver indi_simulator_ccd: indi_simulator_ccd: error while loading shared libraries: libcfitsio.so.5: cannot open shared object file: No such file or directory
2021-02-19T22:29:48: Driver indi_simulator_ccd: stdin EOF
2021-02-19T22:29:48: Driver indi_simulator_ccd: restart #6
2021-02-19T22:29:48: Driver indi_simulator_ccd: pid=56203 rfd=0 wfd=9 efd=10
Child process 56203 died
2021-02-19T22:29:48: Driver indi_simulator_ccd: indi_simulator_ccd: error while loading shared libraries: libcfitsio.so.5: cannot open shared object file: No such file or directory
2021-02-19T22:29:48: Driver indi_simulator_ccd: stdin EOF
2021-02-19T22:29:48: Driver indi_simulator_ccd: restart #7
2021-02-19T22:29:48: Driver indi_simulator_ccd: pid=56204 rfd=0 wfd=9 efd=10
Child process 56204 died
2021-02-19T22:29:48: Driver indi_simulator_ccd: indi_simulator_ccd: error while loading shared libraries: libcfitsio.so.5: cannot open shared object file: No such file or directory
2021-02-19T22:29:48: Driver indi_simulator_ccd: stderr EOF
2021-02-19T22:29:48: Driver indi_simulator_ccd: restart #8
2021-02-19T22:29:48: Driver indi_simulator_ccd: pid=56205 rfd=0 wfd=9 efd=10
Child process 56205 died
2021-02-19T22:29:48: Driver indi_simulator_ccd: stderr EOF
2021-02-19T22:29:48: Driver indi_simulator_ccd: restart #9
2021-02-19T22:29:48: Driver indi_simulator_ccd: pid=56206 rfd=0 wfd=9 efd=10
Child process 56206 died
2021-02-19T22:29:48: Driver indi_simulator_ccd: stderr EOF
2021-02-19T22:29:48: Driver indi_simulator_ccd: restart #10
2021-02-19T22:29:48: Driver indi_simulator_ccd: pid=56207 rfd=0 wfd=9 efd=10
2021-02-19T22:29:48: Driver indi_simulator_telescope: indi_simulator_telescope: symbol lookup error: indi_simulator_telescope: undefined symbol: _ZN4INDI10BaseDevice11isConnectedEv
Child process 56196 died
2021-02-19T22:29:48: Driver indi_simulator_telescope: stderr EOF
2021-02-19T22:29:48: Driver indi_simulator_telescope: restart #1
Child process 56207 died
2021-02-19T22:29:48: Driver indi_simulator_telescope: pid=56208 rfd=3 wfd=7 efd=8
2021-02-19T22:29:48: Driver indi_simulator_ccd: indi_simulator_ccd: error while loading shared libraries: libcfitsio.so.5: cannot open shared object file: No such file or directory
2021-02-19T22:29:48: Driver indi_simulator_ccd: stdin EOF
2021-02-19T22:29:48: Driver indi_simulator_ccd: Terminated after #10 restarts.
2021-02-19T22:29:48: Driver indi_simulator_telescope: indi_simulator_telescope: symbol lookup error: indi_simulator_telescope: undefined symbol: _ZN4INDI10BaseDevice11isConnectedEv
Child process 56208 died
2021-02-19T22:29:48: Driver indi_simulator_telescope: stderr EOF
2021-02-19T22:29:48: Driver indi_simulator_telescope: restart #2
2021-02-19T22:29:48: Driver indi_simulator_telescope: pid=56209 rfd=0 wfd=6 efd=7
2021-02-19T22:29:48: Driver indi_simulator_telescope: indi_simulator_telescope: symbol lookup error: indi_simulator_telescope: undefined symbol: _ZN4INDI10BaseDevice11isConnectedEv
Child process 56209 died
2021-02-19T22:29:48: Driver indi_simulator_telescope: stderr EOF
2021-02-19T22:29:48: Driver indi_simulator_telescope: restart #3
2021-02-19T22:29:48: Driver indi_simulator_telescope: pid=56210 rfd=0 wfd=6 efd=7
2021-02-19T22:29:48: Driver indi_simulator_telescope: indi_simulator_telescope: symbol lookup error: indi_simulator_telescope: undefined symbol: _ZN4INDI10BaseDevice11isConnectedEv
Child process 56210 died
2021-02-19T22:29:48: Driver indi_simulator_telescope: stderr EOF
2021-02-19T22:29:48: Driver indi_simulator_telescope: restart #4
2021-02-19T22:29:48: Driver indi_simulator_telescope: pid=56211 rfd=0 wfd=6 efd=7
2021-02-19T22:29:48: Driver indi_simulator_telescope: indi_simulator_telescope: symbol lookup error: indi_simulator_telescope: undefined symbol: _ZN4INDI10BaseDevice11isConnectedEv
Child process 56211 died
2021-02-19T22:29:48: Driver indi_simulator_telescope: stderr EOF
2021-02-19T22:29:48: Driver indi_simulator_telescope: restart #5
2021-02-19T22:29:48: Driver indi_simulator_telescope: pid=56212 rfd=0 wfd=6 efd=7
2021-02-19T22:29:48: Driver indi_simulator_telescope: indi_simulator_telescope: symbol lookup error: indi_simulator_telescope: undefined symbol: _ZN4INDI10BaseDevice11isConnectedEv
Child process 56212 died
2021-02-19T22:29:48: Driver indi_simulator_telescope: stderr EOF
2021-02-19T22:29:48: Driver indi_simulator_telescope: restart #6
2021-02-19T22:29:48: Driver indi_simulator_telescope: pid=56213 rfd=0 wfd=6 efd=7
2021-02-19T22:29:48: Driver indi_simulator_telescope: indi_simulator_telescope: symbol lookup error: indi_simulator_telescope: undefined symbol: _ZN4INDI10BaseDevice11isConnectedEv
Child process 56213 died
2021-02-19T22:29:48: Driver indi_simulator_telescope: stderr EOF
2021-02-19T22:29:48: Driver indi_simulator_telescope: restart #7
2021-02-19T22:29:48: Driver indi_simulator_telescope: pid=56214 rfd=0 wfd=6 efd=7
2021-02-19T22:29:48: Driver indi_simulator_telescope: indi_simulator_telescope: symbol lookup error: indi_simulator_telescope: undefined symbol: _ZN4INDI10BaseDevice11isConnectedEv
Child process 56214 died
2021-02-19T22:29:48: Driver indi_simulator_telescope: stderr EOF
2021-02-19T22:29:48: Driver indi_simulator_telescope: restart #8
2021-02-19T22:29:48: Driver indi_simulator_telescope: pid=56215 rfd=0 wfd=6 efd=7
2021-02-19T22:29:48: Driver indi_simulator_telescope: indi_simulator_telescope: symbol lookup error: indi_simulator_telescope: undefined symbol: _ZN4INDI10BaseDevice11isConnectedEv
Child process 56215 died
2021-02-19T22:29:48: Driver indi_simulator_telescope: stderr EOF
2021-02-19T22:29:48: Driver indi_simulator_telescope: restart #9
2021-02-19T22:29:48: Driver indi_simulator_telescope: pid=56216 rfd=0 wfd=6 efd=7
2021-02-19T22:29:48: Driver indi_simulator_telescope: indi_simulator_telescope: symbol lookup error: indi_simulator_telescope: undefined symbol: _ZN4INDI10BaseDevice11isConnectedEv
Child process 56216 died
2021-02-19T22:29:48: Driver indi_simulator_telescope: stderr EOF
2021-02-19T22:29:48: Driver indi_simulator_telescope: restart #10
2021-02-19T22:29:48: Driver indi_simulator_telescope: pid=56217 rfd=0 wfd=6 efd=7
2021-02-19T22:29:48: Driver indi_simulator_telescope: indi_simulator_telescope: symbol lookup error: indi_simulator_telescope: undefined symbol: _ZN4INDI10BaseDevice11isConnectedEv
Child process 56217 died
2021-02-19T22:29:48: Driver indi_simulator_telescope: stderr EOF
2021-02-19T22:29:48: Driver indi_simulator_telescope: Terminated after #10 restarts.
2021-02-19T22:29:48: good bye

Can someone help as I've tried everything I can think of. The library libcfitsio.so.5 doesn't seem to exist in any repository to allow me to install it.

Thanks
Tim
7 months 10 hours ago #67568

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

  • Posts: 36
  • Thank you received: 1

Replied by Tim on topic Indi server crashes

Hi

I've tried multiple attempts to get this to work now. Including several complete removals of kstars and Indi from the computer. I've tried installing using synaptic package manager, using the instructions to install from the command line and an attempt to compile from source. On each occasion the install process did not throw up any errors but trying to run the telescope or ccd simulator threw up the errors I've already posted

This is on
NAME="Ubuntu"
VERSION="20.04.2 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.2 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
6 months 4 weeks ago #67585

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

  • Posts: 36
  • Thank you received: 1

Replied by Tim on topic Indi server crashes

Here is the log file in case that helps diagnose the issue
6 months 4 weeks ago #67586
Attachments:

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

  • Posts: 97
  • Thank you received: 12

Replied by David Allmon on topic Indi server crashes

Do this :
sudo apt list |grep cfits
to get a list of libcfitsio and lib ccfits you have to choose from. You can probably get away with just libcfitsio-bin, so I would try that first.

HTH
Dave
Dave Allmon

Meade 12" LX600, William Optics GT81 IV, Stellarvue F080M3 (guidescope)
SBIG STF-8300EN, ASI 290mm mini (guide camera)
Raspberry Pi 4B 8GB Indi server, Raspberry Pi 4B 4GB test server
Linux client
6 months 4 weeks ago #67599

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

  • Posts: 36
  • Thank you received: 1

Replied by Tim on topic Indi server crashes

Thank you. I've just tried that and I get the following output
tim@dell-desktop:~$ sudo apt list |grep cfits
 
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
 
libastro-fits-cfitsio-perl/focal,now 1.12-1build2 amd64 [installed]
libccfits-dev/focal 2.5+dfsg-2 amd64
libccfits-doc/focal,focal 2.5+dfsg-2 all
libccfits0v5/focal 2.5+dfsg-2 amd64
libcfitsio-bin/focal,now 3.470-3 amd64 [installed]
libcfitsio-dev/focal,now 3.470-3 amd64 [installed]
libcfitsio-doc/focal,focal,now 3.470-3 all [installed,automatic]
libcfitsio8/focal,now 3.470-3 amd64 [installed,automatic]
slang-cfitsio/focal 0.3.8+nosvn-5build4 amd64

So it would appear they are installed already. I installed the libastro one but still get the same result
6 months 4 weeks ago #67605

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

  • Posts: 97
  • Thank you received: 12

Replied by David Allmon on topic Indi server crashes

I'm wondering if libcfitsio is in the right place. I have Ubuntu 20.04, and I find libcfitsio.so here:
ls -la /usr/lib/x86_64-linux-gnu |grep cfitsio
-rw-r--r--   1 root root  2419662 Aug  4  2019 libcfitsio.a
lrwxrwxrwx   1 root root       15 Aug  4  2019 libcfitsio.so -> libcfitsio.so.8
lrwxrwxrwx   1 root root       20 Aug  4  2019 libcfitsio.so.8 -> libcfitsio.so.8.3.47
-rw-r--r--   1 root root  1498520 Aug  4  2019 libcfitsio.so.8.3.47

I tested the indi server and it works. I hadn't run it on this machine before.
indiserver -v indi_simulator_telescope indi_simulator_ccd
2021-02-21T13:58:54: startup: indiserver -v indi_simulator_telescope indi_simulator_ccd 
2021-02-21T13:58:54: Driver indi_simulator_telescope: pid=648745 rfd=3 wfd=6 efd=7
2021-02-21T13:58:54: Driver indi_simulator_ccd: pid=648746 rfd=4 wfd=9 efd=10
2021-02-21T13:58:54: listening to port 7624 on fd 5
...
Dave Allmon

Meade 12" LX600, William Optics GT81 IV, Stellarvue F080M3 (guidescope)
SBIG STF-8300EN, ASI 290mm mini (guide camera)
Raspberry Pi 4B 8GB Indi server, Raspberry Pi 4B 4GB test server
Linux client
6 months 4 weeks ago #67611

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

  • Posts: 36
  • Thank you received: 1

Replied by Tim on topic Indi server crashes

I've just had a look and I get the same I think

<code>tim@dell-desktop:/mnt$ cd /usr/lib/x86_64-linux-gnu
tim@dell-desktop:/usr/lib/x86_64-linux-gnu$ ls -la /usr/lib/x86_64-linux-gnu |grep cfitsio
-rw-r--r-- 1 root root 2419662 Aug 4 2019 libcfitsio.a
lrwxrwxrwx 1 root root 15 Aug 4 2019 libcfitsio.so -> libcfitsio.so.8
lrwxrwxrwx 1 root root 20 Aug 4 2019 libcfitsio.so.8 -> libcfitsio.so.8.3.47
-rw-r--r-- 1 root root 1498520 Aug 4 2019 libcfitsio.so.8.3.47
tim@dell-desktop:/usr/lib/x86_64-linux-gnu$
</code>

My indiserver error message says it can't find
libcfitsio.so.5
though. Not these other ones.
Last edit: 6 months 4 weeks ago by Tim.
6 months 4 weeks ago #67624

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

  • Posts: 97
  • Thank you received: 12

Replied by David Allmon on topic Indi server crashes

Perhaps there is another libcfitsio.so somewhere before this directory in the libpath. There may be one that is linked to libcfitsio.so.5. You can see if there is one by:
locate libcfitsio.so

Hopefully it will turn up another one somewhere besides /usr/lib/x86_64-linux-gnu.
Dave Allmon

Meade 12" LX600, William Optics GT81 IV, Stellarvue F080M3 (guidescope)
SBIG STF-8300EN, ASI 290mm mini (guide camera)
Raspberry Pi 4B 8GB Indi server, Raspberry Pi 4B 4GB test server
Linux client
6 months 4 weeks ago #67627

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

  • Posts: 271
  • Thank you received: 43

Replied by Markku on topic Indi server crashes

Hi,

I've been following this discussion for a while and I's a bit interesting case. If indisever asks for "libcfitsio.so.5" it may be because the drivers/indiserver is a old version ?
Can you post what you get with the command : ls -l /usr/bin/indi_simulator_*

Br,
/Markku
EQ8, Small scope SW200, Big scope SW300, Xagyl FW, Guidescope Celestron 80mm, SX LodestarX2, SXVR-H9.
RPi4, Ubuntu Mate, and many Arduinos..
6 months 4 weeks ago #67638

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

  • Posts: 36
  • Thank you received: 1

Replied by Tim on topic Indi server crashes

Thanks for the help folks. Here are the responses to the questions
tim@dell-desktop:~$ locate libcfitsio.so
/usr/lib/x86_64-linux-gnu/libcfitsio.so
/usr/lib/x86_64-linux-gnu/libcfitsio.so.8
/usr/lib/x86_64-linux-gnu/libcfitsio.so.8.3.47

and
tim@dell-desktop:~$ ls -l /usr/bin/indi_simulator_*
-rwxr-xr-x 1 root root 531760 Feb 20 15:28 /usr/bin/indi_simulator_ccd
-rwxr-xr-x 1 root root 137424 Feb 20 15:25 /usr/bin/indi_simulator_dome
-rwxr-xr-x 1 root root 134048 Feb 20 15:28 /usr/bin/indi_simulator_focus
-rwxr-xr-x 1 root root  76448 Feb 20 15:25 /usr/bin/indi_simulator_gps
-rwxr-xr-x 1 root root 255384 Feb 20 15:26 /usr/bin/indi_simulator_guide
-rwxr-xr-x 1 root root  87040 Feb 20 15:25 /usr/bin/indi_simulator_rotator
-rwxr-xr-x 1 root root 233864 Feb 20 15:26 /usr/bin/indi_simulator_spectrograph
-rwxr-xr-x 1 root root  82616 Feb 20 15:25 /usr/bin/indi_simulator_sqm
-rwxr-xr-x 1 root root 243880 Feb 20 15:26 /usr/bin/indi_simulator_telescope
-rwxr-xr-x 1 root root 127880 Feb 20 15:28 /usr/bin/indi_simulator_weather
-rwxr-xr-x 1 root root  75176 Feb 20 15:25 /usr/bin/indi_simulator_wheel
6 months 4 weeks ago #67644

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

  • Posts: 271
  • Thank you received: 43

Replied by Markku on topic Indi server crashes

There is a difference in file sizes compared to my installation, this is what I get.
maxer@M4700:~$ ls -l /usr/bin/indi_simulator_*
-rwxr-xr-x 1 root root 88384 jan  8 07:42 /usr/bin/indi_simulator_ccd
-rwxr-xr-x 1 root root 26944 jan  8 07:42 /usr/bin/indi_simulator_dome
-rwxr-xr-x 1 root root 31040 jan  8 07:42 /usr/bin/indi_simulator_focus
-rwxr-xr-x 1 root root 18752 jan  8 07:42 /usr/bin/indi_simulator_gps
-rwxr-xr-x 1 root root 51520 jan  8 07:42 /usr/bin/indi_simulator_guide
-rwxr-xr-x 1 root root 18752 jan  8 07:42 /usr/bin/indi_simulator_rotator
-rwxr-xr-x 1 root root 35136 jan  8 07:42 /usr/bin/indi_simulator_spectrograph
-rwxr-xr-x 1 root root 18752 jan  8 07:42 /usr/bin/indi_simulator_sqm
-rwxr-xr-x 1 root root 63880 jan  8 07:42 /usr/bin/indi_simulator_telescope
-rwxr-xr-x 1 root root 31040 jan  8 07:42 /usr/bin/indi_simulator_weather
-rwxr-xr-x 1 root root 18752 jan  8 07:42 /usr/bin/indi_simulator_wheel
So my guess is that you have a wrong version of indiserver/drivers installed for some reason ? you should check that you have the right ppa for "INDI Stable Builds".

The "locate libcfitsio.so" is just fine, but did you do a : sudo updatedb before you did the locate command ?

Br,
/Markku
EQ8, Small scope SW200, Big scope SW300, Xagyl FW, Guidescope Celestron 80mm, SX LodestarX2, SXVR-H9.
RPi4, Ubuntu Mate, and many Arduinos..
6 months 4 weeks ago #67651

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

  • Posts: 1941
  • Thank you received: 416
Read the first post again. Tim is running the nighlty builds and recently has updated them.
Wouter van Reeven

ASI6200MM and 7 slot 2" filter wheel with a SkyWatcher Esprit 80 ED on a SkyWatcher HEQ5-Pro
ASI1600MM-Pro Cooled and 5 slot 1.25" filter wheel with an 8" TS Ritchey-Chr├ętien on a SkyWatcher EQ6-R
Last edit: 6 months 4 weeks ago by Wouter van Reeven.
6 months 4 weeks ago #67655

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

Time to create page: 1.193 seconds