A2Billing login error after Elastic Restore

Discussion in 'General' started by deidt, Jan 29, 2011.

  1. deidt

    Joined:
    Nov 13, 2010
    Messages:
    6
    Likes Received:
    0
    Hello,

    After I restored Elastix to a previous backup (12 hours earlier) and login too A2Billing, I received the following error:

    Error : cannot load conf : load_conf_db


    If this helps -> When I first installed Elastix months ago, I upgraded A2Billing to 1.6.



    Thanks!

    Drew
     
  2. marnog

    Joined:
    Dec 14, 2010
    Messages:
    13
    Likes Received:
    0
    i have the same problem after restore from back up
    any ones have any idea how rep ere this problems ?
    is very urgent that

    thank you
     
  3. deidt

    Joined:
    Nov 13, 2010
    Messages:
    6
    Likes Received:
    0
    Hello,

    What I think I did to solve my issues was the following:

    1) Manually extract the Elastic backup archive file
    2) Find the a2billing SQL file in the extracted archive
    3) Manually execute this SQL file on the server

    Let me know if you have any questions.

    Drew
     
  4. marnog

    Joined:
    Dec 14, 2010
    Messages:
    13
    Likes Received:
    0
    thank you
     
  5. asifjamal

    Joined:
    Jan 20, 2012
    Messages:
    21
    Likes Received:
    0
    Hello Sir,
    I have same problem, I searched in my backup archive but i cant find any file which says a2billing.sql can you please explain it in more details, like location of file in archive and how to execute the sql file once found.
    Thanks
     
  6. asifjamal

    Joined:
    Jan 20, 2012
    Messages:
    21
    Likes Received:
    0
    Found solutions for this, all newbies like me can use it,
    I was looking for .sql file in wrong .rar file, unzip your backup .rar file, inside you will see folder name 'backup' --> mya2billing_sql.rar unzip this mya2biling_sql.rar inside that unziped folder you will see mya2billing.sql
    Now use winscp or any other program and upload this mya2billing.sql to your new server, log in to your new server via ssh as root
    log in to to your mysql type following command "mysql -u root -p"
    it will ask you for your mysql password, type that in, then you will get mysql prompt,
    issue following commands in mysql prompt,
    use mya2billing (press enter)
    source pathofmya2billing.sql_file_on_your_newserver/mya2billing.sql (press Enter)
    thats all your are done,,,.....now your a2billing should be working

    For example if i have my new server, i upload that mya2billing.sql file extracted from backup archive, to /var/www/backup
    so command in mysql prompt will be like this:
    use mya2billing (press enter)
    source /var/www/backup/mya2billing.sql (press enter)

    Thats all
     

Share This Page