Answer the question
In order to leave comments, you need to log in
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)
Answer the question
In order to leave comments, you need to log in
@TANK_IST what do you have in /etc/supervisor/conf.d/? well, show /etc/supervisor/supervisord.conf too
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 questionAsk a Question
731 491 924 answers to any question