Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Apr 19, 2024 11:23 am
Auto Dialer Software


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Configuration - callback daemon - Problem on Ubantu
PostPosted: Fri Nov 20, 2009 4:14 pm 
Offline

Joined: Fri Nov 20, 2009 4:07 pm
Posts: 1
I have problem with installing a2billing callback daemon on ubantu 9.10 (2.6.31-14-generic). I have successfully installed asterisk (Ver. 1.6.19) , freepbx (Ver. 2.6.0.0) and a2billing (ver. 1.4.2.1). Then I have tried to install the callback daemon in two ways; unsuccessful.

First way (according to the a2billing instruction)

#apt-get install python-setuptools python-mysqldb python-psycopg2 python-sqlalchemy - Done
#cd /usr/local/src/a2billing/CallBack - Done

#easy_install callback-daemon-py/dist/callback_daemon-1.0.prod_r1527-py2.5.egg

here is the problem:

Processing callback_daemon-1.0.prod_r1527-py2.5.egg
Removing /usr/local/lib/python2.6/dist-packages/callback_daemon-1.0.prod_r1527-py2.5.egg
Copying callback_daemon-1.0.prod_r1527-py2.5.egg to /usr/local/lib/python2.6/dist-packages
Removing callback-daemon 1.0.prod-r1528 from easy-install.pth file
Adding callback-daemon 1.0.prod-r1527 to easy-install.pth file
Installing a2b_callback_daemon script to /usr/local/bin


Installed /usr/local/lib/python2.6/dist-packages/callback_daemon-1.0.prod_r1527-py2.5.egg
Processing dependencies for callback-daemon==1.0.prod-r1527
Searching for callback-daemon==1.0.prod-r1527
Reading http://pypi.python.org/simple/callback-daemon/
Couldn't retrieve index page for 'callback-daemon'
Scanning index of all packages (this may take a while)
Reading http://pypi.python.org/simple/
No local packages or download links found for callback-daemon==1.0.prod-r1527

error: Could not find suitable distribution for Requirement.parse('callback-daemon==1.0.prod-r1527')

Unfortunately, I couldn't find any solution for this except the following method.


Second way.

cp dist/callback_daemon-1.0.prod-r1528.tar.gz /tmp
- Done
cd /tmp
- Done
tar xvfz callback_daemon-1.0.prod-r1528.tar.gz
-Done
cd callback_daemon-1.0.prod-r1528
- Done


python setup.py build
- Problem


running build
running build_py

package init file 'callback_daemon/__init__.py' not found (or not a regular file)
(To resolve this I just make a file _init_.py in callback_daemon and then it resolved. But don't know whether its correct)
creating build
creating build/lib.linux-i686-2.6
creating build/lib.linux-i686-2.6/callback_daemon
copying callback_daemon/daemon.py -> build/lib.linux-i686-2.6/callback_daemon
copying callback_daemon/manager.py -> build/lib.linux-i686-2.6/callback_daemon
copying callback_daemon/database.py -> build/lib.linux-i686-2.6/callback_daemon
copying callback_daemon/a2b_callback_daemon.py -> build/lib.linux-i686-2.6/callback_daemon
copying callback_daemon/a2b-callback-daemon.debian -> build/lib.linux-i686-2.6/callback_daemon
copying callback_daemon/a2b-callback-daemon.rc -> build/lib.linux-i686-2.6/callback_daemon



python setup.py bdist_egg
- Done
easy_install dist/callback_daemon-1.0.prod_r1528-py2.4.egg



chkconfig --add a2b-callback-daemon



insserv: warning: script 'K60a2b-callback-daemon' missing LSB tags and overrides
insserv: warning: script 'K20acpi-support' missing LSB tags and overrides
insserv: warning: script 'a2b-callback-daemon' missing LSB tags and overrides
insserv: warning: script 'udevtrigger' missing LSB tags and overrides
insserv: warning: script 'atd' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0 6) of script `networking' overwrites defaults (empty).
insserv: warning: script 'hwclock-save' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0 6) of script `umountnfs.sh' overwrites defaults (empty).
insserv: warning: script 'dmesg' missing LSB tags and overrides
insserv: warning: script 'network-manager' missing LSB tags and overrides
insserv: warning: script 'avahi-daemon' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0 6) of script `sendsigs' overwrites defaults (empty).
insserv: warning: script 'acpi-support' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0) of script `halt' overwrites defaults (empty).
insserv: warning: script 'anacron' missing LSB tags and overrides
insserv: warning: script 'udev-finish' missing LSB tags and overrides
insserv: warning: script 'acpid' missing LSB tags and overrides
insserv: warning: script 'cron' missing LSB tags and overrides
insserv: warning: script 'ufw' missing LSB tags and overrides
insserv: warning: script 'udev' missing LSB tags and overrides
insserv: warning: script 'dbus' missing LSB tags and overrides
insserv: warning: script 'usplash' missing LSB tags and overrides
insserv: warning: script 'hal' missing LSB tags and overrides
insserv: warning: script 'module-init-tools' missing LSB tags and overrides
insserv: warning: script 'procps' missing LSB tags and overrides
insserv: warning: script 'hwclock' missing LSB tags and overrides
insserv: warning: script 'apport' missing LSB tags and overrides
insserv: warning: script 'udevmonitor' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0 6) of script `wpa-ifupdown' overwrites defaults (empty).
insserv: warning: script 'rsyslog' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0 6) of script `umountfs' overwrites defaults (empty).
insserv: warning: script 'sreadahead' missing LSB tags and overrides
insserv: warning: script 'rsyslog-kmsg' missing LSB tags and overrides
insserv: warning: script 'gdm' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0 6) of script `umountroot' overwrites defaults (empty).
insserv: warning: current start runlevel(s) (6) of script `reboot' overwrites defaults (empty).
insserv: There is a loop between service rsyslog and apache2 if stopped
insserv: loop involving service apache2 at depth 3
insserv: loop involving service rsyslog at depth 2
insserv: loop involving service udev at depth 1
insserv: There is a loop between service rsyslog and apache2 if stopped
insserv: loop involving service bluetooth at depth 2
insserv: exiting without changing boot order!
/sbin/insserv failed, exit code 1
a2b-callback-daemon 0:off 1:off 2:on 3:on 4:on 5:on 6:off


service a2b-callback-daemon start



No a2b-callback-daemon installed

chkconfig a2b-callback-daemon on



insserv: warning: script 'K60a2b-callback-daemon' missing LSB tags and overrides
insserv: warning: script 'K20acpi-support' missing LSB tags and overrides
insserv: warning: script 'a2b-callback-daemon' missing LSB tags and overrides
insserv: warning: script 'udevtrigger' missing LSB tags and overrides
insserv: warning: script 'atd' missing LSB tags and overrides
insserv: warning: script 'hwclock-save' missing LSB tags and overrides
insserv: warning: script 'dmesg' missing LSB tags and overrides
insserv: warning: script 'network-manager' missing LSB tags and overrides
insserv: warning: script 'avahi-daemon' missing LSB tags and overrides
insserv: warning: script 'acpi-support' missing LSB tags and overrides
insserv: warning: script 'anacron' missing LSB tags and overrides
insserv: warning: script 'udev-finish' missing LSB tags and overrides
insserv: warning: script 'acpid' missing LSB tags and overrides
insserv: warning: script 'cron' missing LSB tags and overrides
insserv: warning: script 'ufw' missing LSB tags and overrides
insserv: warning: script 'udev' missing LSB tags and overrides
insserv: warning: script 'dbus' missing LSB tags and overrides
insserv: warning: script 'usplash' missing LSB tags and overrides
insserv: warning: script 'hal' missing LSB tags and overrides
insserv: warning: script 'module-init-tools' missing LSB tags and overrides
insserv: warning: script 'procps' missing LSB tags and overrides
insserv: warning: script 'hwclock' missing LSB tags and overrides
insserv: warning: script 'apport' missing LSB tags and overrides
insserv: warning: script 'udevmonitor' missing LSB tags and overrides
insserv: warning: script 'rsyslog' missing LSB tags and overrides
insserv: warning: script 'sreadahead' missing LSB tags and overrides
insserv: warning: script 'rsyslog-kmsg' missing LSB tags and overrides
insserv: warning: script 'gdm' missing LSB tags and overrides
insserv: There is a loop between service rsyslog and apache2 if stopped
insserv: loop involving service apache2 at depth 3
insserv: loop involving service rsyslog at depth 2
insserv: loop involving service udev at depth 1
insserv: loop involving service bluetooth at depth 2
insserv: loop involving service sendsigs at depth 6
insserv: exiting without changing boot order!
/sbin/insserv failed, exit code 1


Hope you could give me a clue to resolve this problem. I would greatly appreciate your help on this.


Top
 Profile  
 
 Post subject: Re: Configuration - callback daemon - Problem on Ubantu
PostPosted: Thu Aug 26, 2010 10:51 am 
Offline

Joined: Thu Aug 26, 2010 9:27 am
Posts: 4
Location: Singapore
Please refer to this post and see if it can help you

viewtopic.php?f=33&t=7711&p=31137#p31137


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 
Auto Dialer Software


All times are UTC


Who is online

Users browsing this forum: No registered users and 11 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