Sybase Agent fails to offline DB with following error code: VCS ERROR V-16-20018-25 Sybase Resource cannot be stopped by isql - shutdown

book

Article ID: 100019961

calendar_today

Updated On:

Resolution


Offline of Sybase and SybaseBk resource fails with the following error:

VCS ERRORV-16-20018-25 .....:offline:Sybase Backup service ... cannot be stopped by isql- shutdown
VCS ERRORV-16-20018-17 ....:offline:clean scripts should do the process killsequence
VCS INFOV-16-2-13001 ...: Output of the completed operation (offline)
Password:
Msg 4002,Level 14, State 1:
Server'mxclone':
Loginfailed.
CT-LIBRARYerror:
ct_connect():protocol specific layer: external error: The attempt to connect to the serverfailed.
 
Explanation
 
This could be due to the use of a non encrypted password for Sybase Database Administrator.

The VCS Sybase Agent uses the Sybase Database administrator password only during the DB shutdown sequence.
 
The password must be configured in main.cf file as follows:
 
Sybase (
SA =
SApswd =
)
 
If the specified SApswd attribute is correct but is not encrypted, then the above error occurs and a clean is finally called.
 
Steps:
 
# /opt/VRTSvcs/bin/vcsencrypt -agent
Enter NewPassword:
EnterAgain:
 
Modify the Sybase and SybaseBk resources as follows and supply the encrypted password
 
# haconf -makerw
# hares -modify SApswd
# hares -modify SApswd
# haconf -dump -makero
 
 
 
 

 

Issue/Introduction

Sybase Agent fails to offline DB with following error code: VCS ERROR V-16-20018-25 Sybase Resource cannot be stopped by isql - shutdown