Technical>>Others

On Asianux Server 3 SP2 (x86_64), when installing Sybase ASE 15, the building of the Backup server fails. What can be done?


On Asianux Server 3 SP2 (x86_64), when installing Sybase ASE 15, the building of the Backup server fails. What can be done?

Answer:

Follow the procedure below:

  • #: run commands using root account,
  • $: run commands using sybase account.

If step 1 has already been done, it can be skipped.

  1. With root account:

    # cat /opt/sybase/SYBASE.sh >> /home/sybase/.bash_profile

    # su - sybase

  2. With Sybase account

    $ export LD_POINTER_GUARD=0

    $ mkdir -p ~/rs

    $ cp ~/ASE-15_0/init/sample_resource_files/srvbuild.backup_server.rs ~/rs/bs.rs

  3. modify bs.rs as below:

    sybinit.release_directory: USE_DEFAULT

    sybinit.product: bsrv

    bsrv.server_name: <YOUR SERVER NAME>

    bsrv.new_config: yes

    bsrv.do_add_backup_server: yes

    bsrv.do_upgrade: no

    bsrv.network_protocol_list: tcp

    bsrv.network_hostname_list: <YOUR HOSTNAME LIST>

    bsrv.network_port_list: 5001

    bsrv.language: USE_DEFAULT

    bsrv.character_set: USE_DEFAULT

    bsrv.tape_config_file: USE_DEFAULT

    bsrv.errorlog: USE_DEFAULT

    sqlsrv.related_sqlsrvr: <YOUR SQLSRV SERVER NAME>

    sqlsrv.sa_login: sa

    sqlsrv.sa_password: USE_DEFAULT

    bsrv.addl_cmdline_parameters:

    You need to change <YOUR SERVER NAME>, <YOUR HOSTNAME LIST> and <YOUR SQLSRVSERVER NAME> to the correct names of your system./span>

  4. Build the server

    $ srvbuildres -r ~/rs/bs.rs

Tags