T
T
TANK_IST2014-01-12 18:14:50
ubuntu
TANK_IST, 2014-01-12 18:14:50

How to install supervisor on ubuntu 12.04?

[email protected]:~# apt-get install supervisor
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
supervisor
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 173 kB of archives.
After this operation, 979 kB of additional disk space will be used.
Get:1 archive.ubuntu.com/ubuntu precise/universe supervisor all 3.0a8-1.1 [173 kB]
Fetched 173 kB in 0s (252 kB/s)
Selecting previously unselected package supervisor.
(Reading database ... 47236 files and directories currently installed.)
Unpacking supervisor (from .../supervisor_3.0a8-1.1_all.deb) ...
Setting up supervisor (3.0a8-1.1) ...
Starting supervisor: Error: The directory named as part of the path ./logs/supervisord .log does not exist.
For help, use /usr/bin/supervisord -h
invoke-rc.d: initscript supervisor, action "start" failed.
dpkg: error processing supervisor (--configure):
subprocess installed post-installation script returned error exit status 2
Processing triggers for python-support ...
Errors were encountered while processing:
supervisor
E: Sub-process /usr/bin/dpkg returned an error code (1)

How to install supervisor on ubuntu 12.04?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
pomeo, 2014-01-12
@TANK_IST

@TANK_IST what do you have in /etc/supervisor/conf.d/? well, show /etc/supervisor/supervisord.conf too

V
Vlad Zhivotnev, 2014-01-12
@inkvizitor68sl

Try the file /var/lib/dpkg/info/supervisor.postinst to fix this line:
invoke-rc.d supervisor start || exit $?
Here $? change to 0.
Then figure out why supervisor couldn't start.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question