Environment
Novell
ZENworks 7 Desktop Management Support Pack 1 - ZDM7 SP1
Inventory
Situation
To tell
ZENworks that database files have been moved, it is necessary to
run the alterdbspace service (seehttps://www.novell.com/documentation/zenworks7/dm7admin/data/af4erl9.html#a5oxkye ). But when you
do do, you see a message:
AlterDBSpace: ASA Error
-211 Not allowed while 'MW_DBA' is using the database
AlterDBSpace: 2708 The database is being access in DBA mode
Stop the Storer service and try again.
AlterDBSpace: 2708 The database is being access in DBA mode
Stop the Storer service and try again.
If you stop
the service, and try again, the problem still remains.
Resolution
Fixed in ZENworks 7 Desktop Management Service Pack 1 Interim Release 3a, available at https://download.novell.com
There is a
workaround, but involves several steps.
- Amend mgmtdbs.ncf to replace -ti 0 with -ti 1
- stopser *
- Unload sybase
- load sybase (ignore error messages)
- startinv.ncf
- stopser storer (there may be a delay of several minutes before the storer is stopped, depending on where in the 300 second wait loop the process is)
- startser alterdbspace wait for it to finish (should only take a few seconds)
- stopser *
- unload sybase
- Amend mgmtdbs.ncf to replace -ti 1 with -ti 0
- mgmtdbs.ncf
- startinv
Additional Information
The problem
is that the storer service does not free up its connection to the
database when it's stopped, so it's necessary to wait for the
connection to timeout (the default for this is 400
minutes!)