ASE can ' t setup and has no valid dump of Master
1. Edit Run_servername
At the command line last add:-t3607
2. Single user mode start ASE
$CD Install
$startserver-F Run_servername-m
3. BCP out system table
$BCP Master. sysdevices Out/directory.spec/devs-usa-p-C
$BCP Master. sysdatabases Out/directory.spec/dbs-usa-p-C
$BCP Master. sysusages Out/directory.spec/usages-usa-p-C
$BCP Master. syslogins Out/directory.spec/logins-usa-p-C
$BCP Master. Sysconfigures Out/directory.spec/configures-usa-p-C
$BCP Master. Syscharsets Out/directory.spec/charsets-usa-p-C
4, Shutdownase
5. Create a new master device
$buildmaster-d<path_to_new_master_device>-s<new_master_device_size>
(New_master_device_size in 2K)
6. Edit Run_servername
Assigns the specified master device as the newly created master device and deletes the parameters that were added in step 1th.
7, delete/directory.spec/dbs,/directory.spec/usages files in the master, tempdb, model content.
8. Single User mode start ASE
$CD Install
$startserver-F Run_servername-m
9. bcp in system table
$ bcp Master. sysdevices In/directory.spec/devs-usa-p-B 1-c
$BCP Master. sysdatabases In/directory.spec/dbs-usa-p-B 1-c
$BCP Master. sysusages In/directory.spec/usages-usa-p-B 1-c
$BCP Master. syslogins In/directory.spec/logins-usa-p-B 1-c
$BCP Master. sysconfigures In/directory.spec/configures-usa-p-B 1-c
$BCP Master. Syscharsets In/directory.spec/charsets-usa-p-B 1-c
10, restart ASE
11. Execute Installmaster Script
$isql-usa-p < $SYBASE/scripts/installmaster