Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Mon Mar 18, 2019 1:36 pm
Auto Dialer Software


All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Callback daemon not working on Centos 6.7 with python 2.6.6
PostPosted: Thu Sep 17, 2015 10:18 am 
Offline

Joined: Tue Jun 30, 2015 11:07 am
Posts: 2
Hello Everyone,

I am new to a2billing, I read many related posts but unfortunately I cannot fix the issue with the callback daemon, hope someone can help...

My System info:
Code:
# uname -a
Linux 2.6.32-573.el6.x86_64 #1 SMP Thu Jul 23 15:44:03 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
# cat /etc/redhat-release
CentOS release 6.7 (Final)


Code:
python-setuptools-0.6.10-3.el6.noarch
MySQL-python-1.2.3-0.3.c1.1.el6.x86_64
python-2.6.6-64.el6.x86_64
Asterisk 11.17.0
A2Billing 2.1.4



I installed a2billing 2.1.4 and I can log into the admin portal successfully. But for the callback daemon I cannot get it to work.
The steps I install callback daemon:

Code:
# yum -y install python-setuptools.noarch MySQL-python
# easy_install sqlalchemy
# cd /usr/local/src/a2billing-2.1.4/Callback/callback-daemon-py
# python setup.py build
# python setup.py bdist_egg
# easy_install dist/callback_daemon-1.1.prod-py2.6.egg
# cp callback_daemon/a2b-callback-daemon.rc /etc/init.d/a2b-callback-daemon
# chmod +x /etc/init.d/a2b-callback-daemon
# chkconfig --add a2b-callback-daemon


But when I do...

Code:
# /etc/init.d/a2b-callback-daemon start
a2b_callback_daemon is stopped
Starting a2b-callback-daemon:                              [  OK  ]
# /etc/init.d/a2b-callback-daemon restart
Stopping a2b-callback-daemon:                              [FAILED]
a2b_callback_daemon is stopped
Starting a2b-callback-daemon:                              [  OK  ]
# /etc/init.d/a2b-callback-daemon restart
Stopping a2b-callback-daemon:                              [FAILED]
a2b_callback_daemon is stopped
Starting a2b-callback-daemon:                              [  OK  ]


And there is nothing in /var/log/a2b-callback-daemon.log

BTW, I saw there is a rpm "callback_daemon-1.0.prod_r1528-1.noarch.rpm" under the folder dist/
Can I install the callback daemon with it?

I tried to do:
Code:
# rpm -ivh callback_daemon-1.0.prod_r1528-1.noarch.rpm
error: Failed dependencies:
   python(abi) = 2.5 is needed by callback_daemon-1.0.prod_r1528-1.noarch


But Centos 6.7 default comes with Python 2.6.6 instead of 2.5
Anyone please advise how to solve this issue and get callback daemon to work?

Thanks.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 
VoIP Billing solution


All times are UTC


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group