Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ASE 12.5.1 Installation Question

5 views
Skip to first unread message

Germano

unread,
Feb 13, 2004, 12:25:10 PM2/13/04
to
Hi,

I'm trying to install ASE 12.5.1 Developer's edition on RHEL AS 3 from the
downloaded file which I unzipped using tar, but I'm getting the following
error:

./setup -is:javahome /home/sybase/JVM

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>

Here are the contents of the directory:

drwxrwxr-x 2 sybase 501 4096 Oct 2 22:29 archives
-rw-rw-r-- 1 sybase 501 305213440 Feb 12 10:43
ase1251dev_linux.tar
drwx------ 4 sybase ase 4096 Feb 13 11:35 evolution
drwxrwxr-x 6 sybase 501 4096 Oct 2 04:01 JVM
-rwxrwxr-x 1 sybase 501 12 Oct 2 03:55 media.inf
-rwxrwxr-x 1 sybase 501 649645 Oct 2 04:01 setup
d


Germano

unread,
Feb 13, 2004, 12:47:12 PM2/13/04
to
This is my second installation. The first one was on a test PC running Red
Hat 8.0 and not using raw devices, just to get my feet wet. Everything
worked fine on this machine, but for some reason I'm getting this error on
RHEL AS 3, which will be closer to the final configuration once I go to
production and purchase the real ASE license from Sybase.

Any ideas why?

Germano

"Germano" <gsilv...@yahoo.com> wrote in message
news:402d0876$1@forums-1-dub...

Karl Ritter

unread,
Feb 13, 2004, 3:01:24 PM2/13/04
to
Java is a real nightmare!

The java VM that comes on the 12.5.1 CD is for RHEL 2.1.
For some reason it doesn't run on RHEL 3.0

Where did you get /home/sybase/JVM ????

I managed to install 12.5.1 on RHEL 3.0 after downloading the JVM from

http://java.sun.com/j2se/1.4.2/download.html

For a production DB, do double check with Sybase if 12.5.1 is ready for RHEL
3.0
I don't belive it is certified on 3.0

- Karl


"Germano" <gsilv...@yahoo.com> wrote in message
news:402d0876$1@forums-1-dub...

Germano

unread,
Feb 13, 2004, 5:34:54 PM2/13/04
to
The /home/sybase/JVM was created when I extracted the tar file. My hope is
that 12.5.1 will be certified on RHEL 3.0 by the time I'm going to
production, which should be aound May/June.

"Karl Ritter" <karl.ritter (at) europe.com> wrote in message
news:402d2fac$1@forums-2-dub...

Germano

unread,
Feb 16, 2004, 2:34:05 PM2/16/04
to
OK, I've downloaded JAV, but how do I install it?

It does not appear to be a package, so I can't use rpm.


"Karl Ritter" <karl.ritter (at) europe.com> wrote in message
news:402d2fac$1@forums-2-dub...

Michael Peppler

unread,
Feb 16, 2004, 3:07:01 PM2/16/04
to
On Mon, 16 Feb 2004 11:34:05 -0800, Germano wrote:

> OK, I've downloaded JAV, but how do I install it?
>
> It does not appear to be a package, so I can't use rpm.

IIRC it's a self-installing binary executable, so you just need to run the
file that you just downloaded.

There should be instructions on Sun's site, as well.

Michael
--
Michael Peppler Data Migrations, Inc.
mpep...@peppler.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

Germano

unread,
Feb 16, 2004, 3:36:47 PM2/16/04
to
Yes, it was just a matter of chmod a+x the file to make it executable, but
the ASe install failed with the typical "Incorrectly built binary which
accesses errno or h_errno directly. Needs to be fixed.", which I've seen in
previous posts that it is safe, but in my case ASE does not start.

Here's my log file from the installation:

(Feb 16, 2004 2:53:23 PM), Setup.product.install,
com.sybase.ismp.ase.wizardbean.SetupLogWizardAction, sis, Sybase ASE
InstallShield Installer/1.0/P/Wed May 14 11:57:23 PDT 2003
(Feb 16, 2004 2:53:23 PM), Setup.product.install,
com.sybase.ismp.ase.wizardbean.SetupLogWizardAction, sis,
log4j.configuration=internally configured
(Feb 16, 2004 2:54:05 PM), Setup.product.install,
com.installshield.product.service.product.PureJavaProductServiceImpl$DiskSpa
ceCheck, wrn, null
(Feb 16, 2004 2:55:34 PM), Setup.product.install,
com.sybase.ismp.ase.wizardbean.Log4jAppender, sis,
(wizardbean.ServerPort) - The Specified LDAP config file
'/opt/sybase/OCS-12_5/config/libtcl.cfg' has no LDAP entries.
(Feb 16, 2004 2:56:28 PM), Setup.product.install,
com.sybase.ismp.ase.wizardbean.ExecCommandWithProgress$ExecCommandOutputHand
ler, err, Incorrectly built binary which accesses errno or h_errno directly.
Needs to be fixed.

(Feb 16, 2004 2:56:28 PM), Setup.product.install,
com.sybase.ismp.ase.wizardbean.ExecCommandWithProgress$ExecCommandOutputHand
ler, err,

(Feb 16, 2004 2:56:28 PM), Setup.product.install,
com.sybase.ismp.ase.wizardbean.ExecCommandWithProgress$ExecCommandOutputHand
ler, err, Building Adaptive Server 'JOSHUADASE':

(Feb 16, 2004 2:56:28 PM), Setup.product.install,
com.sybase.ismp.ase.wizardbean.ExecCommandWithProgress$ExecCommandOutputHand
ler, err, Writing entry into directory services...

(Feb 16, 2004 2:56:28 PM), Setup.product.install,
com.sybase.ismp.ase.wizardbean.ExecCommandWithProgress$ExecCommandOutputHand
ler, err, Directory services entry complete.

(Feb 16, 2004 2:56:28 PM), Setup.product.install,
com.sybase.ismp.ase.wizardbean.ExecCommandWithProgress$ExecCommandOutputHand
ler, err, Building master device...

(Feb 16, 2004 2:56:28 PM), Setup.product.install,
com.sybase.ismp.ase.wizardbean.ExecCommandWithProgress$ExecCommandOutputHand
ler, err, Task failed

(Feb 16, 2004 2:56:28 PM), Setup.product.install,
com.sybase.ismp.ase.wizardbean.ExecCommandWithProgress$ExecCommandOutputHand
ler, err, Incorrectly built binary which accesses errno or h_errno directly.
Needs to be fixed.

(Feb 16, 2004 2:56:28 PM), Setup.product.install,
com.sybase.ismp.ase.wizardbean.ExecCommandWithProgress$ExecCommandOutputHand
ler, err, Server 'JOSHUADASE' was not created.

(Feb 16, 2004 2:56:28 PM), Setup.product.install,
com.sybase.ismp.ase.wizardbean.ExecCommandWithProgress$ExecCommandOutputHand
ler, err, /opt/sybase/ASE-12_5/bin/dataserver: error while loading shared
libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such
file or directory

(Feb 16, 2004 2:57:42 PM), Setup.product.install,
com.sybase.ismp.ase.wizardbean.ExecCommandWithProgress$ExecCommandOutputHand
ler, err, Incorrectly built binary which accesses errno or h_errno directly.
Needs to be fixed.

(Feb 16, 2004 2:57:42 PM), Setup.product.install,
com.sybase.ismp.ase.wizardbean.ExecCommandWithProgress$ExecCommandOutputHand
ler, err, Building Backup Server 'JOSHUADASE_BS':

(Feb 16, 2004 2:57:42 PM), Setup.product.install,
com.sybase.ismp.ase.wizardbean.ExecCommandWithProgress$ExecCommandOutputHand
ler, err, Writing entry into directory services...

(Feb 16, 2004 2:57:42 PM), Setup.product.install,
com.sybase.ismp.ase.wizardbean.ExecCommandWithProgress$ExecCommandOutputHand
ler, err, Directory services entry complete.

(Feb 16, 2004 2:57:42 PM), Setup.product.install,
com.sybase.ismp.ase.wizardbean.ExecCommandWithProgress$ExecCommandOutputHand
ler, err, Writing RUN_JOSHUADASE_BS file...

(Feb 16, 2004 2:57:42 PM), Setup.product.install,
com.sybase.ismp.ase.wizardbean.ExecCommandWithProgress$ExecCommandOutputHand
ler, err, RUN_JOSHUADASE_BS file complete.

(Feb 16, 2004 2:57:42 PM), Setup.product.install,
com.sybase.ismp.ase.wizardbean.ExecCommandWithProgress$ExecCommandOutputHand
ler, err, Starting server...

(Feb 16, 2004 2:57:52 PM), Setup.product.install,
com.sybase.ismp.ase.wizardbean.ExecCommandWithProgress$ExecCommandOutputHand
ler, err, Server started.

(Feb 16, 2004 2:57:52 PM), Setup.product.install,
com.sybase.ismp.ase.wizardbean.ExecCommandWithProgress$ExecCommandOutputHand
ler, err, Server 'JOSHUADASE_BS' was successfully created.

(Feb 16, 2004 2:57:52 PM), Setup.product.install,
com.sybase.ismp.ase.wizardbean.ExecCommandWithProgress$ExecCommandOutputHand
ler, err, Incorrectly built binary which accesses errno or h_errno directly.
Needs to be fixed.

(Feb 16, 2004 2:57:52 PM), Setup.product.install,
com.sybase.ismp.ase.wizardbean.ExecCommandWithProgress$ExecCommandOutputHand
ler, err, Building Monitor Server 'JOSHUADASE_MS':

(Feb 16, 2004 2:57:52 PM), Setup.product.install,
com.sybase.ismp.ase.wizardbean.ExecCommandWithProgress$ExecCommandOutputHand
ler, err, Writing entry into directory services...

(Feb 16, 2004 2:57:52 PM), Setup.product.install,
com.sybase.ismp.ase.wizardbean.ExecCommandWithProgress$ExecCommandOutputHand
ler, err, Directory services entry complete.

(Feb 16, 2004 2:57:52 PM), Setup.product.install,
com.sybase.ismp.ase.wizardbean.ExecCommandWithProgress$ExecCommandOutputHand
ler, err, Writing RUN_JOSHUADASE_MS file...

(Feb 16, 2004 2:57:52 PM), Setup.product.install,
com.sybase.ismp.ase.wizardbean.ExecCommandWithProgress$ExecCommandOutputHand
ler, err, RUN_JOSHUADASE_MS file complete.

(Feb 16, 2004 2:57:52 PM), Setup.product.install,
com.sybase.ismp.ase.wizardbean.ExecCommandWithProgress$ExecCommandOutputHand
ler, err, Unable to log in to Adaptive Server 'JOSHUADASE'.

(Feb 16, 2004 2:57:52 PM), Setup.product.install,
com.sybase.ismp.ase.wizardbean.ExecCommandWithProgress$ExecCommandOutputHand
ler, err, Unable to boot 'JOSHUADASE_MS' because Monitor Server must be able
to log in to

(Feb 16, 2004 2:57:52 PM), Setup.product.install,
com.sybase.ismp.ase.wizardbean.ExecCommandWithProgress$ExecCommandOutputHand
ler, err, Adaptive Server.

(Feb 16, 2004 2:57:52 PM), Setup.product.install,
com.sybase.ismp.ase.wizardbean.ExecCommandWithProgress$ExecCommandOutputHand
ler, err, Server 'JOSHUADASE_MS' was not created.

(Feb 16, 2004 2:57:56 PM), Setup.product.install,
com.sybase.ismp.ase.wizardbean.ExecCommandWithProgress$ExecCommandOutputHand
ler, err, Incorrectly built binary which accesses errno or h_errno directly.
Needs to be fixed.

(Feb 16, 2004 2:57:56 PM), Setup.product.install,
com.sybase.ismp.ase.wizardbean.ExecCommandWithProgress$ExecCommandOutputHand
ler, err, Building XP Server 'JOSHUADASE_XP':

(Feb 16, 2004 2:57:56 PM), Setup.product.install,
com.sybase.ismp.ase.wizardbean.ExecCommandWithProgress$ExecCommandOutputHand
ler, err, Writing entry into directory services...

(Feb 16, 2004 2:57:56 PM), Setup.product.install,
com.sybase.ismp.ase.wizardbean.ExecCommandWithProgress$ExecCommandOutputHand
ler, err, Directory services entry complete.

(Feb 16, 2004 2:57:56 PM), Setup.product.install,
com.sybase.ismp.ase.wizardbean.ExecCommandWithProgress$ExecCommandOutputHand
ler, err, Server 'JOSHUADASE_XP' was successfully created.

(Feb 16, 2004 2:57:56 PM), Setup.product.install,
com.sybase.ismp.ase.wizardbean.ExecCommandWithProgress$ExecCommandOutputHand
ler, err, 'JOSHUADASE_XP' will be started when needed by the Adaptive
Server.

"Michael Peppler" <mpep...@peppler.org> wrote in message
news:pan.2004.02.16....@peppler.org...

Michael Peppler

unread,
Feb 16, 2004, 5:19:05 PM2/16/04
to
On Mon, 16 Feb 2004 12:36:47 -0800, Germano wrote:

> Yes, it was just a matter of chmod a+x the file to make it executable, but
> the ASe install failed with the typical "Incorrectly built binary which
> accesses errno or h_errno directly. Needs to be fixed.", which I've seen in
> previous posts that it is safe, but in my case ASE does not start.

If you read your error log completely, you'll notice another error:

> (Feb 16, 2004 2:56:28 PM), Setup.product.install,
> com.sybase.ismp.ase.wizardbean.ExecCommandWithProgress$ExecCommandOutputHand
> ler, err, /opt/sybase/ASE-12_5/bin/dataserver: error while loading shared
> libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such
> file or directory

*that* is the problem. See http://www.peppler.org/FAQ/linux.html#q1.18 for
some information on how to fix this.

nicolas olivier

unread,
Feb 17, 2004, 9:45:11 PM2/17/04
to
Michael Peppler wrote:
> On Mon, 16 Feb 2004 12:36:47 -0800, Germano wrote:
>
>
>>Yes, it was just a matter of chmod a+x the file to make it executable, but
>>the ASe install failed with the typical "Incorrectly built binary which
>>accesses errno or h_errno directly. Needs to be fixed.", which I've seen in
>>previous posts that it is safe, but in my case ASE does not start.
>
>
> If you read your error log completely, you'll notice another error:
>
>
>>(Feb 16, 2004 2:56:28 PM), Setup.product.install,
>>com.sybase.ismp.ase.wizardbean.ExecCommandWithProgress$ExecCommandOutputHand
>>ler, err, /opt/sybase/ASE-12_5/bin/dataserver: error while loading shared
>>libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such
>>file or directory
>
>
> *that* is the problem. See http://www.peppler.org/FAQ/linux.html#q1.18 for
> some information on how to fix this.
>
> Michael


this might help - courtesy of svaardt -

I managed to get my RH WS Enterprise 3 running Sybase 12.5.1 by changing
the JRE reference and specifying the shared memory configuration as
suggested. Be careful altering the 'functions' file - if you make a
mistake you will have to reboot off a disk as the swap space will be
closed out and you will find yourself in readonly mode - as root !:
Just completed installing Sybase ASE 12.5.1 upon a fresh out of the
box, Fedora Core-1 installation running on an ix86 based machine.


Here are the notes I copied from svaardt which I saw on another news page:


It's working now, ASE Server starts up. Backup Server too.


1. Downloaded & installed the jre1.4.2_03

Fedora didn't appear to come with a Java Runtime engine, and any
attempts to run the Java installation that came with the Sybase 12.5.1
release just raised errors.


2. Setup Shared memory:

1. Edited /etc/sysctl.conf
2. Added the following line (size in bytes)
kernel.shmmax=536870912
3. Saved file, and ran the following command:
/sbin/sysctl -p


3. Created sybase user account, and in it's .cshrc file, updated the PATH
variable to be able to run java from the command-line.


setenv PATH ${PATH}:/usr/java/j2re1.4.2_03/bin


4. Created the /opt/sybase directory, and chowned it to the sybase user.


5. Ran the Sybase ASE setup as the sybase user.

a) note for the license agreement bit, you actually have to click the
down-arrow symbol, clicking the country name is simply no good. You
could of course just hit the down key several times...

b) Choose the "Full" installation from the list of Typical, Full and
Custom selections. Incidentally the icons alongside each seem a bit
confusing Typical has everything selected whereas Full doesn't...

c) Ran with the remainder of the install using the defaults

Although the following message arose, but I have yet to see any serious
side effect:


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


So have ignored it, has anyone any ideas as to what it means...

6. The License manager script (lmgr) fails with the following error :

Error occurred during initialization of VM Unable to load native
library: /opt/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

To fix this, I edited the lmgr script altering the "JRE_DIR" setting,
such that it points to the JRE that I installed in #1 above.

It seems to work, however upon exiting the following message arises:

lmutil - Copyright (C) 1989-2002 Macrovision Corporation
Shutdown failed: Cannot connect to license server (-15,570:111 "Connection
refused")

7. isql gave me an error about locale settings, until I added the
following to the environment:

setenv LC_ALL C
setenv LANG C

Made these settings permanent by adding to the file $SYBASE/SYBASE.csh
which I then soured within $HOME/.cshrc. Equivalent changes made also
to the corresponding SYBASE.sh script since I use that later on:

---CUT---8<----------8<----------8<----------8<----------8<----------
# .cshrc
setenv PATH ${PATH}:/usr/java/j2re1.4.2_03/bin
source /opt/sybase/SYBASE.csh
---CUT---8<----------8<----------8<----------8<----------8<----------

8. Installation of startup scripts (root user):

I found I needed two scripts. One to kick off the license manager
& the other for the sybase servers. Both I have borrowed from:

http://www.mbay.net/~mpeppler/Linux-ASE-FAQ.html#q1.2

The sybase server startup script only launches the main ASE Server &
it's backup server, the others don't startup at boot - it'll probably
take me a bit more time to figure that one out.


6a. Script to start the license manager: /etc/rc.d/init.d/lmgrd

(If you use these, take care to check that the formatting here
hasn't messed the script completely up)

---CUT---8<----------8<----------8<----------8<----------8<----------
#!/bin/sh
# lmgrd: Starts the License Manager
# Version: @(#)/etc/rc.d/init.d/lmgrd
# chkconfig: 345 84 15
# description: This script will start the license manager for Sybase

# Source function library.
. /etc/rc.d/init.d/functions

# SYBASE should point to the system administrated server area
SYBASE=/opt/sybase

if [ -n "${SYBASE}" -a -d "${SYBASE}" ]; then
. ${SYBASE}/SYBASE.sh
case "$1" in
start)
echo -n "Starting License Manager ... "
cd ${SYBASE}/${SYBASE_SYSAM}/bin
su -c "lmgrd" sybase > /dev/null 2>&1 ; \ echo -n "lmgrd " ; \
echo ""
touch /var/lock/subsys/lmgr
;;
stop)
echo -n "Shuting down License Manager "
killproc lmgrd
echo
;;
status)
ps -ef | grep lmgrd
;;
restart)
$0 stop
$0 start
;;
*)
echo "*** Usage: lmgrd {start|stop|status|restart}"
exit 1
esac
fi
exit 0

---CUT---8<----------8<----------8<----------8<----------8<----------


6b. Script to start Sybase : /etc/rc.d/init.d/sybase125

(If you use these, take care to check that the formatting here
hasn't messed the script completely up)

---CUT---8<----------8<----------8<----------8<----------8<----------
#!/bin/sh
# sybase125: Starts the named Servers
# Version: @(#)/etc/rc.d/init.d/sybase125
# chkconfig: 345 85 15
# description: Script to launch the specified Sybase servers

# Source function library.
. /etc/rc.d/init.d/functions
# SYBASE should point to the system administrated server area
SYBASE=/opt/sybase
if [ -n "${SYBASE}" -a -d "${SYBASE}" ]; then
# Setup the environment
. ${SYBASE}/SYBASE.sh
# See how we were called.
case "$1" in
start)
echo -n "Starting Sybase ASE ... "
cd ${SYBASE}/${SYBASE_ASE}/install
for run_server in RUN_*
do
su -c "startserver -f ${run_server}" sybase > /dev/null 2>&1
echo -n "${run_server} "
done
echo ""
touch /var/lock/subsys/sybase
;;
stop)
echo -n "Shuting down Sybase ASE configured servers: " # Note:
this should be replaced with a cleaner shutdown method! killproc
dataserver
killproc backupserver
killproc monserver
echo ""
;;
status)
showserver
;;
restart)
$0 stop
$0 start
;;
*)
echo "*** Usage: sybase {start|stop|status|restart}" exit 1
esac
exit 0
---CUT---8<----------8<----------8<----------8<----------8<----------

9. Ensure scripts are executable, and add to the boot services:

chmod 755 sybase125
chmod 755 lmgrd
chkconfig --add sybase125
chkconfig --add lmgrd


10. That's it so far... my dataserver is running for now... but knowning
my luck, I'll probably hit post and find everything suddenly stops
working ! Hope this helps.


Steve

0 new messages