A2Billing Upgrade
Page 2 of 2

Author:  shuiduo [ Tue Mar 17, 2009 11:24 am ]
Post subject:  freepbx setup

changed php.ini as instruction above, still got blank page at freepbx setup.
i did yum --enablerepo=centosplus update
to upgrade mysql and php to 5
now I got two problems
1) freepbx setup page blank
2) asterisk -r
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)
the file actually exist:
srwxr-xr-x 1 asterisk asterisk 0 Mar 17 06:23 asterisk.ctl
-rw-r--r-- 1 asterisk asterisk 5 Mar 17 06:23

I did google for couple of hours still couldn't resolve either issue.
I guess for my problem 2) is because i did a yum remove zaptel...
I don't use any TDM card in my server tho.

Thank you

Author:  ladca2003 [ Tue Mar 17, 2009 2:17 pm ]
Post subject: 

Hey shuiduo

I will offer what little help I can to try and help you but the issues are not A2Billing so, I don't know how much help you will get here.

first you say the ctl and pid file exist in that directory!!!
Second I'm sure you need Zaptel and libpri even if you do not use cards.
Third make sure the services are starting at boot time.

Some times it's easy to fortett a small detail. Try this old link and go over your upgrade, mainly "Create user and set permissions" and in the last page "Amportal controls" and "Ensure services are starting at boot time". Here's the link, hope it helps you.

Author:  shuiduo [ Wed Mar 18, 2009 9:36 pm ]
Post subject:  problem fixed, Thank you

Hi Ladca,Thank you.. like you said, it seems something small, it took me a lot of time tho.
both problems are fixed. Both problems are non-a2b related:).

6763 chkconfig --list httpd
6764 chkconfig httpd on
6765 chkconfig --list httpd
6766 chkconfig --list mysqld
6767 chkconfig mysqld on
6768 cd /usr/sbin
6769 ls amportal
6770 ls amportal -al
6771 more /etc/rc.local
6772 amportal restart
6773 service asterisk stop
6774 amportal start
6775 service asterisk status
6776 service asterisk stop
6777 service asterisk status
and I reboot here
then, the CLI is working

For the blank page issue, it's trixbox, I did couple of things.
1) changed php.ini ( still blank after this)
max_execution_time = 90 ; Maximum execution time of each script, in seconds
max_input_time = 90 ; Maximum amount of time each script may spend parsing request data
memory_limit = 128M ; Maximum amount of memory a script may consume (8MB)
2)added include_path = ".:/usr/share/pear" ( still blank after this )
3)touch /var/www/html/main/js/navDrop.js ( still blank after this )
4) finnally, everything was okay after:

I found:
missing db.php
6852 locate DB.php
6853 updatedb
6854 locate DB.php
6855 pear install DB

Author:  ladca2003 [ Wed Mar 18, 2009 11:44 pm ]
Post subject: 

Glad to hear you got it working.

Author:  bruce [ Wed Jun 17, 2009 9:46 pm ]
Post subject:  Re: A2Billing Upgrade

Why no upgrade script?
Just wondering...

Author:  patrickloughlin [ Sat May 22, 2010 8:14 pm ]
Post subject:  Re: A2Billing Upgrade

Hi every one in a2billing land :mrgreen2:
Im a newbe so for give if i sound dum in the way i am saying thing to do with a2billing as i am new to this all,
Now where do I star hmm first I let you know 1 or two thing to help you be for you reply to me (if) any one can help me that is?? i am running Elastix 1.6-12 on a hosted vps running centos 64 bit and all is working well, now in say that heres where I need the help.

when I installed Elastix 1.6-12 it came with a2billing 1.3 some thing and so I went to Elastix forum dose any one know how to do an upgread in a2billing and some one sent me this link ... 00685.html and it work but I updated the link with 1.7.1.

now after all was install i was so happy after spending 3 days at it as im not a coder and heat using putty im more a GUI user my self.

every time I try to add a user or up daite the sip.conf i keep getting this lot of messages...
for a new user it says Your new Card hasn't been inserted
and when i Reload Asterisk add sip.conf with the account it reloads but in Elastix it dose not add them

If you can help me fourm you make me a very happy man

PS if I need to use putty to fix this please tell me as if i am a blond bimbo as im not that great with using coding and putty

it driving man and :furious:

I baging please help me %-)

Author:  jroper [ Sun May 23, 2010 7:31 am ]
Post subject:  Re: A2Billing Upgrade


It sounds like something got mucked up in the database upgrade, which is difficult to identify where.

You need to start by enabling the quick profiler in /common/lib/admin.defines.php

This will give you a list of the MySQL commands that are being executed.

You can then execute these commands at the MySQL CLI, and see where the errors are.

You should then be able to work out what is missing.


Page 2 of 2 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group