Welcome!

On this forum you can discuss iRidium with other users.

iRidium consist of 2 main components - i3 pro app and iRidium Server. Please post here your questions, ideas or errors you find.

Please send your questions to support team as a private messages.


Please subscribe to the Change Log to know our news

We have moved our support service to a new technical support system. Since 17.01.2022, we have disabled the ability to create appeals through the userecho personal account. Now all requests are processed via mail to support@iridi.com .

Thank you for your understanding and have a nice day.

+5

Raspberry Pi and SD-cards *** warning ***

Theo Derks - NL (distributor) 8 years ago in Server Solutions / Linux Server updated 7 years ago 2

Hello,


after hours and hours of testing, installing, contacting support (thanks Oleg ;-) ), i found out that you can expect problems with some brands SD-Cards.


i used Kingston SDCIT/16Gb and SDCIT/32Gb cards with brand new Raspberry Pi Model 3, and have had much troubles with it.


After googling in the internet, i found out these cards are not 100% compatible with RaspBerry Pi.


So, please, take care for the right brand and type (also the type is important) using in RaspBerry Pi.


Thanks


Theo


+4
Under review

Сохранение значений тегов на сервере iRidium

AlexDr 7 years ago in Server Solutions / Linux Server updated by Vladimir Ovchinnikov (expert) 4 years ago 64

Я создал на сервере (linux) канал и одноименный тег. При изменении канала значение, передаваемое в канал, сохраняется через вызов серверного скрипта (функция задана в Script Modiefer) в одноименном серверном теге:

function SaveChannelTagState(in_Type, in_Name, in_Value){
    IR.SetVariable("Server.Tags."+in_Name, in_Value);
}

На сервер значение тега меняется - видно через веб интерфейс.


В настройках тега установлены параметры 

  • Persist = Yes
  • Store in DB = Signed 32bit


Но стоит перезалить проект на сервер или перезагрузить сам сервер - все значения тегов теряются. Причем как-будто он берет значения из какого-то кеша. Значения устанавливаются не нулевые, а какие-то промежуточные, когда-то давно установленные.


Как это исправить? Надо чтоб значения тегов запоминались на сервере.

Answer

Здравствуйте, 

Задача вошла в версию 1.1.7

+2

Location of iRidium Server installation on Linux

Hi

iRidium Server on Linux is currently installed in the root directory. This is bad practice and is not a standard 3rd party installation location, please change the install to place iRidium in a standard location, such as /usr/local/iridium


/usr/local

The original idea behind '/usr/local' was to have a separate ('local') '/usr' directory on every machine besides '/usr', which might be just mounted read-only from somewhere else. It copies the structure of '/usr'. These days, '/usr/local' is widely regarded as a good place in which to keep self-compiled or third-party programs. The /usr/local hierarchy is for use by the system administrator when installing software locally. It needs to be safe from being overwritten when the system software is updated. It may be used for programs and data that are shareable amongst a group of hosts, but not found in /usr. Locally installed software must be placed within /usr/local rather than /usr unless it is being installed to replace or upgrade software in /usr.

source: http://tldp.org/LDP/Linux-Filesystem-Hierarchy/html/usr.html

+2
Under review

Запускать iRidium Server на Linux без root

Evgeny Gazdovsky 8 years ago in Server Solutions / Linux Server updated by Oksana (expert) 7 years ago 5

Iridium Server как Windows так и Linux версии "ловит" нажатия всех клавиш. Более того он их добросовестно складывает в логи! Будучи запущенным как сервис в Linux ему доступны все нажатия клавиш в любых подключенных терминалах под любыми пользователями! Получаем замечательный кейлогер, осталось только раздобыть логи со всеми логинами и паролями!


Более того на некоторые из них он еще и реагирует, так нажатие любой функциональной клавиши (F1-F12, стрелки вверх/вниз) воспринимаются сервером как нажатие клавиши Esc и приводит к завершению работы сервера. Это не только неудобно, так как производить какие либо работы на сервере становится невозможно (iridium прекращает работу). но так же и не безопасно! Любой пользователь может остановить работу сервиса, нажав Esc.


По поводу логирования и отслеживания клавиш, если для вас это так необходимо делать во время разработки, есть предложение сделать это только призапуске сервера с ключом, например, --debug.


Так же недопустимым с точки зрения безопасности является обязательная работа из по рута.

+1
Not a bug

Error install iRidium Server on Raspberry PI 3

Vuong Xuan Phuc 8 years ago in Server Solutions / Linux Server updated by Theo Derks - NL (distributor) 8 years ago 8

I have a Raspberry pi 3 and install it on micro SD card Toshiba 32Gb UHS-I. I install and run Raspian but when i install iRidium server and it run still few time and it restart. I ca'nt install it. I reinstall Raspian and reinstall iRidium server but it restart again.

Untitled.png

+1
Waiting for user's reply

linux server won't start because of eth0 error

Erik van den Brink 8 years ago in Server Solutions / Linux Server updated by Leandro Augusto 8 years ago 10 1 duplicate

Hello,


I wanted to run the iridium server software on a HP ProLiant ML350 Server.

When i installed the software and wanted it to run i get the next error

Image 12821

I think the error is in the eth0 interface because this interface is not known by the server as it's called by default: enp3s0.


How can i rename this interface to eth0 or is there another way to solve this problem?


+1
Answered

Работа с портами в RPi-2 (USB и/или GPIO)

Дмитрий Марков 8 years ago in Server Solutions / Linux Server updated by Oksana (expert) 8 years ago 11

Добрый день!

Напишите пожалуйста пример работы с портами USB и/или GPIO в RPi2.

1. Есть переходник USB - RS485. Необходим мануал, как можно отправлять команды в шину 485 через порт USB в RPi-2.

2. Необходим пример отправки команд через последовательный порт, через контакты GPIO.

0
Waiting for user's reply

сервер часто

AlexDr 7 years ago in Server Solutions / Linux Server updated 6 years ago 11

Доброго дня!


Есть сервер на RPi 3. В данный момент он работает на версии иридиум 1.1.8 (build 1.1.8.12782Jul 18 2017 18:01:58. Ну как работает - минут 5-10. Потом сервер iridium зависает и он ребутится ватчдогом. Интервалы до перезагрузки разные. Иногда 2 минуты, иногда 15 минут. Но в среднем 5-10.


Я ставил последнюю версию сервера - 1.2.1 он ведет себя точно так же. Пробовал очистить все папки, снести иридиум и устанавливал все по новой. Перезагрузки не прекратились.


Запустил параллельный пинг яндекса. На 214 пинге в веб интерфейсе сервера шапка стала красной. На 229 сервер ушел в ребут.


Image 21476


Как понять причину перезагрузок? 

в логах сервера встречал это:

[30-09-2017 00:17:06.000] DEBUG CORE Core DoInit
[30-09-2017 00:17:06.000] INFO TRACE === Crash Detected === 
[30-09-2017 00:17:06.000] INFO TRACE === End of Crash === 
[30-09-2017 00:17:06.000] INFO CORE Alert detected!!!
[30-09-2017 00:17:06.000] DEBUG CORE Core StartLoading
[30-09-2017 00:17:06.000] DEBUG PROJECT Load project /var/lib/iRidium Server/Documents/Project_1506720336160/


и это:

[30-09-2017 01:17:06.000] DEBUG CORE Core DoInit
[30-09-2017 01:17:06.000] INFO TRACE === Crash Detected === 
[30-09-2017 01:17:06.000] INFO TRACE Segmentation fault(11) at 0xD5FDD5F4 near 0xD5FDD5F4
[30-09-2017 01:17:06.000] INFO TRACE TraceSize 1, ErrorAddr: d5fdd5f
[30-09-2017 01:17:06.000] INFO TRACE === End of Crash === 
[30-09-2017 01:17:06.000] INFO CORE Alert detected!!!
[30-09-2017 01:17:06.000] DEBUG CORE Core StartLoading
[30-09-2017 01:17:07.000] DEBUG PROJECT Load project /var/lib/iRidium Server/Documents/Project_1506720336160/

В других логах все выглядит нормально:

[30-09-2017 09:49:09.000] DEBUG CORE Core DoInit
[30-09-2017 09:49:09.000] DEBUG CORE Core StartLoading
[30-09-2017 09:49:10.000] DEBUG PROJECT Load project /var/lib/iRidium Server/Documents/Project_1506720336160/





0
Answered

Server Raspberry Pi3 GPIO Access

Martin Lang 7 years ago in Server Solutions / Linux Server updated by Aleksandr Romanov (CTO) 6 years ago 3

hi,


i saw the "AV & Custom Systems (File)" driver. so i thought it would be possible to directly use the GPIO pins of a raspberry while running as iridium server?


when activating some GPIO pins in /sys/class/gpio/" via setting it up with export and then direction, etc. i can see that entry on the iridium server webgui GPIO tab. it also shows the current direction move and the value. but i was not able to set a value from within the webgui. 


can you provide us with a short example how to directly use a GPIO pin with the "AV & Custom Systems (File)" driver on the RPi3?


or do we have to use command line calls instead? 


thx.


martin

0
Answered

Server REST API Not Working

damian flynn 7 years ago in Server Solutions / Linux Server updated 7 years ago 2

I have followed the rough guide posted on https://support.iridiummobile.net/topics/283-server-rest-api/ and have failed to get any feedback from the server on the port 8443. When I switch to port 8888 on HTTP I make some progress, but most payloads are always returned blank.


For example the following request and response are typical.

http://172.16.1.250:8888/json/licence/get

{
    "type": "",
    "script_mode": "",
    "qr_mode": "",
    "server_max_clients": "",
    "datapoints": "",
    "serial": "",
    "expired": "",
    "products": []
}


My requirement is to change a driver value via the API; but so far I feel like I am missing an authentication step. Any guidance please?


thanks

Damian


BTW -

http://172.16.1.250:8888/plain/licence/get  returns a 404