VCS is unable to offline sybase

book

Article ID: 100028356

calendar_today

Updated On:

Description

Error Message

2012/12/11 16:52:11 VCS NOTICE V-16-20018-15 (servername) Sybase:servername:offline:Sybase service SYBASE is not running.

2012/12/11 16:52:15 VCS ERROR V-16-2-13077 Thread(4155091872) Agent is unable to offline resource(servername). Administrative intervention may be required.

Cause

Sybase agent does not find the Sybase dataserver process running and hence the agent does not issue shutdown command. This is because the ‘ps’ output is truncated at 80 characters; when the "HAD" and hence SybaseAgent has COLUMNS=80 in the process environment. To avoid this the --cols option is used for the ‘ps’ command in offline/other script based entry points.

Resolution

Upgrading to VCS 6.0SP1 should help to resolve this issue.

W orkaround: Customer can update the RUN_file content and move the –s option towards the start of the RUN_file. This change should be done for Sybase as well as SybaseBK RUN_files (e.g. RUN_SYBASE and RUN_SYBASE_BS).

 

For example: The file RUN_SYBASE resembles the following before the change:

 

/opt/sybase/ASE-12_5/bin/dataserver \

-d/db_sys/master_dev_1 \

-e/home/logs/sybase/sqlsrv.errorlog \

-c/opt/sybase/ASE-12_5/SYBASE.cfg \

-M/opt/sybase/ASE-12_5 \

–sSYBASE \

 

After the replacement, the file resembles as follows:

 

/opt/sybase/ASE-12_5/bin/dataserver \

–sSYBASE \

-d/db_sys/master_dev_1 \

-e/home/logs/sybase/sqlsrv.errorlog \

-c/opt/sybase/ASE-12_5/SYBASE.cfg \

-M/opt/sybase/ASE-12_5 \

 

Note that the -s option is moved toward the start of the RUN_file so that the server name is correctly seen in the first 80 character of the ‘ps’ output.

 

 


Applies To

Kernel version: Linux 2.6.16.60-0.54.5-smp #1
Architecture: x86_64
Memory size: 66003476 kB
 

VERITAS package/patch summary:
==============================
VRTSamf-5.1.100.000-SP1GA_SLES10
VRTSaslapm-5.1.100.000-SP1_SLES10
VRTSatClient-5.0.32.0-0
VRTSatServer-5.0.32.0-0
VRTSdbed-5.1.100.000-SP1_SLES10
VRTSgab-5.1.100.000-SP1GA_SLES10
VRTSllt-5.1.100.000-SP1GA_SLES10
VRTSob-3.4.289-0
VRTSobgui-3.4.29.0-0
VRTSodm-5.1.100.000-SP1_GA_SLES10
VRTSperl-5.10.0.7-SLES10
VRTSsfmcs-4.1.119.0-0
VRTSsfmh-4.1.119.0-0
VRTSspt-5.5.000.005-GA
VRTSvcs-5.1.100.000-SP1GA_SLES10
VRTSvcsag-5.1.100.000-SP1GA_SLES10
VRTSvcsdr-5.1.100.000-SP1GA_SLES10
VRTSvcsea-5.1.100.000-SP1GA_SLES10
VRTSvlic-3.02.51.010-0
VRTSvxfen-5.1.100.000-SP1GA_SLES10
VRTSvxfs-5.1.100.000-SP1_GA_SLES10
VRTSvxvm-5.1.100.000-SP1_SLES10
 

Issue/Introduction

VCS is unable to offline sybase.