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

File index error: permission denied

Status
Not open for further replies.

promml

Technical User
Sep 6, 2002
14
AT
Hi,

I am having a problem to backup one client after its hardware was replaced. IP/hostname/networker config and client version is exactly the same as before this replacement.

Client is Linux with NW 7.1.3
Server is HPUX with NW 7.1.3


Doing a server initiated backup I get the following log:

savegrp -vvvvv -c linuxclient

linuxclient:/etc level=full
07/26/05 14:32:26 savegrp: Run up to 48 clients in parallel
07/26/05 14:32:26 savegrp: linuxclient:probe started
savefs -s nwserver -c linuxclient -g Default -p -l full -R -v -F /etc
07/26/05 14:32:29 savegrp: linuxclient:probe succeeded.
rcmd linuxclient, user root: `savefs -s nwserver -c linuxclient -g Default -p -l full -R -v -F /etc'
nsrexec: authtype nsrexec
type: NSR client description;
pools supported: Yes;
migration supported: Yes;
browse time supported: Yes;
multiple balanced streams supported: Yes;
remote user: root;
groups: root;
arch: i686;
client OS type: Linux;
CPU type: i686;
CPUs: 1;
kernel arch: i686;
machine type: desktop;
MB used: 13701;
NetWorker version: 7.1.3.Build.404;
OS: Linux 2.4.27-2-686-smp;
version: 7.1.3.Build.404;
save set: path=/etc, arg=/etc, level=full, diskno=0, max_sessions=1, stype=save ;
parallelism: 8
linuxclient:/etc level=full, dn=0, mx=1, vers=ssbrowse, p=4
07/26/05 14:32:29 savegrp: linuxclient:/etc started
save -s nwserver -g Default -LL -f - -m linuxclient -l full -W 78 -N /etc /etc
07/26/05 14:32:30 savegrp: linuxclient:/etc succeeded.
* linuxclient:/etc rcmd linuxclient, user root: `save -s nwserver -g Default -LL -f - -m linuxclient -l full -W 78 -N /etc /etc'
* linuxclient:/etc save: File index error: permission denied, `root' on `linuxclient' must have remote access privileg
e to client ksrsifs1.
* linuxclient:/etc save: Cannot open save session with nwserver


Doing a client initiated backup the following output is produced:

save -s nwserver -b Default -D6 -vvvvv /etc

save: setup_mntasm: adding /
save: setup_mntasm: adding /proc
save: got prototype for /
save: setup_mntasm: adding /dev/pts
save: got prototype for /dev/
save: setup_mntasm: adding /dev/shm
save: got prototype for /dev/
save: setup_mntasm: adding /proc/bus/usb
save: got prototype for /proc/bus/
save:
Calling clnttcp_create function
save:
Calling clnttcp_create function
save: socket binded to port 10547
save: socket binded to port 16729
save: lgto_auth for `nsrd' succeeded
save: RPC Authentication: Client successfully authenticated using AUTH_LGTO
save: clientname() passed, for nwserver.
save: pathlist_set_hostname: host is NULL
save:
Calling clnttcp_create function
save:
Calling clnttcp_create function
save: socket binded to port 25794
save: socket binded to port 18805
save: lgto_auth for `nsrd' succeeded
save: RPC Authentication: Client successfully authenticated using AUTH_LGTO
save: lgto_parms for `nsrmmd' succeeded
save: got `store index entries' value of `Yes'
save: server enabled for immediate mode
save: lgto_auth for `nsrmmd' succeeded
save:
Calling clnttcp_create function
save:
Calling clnttcp_create function
save: socket binded to port 24693
save: socket binded to port 21041
save: RPC Authentication: Client successfully authenticated using AUTH_LGTO
save: lgto_auth for `nsrindexd' succeeded
save:
Calling clnttcp_create function
save:
Calling clnttcp_create function
save: socket binded to port 10816
save: socket binded to port 10843
save: RPC Authentication: Client successfully authenticated using AUTH_LGTO
save: index start failed: permission denied, `root' on `linuxclient' must have remote access privilege to client nwserver.
save: direct save returns: permission denied, `root' on `linuxclient' must have remote access privilege to client nwserver.
save: File index error: permission denied, `root' on `linuxclient' must have remote access privilege to client nwserver. (sev
erity 5, number 1)
save: Cannot open save session with nwserver


If I configure remote access rights for that specific client in the nw-servers client resource, the backup works.
Before this hw replacement this entry was not needed.
Clearing the client resource and recreating the client does not change anything.

I cannot figure out, what the problem is.
Does anyone have an idee how to correct this problem without granting remote access rights to that client.

------
promml

 
Looks strange. However, this points to the fact that the local user root can not be recognized as root@localhost. Could it be that the /etc/hosts file will override other name services?
 
The hosts-file justs contains the loopback address and the clients ip including all its aliases, which are exactly the same as in DNS and also included in the client resource.

So I don't think it is a naming resolution issue.

Any more guesses?
 
In the meantime I got the solution from Legato:

Solution Information

Title:Error: 'save: File index error: permission denied, `root' on `(client_name)' must have remote access privilege to client (server_name)'
ID:legato83702
Solution Statements


Here is the solution:
Remove the client's shortname from the loopback entry in the /etc/hosts file.

Here is the problem or goal:
Error: 'save: File index error: permission denied, `root' on `(client_name)' must have remote access privilege to client (server_name)'
Error: 'save: Cannot open save session with (server)'
Error: 'localhost.localdomain is not a registered client on (server_name)'
Scheduled backup fails with errors
Manual backup fails

Here is the problem environment:
NetWorker 7.1.2

Here is the cause:
Client's /etc/hosts file contained:

127.0.0.1 localhost.localdomain (client_name)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top