Discussion:
[Supervisor-users] apt-get vs source
Marcos Cano
2014-01-25 17:47:07 UTC
Permalink
hello i just realize there's a version of supervisor included as part of
the default repos in ubuntu...

in the past i installed supervisor from easy_install as recommended in the
documentartion online...

one thing i just came up is that under the repo version there's no webUI..
am i right?

anyone has any experience with the repo version?
Marcos Cano
2014-01-25 17:47:37 UTC
Permalink
as stated here
https://www.digitalocean.com/community/articles/how-to-install-and-manage-supervisor-on-ubuntu-and-debian-vps
Post by Marcos Cano
hello i just realize there's a version of supervisor included as part of
the default repos in ubuntu...
in the past i installed supervisor from easy_install as recommended in the
documentartion online...
one thing i just came up is that under the repo version there's no webUI..
am i right?
anyone has any experience with the repo version?
Jens Rantil
2014-01-26 13:12:10 UTC
Permalink
Hi Marcos,

What version of supervisor is in the Ubuntu repo? According to the changelog[1], the web interface was added in 2006, so I suspect that the web interface is simply not enabled for the Ubuntu repos package. Is it set up to listen on the right/public interface?

[1] https://github.com/Supervisor/supervisor/blob/master/CHANGES.txt#L1227

Cheers,
Jens
hello i just realize there's a version of supervisor included as part of the default repos in ubuntu...
in the past i installed supervisor from easy_install as recommended in the documentartion online...
one thing i just came up is that under the repo version there's no webUI.. am i right?
anyone has any experience with the repo version?
_______________________________________________
Supervisor-users mailing list
https://lists.supervisord.org/mailman/listinfo/supervisor-users
Tres Seaver
2014-01-26 14:10:49 UTC
Permalink
Post by Jens Rantil
Hi Marcos,
What version of supervisor is in the Ubuntu repo? According to the
changelog[1], the web interface was added in 2006, so I suspect that
the web interface is simply not enabled for the Ubuntu repos package.
Is it set up to listen on the right/public interface?
[1]
https://github.com/Supervisor/supervisor/blob/master/CHANGES.txt#L1227
Cheers, Jens
Post by Marcos Cano
hello i just realize there's a version of supervisor included as
part of the default repos in ubuntu...
in the past i installed supervisor from easy_install as recommended
in the documentartion online...
one thing i just came up is that under the repo version there's no webUI.. am i right?
anyone has any experience with the repo version?
The Debian packaging provides a config file which doesn't enable the web
server. You neeed to add and appropriate section to
/etc/supervisor/config, e.g.:
http://supervisord.org/configuration.html#inet-http-server-section-example


Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 ***@palladion.com
Palladion Software "Excellence by Design" http://palladion.com
Marcos Cano
2014-01-27 16:50:53 UTC
Permalink
it appears to be running the same version when i do a supervisorctl version
: 3.0a8, but canot find any http.py or any web servers source code..
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Post by Jens Rantil
Hi Marcos,
What version of supervisor is in the Ubuntu repo? According to the
changelog[1], the web interface was added in 2006, so I suspect that
the web interface is simply not enabled for the Ubuntu repos package.
Is it set up to listen on the right/public interface?
[1]
https://github.com/Supervisor/supervisor/blob/master/CHANGES.txt#L1227
Cheers, Jens
Post by Marcos Cano
hello i just realize there's a version of supervisor included as
part of the default repos in ubuntu...
in the past i installed supervisor from easy_install as recommended
in the documentartion online...
one thing i just came up is that under the repo version there's no
webUI.. am i right?
anyone has any experience with the repo version?
The Debian packaging provides a config file which doesn't enable the web
server. You neeed to add and appropriate section to
http://supervisord.org/configuration.html#inet-http-server-section-example
Tres.
- --
===================================================================
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlLlF2IACgkQ+gerLs4ltQ6eHQCeL/mTXvyWuPRVPdjX4U1mucca
KPMAnAzfIheIYbj9oaQGDA67pzP+vFO4
=aP2e
-----END PGP SIGNATURE-----
_______________________________________________
Supervisor-users mailing list
https://lists.supervisord.org/mailman/listinfo/supervisor-users
Tres Seaver
2014-01-27 17:19:27 UTC
Permalink
Post by Marcos Cano
Post by Tres Seaver
The Debian packaging provides a config file which doesn't enable the
web server. You neeed to add and appropriate section to
http://supervisord.org/configuration.html#inet-http-server-section-example
it appears to be running the same version when i do a supervisorctl
version : 3.0a8, but canot find any http.py or any web servers source
code..
Looking at the Ubuntu patch file:
http://archive.ubuntu.com/ubuntu/pool/universe/s/supervisor/supervisor_3.0a8-1.1.diff.gz

The file you are looking for should be in:

/usr/share/pyshared/supervisor/medusa/http_server.py

which is actually enabled in the default config, but only for Unix-domain
sockets:

$ head -6 /etc/supervisor/supervisord.conf
; supervisor config file

[unix_http_server]
file=/var/run//supervisor.sock ; (the path to the socket file)
chmod=0700 ; sockef file mode (default 0700)

If I configure the TCP version:

[inet_http_server]
port = 127.0.0.1:9001
username = user
password = 123

and restart, I can get to the web interface:

http://127.0.0.1:9001/



Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 ***@palladion.com
Palladion Software "Excellence by Design" http://palladion.com
Marcos Cano
2014-01-27 17:21:58 UTC
Permalink
thank you very much for your help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Post by Marcos Cano
Post by Tres Seaver
The Debian packaging provides a config file which doesn't enable the
web server. You neeed to add and appropriate section to
http://supervisord.org/configuration.html#inet-http-server-section-example
Post by Marcos Cano
it appears to be running the same version when i do a supervisorctl
version : 3.0a8, but canot find any http.py or any web servers source
code..
http://archive.ubuntu.com/ubuntu/pool/universe/s/supervisor/supervisor_3.0a8-1.1.diff.gz
/usr/share/pyshared/supervisor/medusa/http_server.py
which is actually enabled in the default config, but only for Unix-domain
$ head -6 /etc/supervisor/supervisord.conf
; supervisor config file
[unix_http_server]
file=/var/run//supervisor.sock ; (the path to the socket file)
chmod=0700 ; sockef file mode (default 0700)
[inet_http_server]
port = 127.0.0.1:9001
username = user
password = 123
http://127.0.0.1:9001/
Tres.
- --
===================================================================
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlLmlRoACgkQ+gerLs4ltQ7jPwCdHmenh+9fqnYbOUFwOci4jwXi
jCwAnA4WHlPbbDlWKjrFIq2gsQchEN0/
=KQVk
-----END PGP SIGNATURE-----
Loading...