0
Waiting for user's reply

iridiumserver_1.1.6 won't install/run on Ubuntu

Tanapol E. 8 years ago in Server Solutions / Linux Server updated 8 years ago 10

iridiumserver_1.1.6 won't install/run on Ubuntu

I try with both UMC and RPI package

Here is my output


root@pine64:~# uname -a
Linux pine64 3.10.105-0-pine64-longsleep #3 SMP PREEMPT Sat Mar 11 16:05:53 CET 2017 aarch64 aarch64 aarch64 GNU/Linux


root@pine64:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.2 LTS
Release:        16.04
Codename:       xenial



######## ############

#### UMC not install and give my an error

######## ##########

root@pine64:~# sudo dpkg -i /home/ubuntu/iridiumserver_1.1.6-12402_UMC.ipk  
dpkg-deb: error: archive '/home/ubuntu/iridiumserver_1.1.6-12402_UMC.ipk' has premature member 'data.tar.gz' before 'control.tar', giving up
dpkg: error processing archive /home/ubuntu/iridiumserver_1.1.6-12402_UMC.ipk (--install):
 subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
 /home/ubuntu/iridiumserver_1.1.6-12402_UMC.ipk


######## ############

#### RPI install ok but won't run

######## ##########

root@pine64:~# sudo dpkg -i /home/ubuntu/iridiumserver_1.1.6-12402_RPI.deb
(Reading database ... 17664 files and directories currently installed.)
Preparing to unpack .../iridiumserver_1.1.6-12402_RPI.deb ...
iRidium Server deinstallation
/var/lib/dpkg/info/iridiumserver.prerm: 3: /var/lib/dpkg/info/iridiumserver.prerm: killall: not found
remove /iridiumserver/
Create /var/lib/iRidium Server/
Unpacking iridiumserver (1.1.6) over (1.1.6) ...
Setting up iridiumserver (1.1.6) ...
Creating autostart script...
Starting server...
/var/lib/dpkg/info/iridiumserver.postinst: 10: /var/lib/dpkg/info/iridiumserver.postinst: /iridiumserver/iridium: not found



root@pine64:~# /iridiumserver/iridium
bash: /iridiumserver/iridium: No such file or director




Extract it to /iridiumserver
ar -xv iridiumserver_1.1.6-12402_UMC.ipk 
tar –zxvf data.tar.gz

copy S92iridium to /etc/init.d/


Architecture: arm
/iridiumserver/iridium --force --hidden --watchdog=60

also works on i686 (without a VirtualMachine)


sudo apt-get install gcc-arm-linux-gnueabihf libc6-dev-armhf-cross
sudo apt-get install qemu-user-static

and many symbol links of libraries

sudo ln -s /usr/arm-linux-gnueabihf/lib/....so /lib/....so

I think I found a problem

it look like IRserver just wont work on ARM64 / 64-bit os?


I try both but when I run it give 

Segmentation Fault error


Try to use

sudo dpkg --add-architecture armhf
sudo apt-get update

https://launchpad.net/ubuntu/xenial/arm64/multiarch-support


or recompile kernel to add support of ARM32

run make menuconfig ARCH=arm64

I already try x86, but it wont work on ARM

I will try Andrey S solution

Waiting for user's reply

First of all - which hardware platform do you use? It is not good solution - transfering code to unsupported platform

Looks fully compatible with RPi. Can you try it (RPi version) on Debian system?

It just won't run
root@pine64:~# /iridiumserver/iridium
bash: /iridiumserver/iridium: No such file or director


evenif "/iridiumserver/iridium" was there


now i just switch to other arm hardware it just work fine with RPi version