Big problem from the "restore" function

brickhome
Posts: 130
Member Since:
2007-01-15

Hi there,

I set up the Trixbox 2.0 system on an old computer and it's just working well. I backed up the whole system to my FTP server (file name: 20070403.22.13.17.tar.gz)
Then I bought a new PC and installed the Trixbox. I created a test backup folder and copy that 20070403.22.13.17.tar.gz to the new PC. Then I chose the "Restore Entire Backup Set". After I clicked it, the red bar appeared and stayed there!
In the GUI, I went back to the setup and got a warning message: Cannot connect to Asterisk Manager with admin Asterisk may not be running.
Then I restarted the Trixbox hope to resolve the problem. No go. After the system is up, I login the GUI, in "Asterisk INfo" I found this message for all entries:
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)

Can someone help me on this issue? I had thought the backup & restore is simple.....
BTW: I updated the backup & restore to 2.1.1 version. The previous version didn't create any backup file.

Thanks a lot in advance!



w5waf
Posts: 711
Member Since:
2006-06-09
First, you need to look at

First, you need to look at the logs to see where the asterisk startup failed. What you have to remember, is that you are using different hardware. Even the backup is a backup, it may not fit totally with the hardware you have. I've done this several times before, and gotten the same thing...asterisk didn't start. I think in all but one case, it was a problem in the configuration of the zaptel cards, no problem, though, after loading the backup, I had to manually reconfigure the zaptel cards and all was well.

Bill Ford, FtOCC
City of Vicksburg

--

Bill Ford - FtOCC
City of Vicksburg
www.vicksburg.org



brickhome
Posts: 130
Member Since:
2007-01-15
Hi Bill, Thanks for your

Hi Bill,

Thanks for your tips!
Yes, the problem might come from the Zaptel card. The old PC has a card and zaptel trunk but the new PC doesn't have it. I will try to have a look at the log files and let you know if I can figure something out.



bubbapcguy
Posts: 3774
Member Since:
2006-06-02
zaptel

rebuild_zaptel

Bubba
http://pbx4pros.com



brickhome
Posts: 130
Member Since:
2007-01-15
It's the Zaptel! But how to resolve it?

First thanks a lot for Bill and Bubba!
I typed:
tail /var/log/asterisk/full and got several error messages.
--Unable to find key '431' in family 'IAX registry';
--chan_zap.c: Unable to specify channel 1: No such device or address
--Unable to register channel 1
--Chan_zap.so: load_module failed, returning -1
--loader.c: Loading module chan_zap.so failed
...
...
Then I followed Bubba's suggestion to run:
rebuild_zaptel
But the Asterisk still could not start. After I login to the GUI, everything is not connected as before. Any hints will be highly appreciated!!



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.