Error messages when running Archive Manager repair
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:  In the following MySql commands, replace <PASSWD> with the root password for your DX NetOps Spectrum version.

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



Note: The username and password must be the user/pass that of the user specified in the .configrc file must be the same 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;