Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error -1001 when try to dbfix, dbdefrag etc

Status
Not open for further replies.

Tricky1234

Technical User
Feb 6, 2004
9
GB
Hi

I have inherited an office file server which runs a nightly local and network backup. The database had grown to the full size of the partition and had stopped working.

I have initialised the database and last night arcserve performed a successful backup. The database was pruned successfully this morning, I have set it to remove information older than 7 days.

The problem I am having is that I cant get the command line utilities to work.
Arcserve is installed on the E: partition.
The database utils are in E:\arcserve\database.
The database files are in E:\arcserve\database\database.

Should the database files be residing in the same directory as the database utils? Can I force the database utils to look in another directory for the database files or possible put the database utils in the servers PATH so that I can run them from the e:\arcserve\database\database directory?

The backup is working, I am just concerned that I cant defrag the database, or repair it etc with teh command line utils.

I am trying for example:

dbdefrag -L arcserve;backup;correctpassword astpsdat

But get 'Failed to log into server 'arcserve', username 'backup' : error -1001'

At the moment I have to run this command from E:\arcserve\database so maybe it cant see the database in E:\arcserve\database\database?

The Velocis.ini file is in E:\arcserve\database\database and contains the line 'ServerName=ARCSERVE'. The backup username and password complete the backup successfully so they must work ok.

What am I doing wrong - how can I fix it!

Thanks for any help

Richard
 
Richard.

the trick here is that you have to use the following syntax :

dbdefrag -L arcserve;admin;secret astpsdat

The VLDB uses its own security with the predifined user 'admin' and the password 'secret'
With ARCserve v9 you have to use

dbdefrag -L casdb;admin;secret astpsdat

regards

Martin
 
Ahh..moment of clarity..I see.

Yes that works fine now, thank you!

Arcserve is really quite good when you know how it works 8)

Thanks for your help

Richard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top