VXSVC does not start

book

Article ID: 100006507

calendar_today

Updated On:

Description

Error Message

# /opt/VRTS/bin/vxsvcctrl start
Starting Veritas Enterprise Administrator Service (vxsvc)
...VEA Server has failed to start

# tail /var/vx/isis/vxisis.log
Thu Sep 22 13:27:35 2011:1:Unexpected error: CPalService::init error code: 1669
Thu Sep 22 13:27:35 2011:1:CORBA Exception in CPalService::init: BAD_PARAM, IDL:omg.org/CORBA/BAD_PARAM:1.0
Thu Sep 22 13:27:35 2011:1:CPalService init failed 0x:c1000001
Thu Sep 22 13:27:35 2011:1:Error in loading the library /opt/VRTSob/lib/compat/libcsfinterfacep3.sl
Thu Sep 22 13:27:35 2011:1:Error in starting agent 0xc1000001
The above errors is caused because pbx_exchange is not running.

vxpbx fails to start because it is unable to listen to 127.0.0.1:1557, 1556 ports with error "Exchange cannot listen on legacy port 1557 for service registrations."

2,50936,103,103,1,1316720826144,14043,1,0:,108:ACE_Service_Config directive: "static PBX_Manager ' -debuglevel 10 -authuser root -outside 1556 -insecure '",0:,0,(0|)
2,50936,103,103,2,1316720826618,14043,1,0:,44:PBX_Manager::open, searching all interfaces.,0:,0,(0|)
2,50936,103,103,3,1316720826618,14043,1,0:,126:Exchange cannot listen on legacy port 1557 for service registrations. Continuing, but this may impair CC-Service functionality,0:,1,(0|)
2,50936,103,103,4,1316720826619,14043,1,0:,44:PBX_Manager::open, internal endpoint failed.,0:,2,(0|)
2,50936,103,103,5,1316720826619,14043,1,0:,0:,0:,2,(1|)

 

Resolution

1) Check the VxPBX.cfg file and make sure it looks like this

# cat /etc/vx/VxICS/VxPBX.cfg
[VxPBX]
"Insecure"="1"
"AuthUsers"="root"
"InstallPath"="/opt/VRTSpbx/bin"
"PortNumber"="1556"
"DebugLevel"="10"


2) Make sure the network interface lo0 is config with 127.0.0.1, localhost resolves to this IP and localhost is pingable. Confirm ports localhost:1556 and localhost:1557 are not used by some other application before starting vxpbx. 
If required edit /etc/nsswitch.conf file (in HP-UX) as follows so that /etc/hosts file is used for name resolution before dns.

hosts:        files [NOTFOUND=continue UNAVAIL=continue TRYAGAIN=continue] dns

# ping localhost

# telnet localhost
you should be able to connect to the same box locally.
 

# netstat -an | grep 1556

3) After starting vxpbx, ports 1557 and 1556 show listning with netstat command output:
# /opt/VRTSpbx/bin/vxpbx_exchanged start
# netstat -an | grep LIST | grep 155
tcp 0 0 127.0.0.1.1557 *.* LISTEN
tcp 0 0 *.1556 *.* LISTEN

# ps -ef | grep pbx
    root  6621  2362  1 13:32:57 pts/ta    0:00 grep pbx
    root  6618     1  0 13:32:41 ?         0:00 /opt/VRTSpbx/bin/pbx_exchange
 
# /opt/VRTS/bin/vxsvcctrl start
Starting Veritas Enterprise Administrator Service (vxsvc)
...VEA Server has successfully started
 

Applies To

HP-UX 11i v3

Issue/Introduction

vxsvc fails to start.