Добро пожаловать!

В этом форуме вы можете обсудить iRidium с другими пользователями.

Основные компоненты iRidium - приложение i3 pro и iRidium Server. Публикуйте здесь свои вопросы, идеи и найденные ошибки.

Вопрос команде технической поддержки вы можете задать, отправив приватное сообщение или email.


Подпишитесь на Историю обновлений, чтобы быть в курсе всех новостей!


Мы перевели нашу службу поддержки на новую систему технической поддержки. С 17.01.2022 мы отключили возможность создавать обращения через личный кабинет userecho. Теперь все запросы обрабатываются по почте на support@iridi.com .

Спасибо вам за ваше понимание и хорошего дня.

0

Linux server start when PC starts, but cannot get to stop or restart

Jackie Roos 8 лет назад в Server Solutions / Linux Server 0

Hi

I have the following script that starts, stops and restarts iRidium server on Ubuntu


#!/bin/sh
### BEGIN INIT INFO
# Provides:          iridiumserver
# Required-Start:    $remote_fs $syslog
# Required-Stop:     $remote_fs $syslog
# Should-Start:      $portmap
# Should-Stop:       $portmap
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Example initscript
# Description:       This file should be used to construct scripts to be
#                    placed in /etc/init.d.

### END INIT INFO

test -x /iridiumserver/iridium || exit 0
IRDIR=/iridiumserver
IREXE=$IRDIR/iridium
IRPID=$IRDIR/iridium.pid
IRPARAMS="--watchdog=10 --hidden"
USERID="root"

case "$1" in
start)
        echo -n "Starting iRidium server:"
        cd $IRDIR
        start-stop-daemon --start --chuid $USERID --chdir $IRDIR --make-pidfile --pidfile $IRPID    --exec $IREXE -- $IRPARAMS &
        echo "."
        ;;

stop)
        echo -n "Stopping iRidium server:"
        start-stop-daemon --stop --quiet --pidfile $IRPID
        if [ -e $IRPID ]
                then rm $IRPID
        fi
        echo "."  ;;

restart)
        echo -n "Restarting iRidium server:"
        cd $IRDIR
        start-stop-daemon --stop --quiet --pidfile $IRPID
        start-stop-daemon --start --chuid $USERID --chdir $IRDIR --make-pidfile --pidfile $IRPID    --exec $IREXE -- $IRPARAMS &  echo "."  ;;
*)
        echo "Usage: /etc/init.d/iridiumserver (start|stop|restart)"
        exit 1
        ;;

esac
exit 0


Then run the following commands in the terminal to get this to work

//move the above script to the startup folder

 cp home/linux/Downloads/iridiumserver /etc/init.d/iridiumserver

//change permissions to be executable

sudo chmod +x /etc/init.d/iridiumserver

//add the script to the startup

  sudo update-rc.d iridiumserver defaults 10

Now can run the script manually to test

  sudo /etc/init.d/iridiumserver

Result:

 Usage: /etc/init.d/iridiumserver (start|stop|restart)

 sudo /etc/init.d/iridiumserver start

Result:

  Starting iRidium server:.
   =================== Start as Daemon ===================
   Main thread exit

//enter CTL + C to get back to the terminal

  ^C

Test by rebooting

sudo shutdown -r now


The iRidium server starts.


But I cannot get the stop and restarts to work. It says cannot find the pid, and running the second time says stopping, but it does not actually stop.


Any suggestions please?


Thanks


0

Linux Server User Documents Directory Name

Jackie Roos 8 лет назад в Server Solutions / Linux Server обновлен 8 лет назад 0

Hi

On Linux, the name of the user documents "iRidium Server", with the space between iRidium and Server means to use this directory name in the command line means we must always put "" around it.


Can you please change to iRidiumServer, without the space.


Thanks


0

Linux iRidium daemon does not keep running

Jackie Roos 8 лет назад в Server Solutions / Linux Server 0

Hi

On Ubuntu 16.04


start iRidium: sudo ./iridium --hidden


It will run for a minute or so and then stops - connected clients go offline and system monitor no longer shows the iRidium process


is there anything else I need to do to get this to work as a daemon?

thanks :)

0
Ожидает ответа пользователя

What Linux for iRidium 3 Server?

Martin Lang 8 лет назад в Server Solutions / Linux Server обновлен 8 лет назад 6

Hi, when using a new Linux installation for iRidium 3 Server, what Linux Distribution do you prefer?


Thx!

0
Ожидает ответа пользователя

autostart linux server

Erik van den Brink 8 лет назад в Server Solutions / Linux Server обновлен Jackie Roos 8 лет назад 3

Hello,


Is there a command or setting to autostart the server on a linux device?

Also the "W" button shortcut isn't working in the server i think this need's to be checked.

I'm using a PC running Xubuntu 16.04 LTS

0
Ожидает ответа пользователя

Запись информации в БД​

George Petrov 8 лет назад в Server Solutions / Linux Server обновлен Oksana (expert) 8 лет назад 4

Platform: Raspberry Pi 2 Model B

OS: Raspbian Jessie 4.1

iRidium Server: 1.0.0.7946

Web-panel: v1.0.0.20


На tag = KNX IP Router.Температура из системы KNX раз в 10 секунд получаем значение температуры. На графике точки данных располагаются неравномерно, данные записываются с точностью до минуты. Выгрузка данных в CSV приложена. Получается, что мы не можем работать с процессами, которые изменяются чаще, чем раз в минуту.


Image 11814


KNX IP Router.Температура.csv

Ответ
Oksana (expert) 8 лет назад

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


Пришлите пожалуйста ваш проект



Сервис поддержки клиентов работает на платформе UserEcho