dab-scripts now use supervisor

659 views
Skip to first unread message

Yoann QUERET

unread,
Feb 11, 2016, 9:33:14 AM2/11/16
to crc-mm...@googlegroups.com
Hi all,

A new dab-script release v2.0.0 is available.
* https://github.com/Opendigitalradio/dab-scripts

dab-script now use :
- supervisor to launch all process (ODR-DabMux, ODR-DabMod,
fdk-aac-dabplus, toolame-dab)
- new folder structure under /home/odr/config/

It provide a working example with 3 DAB+ and 1 DAB service.

I think all necessary information are into README.md file, but if it
does not, tell me.


Yoann

Note : Old bash scripts are tagged 'old'

--
Yoann QUERET
yo...@queret.net

Jan de Vries

unread,
Jun 18, 2016, 5:51:44 AM6/18/16
to mmbtools
Got strange error after installing supervisor >>   Error: Cannot open an HTTP server: socket.error reported errno.EACCES (13)

anny help on this would be fine :-)

Yoann QUERET

unread,
Jun 18, 2016, 1:50:20 PM6/18/16
to crc-mm...@googlegroups.com, Jan de Vries
Le 18.06.2016 11:51, Jan de Vries a écrit :
> Got strange error after installing supervisor >> Error: Cannot open
> an HTTP server: socket.error reported errno.EACCES (13)

Have you trying to start supervisor as root or with sudo ?

--
Yoann QUERET
yo...@queret.net - 06.62.61.99.40

Jan de Vries

unread,
Jun 18, 2016, 2:21:52 PM6/18/16
to mmbtools, jdv....@gmail.com


message i get >>
rww@DABmux:~$ sudo supervisord
/usr/lib/python2.7/dist-packages/supervisor/options.py:296: UserWarning: Supervisord is running as root and it is searching for its configuration file in default locations (including its current working directory); you probably want to specify a "-c" argument specifying an absolute path to a configuration file for improved security.
  'Supervisord is running as root and it is searching '
Error: Another program is already listening on a port that one of our HTTP servers is configured to use.  Shut this program down first before starting supervisord.
For help, use /usr/bin/supervisord -h

Jan de Vries

unread,
Jun 18, 2016, 2:22:54 PM6/18/16
to mmbtools, jdv....@gmail.com


Op zaterdag 18 juni 2016 20:21:52 UTC+2 schreef Jan de Vries:


or >>
rww@DABmux:~$ supervisord

Error: Cannot open an HTTP server: socket.error reported errno.EACCES (13)
For help, use /usr/bin/supervisord -h

 

Yoann QUERET

unread,
Jun 18, 2016, 2:30:20 PM6/18/16
to crc-mm...@googlegroups.com, jdv....@gmail.com
Le 18.06.2016 20:21, Jan de Vries a écrit :
> message i get >>
> rww@DABmux:~$ sudo supervisord

Supervisor run as a service.

You need to start/restart/stop or get status with :
sudo service supervisor restart

--
Yoann QUERET
yo...@queret.net

Federico Allegretti

unread,
Jul 6, 2016, 11:51:01 AM7/6/16
to mmbtools
hello everybody.

Quite OFF topic, but i had to add the script for supervisor like that:
sudo vi /etc/supervisor/conf.d/dabmux.conf
and here lines like explained in page 17 of manual page :D

hope it could help

Jan de Vries

unread,
Jul 6, 2016, 4:34:35 PM7/6/16
to mmbtools
Its all running now 24/7 live on air.
start stop services with supervisor is simple now, using te web gui.
Tnx for the helping hand.

Jan

Federico Allegretti

unread,
Jul 8, 2016, 10:57:57 AM7/8/16
to mmbtools
how do you get that web interface running? is on official repositories?

Or is one of those rom supervisor home page?
http://supervisord.org/plugins.html


Il giorno giovedì 11 febbraio 2016 15:33:14 UTC+1, Yoann Queret ha scritto:

Jan de Vries

unread,
Jul 9, 2016, 11:31:45 AM7/9/16
to mmbtools

Web Server

A (sparse) web user interface with functionality comparable to supervisorctl may be accessed via a browser if you start supervisord against an internet socket. Visit the server URL (e.g. http://localhost:9001/) to view and control process status through the web interface after activating the configuration file’s [inet_http_server] section.

Jan 

Federico Allegretti

unread,
Jul 11, 2016, 12:56:33 PM7/11/16
to mmbtools
manaed to use Nginx following this guide:
http://www.dangtrinh.com/2013/11/supervisord-using-built-in-web.html

thanks


Il giorno giovedì 11 febbraio 2016 15:33:14 UTC+1, Yoann Queret ha scritto:

Jan de Vries

unread,
Jul 11, 2016, 3:46:06 PM7/11/16
to mmbtools
change the .ini file of superuser

[inet_http_server]

port=127.0.0.1:9001
username=
password=

this is doing the trick , just open http://localhost:9001
, no usr, no pass.

 Jan


Reply all
Reply to author
Forward
0 new messages