search cancel

Error messages when running Archive Manager repair

book

Article ID: 33575

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

The follow error is seen when running the Archive Manager repair proecss:

ERROR TRACE at ArchMgr.cc(549): The archive manager port number must be specified and not zero. Please set ARCH_MGR_SOCKET_NUMBER in the .configrc file.
Sep 10 11:16:02 ERROR TRACE at ArchMgr.cc(559): The DDM port number must be specified and not zero. Please set DDM_SOCKET_NUMBER in the .configrc file.

Environment

Release:
Component:

Resolution

NOTE: Starting from DX NetOps Spectrum 21.2.4, the default root password for MySql is "MySqlR00t". For DX NetOps Spectrum versions prior to 21.2.4, the default root password is "root". In the following MySql commands, replace <PASSWD> with the root password for your DX NetOps Spectrum version.

First, verify that the .congrc file is present and correctly populated on the system.

$SPECROOT/SS/DDM/.configrc
DDM_SOCKET_NUMBER=0xddec
ARCH_MGR_SOCKET_NUMBER=0xbafe
MAX_STAT_DAYS=45
MAX_EVENT_DAYS=45
LANDSCAPE_PRECEDENCE=10
TIME_TOLERANCE_IN_SECONDS=300
DDM_DATABASE_NAME=ddmdb
DDM_DATABASE_USERNAME=spectrum
DDM_DATABASE_HOSTNAME=localhost
DDM_DATABASE_PASSWORD=spectrum
orb_args=-Dvbroker.se.iiop_tp.scm.ssl.listener.port=14013 -Dvbroker.se.iiop_tp.scm.iiop_tp.listener.port=14003 -ORBpropStorage ../../.corbarc
DDM_DATABASE_PORT=3306

Note: The username and password must be the user/pass that of the user specified as the installation owner during the install


If the .configrc file is present and correctly populated Restart processd:  


1. Log into the system as the user that owns the Spectrum installation

2. If on Windows, start a bash shell by running "bash -login"

3. If on Linux, su to the root user

4. cd to the $SPECROOT/lib/SDPM directory and enter the following command:

./processd.pl restart
 

Note: Spectrum 10.4.2.1 Linux the restart command will stop and restart processd instead of just restarting processd.

Repair Archive Manager Database:

1. Log into the system as the user that owns the Spectrum installation

2. If on Windows, start a bash shell by running "bash -login"

3. cd to the $SPECROOT/SS/DDM directory and run the following command:

./ArchMgr -repair

4. If the repair fails, cd to the $SPECROOT/mysql/bin directory and enter the following command:

./mysqlcheck --defaults-file=../my-spectrum.cnf  -uroot -p<PASSWD> --repair --force ddmdb;