1751854 Members
5539 Online
108782 Solutions
New Discussion юеВ

Re: sybase scripts

 

sybase scripts

I have loaded sybase ver12.0 onto a hp-ux ver 11.0 system, when i try to create a bootup routine setting the variables and then starting sybase, and sybase backup i get alot of dots on the screen, and it takes about 1 hour to book the unix system, and sybase isnt running correctly..Any help would be appreciated..
Just another HPUX Admin
3 REPLIES 3
Mark Greene_1
Honored Contributor

Re: sybase scripts

Have you checked in /etc/rc.log for any errors during boot? Hope about in /var/adm/syslog/syslog.log for any errors that might have happened after boot? What errors are you getting in Sybase?

mark
the future will be a lot like now, only later
Trevor Dyson
Trusted Contributor

Re: sybase scripts

"when i try to create a bootup routine setting the variables and then starting sybase, and sybase backup i get alot of dots on the screen..."

Can you post the startup script(s) and rc.config.d files you are using?
I've got a little black book with me poems in

Re: sybase scripts

I dont get any errors in the /etc/rc.log file, i do get one message:

Starting SYBASE Server
Output from "/sbin/rc3.d/S999sybase start":
I dont get any messages in /var/adm/syslog/syslog.log
here is a copy of my current /sbin/init.d/sybase script.

#!/usr/bin/sh
#
# Startup script for Sybase SQL server
#

#
# Path to Sybase and install.
#
SYBASE=/appl/sybase
ISQL=/appl/sybase/OCS-12_0/bin/isql
INSTALL=/appl/sybase/ASE-12_0/install
SYBASE_OCS=OCS-12_0
SYBASE_ASE=ASE-12_0
LM_LICENSE_FILE=/appl/sybase/SYSAM-1_0/licenses/license.dat:$LM_LICENSE_FILE
SYBASE_SYSAM=SYSAM-1_0

export SYBASE ISQL INSTALL SYBASE_SYSAM SYBASE_ASE SYBASE_OCS LM_LICENSE_FILE

case "$1" in

"start_msg") echo "Starting SYBASE Server" ;;

'start')
#
# Sybase server startup.
nohup su - root -c "/appl/sybase/ASE-12_0/install/startserver -f /appl/sybase/ASE-12_0/install/RUN_hp9000 > /dev/console 2>&1" &
;;

"stop_msg") echo "Shutting down the SYBASE Server" ;;

'stop')
#
# Sybase server shutdown.
#
nohup su - root -c "isql -S hp9000 -U sa -P 1SaPasswd -i /appl/sybase/ASE-12_0/install/SHUTDOWN_sybase > /dev/console 2>&1" &
;;

*)
#
# Invalid param.
#
echo "Usage: /sbin/init.d/sybase { start | stop }"
;;
esac


exit 0;
Just another HPUX Admin