nsradmin: no database found in specified directory
Hello fellow networkers,
when trying to do some database admin using nsradmin I get the following:
D:\Program Files\Legato\nsr\res>nsradmin -d "d:\program files\legato\nsr\res\nsrdb" Can not find a Networker database in the specified directory 39078:nsradmin: SYSTEM error: The operation completed successfully.
Yet the directory does exist:
D:\Program Files\Legato\nsr\res>dir "d:\program files\legato\nsr\res\nsrdb" Volume in drive D is ECC Volume Serial Number is AE2B-EA79
Directory of d:\program files\legato\nsr\res\nsrdb
run as admin for the cmd, yes, that could help. I remember an article in german ct' which mentioned something like this to get the right rights within a cmd prompt.
If you are on the NetWorker server, just use "nsradmin". The balance of the parameters are not needed based on what you used. The -d parameter is used when looking at offline res.
–d resdir
Uses the NetWorker resource database resdir instead of opening a network connection. The database
resdir must be in directory format. This should be used sparingly, and only when the NetWorker server is not running. Multiple –
d and resdir arguments can be used to start nsradmin with access to more than one database at a time.
thank you for your answer. But (as always...), I get these messages when all nsr daemons are stopped. Also when all nsr daemons except nsrd are running. And there is no other nsrdb directory on the system. So it should be a nsr database. Strange....
Just to rule out any incorrect parsing of the path you supplied within the nsradmin itself (lowercase characters etc, sometimes is required when specifying the paths?) can you try nsradmin -d . from the actual res directory as in your example or nsradmin -d "d: Progran Files Legato nsr res". Unless nsrd is running you will not be able to run nsradmin without the -d flag.
after stopping nsrd, I've tried your suggestion and got the same results:
D:\Program Files\Legato\nsr\res>nsradmin -d . Can not find a Networker database in the specified directory 39078:nsradmin: SYSTEM error: The operation completed successfully.
D:\Program Files\Legato\nsr\res>cd nsrdb
D:\Program Files\Legato\nsr\res\nsrdb>nsradmin -d . Can not find a Networker database in the specified directory 39078:nsradmin: SYSTEM error: The operation completed successfully.
Do you have any other tips?
Kind regards, met vriendelijke groeten, mit freundlichen Gruessen, Edgar.
this sounds promising as we are using a Win2008R2 server also. What type of user account do you use and what security level did you give the user account?
Kind regards, vriendelijke groeten, freundlichen Gruessen, Edgar Matzinger.
Holger_Inf
1 Rookie
•
122 Posts
1488
0
Posted October 4th, 2010 04:00
run as admin for the cmd, yes, that could help. I remember an article in german ct' which mentioned something like this to get the right rights within a cmd prompt.
good point, thank you!