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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Switching to a new server

Status
Not open for further replies.

GunnarD

IS-IT--Management
Oct 7, 2005
82
SE
Hi all.

We have switch our backupserver to a new server but somewhere there is a reference to the old one.

When we try to start nwrecover on a client we get the following messages:

nwrecover: Cannot start session with server newserver: User xxx on computer client is not on oldserver's remote access list

Does anybody know where "oldserver" is stored, i can't find it?

An nsrserverhost is pointing to the new servers ip-adress.
 
Because the entry for the old server points to "?@oldserver", you are not allowed to administer NW from the new host.

Proceed as follows:
- Stop NW
- If NW 6.x open the file /nsr/res/nsr.res
- Search for the line "Type: NSR;"
You are now at the resource for the NW server
- If NW 7.x each resource exists as separate file in /nsr/res/nsrdb/xx
You have to search for the correct resource file first.

- Now change the fist line in this "paragraph" to
administrator: "*@*";
This will allow that you can administer the server using any user account
- Start the NW server
- Open the admin GUI
- In the Server resource you chould now change the Administrators entry to a smaller group. Default is "Administrators@localhost" (Windows) or "root@localhost" (UNIX).

... or ... simply use the same hostname as for the old server.
 
Sorry but there is no reference to "oldserver" in any file under /nsr/res.

I have run the command "cd /nsr/res ; grep -r oldserver .
 
Come on - be cooperative ...

Which NW version do you use at all?

 
More info :)

Our server and clients is running NW 7.2.1

I have unistalled networker from this client, removed /nsr directory and reinstalled the program.

Server is a new server and no other version of NW has ben ever installed.
 
Run the following command:

find /nsr/res/nsrdb -type f -exec grep -l "NSR;" {} \;

This should tell you the resource file to edit as decribed.
 
It says:

administrator: "user=root,host=newserver";

No reference to oldserver in any file what i can se.

Is all configuration files under /nsr?
 
Sh...

I was on the wrong track. The administrator is adjusted automatically. Sorry.

---------------

What you need to edit is the "Remote access" entry in the client resource.

By default, only the user who has done the backup can recover it. As this does not exist any more, you do not have rights to access this data untill you add an appropriate account in the "Remote access" list.

 
The solution was simple, i was standing in a nfs mounted directory when i started nwrecover so it tries to connect to the nfs-server which was also our old backupserver.

When i run "nwrecover -v" i got the hint whats was going on.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top