AirNav RadarBox
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 


Author Topic: Service rbfeeder stop timeout  (Read 176 times)

0 Members and 1 Guest are viewing this topic.

danybd

  • New Member
  • *
  • Posts: 2
Service rbfeeder stop timeout
« on: September 27, 2021, 09:04:01 PM »
Hello everyone,
I´ve got a problem with my rbfeeder. Always when I want to reboot or shutdown my pi, it takes an eternity. I analyzed the issue and found out that by some reason the service rbfeeder does not want to stop and keeps running till timeout. This is my log:
sudo service rbfeeder status
● rbfeeder.service - RBFeeder Service
   Loaded: loaded (/lib/systemd/system/rbfeeder.service; enabled; vendor preset: enabled)
   Active: failed (Result: timeout) since Mon 2021-09-27 21:56:28 BST; 5s ago
  Process: 460 ExecStart=/usr/bin/rbfeeder (code=killed, signal=KILL)
  Process: 1650 ExecStop=/bin/kill -TERM $MAINPID (code=exited, status=0/SUCCESS)
 Main PID: 460 (code=killed, signal=KILL)

Sep 27 21:54:53 rpi3Nbg rbfeeder[460]: [2021-09-27 21:54:53]  ******** Statistics updated every 30 seconds ********
Sep 27 21:54:53 rpi3Nbg rbfeeder[460]: [2021-09-27 21:54:53]  Packets sent in the last 30 seconds: 0, Total packets sent since startup: 0
Sep 27 21:54:53 rpi3Nbg rbfeeder[460]: [2021-09-27 21:54:53]  Data sent: 1.1 KB
Sep 27 21:54:53 rpi3Nbg rbfeeder[460]: [2021-09-27 21:54:53]  Data received: 1.1 KB
Sep 27 21:54:58 rpi3Nbg systemd[1]: Stopping RBFeeder Service...
Sep 27 21:56:28 rpi3Nbg systemd[1]: rbfeeder.service: State 'stop-sigterm' timed out. Killing.
Sep 27 21:56:28 rpi3Nbg systemd[1]: rbfeeder.service: Killing process 460 (rbfeeder) with signal SIGKILL.
Sep 27 21:56:28 rpi3Nbg systemd[1]: rbfeeder.service: Main process exited, code=killed, status=9/KILL
Sep 27 21:56:28 rpi3Nbg systemd[1]: rbfeeder.service: Failed with result 'timeout'.
Sep 27 21:56:28 rpi3Nbg systemd[1]: Stopped RBFeeder Service.

Does anybody what is causing this issue?

abcd567

  • Sr. Member
  • ****
  • Posts: 484
  • CYYZ - Toronto
Re: Service rbfeeder stop timeout
« Reply #1 on: September 27, 2021, 10:45:43 PM »
This bug was in a previous version of rbfeeder. In current version it has been removed. You need to upgrade it to latest version.

First check your installed version by following commands:

sudo apt-get update 
apt-cache policy rbfeeder 


The output of last command above will list (1) version available (2) version installed.

To upgrade, please enter issue following commands:

sudo apt-get update
sudo apt-get install rbfeeder
sudo systemctl restart rbfeeder

During the upgrade, it will ask you if you want to keep your current version of the "rbfeeder.ini" file. You should press Enter to keep the current version of this file.

After upgrading is completed as above, check again what version is installed now:

apt-cache policy rbfeeder 


.
« Last Edit: September 27, 2021, 10:49:59 PM by abcd567 »

calisto42

  • New Member
  • *
  • Posts: 3
Re: Service rbfeeder stop timeout
« Reply #2 on: September 28, 2021, 08:18:09 AM »
Current version still needs quite long to stop.

$ time sudo service rbfeeder stop

real    1m35,706s
user    0m0,311s
sys     0m0,253s

$ apt-cache policy rbfeeder
rbfeeder:
  Installiert:           0.4.3-20210909231001
  Installationskandidat: 0.4.3-20210909231001
  Versionstabelle:

abcd567

  • Sr. Member
  • ****
  • Posts: 484
  • CYYZ - Toronto
Re: Service rbfeeder stop timeout
« Reply #3 on: September 28, 2021, 07:52:04 PM »
First purge current install of rbfeeder, then make a fresh insttall as follows:

Your sharing key is saved in following file 

/etc/rbfeeder.ini 

Copy-paste the key in Notepad and save notepad.

Now purge existing rbfeeder
Code: [Select]
sudo apt-get purge rbfeeder
sudo rm /etc/rbfeeder.ini 

Before you install a fresh copy of rbfeeder, reboot RPi to see how much time now it is taking to reboot. This will confirm the cause of slow reboot


Now install a fresh copy of latest version of rbfeeder
Code: [Select]
sudo bash -c "$(wget -O - http://apt.rb24.com/inst_rbfeeder.sh)" 

.
« Last Edit: September 28, 2021, 08:25:33 PM by abcd567 »