after going back and forward, it was simple
supervisor uses python 2.6 and doesnt work with 2.7 on amazon linux ami, apparently (rhel fedora)
u can verify this by
#python2.6 -c "import supervisor; print('success')"
success
#python2.7 -c "import supervisor; print('success')"
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named supervisor
so u need to tell the system to use 2.6 instead of 2.7 - and u really have to make sure that this is safe to do - u dont want others app to start messing up. (am assuming u have both 2.6 and .27 installed already)
so steps to fix:
first run this command
# sudo update-alternatives --config python
a menu will appear select the right one.
#
There are 2 programs which provide 'python'.
Selection Command
-----------------------------------------------
*+ 1 /usr/bin/python2.7
2 /usr/bin/python2.6
Enter to keep the current selection[+], or type selection number: 2
#
choose the right one and ur set to go.
finally, try this one :
$ sudo /etc/init.d/supervisord start
Starting supervisord: [ OK ]
problem Solved!