On Thu, 27 Aug 2009 07:23:52 -0400, Alfred Campbell wrote:

> How does one recover from doing the stupid :)
> 
> Deleting the primary sip router and management server from the Server
> screen?
> 
> Should this even be allowed?
> 
> Al

Should not be allowed.  In the meantime, I was able to reproduce the 
error and recover with the following steps:

[kthor...@johnny5 ecs]$ sudo su postgres -c "psql SIPXCONFIG"
SIPXCONFIG=# INSERT INTO location (location_id, name, fqdn, ip_address, 
password, primary_location, registered)
SIPXCONFIG-# VALUES (1, 'Primary', 'myhost.sipxtest.int', '127.0.0.1', 
'some_password', true, true);

[kthor...@johnny5 ecs]$ ./bin/sipxproc --stop ConfigServer
{"ConfigServer"=>true}
[kthor...@johnny5 ecs]$ ./bin/sipxconfig.sh --first-run
[kthor...@johnny5 ecs]$ ./bin/sipxproc --start ConfigServer
{"ConfigServer"=>true}


_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to