Unable to start the PM Console

book

Article ID: 201009

calendar_today

Updated On:

Products

CA Infrastructure Management CA Performance Management - Usage and Administration DX NetOps

Issue/Introduction

Console not started and send the message error "DeviceManager is not running, exit starting Console"
 
# service caperfcenter_console start
DeviceManager is not running, exit starting Console...
 
DM is up and running:
# service caperfcenter_devicemanager status
Performance Center DM is running: PID:32337, Wrapper:STARTED, Java:STARTED
 
service mysql status
MySQL running (14371)                                      [  OK  ]

All packages are installed:
dialog
mcelog
zip
unzip
glibc
fontconfig
libaio
libaio-devel
numactl
wget

maxmemory is good:
cat /proc/meminfo
MemTotal:       32869688 kB
cat /opt/CA/PerformanceCenter/PC/conf/wrapper.conf | grep maxmemory
wrapper.java.maxmemory=5120

 

Cause

/etc/hosts misconfigured

 

Environment

Release : 20.2

Component : IM Reporting / Admin / Configuration

Resolution

Start the Console in trace mode:

sh -x /etc/init.d/caperfcenter_console start
Output:

setDeviceManagerInfo
DM_HOST=localhost
DM_PORT=8481
DM_RUNNING=0
++ rpm -q wget
wget_install_ok=wget-1.12-8.el6.x86_64
[[ wget-1.12-8.el6.x86_64 != wget* ]]
for i in '{1..6}'
++ wget -t 1 -nv --no-proxy http://localhost:8481/dm/rib/
output_var1='wget: unable to resolve host address “localhost”'
'[' 4 -eq 6 ']'
sleep 30

# ping localhost
ping: unknown host localhost

# cat /etc/hosts
127.0.0.1       localhost.localdomain   localhost.localdomain   localhost4      localhost4.localdomain

Add localhost
# cat /etc/hosts
127.0.0.1       localhost.localdomain   localhost.localdomain   localhost4      localhost4.localdomain localhost

Now the Console started and is up and running:
# /etc/init.d/caperfcenter_console start
Starting Performance Center Console...
wrapper  | Base configuration file is /opt/CA/PerformanceCenter/PC/conf/wrapper.conf
wrapper  | Found #include file in /opt/CA/PerformanceCenter/PC/conf/wrapper.conf: ../conf/wrapper-user.conf
wrapper  |   Reading included configuration file, /opt/CA/PerformanceCenter/PC/conf/wrapper-user.conf
Waiting for Performance Center Console......
running: PID:41823