Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Tue May 31, 2016 7:40 am
Auto Dialer Software


All times are UTC




Post new topic Reply to topic  [ 19 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: 1.7:package init file 'callback_daemon/__init__.py not found
PostPosted: Thu May 27, 2010 6:43 pm 
Offline

Joined: Sat Oct 13, 2007 4:07 am
Posts: 160
I must have missed a step. I have gotten a bit further.

Now at:

service a2b-callback-daemon start


Quote:
a2b_callback_daemon is stopped
Traceback (most recent call last):
File "/usr/bin/a2b_callback_daemon", line 7, in ?
sys.exit(
File "build/bdist.linux-x86_64/egg/callback_daemon/a2b_callback_daemon.py", line 269, in main
File "build/bdist.linux-x86_64/egg/callback_daemon/daemon.py", line 98, in main
File "build/bdist.linux-x86_64/egg/callback_daemon/daemon.py", line 135, in read_basic_config
File "build/bdist.linux-x86_64/egg/callback_daemon/daemon.py", line 358, in get_uid_gid
File "/usr/lib64/python2.4/ConfigParser.py", line 511, in get
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'daemon-info'
Starting a2b-callback-daemon: [FAILED]


Top
 Profile  
 
 Post subject: Re: 1.7:package init file 'callback_daemon/__init__.py not found
PostPosted: Thu Aug 26, 2010 9:49 am 
Offline

Joined: Thu Aug 26, 2010 9:27 am
Posts: 4
Location: Singapore
#I managed to resolved the problem for installing callback-daemon on centos, version 1.7.1 of a2billing. (this should work for other back dated version)

#I am assuming you've retrieved the trunk package using svn and stored all the files under /usr/local/src/a2billing/
#Also your a2billing.conf file is stored here --> /etc/a2billing.conf else take note of the additional steps marked in red

#goto target directory
(1) cd /usr/local/src/a2billing/CallBack/callback-daemon-py/dist/

#untar the r1528 file to create callback_daemon-1.0.prod-r1528 directory
(2) tar -xvf callback_daemon-1.0.prod-r1528.tar.gz

#Go down into the newly untared directory
(3) cd callback_daemon-1.0.prod-r1528

#excute the following python commands as per a2billing doc site
(4) python setup.py build
(5) python setup.py bdist_egg
#additional steps to correct the path for the a2billing.conf file
(5b) vi callback_daemon/a2b_callback_daemon.py
(5c) replace the path to which your a2billing.conf resides in your system, the line should be --> CONFIG_FILE =

#execute the installation
(6) easy_install dist/callback_daemon-1.0.prod_r1528-py2.4.egg

#install the init script and daemon service (still at your current directory level)
(7) cp build/lib/callback_daemon/a2b-callback-daemon.rc /etc/init.d/a2b-callback-daemon
(8) chmod +x /etc/init.d/a2b-callback-daemon
(9) chkconfig --add a2b-callback-daemon
(10) chkconfig a2b-callback-daemon on

# finally start the service u can either use the init script or service command
(11a) service a2b-callback-daemon start
(11b) /etc/init.d/a2b-callback-daemon start


#hopefully this solves your problem :D


Top
 Profile  
 
 Post subject: Re: 1.7:package init file 'callback_daemon/__init__.py not found
PostPosted: Tue Aug 31, 2010 3:12 pm 
Offline

Joined: Sat Oct 13, 2007 4:07 am
Posts: 160
Thanks a LOT for this info. I still have to get the new 1.7 package functioning.

Seems the install is completly new compared to the older versions. This my copy is not functioning at all.
I think it is hanging at some point in the code. Only way to try to find out is to trace where it hangs at.

I will give your fix a try as soon as I am able to. thanks


Top
 Profile  
 
 Post subject: Re: 1.7:package init file 'callback_daemon/__init__.py not found
PostPosted: Wed Nov 28, 2012 1:08 pm 
Offline

Joined: Mon Dec 06, 2010 10:39 am
Posts: 26
i have the same problem using A2billing 2.0.1

Code:
/bin/bash: /usr/bin/a2b_callback_daemon: No such file or directory
Starting a2b-callback-daemon:                              [FAILED]


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ]  Go to page Previous  1, 2
VoIP Billing solution


All times are UTC


Who is online

Users browsing this forum: No registered users and 5 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group