Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Locale en_US.ISO8859-1

2 posts in Unix Last posting was on 2001-04-21 05:57:01.0Z
Ivan_Gordon Posted on 2001-04-20 20:35:33.0Z
From: Ivan_Gordon
Date: Fri, 20 Apr 2001 16:35:33 -0400
Newsgroups: sybase.public.sqlserver.unix
Subject: Locale en_US.ISO8859-1
Message-ID: <74908C2230ABB1D600711E4985256A34.00711E6085256A34@webforums>
Lines: 32
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Path: forums-1-dub!forums-master.sybase.com!forums.sybase.com!webforums.sybase.com!news
Xref: forums-1-dub sybase.public.sqlserver.unix:580
Article PK: 1092670

We are installing a new Sybase Adaptive Server Enterprise 12.0 on
Solaris 8. We installed 4 servers: master, backup, monitor, XP. The
installation was successful, however, when starting isql, we receive
the following error:

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

Your sybase home directory is /usr/sybase. Check the environment
variable if it is not the one you want.

Using locale name "en_US.ISO8859-1" defined in environment variable
LANG

Local name "en_US.ISO8859-1" doesn't exist in your
/usr/sybase/locales/locales.dat file.

An error occurred when attempting to allocate localization-related
structures.

When we loaded Solaris 8 OS, we selected the above locale and it appears
in the /etc/default/init file. We accepted the locale defaults for
Sybase. (The sybase home directory env variable is correct.)

Any ideas how this can be fixed? Do we need to change the locale
on Solaris (if so how?). We tried changing the locale on the master
server but still receive the same error. It seems that there is an
incompatibility between the OS locale and Sybase.

Thanks,
Ivan Gordon


Anthony Mandic <amandic Posted on 2001-04-21 05:57:01.0Z
Date: Sat, 21 Apr 2001 15:57:01 +1000
From: Anthony Mandic <amandic@*t.com.au>
Organization: Mandic Consulting Pty. Ltd.
X-Mailer: Mozilla 4.61 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
Subject: Re: Locale en_US.ISO8859-1
References: <74908C2230ABB1D600711E4985256A34.00711E6085256A34@webforums>
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Message-ID: <j3zyEriyAHA.191@forums.sybase.com>
Newsgroups: sybase.public.sqlserver.unix
Lines: 31
NNTP-Posting-Host: CPE-208-111-111-203.syd.dav.net.au 203.111.111.208
Path: forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.sqlserver.unix:577
Article PK: 1092668


Ivan_Gordon wrote:

> Your sybase home directory is /usr/sybase. Check the environment
> variable if it is not the one you want.
>
> Using locale name "en_US.ISO8859-1" defined in environment variable
> LANG
>
> Local name "en_US.ISO8859-1" doesn't exist in your
> /usr/sybase/locales/locales.dat file.
...
> When we loaded Solaris 8 OS, we selected the above locale and it appears
> in the /etc/default/init file. We accepted the locale defaults for
> Sybase. (The sybase home directory env variable is correct.)
>
> Any ideas how this can be fixed? Do we need to change the locale
> on Solaris (if so how?). We tried changing the locale on the master
> server but still receive the same error. It seems that there is an
> incompatibility between the OS locale and Sybase.

The problem is just that Solaris's locale definitions aren't
named the same as Sybase's. You could change your locale to C
on Solaris, or unset the environment variable LANG or edit
the Sybase locale file listed above and add a line for that locale
under the [sun] section. Editing /etc/default/init might be
easier though. Just hash out the locale entries.

-am © 2001