Sybase Adaptive Server Enterprise 15.0.2 Installation Manual page 121

Table of Contents

Advertisement

Re-running the upgrade
Installation Guide
If you think the upgrade failure or its cause may have damaged your databases,
restore the databases from backups. For information on restoring databases, see
the System Administration Guide.
If you are concerned about the possible corruption of your databases, exit
Server Config, but do not attempt to restart the upgrade session until you have
restored the databases from backup. After restoration is complete, retry the
upgrade.
Failures while upgrading a server installation fall into one of two categories:
failure to upgrade an individual database, or failure to complete configuration
changes after all databases have been upgraded.
1
If an individual database fails to upgrade, you can retry that upgrade
manually. Begin by correcting the problem that caused the failure. Output
from the upgrade utility should identify the problem. The most common
cause of failure is running out of some resource: space (either data or log),
locks, auxiliary scan descriptors. You can add space to the database using
the
alter database
changing the server's configuration via the
If an upgrade failure leaves a database offline, and the failure can only be
corrected by making data changes in the database, you can gain access to
the failed database by using
affected server as user "sa" and issuing this command:
dbcc traceon(990)
Note
This trace flag grants access only to user "sa". It is not sufficient to
use an account having "sa_role". If you have disabled the "sa" login, you
must re-enable it to get access using this method.
Having set this trace flag, user "sa" can now use the offline database and
make the necessary changes to correct the upgrade failure.
To restart a failed upgrade, use the
online database <failed_db_name>
The server restarts that database's upgrade from the point of failure.
command. Other resource failures may be correctable by
or a similar program to connect to the
isql
online database
CHAPTER 7
Troubleshooting
stored procedure.
sp_configure
command:
107

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents