Error reported when executing isql in Linux sybase

Source: Internet
Author: User

After sybase 12.5.4 is installed on RedHat as 4 and Initialization is complete, run isql-Usa-P to report the error:

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-12.5. Check the environment variable SYBASE if it is not the one you want!
Using locale name "zh_CN.UTF-8" defined in environment variable LANG
Locale name "zh_CN.UTF-8" doesn't exist in your/opt/sybase-12.5/locales. dat file
An error occurred when attempting to allocate localization-related structures

This is because LANG settings are incorrect. Execute export LANG = C and execute again
Isql-Usa-P
Or error:
CT-LIBRARY errors:
Ct_connect (): directory service layer: internal directory control layer error: Requested server name not found.

This is because the parameter is incorrect. Add the parameter-S to execute the server name.

Isql-Usa-P-Ssybase
Execution successful

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.