The SPS for Linux Sybase ASE Recovery Kit requires that the path $SYBASE/ASE-<version> be symbolically linked to $SYBASE/ASE. In addition, the path $SYBASE/OCS-<version> must be symbolically linked to $SYBASE/OCS. The SPS for Linux Sybase ASE Recovery Kit uses these links to access various Sybase utilities and files. To create the links follow the steps below.
- From the command line, change directories into the $SYBASE directory.
Example:
server1 # cd $SYBASE
server1 # pwd
/opt/sybase-15.5
- Locate the ASE-<version> directory
Example:
server1 # ls –ld ASE*
drwxrwxr-x 16 sybase sybase 4096 Nov 18 09:08 ASE-15_5
lrwxrwxrwx 1 sybase sybase 8 Nov 17 11:35 ASEP -> ASEP-1_0
drwxrwxr-x 4 sybase sybase 4096 Nov 17 11:35 ASEP-1_0p
- Verify that the ASE-<version> directory contains the bin/srvbuild utility.
Example:
server1 # ls ASE-15_5/bin/srvbuild
srvbuild
- From the command line, create a link between the identified ASE-<version> directory and ASE.
Example:
server1 # pwd
/opt/sybase-15.5
server1 # ln –s ASE-15_5 ASE
- Verify the link was properly created.
Example:
server1 # ls –ld ASE*
lrwxrwxrwx 1 sybase sybase 8 Nov 17 11:20 ASE -> ASE-15_5
drwxrwxr-x 16 sybase sybase 4096 Nov 18 09:08 ASE-15_5
lrwxrwxrwx 1 sybase sybase 8 Nov 17 11:35 ASEP -> ASEP-1_0
drwxrwxr-x 4 sybase sybase 4096 Nov 17 11:35 ASEP-1_0
server1 # ls ASE/bin/srvbuild
srvbuild
- From the command line, change directories into the $SYBASE directory.
Example:
server1 # cd $SYBASE
server1 # pwd
/opt/sybase-15.5
- Locate the OCS-<version> directory
Example:
server1 # ls –ld OCS*
drwxrwxr-x 16 sybase sybase 4096 Nov 18 09:08 OCS-15_5
- Verify that the OCS-<version> directory contains the bin/isql utility.
Example:
server1 # ls OCS-15_5/bin/isql
isql
- From the command line, create a link between the identified OCS-<version> directory and OCS.
Example:
server1 # pwd
/opt/sybase-15.5
server1 # ln –s OCS-15_5 OCS
- Verify the link was properly created.
Example:
server1 # ls –ld OCS*
lrwxrwxrwx 1 sybase sybase 8 Nov 17 11:20 OCS -> OCS-15_5
drwxrwxr-x 16 sybase sybase 4096 Nov 18 09:08 OCS-15_5
server1 # ls OCS/bin/isql
isql
このトピックへフィードバック