Sybase/SybaseBk Type Resources fail to online in the cluster.

book

Article ID: 100024663

calendar_today

Updated On:

Description

Error Message

Errors are indicated in two locations.

From the Sybase log:

 

00:00000:00000:2011/05/23 14:08:21.87 kernel kscsinit: connectivity library error. Operation: cs_ctx_alloc().

 

 

From /var/VRTSvcs/log/engine_A.log:

 

2011/05/23 14:09:22 VCS CRITICAL V-16-20018-4 Sybase:Sybase_DB:monitor:Process dataserver restarted
2011/05/23 14:09:23 VCS ERROR V-16-2-13067 Thread(4143971184) Agent is calling clean for resource(Sybase_DB) because the resource became OFFLINE unexpectedly, on its own.
2011/05/23 14:09:24 VCS ERROR V-16-2-13068 Thread(4143971184) Resource(Sybase_DB) - clean completed successfully.

The context allocation routine failed when it tried to load localization files!!
One or more following problems may caused the failure

Your sybase home directory is /opt/sybase. Check the environment variable SYBASE if it is not the one you want!
Using locale name "POSIX" defined in environment variable LC_ALL
Locale name "POSIX" doesn't exist in your /opt/sybase/locales/locales.dat file
An error occurred when attempting to allocate localization-related structures.

2011/05/23 14:12:18 VCS ERROR V-16-2-13067 (hostname) Agent is calling clean for resource(Sybase_DB) because the resource became OFFLINE unexpectedly, on its own.

2011/05/23 14:12:19 VCS INFO V-16-2-13716 (hostname) Resource(Sybase_DB): Output of the completed operation (clean)

==============================================

 

 

Password:
CT-LIBRARY error:
        ct_connect(): network packet layer: internal net library error: Net-Lib protocol driver call to connect two endpoints failed
==============================================

Similar alerts were found for SybaseBk Resource as well.

Cause

The LC_ALL environment variable appears to be set incorrectly.

The prompt "Password:" indicates an invalid or inconsistent password is set in relation to the VCS resource and the relevant database.

Resolution

Fix the LC_ALL variable in /opt/sybase/locales/locales.dat file.

Verify the password indicated in the Sybase and SybaseBk resources configured in VCS and the password in the databases are consistent.

 

 

Issue/Introduction

The Sybase And SybaseBk databases fail to online under VCS control. Both databases can successfully start from the command line.