dbTalk Databases Forums  

Oracle DBA's Sybase trial out: 'lmgr' failed and 'minor' sybase database errors

comp.databases.sybase comp.databases.sybase


Discuss Oracle DBA's Sybase trial out: 'lmgr' failed and 'minor' sybase database errors in the comp.databases.sybase forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
JZ
 
Posts: n/a

Default Oracle DBA's Sybase trial out: 'lmgr' failed and 'minor' sybase database errors - 04-28-2004 , 05:15 PM






Hi all,

I try to install ASE 12.5.1 (free download from sybase, developer
version?) on Red Hat Advanced Server 3.0

1. When I launch './setup' as 'sybase' user, I get the following:

*********************************************
InstallShield Wizard

Initializing InstallShield Wizard...

Searching for Java(tm) Virtual Machine...
.......................A suitable JVM could not be found. Please run
the program again using the option -is:javahome <JAVA HOME DIR>
**********************************************

Well, I DO have J2SE 1.4.2 installed (as RPM) in this machine. Anyway,
I specify the JVM location:

$./setup -is:javahome /usr/java/j2sdk1.4.2_04/

Now the software installation is fine

How did this happen?

2. Create database part: I got the following error in the first line
of the window:

"
Incorrectly built binary which accesses errno or h_errno directly.
Needs to be fixed.
"

But sybase continued to create database without further problems, and
I did see it's done successfully in the last window.

Is this error serious?

3. Now I source 'SYBASE.sh', swicth to $SYBASE/SYSAM-1_0/bin and run
../lmgr. This is what I get:

Error occurred during initialization of VM
Unable to load native library:
/home/sybase/shared-1_0/JRE-1_3/lib/i386/libjava.so: symbol
__libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link
time reference

What's wrong? How can I fix this? Or do I have to fix?


4. Now I try to do 'isql' (of course after source SYBASE.sh)

$isql -Psa -U -SDREAMCATCHER

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


Then I 'unset LANG', now I am really able to log in from isql.

Is this normal?

I installed sybase on the same machine with the same OS by using the
same sybase CD before, and I didn't get the problem No.1 and 3. Isn't
strange?

Why this happens? Thanks for any comments.

Reply With Quote
  #2  
Old   
Michael Peppler
 
Posts: n/a

Default Re: Oracle DBA's Sybase trial out: 'lmgr' failed and 'minor' sybase database errors - 04-29-2004 , 12:36 AM






On Wed, 28 Apr 2004 15:15:16 -0700, JZ wrote:

Quote:
Hi all,

I try to install ASE 12.5.1 (free download from sybase, developer
version?) on Red Hat Advanced Server 3.0

1. When I launch './setup' as 'sybase' user, I get the following:

********************************************* InstallShield Wizard

Initializing InstallShield Wizard...

Searching for Java(tm) Virtual Machine... ......................A suitable
JVM could not be found. Please run the program again using the option
-is:javahome <JAVA HOME DIR
**********************************************

Well, I DO have J2SE 1.4.2 installed (as RPM) in this machine. Anyway, I
specify the JVM location:

$./setup -is:javahome /usr/java/j2sdk1.4.2_04/
If you set your JAVA_HOME env. variable to /usr/java/j2sdk1.4.2_04 it'll
work fine.

Quote:
2. Create database part: I got the following error in the first line of
the window:

"
Incorrectly built binary which accesses errno or h_errno directly. Needs
to be fixed.
"
This is just a warning, which you can ignore. The system works
fine.

Quote:
3. Now I source 'SYBASE.sh', swicth to $SYBASE/SYSAM-1_0/bin and run
./lmgr. This is what I get:

Error occurred during initialization of VM Unable to load native
library: /home/sybase/shared-1_0/JRE-1_3/lib/i386/libjava.so: symbol
__libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link
time reference

What's wrong? How can I fix this? Or do I have to fix?
Set JAVA_HOME to your 1.4.2 JVM and you should be fine.

Quote:
4. Now I try to do 'isql' (of course after source SYBASE.sh)

$isql -Psa -U -SDREAMCATCHER

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 /home/sybase. Check the environment
variable SYBASE if it is not the one you want! Using locale name
"en_US.UTF-8" defined in environment variable LANG Locale name
"en_US.UTF-8" doesn't exist in your /home/sybase/locales/locales.dat
file An error occurred when attempting to allocate localization-related
structures.
This one is more annoying. Sybase doesn't include entries in it's
locales.dat file for the default locale that RHAS 3.x uses. You can fix
this fairly easily by editing the locales.dat file and adding the
appropriate line in the [linux] section. See also the FAQ for ASE on linux
at http://www.peppler.org/FAQ/linux.html.

Michael
--
Michael Peppler Data Migrations, Inc.
mpeppler (AT) peppler (DOT) org http://www.peppler.org/
Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short or
long term contract positions - http://www.peppler.org/resume.html



Reply With Quote
  #3  
Old   
JZ
 
Posts: n/a

Default Re: Oracle DBA's Sybase trial out: 'lmgr' failed and 'minor' sybase database errors - 04-29-2004 , 09:42 AM



Thanks.

But I setup JAVA_HOME (or JAVAHOME), and I still get the same errors for NO.1 and 3.

Any ideas?


Michael Peppler <mpeppler (AT) peppler (DOT) org> wrote

Quote:
On Wed, 28 Apr 2004 15:15:16 -0700, JZ wrote:

Hi all,

I try to install ASE 12.5.1 (free download from sybase, developer
version?) on Red Hat Advanced Server 3.0

1. When I launch './setup' as 'sybase' user, I get the following:

********************************************* InstallShield Wizard

Initializing InstallShield Wizard...

Searching for Java(tm) Virtual Machine... ......................A suitable
JVM could not be found. Please run the program again using the option
-is:javahome <JAVA HOME DIR
**********************************************

Well, I DO have J2SE 1.4.2 installed (as RPM) in this machine. Anyway, I
specify the JVM location:

$./setup -is:javahome /usr/java/j2sdk1.4.2_04/

If you set your JAVA_HOME env. variable to /usr/java/j2sdk1.4.2_04 it'll
work fine.

2. Create database part: I got the following error in the first line of
the window:

"
Incorrectly built binary which accesses errno or h_errno directly. Needs
to be fixed.
"

This is just a warning, which you can ignore. The system works
fine.

3. Now I source 'SYBASE.sh', swicth to $SYBASE/SYSAM-1_0/bin and run
./lmgr. This is what I get:

Error occurred during initialization of VM Unable to load native
library: /home/sybase/shared-1_0/JRE-1_3/lib/i386/libjava.so: symbol
__libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link
time reference

What's wrong? How can I fix this? Or do I have to fix?

Set JAVA_HOME to your 1.4.2 JVM and you should be fine.

4. Now I try to do 'isql' (of course after source SYBASE.sh)

$isql -Psa -U -SDREAMCATCHER

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

This one is more annoying. Sybase doesn't include entries in it's
locales.dat file for the default locale that RHAS 3.x uses. You can fix
this fairly easily by editing the locales.dat file and adding the
appropriate line in the [linux] section. See also the FAQ for ASE on linux
at http://www.peppler.org/FAQ/linux.html.

Michael

Reply With Quote
  #4  
Old   
JZ
 
Posts: n/a

Default Re: Oracle DBA's Sybase trial out: 'lmgr' failed and 'minor' sybase database errors - 04-29-2004 , 10:15 AM



They're solved.

No.1 and 3 are related to 'libc_wait', I download an OS patch from
Oracle (it's actually for Oracle 9.2.0.1 on Red Hat Advanced Server
3.0). Now both 'setup' and 'lmgr' work without setting 'JAVA_HOME'.
(Shouldn't Sybase release any patch like this? Since by default, ASE
12 cannot work 100% on RHAS 3)

For No.4, I just add one entry 'en_US.UTF-8' under 'Linux' section in
locales.dat file.

Since No.2 is 'minor', I am gonna live with that.

Thanks!


ibm_97 (AT) yahoo (DOT) com (JZ) wrote in message news:<10bc841c.0404281415.3ae19b59 (AT) posting (DOT) google.com>...
Quote:
Hi all,

I try to install ASE 12.5.1 (free download from sybase, developer
version?) on Red Hat Advanced Server 3.0

1. When I launch './setup' as 'sybase' user, I get the following:

*********************************************
InstallShield Wizard

Initializing InstallShield Wizard...

Searching for Java(tm) Virtual Machine...
......................A suitable JVM could not be found. Please run
the program again using the option -is:javahome <JAVA HOME DIR
**********************************************

Well, I DO have J2SE 1.4.2 installed (as RPM) in this machine. Anyway,
I specify the JVM location:

$./setup -is:javahome /usr/java/j2sdk1.4.2_04/

Now the software installation is fine

How did this happen?

2. Create database part: I got the following error in the first line
of the window:

"
Incorrectly built binary which accesses errno or h_errno directly.
Needs to be fixed.
"

But sybase continued to create database without further problems, and
I did see it's done successfully in the last window.

Is this error serious?

3. Now I source 'SYBASE.sh', swicth to $SYBASE/SYSAM-1_0/bin and run
./lmgr. This is what I get:

Error occurred during initialization of VM
Unable to load native library:
/home/sybase/shared-1_0/JRE-1_3/lib/i386/libjava.so: symbol
__libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link
time reference

What's wrong? How can I fix this? Or do I have to fix?


4. Now I try to do 'isql' (of course after source SYBASE.sh)

$isql -Psa -U -SDREAMCATCHER

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


Then I 'unset LANG', now I am really able to log in from isql.

Is this normal?

I installed sybase on the same machine with the same OS by using the
same sybase CD before, and I didn't get the problem No.1 and 3. Isn't
strange?

Why this happens? Thanks for any comments.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.