Sybase 15 User Manual

Page 59

Advertising
background image

APPENDIX A SySAM Administration

Installation Guide for UNIX

47

>> $SYSAM/log/boot.log"

;;

*)

echo "Usage: $0 { start | stop }"

exit

1

;;

esac

exit 0

3

Save the script to the file name appropriate for your operating system.

Solaris:

/etc/init.d/sysam.boot

IBM AIX:

/etc/rc.d/init.d/sysam.boot

HP-UX:

/sbin/init.d/sysam.boot

4

Change the permissions, ownership, and group for the script. For
example, assuming the script was stored as /etc/init.d/sysam.boot
enter:

chmod 744 /etc/init.d/sysam.boot

chown root /etc/init.d/sysam.boot

chgrp sys /etc/init.d/sysam.boot

5

Create an appropriately named link to start the License Manager
during start-up (typically, S + run number + script name):

Solaris:

ln -s /etc/init.d/sysam.boot /etc/rc3.d/S70sysam

IBM AIX:

ln -s /etc/rc.d/init.d/sysam.boot

/etc/rc.d/rc3.d/S70sysam

HP-UX:

ln -s /sbin/init.d/sysam.boot /sbin/rc3.d/S070sysam

6

Create an appropriately named link to stop the License Manager
during shutdown (typically, K + run number + script name):

Solaris:

ln -s /etc/init.d/sysam.boot /etc/rc2.d/K02sysam

Advertising