×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Indi server crashes

  • 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
3 years 1 month ago #67586
Attachments:

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

  • Posts: 194
  • Thank you received: 20

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
3 years 1 month 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
3 years 1 month ago #67605

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

  • Posts: 194
  • Thank you received: 20

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
...
3 years 1 month 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: 3 years 1 month ago by Tim.
3 years 1 month ago #67624

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

  • Posts: 194
  • Thank you received: 20

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.
3 years 1 month ago #67627

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

  • Posts: 298
  • Thank you received: 46

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
3 years 1 month 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
3 years 1 month ago #67644

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

  • Posts: 298
  • Thank you received: 46

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
3 years 1 month ago #67651

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

  • Posts: 1957
  • Thank you received: 420
Read the first post again. Tim is running the nighlty builds and recently has updated them.
Last edit: 3 years 1 month ago by Wouter van Reeven.
3 years 1 month ago #67655

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

  • Posts: 298
  • Thank you received: 46

Replied by Markku on topic Indi server crashes

Oh, sorry, my bad :( I'll test to install the nightly build when at home tonight and look at the difference then.
Thanks Wouter fo the tip!
Br,
/Markku
3 years 1 month ago #67659

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

Currently I'm working on doing a full computer backup to my NAS drive and then do a clean install of Kubuntu 20.04 LTS. Hopefully that will restore things. It could be my last upgrade to the OS broke things. Digikam won't run either. I'll report back when I get this done.
3 years 1 month ago #67674

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

Time to create page: 1.744 seconds