jvdp2002

updated

16 years ago

J

jvdp2002

22 Posts

0

2913

September 17th, 2010 05:00

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

17-09-2010  13:56   

          .
17-09-2010  13:56              ..
17-09-2010  11:56              00
17-09-2010  11:56              01
17-09-2010  13:33              02
17-09-2010  11:56              03
17-09-2010  11:56              04
17-09-2010  11:56              05
17-09-2010  11:56              06
17-09-2010  11:56              07
17-09-2010  11:56              08
17-09-2010  13:56              09
29-07-2010  13:55              dbg
               0 File(s)              0 bytes
              13 Dir(s)  56.020.127.744 bytes free

Can anyone of you shed some light on the issue?

Regards, 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!

  • MikeToo1

    38 Posts

    1161

    1

    Posted September 17th, 2010 07:00

    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.

  • jvdp2002

    22 Posts

    1161

    0

    Posted September 20th, 2010 03:00

    Hi Mike,

      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....

    Regards, Edgar.

  • masonb

    445 Posts

    1161

    1

    Posted September 20th, 2010 04:00

    Edgar,

    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.

    Regards,

    Bill Mason

  • Holger_Inf

    1 Rookie

    •

    122 Posts

    1164

    1

    Posted October 4th, 2010 02:00

    Hi,

    I know of a similar situation (copied a nsrdb from one to another windows system), was able to

    access every single file from windows explorer, but not able to use nsradmin -d. Same error as

    yours. It happened on W2K8R2

    Solution in our case: changed the Windows user account system to low security.

  • jvdp2002

    22 Posts

    1161

    0

    Posted October 4th, 2010 02:00

    Hi Bill,

      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.

  • 1164

    0

    Posted October 4th, 2010 02:00

    Hi Edgar, try as follows:

    With Networker services stopped go to the path:

    C:\Progam Files\legato\nsr\res and type:

    C:\Progam Files\legato\nsr\res>nsradmin -d nsrdb

    Please let us know if that helps.

    Thank you.

    Carlos.

  • jvdp2002

    22 Posts

    1164

    0

    Posted October 4th, 2010 03:00

    Hi Carlos,

      trying this reports the same error.

    Thank you anyway, regards, Edgar.

  • jvdp2002

    22 Posts

    1164

    0

    Posted October 4th, 2010 03:00

    Hi Holger,

      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

    1164

    0

    Posted October 4th, 2010 03:00

    Hi Edgard,

    it was on a german OS, so I probably do not know the right translation  to english OS.

    One of the Windows Admins at the customer changed, I believe, the security schema

    of the entire system to "no security". A reboot was required to get this to work.

    After that we could access the nsrdb with nsradmin

    Hope this help you.