[SOLVED] Proxmox VE 4.1 with asterisk

Yogorov

Renowned Member
Sep 1, 2015
23
3
68
Hi:

I'm from Taiwan. sorry my English was not good.

I have proxmox ve 4.1, and I install asterisk sip server in container
asterisk run in container all ok
but when I wanna move this container to another proxmox ve 4.1 has some problem

I move CT via thoese command
$vzdump 106 -mode stop --dumpdir /var/lib/vz/dump/ --compress gzip

on another PVE 4.1
$pct restore 101 /mnt/wd/pve/dump/vzdump-lxc-106-2016_01_22-01_06_23.tar.gz

I setup network interface for 101 and check network in CT 101 all ok
but asterisk won't run
it show error message:
Starting Asterisk PBX: asteriskPrivilege escalation protection disabled!
See https://wiki.asterisk.org/wiki/x/1gKfAQ for more details.

and I edit this file
$ vim /etc/asterisk/asterisk.conf
set this line
live_dangerously = no

and start asterisk again
$ /etc/init.d/asterisk start
no erros message show, but asterisk still can't run.

how come? vzdump CT should be the same configuration
why vzdump CT to another PVE 4.1 won't run?
I checked both CT the configuration was the same.
but one CT asterisk can run and another CT can't run.

and I did tried this
on second PVE 4.1 I create new CT, and install whole new system and asterisk
asterisk run all OK!

it seems vzdump change something that I don't know.

any suggestion?
 
Last edited:
Problem solve!
point is my asterisk was install from source code (need compiler) therefore vzdump to another PVE 4.x server (AMD to Intel) it won't work.

then I try install asterisk from apt-get and vzdump to another PVE 4.x server (AMD to Intel)
it's work!