When I install Sybase ASE 15, the building of the "Adaptive Server" fails, what can I do?
Q: When I install Sybase ASE 15, the building of the "Adaptive Server" fails, what can I do?
A: If you can not build the "Adaptive Server" with Sybase installer, please follow the steps below (# means that the command is run with the root account, $ means that the command is run with the sybase account):
If you have already done step 1, you can skip it
- As root
-
# cat /opt/sybase/SYBASE.sh >> /home/sybase/.bash_profile
# su - sybase
-
- Using sybase account
-
$ export LD_POINTER_GUARD=0
$ mkdir -p ~/rs
$ cp ~/ASE-15_0/init/sample_resource_files/srvbuild.adaptive_server.rs ~/rs/as.rs
-
- modify the file as.rs as below:
sybinit.release_directory: USE_DEFAULT
sybinit.product: sqlsrv
sqlsrv.server_name: <YOUR SERVER NAME>
sqlsrv.new_config: yes
sqlsrv.do_add_server: yes
sqlsrv.network_hostname_list: <YOUR HOSTNAME LIST>
sqlsrv.network_port_list: 5000
sqlsrv.server_page_size: USE_DEFAULT
sqlsrv.force_buildmaster: no
sqlsrv.master_device_physical_name: /opt/sybase/data/master.dat
sqlsrv.master_device_size: USE_DEFAULT
sqlsrv.master_database_size: USE_DEFAULT
sqlsrv.errorlog: USE_DEFAULT
sqlsrv.do_upgrade: no
sqlsrv.sybsystemprocs_device_physical_name: /opt/sybase/data/sysprocs.dat
sqlsrv.sybsystemprocs_device_size: USE_DEFAULT
sqlsrv.sybsystemprocs_database_size: USE_DEFAULT
sqlsrv.sybsystemdb_device_physical_name: /opt/sybase/data/sybsystemdb.dat
sqlsrv.sybsystemdb_device_size: USE_DEFAULT
sqlsrv.sybsystemdb_database_size: USE_DEFAULT
sqlsrv.default_backup_server: SYB_BACKUP
sqlsrv.addl_cmdline_parameters:
Replace <YOUR SERVER NAME>, <YOUR HOSTNAME LIST> and <YOUR SQLSRV SERVER NAME> by yours.
- Build the server
-
$ srvbuildres -r ~/rs/as.rs
-

