Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Apr 19, 2024 11:51 am
Predictive Dialer


All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: CallBack daemon status - log
PostPosted: Wed Jul 01, 2009 9:39 am 
Offline

Joined: Sat Jun 20, 2009 1:53 am
Posts: 3
Hello,
Before , please excuse my english.
I install a2billing 1.4 in ubuntu 8.04 it work fine (trunk,sip,....)
Now i'm trying callback. I install callback daemond like manual said
Code:
#apt-get install python-setuptools python-mysqldb python-psycopg2 python-sqlalchemy
#cd /usr/local/src/a2billing/CallBack
#easy_install callback-daemon-py/dist/callback_daemon-1.0.prod_r1527-py2.5.egg

#cd /usr/local/src/a2billing/CallBack/callback-daemon-py/callback_daemon/
#cp a2b-callback-daemon.debian  /etc/init.d/a2b-callback-daemon
#chmod +x /etc/init.d/a2b-callback-daemon

#update-rc.d a2b-callback-daemon defaults 40 60   


I try to start daemon but status is also stopped:
Code:
root@ubuntu:/# /etc/init.d/a2b-callback-daemon start
*  Starting a2b-callback-daemon  : a2b-callback-daemon                                              [ OK ]
root@ubuntu:/# /etc/init.d/a2b-callback-daemon status
A2Billing Callback Daemon is stopped

Please what is the problem ?? And how can i do for getting log because a2B logs folder (/var/log/a2billing) don't exist??
Thanks


Top
 Profile  
 
 Post subject: Re: CallBack daemon status - log
PostPosted: Thu Jul 02, 2009 10:58 am 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
titi wrote:
I try to start daemon but status is also stopped:
Code:
root@ubuntu:/# /etc/init.d/a2b-callback-daemon start
*  Starting a2b-callback-daemon  : a2b-callback-daemon                                              [ OK ]
root@ubuntu:/# /etc/init.d/a2b-callback-daemon status
A2Billing Callback Daemon is stopped
What errors do you get if you start the callback daemon script directly, rather than by using the init script?
Quote:
And how can i do for getting log because a2B logs folder (/var/log/a2billing) don't exist??
Code:
# mkdir /var/log/a2billing
# chown asterisk:apache /var/log/a2billing
# chmod g+w /var/log/a2billing


Top
 Profile  
 
 Post subject: Re: CallBack daemon status - log
PostPosted: Thu Jul 02, 2009 11:46 pm 
Offline

Joined: Sat Jun 20, 2009 1:53 am
Posts: 3
Thanks
I create the folder /var/log/a2billing and it resolved the first problem.
The daemon script wanted to create (write) a log file in a directory which don't exist then it failed.
Now all is ok thanks.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 
Predictive Dialer


All times are UTC


Who is online

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