Difference between revisions of "ARS1607E"

From CMOD.wiki
Jump to navigation Jump to search
m (Clarified the possible failures.)
m (Elaborated on why CMOD authentication might fail.)
 
Line 19: Line 19:


== What happened? ==
== What happened? ==
The process failed, because you couldn't properly authenticate to the IBM Content Manager OnDemand server.
The process failed, because you couldn't properly authenticate to the IBM Content Manager OnDemand server, because the utility couldn't retrieve the server password from the stash file.


== Troubleshooting ==
== Troubleshooting ==

Latest revision as of 02:33, 29 September 2021

What was the error?

Message Number: 1607

Message Severity: Error (Corrective action is required to continue)

Message Name: ARS1607E

Message Text: ARS1607E The OnDemand stash file >ars.stash< either does not exist or is not valid. Return Code=X.

Example

ARS1607E The OnDemand stash file >/usr/lpp/ars/config/ars.stash< either does not exist or is not valid. Return Code=5.

Related Errors

LDAP Error: Invalid credentials

What were you doing?

You were executing a command like arsdoc or arsload and you did not specify the IBM CMOD stash file with the -p parameter, the file did not exist, or you don't have access to read it.

What happened?

The process failed, because you couldn't properly authenticate to the IBM Content Manager OnDemand server, because the utility couldn't retrieve the server password from the stash file.

Troubleshooting

There can be a number of reasons why you can't access the stash file.

Try specifying the full path to the stash file with the -p parameter:

 arsdoc query -h OD_SERVER -u CMOD_ADMIN -p /opt/ibm/ondemand/V10.1/config/ars.stash ...

If you don't normally specify the -p parameter on the command line, you might be using the SRVR_OD_STASH environment variable. Check the contents of this variable, and make sure it contains the correct path to the stash file.

 $ echo $SRVR_OD_STASH
 
 $

If it returns nothing (as in the example above), the environment variable hasn't been defined, so CMOD can't figure out which stash file to use, and you will either have to define the variable in your login shell, or specify it on the command line.

If the echo command returns a file output, try to determine if the file exists, and if you have permissions to read it:

 $ echo $SRVR_OD_STASH
 /home/archive/cmod/ars.stash
 $ ls -l $SRVR_OD_STASH
 -r--------.  3 archive db2adm1     4096 May 20  2018 /home/archive/cmod/ars.stash
 $ cat $SRVR_OD_STASH >/dev/null
 $

If you receive a 'file not found' or 'permission denied' error from the ls or cat commands, then the file does not exist, or you do not have permission to read it. Resolve these issues (with the assistance of your system administrator if necessary) and try again.

Articles Related to this message

stash file   arsstash   ars.ini