I have some problems to active my FreeBPX… I tried the activation in System Admin but the error “name lookup timed out” appears.
I runned the cli command to activate but the this error appears:
[root@localhost bin]# fwconsole sysadmin activate deployment
Attempting to activate against deployment ‘deployment’
Running /var/www/html/admin/modules/sysadmin/bin/activate_existing deployment
Asking for deployment deployment…Error!
Unable to track down your deployment
My DNS is okay, all my modules is updated and I deleted all my deployments in sangoma portal. This error occur with or without firewall enabled.
In my local network the FreePBX is working (softphones and mobiles) but I want to start to use outside, with a line provider and some features, so I need to activate the FreePBX.
Any help is welcome.
I did the following from the cli:
vi /etc/resolv.conf (then used the vi editor to change DNS from my local DNS to 8.8.8.8 and 8.8.4.4)
then ran service network restart, service httpd restart, and service asterisk restart
Was able to active after.
EDIT: DNS kept setting back to my local DNS during activation, so it would get the same error at the end. You need to set a static IP, static gateway, and static DNS through the cli to get it to work. Here’s my notes for reference:
//Static client
vi /etc/sysconfig/network-scripts/ifcfg-InterfaceName (eth0)
HWADDR=xx:xx:xx:xx:xx:xx
TYPE=Ethernet
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=static
IPADDR=x.x.x.x
NETMASK=x.x.x.x
(if there are any other lines of config here, you can leave alone)
//default route
vi /etc/sysconfig/network
GATEWAY=x.x.x.x
//DNS client
vi /etc/resolv.conf
nameserver x.x.x.x
nameserver x.x.x.x
Then run each of the following: service network restart, service httpd restart, and service asterisk restart
Marbled, thank you to try to help me. I build a new VM on my server with a fresh FreePBX install and in this installation the problem didn´t appears.
I don´t know what is the problem, but I spended a lot of time trying to fix them.
I’ll use this new installation… and reconfigure all settings, probably this is the best to do now.
But, any way, thanks to all.