Skip to content
This repository has been archived by the owner on Sep 29, 2022. It is now read-only.

[amd64] ERROR missing /usr/bin/airtime_analyzer #20

Closed
maxlinux2000 opened this issue Sep 11, 2020 · 4 comments
Closed

[amd64] ERROR missing /usr/bin/airtime_analyzer #20

maxlinux2000 opened this issue Sep 11, 2020 · 4 comments

Comments

@maxlinux2000
Copy link

maxlinux2000 commented Sep 11, 2020

HI, i'm trying to setup a libretime docker container on a VPS, but following the instructions at the moment to run libre_start.sh, it show me this error.

airtime_analyzer don't exist in the path.

root@r1:/opt/libretime-docker# docker-compose up
Creating volume "libretime-docker_libretime_postgres" with default driver
Creating libretime ... done
Attaching to libretime
libretime    | Restarting postgres DB
libretime    | Removed stale pid file.
libretime    | Setting up liquidsoap dir
libretime    | Restarting libretime services
libretime    | ERROR:systemctl: Exec command does not exist: (ExecStart) /usr/bin/airtime_analyzer
libretime    | ERROR:systemctl: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
libretime    | ERROR:systemctl: Found 1 problems in /etc/systemd/system/airtime_analyzer.service
libretime    | ERROR:systemctl: Now 1 executable paths were not found in the current environment.
libretime    | ERROR:systemctl: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
libretime    | Starting libretime container...
libretime    | ERROR:systemctl: Exec command does not exist: (ExecStart) /usr/bin/airtime_analyzer
libretime    | ERROR:systemctl: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
libretime    | ERROR:systemctl: Found 1 problems in /etc/systemd/system/airtime_analyzer.service
libretime    | ERROR:systemctl: Now 1 executable paths were not found in the current environment.
libretime    | ERROR:systemctl: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

root@r1:/opt/libretime-docker# docker exec libretime sh /libre_start.sh
ERROR:systemctl: Exec command does not exist: (ExecStart) /usr/bin/airtime_analyzer
ERROR:systemctl: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ERROR:systemctl: Found 1 problems in /etc/systemd/system/airtime_analyzer.service
ERROR:systemctl: Now 1 executable paths were not found in the current environment.
ERROR:systemctl: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
root@r1:/opt/libretime-docker# 

here the logs


airtime-playout.service: ,
airtime-playout.service: 2020-09-11 06:11:54,811 [telnetliquidsoap] [INFO ]  streams.master_dj_stop,
airtime-playout.service: ,
airtime-playout.service: 2020-09-11 06:11:54,812 [telnetliquidsoap] [INFO ]  vars.stream_metadata_type ,
airtime-playout.service: ,
airtime-playout.service: 2020-09-11 06:11:54,812 [telnetliquidsoap] [INFO ]  vars.station_name ,
airtime-playout.service: ,
airtime-playout.service: 2020-09-11 06:11:54,812 [telnetliquidsoap] [INFO ]  vars.default_dj_fade 0.000,
airtime-playout.service: ,
airtime-playout.service: 2020-09-11 06:11:55,058 [recorder] [INFO ]  Parsing recording show schedules...,
airtime-playout.service: 2020-09-11 06:11:55,058 [recorder] [INFO ]  Bootstrap recorder schedule received: {u'is_recording': False, u'server_timezone': u'UTC', u'shows': []},
airtime-playout.service: 2020-09-11 06:11:55,059 [recorder] [INFO ]  Bootstrap complete: got initial copy of the schedule,
airtime-playout.service: 2020-09-11 06:11:55,075 [api_client] [ERROR]  HTTP Error 307: Temporary Redirect,
airtime-playout.service: 2020-09-11 06:11:55,229 [pypofetch] [INFO ]  Bootstrap schedule received: {u'media': {}},
airtime-playout.service: 2020-09-11 06:11:55,230 [pypofetch] [INFO ]  Loop #1,
airtime-playout.service: 2020-09-11 06:11:55,236 [pypopush] [INFO ]  heartbeat,
airtime-playout.service: 2020-09-11 06:11:55,237 [pypoliqqueue] [INFO ]  New schedule received: {},
airtime-playout.service: 2020-09-11 06:11:55,237 [pypoliqqueue] [INFO ]  waiting indefinitely for schedule,
airtime-playout.service: 2020-09-11 06:11:59,611 [pypomessagehandler] [INFO ]  Initializing RabbitMQ stuff,
airtime-playout.service: 2020-09-11 06:11:59,643 [pypomessagehandler] [ERROR]  [Errno 111] Connection refused,
airtime-playout.service: 2020-09-11 06:11:59,643 [pypomessagehandler] [ERROR]  Exception: __exit__,
airtime-playout.service: 2020-09-11 06:11:59,648 [pypomessagehandler] [ERROR]  traceback: Traceback (most recent call last):,
airtime-playout.service:   File "/usr/local/lib/python2.7/dist-packages/airtime_playout-1.0-py2.7.egg/pypo/pypomessagehandler.py", line 92, in main,
airtime-playout.service:     with self.init_rabbit_mq() as queue:,
airtime-playout.service: AttributeError: __exit__,
airtime-playout.service: ,
airtime-playout.service: 2020-09-11 06:11:59,648 [pypomessagehandler] [ERROR]  Error connecting to RabbitMQ Server. Trying again in few seconds,
airtime-playout.service: 2020-09-11 06:12:04,652 [pypomessagehandler] [INFO ]  Initializing RabbitMQ stuff,
airtime-playout.service: 2020-09-11 06:12:04,668 [pypomessagehandler] [ERROR]  [Errno 111] Connection refused,
airtime-playout.service: 2020-09-11 06:12:04,668 [pypomessagehandler] [ERROR]  Exception: __exit__,
airtime-playout.service: 2020-09-11 06:12:04,668 [pypomessagehandler] [ERROR]  traceback: Traceback (most recent call last):,
airtime-playout.service:   File "/usr/local/lib/python2.7/dist-packages/airtime_playout-1.0-py2.7.egg/pypo/pypomessagehandler.py", line 92, in main,
airtime-playout.service:     with self.init_rabbit_mq() as queue:,
airtime-playout.service: AttributeError: __exit__,
airtime-playout.service: ,
airtime-playout.service: 2020-09-11 06:12:04,668 [pypomessagehandler] [ERROR]  Error connecting to RabbitMQ Server. Trying again in few seconds,
airtime-playout.service: 2020-09-11 06:12:09,674 [pypomessagehandler] [INFO ]  Initializing RabbitMQ stuff,
airtime-playout.service: ,
airtime_analyzer.service: ERROR:systemctl:('/usr/bin/airtime_analyzer'): [Errno 2] No such file or directory,
airtime_analyzer.service: ERROR:systemctl:('/usr/bin/airtime_analyzer'): [Errno 2] No such file or directory,
airtime_analyzer.service: ,
apache2.service: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.3. Set the 'ServerName' directive globally to suppress this message,
apache2.service: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.3. Set the 'ServerName' directive globally to suppress this message,
apache2.service: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.3. Set the 'ServerName' directive globally to suppress this message,
apache2.service: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.18.0.3. Set the 'ServerName' directive globally to suppress this message,
apache2.service: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.18.0.3. Set the 'ServerName' directive globally to suppress this message,
apache2.service: httpd (pid 63) already running,
apache2.service: ,
rabbitmq-server.service: Waiting for rabbitmq@localhost,
rabbitmq-server.service: pid is 114,
rabbitmq-server.service: ,
icecast2.service:  * Starting streaming media server icecast2,
icecast2.service:    ...done.,
icecast2.service: [2020-07-15  11:28:34] WARN CONFIG/_parse_root Warning, <hostname> not configured, using default value "localhost". This will cause problems, e.g. with YP directory listings.,
icecast2.service: [2020-07-15  11:28:34] WARN CONFIG/_parse_root Warning, <location> not configured, using default value "Earth".,
icecast2.service: [2020-07-15  11:28:34] WARN CONFIG/_parse_root Warning, <admin> contact not configured, using default value "icemaster@localhost".,
icecast2.service:  * Starting streaming media server icecast2,
icecast2.service:    ...done.,
icecast2.service: [2020-09-11  06:12:10] WARN CONFIG/_parse_root Warning, <hostname> not configured, using default value "localhost". This will cause problems, e.g. with YP directory listings.,
icecast2.service: [2020-09-11  06:12:10] WARN CONFIG/_parse_root Warning, <location> not configured, using default value "Earth".,
icecast2.service: [2020-09-11  06:12:10] WARN CONFIG/_parse_root Warning, <admin> contact not configured, using default value "icemaster@localhost".,
icecast2.service: ,
liquidsoap.service: Starting liquidsoap channels: no script found in /etc/liquidsoap,
liquidsoap.service: ,
airtime-liquidsoap.service: 2020-09-11 06:12:15,621 [pyponotify] [INFO ]  #################################################,
airtime-liquidsoap.service: 2020-09-11 06:12:15,622 [pyponotify] [INFO ]  # Calling server to update liquidsoap status    #,
airtime-liquidsoap.service: 2020-09-11 06:12:15,622 [pyponotify] [INFO ]  #################################################,
airtime-liquidsoap.service: 2020-09-11 06:12:15,622 [pyponotify] [INFO ]  msg = OK,
airtime-liquidsoap.service: 2020-09-11 06:12:19,367 [api_client] [ERROR]  Exception: HTTP Error 307: Temporary Redirect,
airtime-liquidsoap.service: 2020-09-11 06:12:19,368 [pyponotify] [INFO ]  Response: null,
airtime-liquidsoap.service: ,
airtime-liquidsoap.service: #########################################,
airtime-liquidsoap.service: #           *** pypo  ***               #,
airtime-liquidsoap.service: #     pypo notification gateway         #,
airtime-liquidsoap.service: #########################################,
airtime-liquidsoap.service: ,
airtime-liquidsoap.service: 2020-09-11 06:12:24,790 [api_client] [ERROR]  Exception: HTTP Error 307: Temporary Redirect,
airtime-liquidsoap.service: 2020-09-11 06:12:24,791 [pyponotify] [INFO ]  Response: null,
airtime-liquidsoap.service: ,
airtime-liquidsoap.service: #########################################,
airtime-liquidsoap.service: #           *** pypo  ***               #,
airtime-liquidsoap.service: #     pypo notification gateway         #,
airtime-liquidsoap.service: #########################################,
airtime-liquidsoap.service: ,
airtime-liquidsoap.service: 2020-09-11 06:12:29,712 [api_client] [ERROR]  Exception: HTTP Error 307: Temporary Redirect,
airtime-liquidsoap.service: 2020-09-11 06:12:29,713 [pyponotify] [INFO ]  Response: null,
airtime-liquidsoap.service: ,
airtime-liquidsoap.service: #########################################,
airtime-liquidsoap.service: #           *** pypo  ***               #,
airtime-liquidsoap.service: #     pypo notification gateway         #,
airtime-liquidsoap.service: #########################################,
airtime-liquidsoap.service: ,
airtime-liquidsoap.service: 2020-09-11 06:12:35,839 [api_client] [ERROR]  Exception: HTTP Error 307: Temporary Redirect,
airtime-liquidsoap.service: 2020-09-11 06:12:35,839 [pyponotify] [INFO ]  Response: null,
airtime-liquidsoap.service: ,
airtime-liquidsoap.service: #########################################,
airtime-liquidsoap.service: #           *** pypo  ***               #,
airtime-liquidsoap.service: #     pypo notification gateway         #,
airtime-liquidsoap.service: #########################################,
airtime-liquidsoap.service: ,

Is possible that the image was corrupped os wrong?

@maxlinux2000
Copy link
Author

the commands used:


git clone https://github.com/kessibi/libretime-docker.git
cd libretime-docker
docker-compose up -d
docker exec libretime sh /libre_start.sh (during the wizard at http://123.123.123.123)

@maxlinux2000
Copy link
Author

maxlinux2000 commented Sep 11, 2020

ok I think I found... this problem is related with mutagen (again)

We need to change the tweak in preparation.sh with

### MUTAGEN TWEAK
echo "** Mutagen tweaking **"
sed -i 's/mutagen>=1.41.1/mutagen==1.43/g' python_apps/airtime_analyzer/setup.py

@kessibi
Copy link
Owner

kessibi commented Sep 13, 2020

The image still builds as usual and I dont have an AMD64 environment at hand so I'm trusting you on this one.
The repo has been updated and so will the images (when the push is over).
Thanks 👍

@kessibi kessibi closed this as completed Sep 13, 2020
@valerio-bozzolan
Copy link
Contributor

valerio-bozzolan commented Nov 21, 2020

Just to note that I encountered this issue following this guide (v0.1):

https://github.com/kessibi/libretime-docker/wiki/Sample-installation

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants