Crcontrol commands fail with Error 53 ( Connection refused )

Article: 100027274
Last Published: 2013-06-07
Ratings: 0 0
Product(s): Appliances

Problem

Running these commands on the content router node fail with the error:

# /opt/pdcr/bin/crcontrol --dsstat

# /opt/pdcr/bin/crcontrol --processqueueinfo

# /opt/pdcr/bin/crcontrol --getmode

Error Message

Error: 53: Could not establish a connection to 127.0.0.1:10082: connect failed (Connection refused)
Error : Connection failed connection actively refused

Cause

The spoold process was not yet listening for connections.

Solution

Ensure that vxatd credential has not expired. The following command can be used to verify:

# su - www-data -c "/opt/VRTSat/bin/vssat showcred"
 

The credentials showed that they would not expire for one month.

Renewed them anyway with this command.

# /opt/pdconfigure/scripts/atconfig/configure_at.sh

Use the command “ps auwx” and check the stat column on the spoold process..

 
# ps auwx | grep spoold
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root      5400  4.5  5.4 420132 56260 ?        SL May09  59:39 /usr/openv/pdde/pdcr/bin/spoold –q
 
The SL or DLsl states will not allow connecitons to spoold.  Wait for the flags to reflect “SLsl” before crcontrol will be able to connect.. (i.e. spoold has completed its housekeeping and is listening on port 10082).
 
# ps auwx | grep spoold
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root      5400  4.5  5.4 420132 56260 ?        SLsl May09  59:39 /usr/openv/pdde/pdcr/bin/spoold –q
 
Once the command above shows spoold with state of SLsl, it will start accepting command connections. 
 
In addition, when spoold.log shows that the cache is fully loaded and  that spoold is showing SLsl and it is still failing then try looking at what PureDisk thinks it’s cr should be:
 
# /opt/pddb/bin/psql -U pddb ca -x -c "select contentrouter.id,agent.ipaddress,agent.hostname from contentrouter,agent where contentrouter.agentownerid = agent.id order by id asc"
 
And also for reference:
# /opt/pddb/bin/psql -U pddb ca -x -c "select * from contentrouter order by id asc"
 

Applies To

NetBackup 5020 SPA

NetBackup 5020 CR/MBE  nodes (multiple)

Was this content helpful?