Lab 1. Installation of Sybase
Lab 1. Installation of Sybase
Save the Commands listed in Next Three Steps (4,5 and 6) in /etc/rc.local
4. Create Raw devices from the Partitions (Create Necessary Partitions before doing this Using fdisk).
Sybase recommends to store all database files on raw devices except for temporary databases like
tempdb.
# raw /dev/raw/raw1 /dev/sdb1
# raw /dev/raw/raw2 /dev/sdb2
# raw /dev/raw/raw3 /dev/sdb3
# raw /dev/raw/raw5 /dev/sdb5
# raw /dev/raw/raw6 /dev/sdb6
5. Change permissions on the raw devices...
# chmod 600 /dev/raw/raw1
# chmod 600 /dev/raw/raw2
# chmod 600 /dev/raw/raw3
# chmod 600 /dev/raw/raw5
# chmod 600 /dev/raw/raw6
6. Change ownership on the raw devices to sybase...
# chown sybase:sybase /dev/raw/raw1
# chown sybase:sybase /dev/raw/raw2
# chown sybase:sybase /dev/raw/raw3
# chown sybase:sybase /dev/raw/raw5
We shall be using
/dev/raw/raw1 master (100 Mb)
/dev/raw/raw2 sybsystemprocs (200M)
/dev/raw/raw3 sybsystemdb (10M)
/dev/raw/raw5 data01 (We shall use 100MB for testing. You can always add more)
/dev/raw/raw6 log01(we shall use 25MB for testing. You can always add more).
If Installation fails to start in GUI, this problem can occur for the following reasons:
1. The file /usr/lib/libstdc++.so.5.0.7 or later is not installed on the system.
2. The $DISPLAY environment variable is not properly set.
3. The necessary X Windows libraries for running the GUI installer are not available.