[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference decwet::networker

Title:NetWorker
Notice:kits - 12-14, problem reporting - 41.*, basics 1-100
Moderator:DECWET::RANDALL.com::lenox
Created:Thu Oct 10 1996
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:750
Total number of notes:3361

523.0. "index: permission denied error after moving server" by NETRIX::"[email protected]" (Jason Wold) Mon Mar 24 1997 19:05

This is not an emergency as I have my old server intact and tucked away
but I just tried to bring up a new server by copying all of /nsr/index
and /nsr/mm and /nsr/res to the new machine.  Everything appeared to 
work fine, it did a nonfull backup of a client like it should, but then when 
it went to write the index it gave the error:

--- Unsuccessful Save Sets ---

* thera.pa.dec.com:index 2 retries attempted
  devnull.pa.dec.com:/nsr/index/thera.pa.dec.com no cycles found in media db;
doing full save
* thera.pa.dec.com:index Permission denied.


Did I forget to copy a file/directory?

Is there a way I can give the server permission to write to its index files
again?

If not, can I just delete the 'db' file and have networker start fresh with
new indexes?

Thanks,
Jason
[Posted by WWW Notes gateway]
T.RTitleUserPersonal
Name
DateLines
523.1DECWET::RWALKERRoger Walker - Media ChangersTue Mar 25 1997 07:331
	You need to update /nsr/res/servers to include the new system.
523.2DECWET::ONOSoftware doesn't break-it comes brokenTue Mar 25 1997 08:418
There is a procedure in the Addendum that describes how to do 
this.  In the V4.2A manual, it starts at page 77.

You may need to edit the nsr.res file and change the occurrences 
of @old-server to @new-server.  It seems that the new server is 
not being allowed to access certain files.

Wes
523.3new server name is same as oldNETRIX::"[email protected]"Jason WoldTue Mar 25 1997 09:534
and I even used the same IP address.  I will take a look at the addendum.

Jason
[Posted by WWW Notes gateway]
523.4DECWET::ONOSoftware doesn't break-it comes brokenTue Mar 25 1997 10:5414
Looks like my assumptions in .2 were incorrect.

Is this index the only one that fails, or are there others?

Have you checked the protections on the NetWorker binaries?  Some 
of them should have the suid bit set.  ls -l /usr/bin/save should 
show a link to the kit directory (/usr/opt/<something>).  Take 
that path and do an ls -l /usr/opt/<something>/*save*.  All of 
these files should have the suid bit set.

Is this backup being run via a scheduled savegroup, or is it 
being run either manually or via a cron job?

Wes
523.5problem with addendum procedureNETRIX::&quot;[email protected]&quot;Jason WoldTue Mar 25 1997 11:0317
I am following the procedure for migrating my network environment as
reccomended in .2.  When I get to the part where I am to run

 uasm -s -f /tmp/directive . | ( cd /mnt; uasm -rv )

It copies the file mm/wissvids.dat and then stalls.  nsrmmdbasm starts up as
if
it is going to copy the mm/mmvolume file but it is sleeping and there is no
network traffic between the two machines.  I waited about half an hour and the
mmvolume did not even start copying and the system is completely  idle.  If I
kill the process and start over I get the same results.  

Do I have to use uasm to copy /nsr?  dump/restore or piped tar will not work
right?

Jason
[Posted by WWW Notes gateway]
523.6reply to .4NETRIX::&quot;[email protected]&quot;Jason WoldTue Mar 25 1997 11:1223
All manual and scheduled backups fail with the same behavior  while trying to
save the index.

I had originally copied all of the index files with tar and not uasm as stated
in the addendum but I am running into problems with the procedure in the 
addendum.  (see note 523.5)  Not sure if this is the problem  I am going from
an DEC 3000/500 model to a AlphaStation 255.  It looked to me like the uasm
stuff was for going from one architecture to another so I don't think this
would
be the problem.  Correct me if I am wrong.

All of the binaries have the correct permissions, as they should because I
installed them all from the original kit and not by copying them from the old
server.

I do have more patches installed on the new server than on the old one.
I think I will try uninstalling some of the patches on the new server for lack
of
anything else to try.

Jason

[Posted by WWW Notes gateway]
523.7problem narrowed down???NETRIX::&quot;[email protected]&quot;Jason WoldTue Mar 25 1997 14:2816
We think the problem is that we can not get the mmvolume file copied over
correctly.  We are unable to use the method posted in the addendum because
nsrmmdbasm does not appear to work correctly.

nsrmmdbasm -si mmvolume

does not produce any output. 

uasm -si mmvolume

does but the resulting file is still not correct.  Any hints on how to get
nsrmmdbasm to do its thing?

Thanks,
JAson
[Posted by WWW Notes gateway]
523.8problem solved....NETRIX::&quot;[email protected]&quot;Jason WoldTue Mar 25 1997 16:1617
We never got the nsrindexasm or the nsrmmdbasm working for the copy but
it appears that just copying the files using uasm with the holey option works.
Actually just copying the files apears to work but since the files are holey
our
database grew a bit larger by using regular copy or tar.

Chalk another one up for user error...

The error posted in .0 was due to the fact that our nsrexecd was not starting
properly and we did not check it thouroughly enough.  Sorry if anyone wasted 
too much time on this (like us).  We did find the problems with asm's
mentioned
above though.

Anyway, thanks for all the help.
Jason
[Posted by WWW Notes gateway]