Hi Swift,
Thank you for your kind prompt. I Have reviewed this threads, but, must of them are about installation, and not really sure if they may concern my case, as I have the:
Quote:
# service a2b-callback-daemon status
a2b_callback_daemon (pid 1222) is running...
So, service is running, it's true that several times, I have checked it, and I found it stopped, and no log reported... strange... but, now it's running, and in the log it's showing as
waiting...
Now...
In this thread:
viewtopic.php?f=33&t=7810&p=31343&hilit=callback+centos+python&sid=9b437994135e7635d1d28d2eb00615dd#p31343, sergior1, is suggesting to make some changes:
in /usr/bin/a2b_callback_daemon I had:
Quote:
#!/usr/bin/python
# EASY-INSTALL-ENTRY-SCRIPT: 'callback-daemon==1.0.prod-r1528','console_scripts','a2b_callback_daemon'
__requires__ = 'callback-daemon==1.0.prod-r1528'
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.exit(
load_entry_point('callback-daemon==1.0.prod-r1528', 'console_scripts', 'a2b_callback_daemon')()
)
I have renamed that file, and replace it by the a2b_callback_daemon.py. But after this change, I can restart the daemon, any more, neither with changing the daemon to python, not having it as is, I get:
Quote:
# service a2b-callback-daemon restart
Stopping a2b-callback-daemon: [ OK ]
a2b_callback_daemon is stopped
Traceback (most recent call last):
File "/usr/bin/a2b_callback_daemon", line 22, in <module>
import daemon
ImportError: No module named daemon
Starting a2b-callback-daemon: [FAILED]
Otherwise, when I remove that file, and put back my old /usr/bin/a2b_callback_daemon, and restart, deamon, as is restarting properly, and running:
Quote:
# service a2b-callback-daemon restart
Stopping a2b-callback-daemon: [FAILED]
a2b_callback_daemon is stopped
Starting a2b-callback-daemon: [ OK ]
Then, regarding the python version, as I had it installed, and working, I can't say it's version issue, as it was working, anyway, my current python is: python-2.6.6-52.el6.x86_64...
So, as daemon installation, i have it installed, and running, but, no calls are being handled... as we sow, and according to the log, it's showing as waiting, but when call arrive, it's not handling that....
About Ubuntu, it's true, I'm ubunter, since i have got divorced with widnwos for desktop... but for servers, I feel really much more comfortable to run Centos, then Ubuntu...
Even, as discussed with the team, they assure to have it running with Python version in Ubuntu 12.04 is 2.7.3, but, I have tried to install Ubuntu in a testing server, with python 2.8, i have got huge of installation issues... I wasn't comfortable to follow, and just abandon...
But, as i insist, DAEMON, for me, under Centos, it's running, no issue in the daemon itself, but not doing calls, as it should be...
I'd be really glad to pay and have it as an enterprise module, then have all this time wasting, but no one, of my known developers want to carry this task... ;(
Regards,