Unsolved
This post is more than 5 years old
2 Intern
•
1.1K Posts
0
4260
February 7th, 2006 03:00
savefs: cannot retrieve client resources
Any ideas on this one? This client has been working okay up until the weekend. A group backup now gives the error:
No 'NSR client' resource for client
savefs: cannot retrieve client resources
If we change the saveset to a known file system it backs up fine. This would imply that it is not a network issue, and running ping/nslookup indicates everything is as expected. Client and server have been bounced; I have also stopped the Networker client and cleared out its nsr/tmp directory. No other backups are affected.
We have also deleted the client resource and recreated it thinking that it may be a corrupted resource - this had no effect.
I have ran savefs -D9 on the client and got the following results:
root@sdpmdp01 # savefs -D9 -s ssbak16 -c sdpmdp01
savefs: lg_fstat(): Calling fstat64().
savefs: lg_fstat(): Calling fstat64().
savefs: lg_fstat(): Calling fstat64().
savefs: lg_fstat(): Calling fstat64().
savefs: lg_fstat(): Calling fstat64().
savefs: lg_fstat(): Calling fstat64().
savefs: lg_fstat(): Calling fstat64().
savefs: lg_fstat(): Calling fstat64().
savefs:
clu_init_lc(): ENTRY...
savefs:
get_lc_fspath_vhost_map(): ENTRY ...
savefs: No access to file: /usr/sbin/lcmap ...
savefs:
clu_init_lc(): Can't build fspath_vhost_map...
savefs:
dump_map_lc(): ENTRY ...
savefs: Lc_use_local_vhost_list = FALSE
savefs: MOUNTED filesystems
savefs:
dump_map_lc(): EXIT ...
savefs:
clu_is_cluster_host_lc(): ENTRY ...
savefs: Cannot find the Sun Cluster haget utility.savefs: Use $HA_UTIL to point
to the location of the High Availability utilities.
savefs: clu_is_localvirthost(): unknown cluster type
savefs: lg_fstat(): Calling fstat64().
savefs: lg_fstat(): Calling fstat64().
savefs: lg_fstat(): Calling fstat64().
savefs: lg_fstat(): Calling fstat64().
savefs: lg_fstat(): Calling fstat64().
savefs: lg_fstat(): Calling fstat64().
savefs: lg_fstat(): Calling fstat64().
savefs: lg_fstat(): Calling fstat64().
savefs: lg_fstat(): Calling fstat64().
savefs: lg_fstat(): Calling fstat64().
savefs: lg_fstat(): Calling fstat64().
savefs: lg_fstat(): Calling fstat64().
savefs:
Calling clnttcp_create function
savefs:
Calling clnttcp_create function
savefs: socket binded to port 12335
savefs: socket binded to port 13036
savefs: lgto_auth for `nsrd' succeeded
savefs: RPC Authentication: Client successfully authenticated using AUTH_LGTO
savefs:
clu_init_lc(): ENTRY...
savefs:
get_lc_fspath_vhost_map(): ENTRY ...
savefs: No access to file: /usr/sbin/lcmap ...
savefs:
clu_init_lc(): Can't build fspath_vhost_map...
savefs:
dump_map_lc(): ENTRY ...
savefs: Lc_use_local_vhost_list = FALSE
savefs: MOUNTED filesystems
savefs:
dump_map_lc(): EXIT ...
savefs:
clu_is_cluster_host_lc(): ENTRY ...
savefs: Cannot find the Sun Cluster haget utility.savefs: Use $HA_UTIL to point
to the location of the High Availability utilities.
savefs: getlocalhost_lc(): returning value: getlocalhost()
savefs: pathlist_set_hostname: host is NULL
savefs: pathlist_set_hostname: host is NULL
savefs: pathlist_set_hostname: host is NULL
savefs: pathlist_set_hostname: host is NULL
savefs: pathlist_set_hostname: host is NULL
No 'NSR client' resource for client sdpmdp01
savefs: cannot retrieve client resources
I have verified we have the file /etc/vfstab - its contents are as follows:
root@sdpmdp01 # cat vfstab
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
#
fd - /dev/fd fd - no -
/proc - /proc proc - no -
/dev/vx/dsk/swapvol - - swap - no -
/dev/vx/dsk/swapvol2 - - swap - no -
/dev/vx/dsk/rootvol /dev/vx/rdsk/rootvol / ufs 1 no
logging
/dev/vx/dsk/var /dev/vx/rdsk/var /var ufs 1 no logging
swap - /tmp tmpfs - yes -
#NOTE: volume rootvol (/) encapsulated partition c0t0d0s0
#NOTE: volume swapvol (swap) encapsulated partition c0t0d0s1
#NOTE: volume var (/var) encapsulated partition c0t0d0s3
/dev/vx/dsk/rootdg/crash /dev/vx/rdsk/rootdg/crash /var/crash ufs 2 yes largefil
es,suid
/dev/vx/dsk/rootdg/home /dev/vx/rdsk/rootdg/home /export/home vxfs 2 yes suid
# Oracle Installation
/dev/vx/dsk/localdg1/u00 /dev/vx/rdsk/localdg1/u00 /u00 vxfs 2 yes suid
# DB File Systems are now managed by Veritas Cluster Server
The Networker server is a clustered Networker server.
No 'NSR client' resource for client
savefs: cannot retrieve client resources
If we change the saveset to a known file system it backs up fine. This would imply that it is not a network issue, and running ping/nslookup indicates everything is as expected. Client and server have been bounced; I have also stopped the Networker client and cleared out its nsr/tmp directory. No other backups are affected.
We have also deleted the client resource and recreated it thinking that it may be a corrupted resource - this had no effect.
I have ran savefs -D9 on the client and got the following results:
root@sdpmdp01 # savefs -D9 -s ssbak16 -c sdpmdp01
savefs: lg_fstat(): Calling fstat64().
savefs: lg_fstat(): Calling fstat64().
savefs: lg_fstat(): Calling fstat64().
savefs: lg_fstat(): Calling fstat64().
savefs: lg_fstat(): Calling fstat64().
savefs: lg_fstat(): Calling fstat64().
savefs: lg_fstat(): Calling fstat64().
savefs: lg_fstat(): Calling fstat64().
savefs:
clu_init_lc(): ENTRY...
savefs:
get_lc_fspath_vhost_map(): ENTRY ...
savefs: No access to file: /usr/sbin/lcmap ...
savefs:
clu_init_lc(): Can't build fspath_vhost_map...
savefs:
dump_map_lc(): ENTRY ...
savefs: Lc_use_local_vhost_list = FALSE
savefs: MOUNTED filesystems
savefs:
dump_map_lc(): EXIT ...
savefs:
clu_is_cluster_host_lc(): ENTRY ...
savefs: Cannot find the Sun Cluster haget utility.savefs: Use $HA_UTIL to point
to the location of the High Availability utilities.
savefs: clu_is_localvirthost(): unknown cluster type
savefs: lg_fstat(): Calling fstat64().
savefs: lg_fstat(): Calling fstat64().
savefs: lg_fstat(): Calling fstat64().
savefs: lg_fstat(): Calling fstat64().
savefs: lg_fstat(): Calling fstat64().
savefs: lg_fstat(): Calling fstat64().
savefs: lg_fstat(): Calling fstat64().
savefs: lg_fstat(): Calling fstat64().
savefs: lg_fstat(): Calling fstat64().
savefs: lg_fstat(): Calling fstat64().
savefs: lg_fstat(): Calling fstat64().
savefs: lg_fstat(): Calling fstat64().
savefs:
Calling clnttcp_create function
savefs:
Calling clnttcp_create function
savefs: socket binded to port 12335
savefs: socket binded to port 13036
savefs: lgto_auth for `nsrd' succeeded
savefs: RPC Authentication: Client successfully authenticated using AUTH_LGTO
savefs:
clu_init_lc(): ENTRY...
savefs:
get_lc_fspath_vhost_map(): ENTRY ...
savefs: No access to file: /usr/sbin/lcmap ...
savefs:
clu_init_lc(): Can't build fspath_vhost_map...
savefs:
dump_map_lc(): ENTRY ...
savefs: Lc_use_local_vhost_list = FALSE
savefs: MOUNTED filesystems
savefs:
dump_map_lc(): EXIT ...
savefs:
clu_is_cluster_host_lc(): ENTRY ...
savefs: Cannot find the Sun Cluster haget utility.savefs: Use $HA_UTIL to point
to the location of the High Availability utilities.
savefs: getlocalhost_lc(): returning value: getlocalhost()
savefs: pathlist_set_hostname: host is NULL
savefs: pathlist_set_hostname: host is NULL
savefs: pathlist_set_hostname: host is NULL
savefs: pathlist_set_hostname: host is NULL
savefs: pathlist_set_hostname: host is NULL
No 'NSR client' resource for client sdpmdp01
savefs: cannot retrieve client resources
I have verified we have the file /etc/vfstab - its contents are as follows:
root@sdpmdp01 # cat vfstab
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
#
fd - /dev/fd fd - no -
/proc - /proc proc - no -
/dev/vx/dsk/swapvol - - swap - no -
/dev/vx/dsk/swapvol2 - - swap - no -
/dev/vx/dsk/rootvol /dev/vx/rdsk/rootvol / ufs 1 no
logging
/dev/vx/dsk/var /dev/vx/rdsk/var /var ufs 1 no logging
swap - /tmp tmpfs - yes -
#NOTE: volume rootvol (/) encapsulated partition c0t0d0s0
#NOTE: volume swapvol (swap) encapsulated partition c0t0d0s1
#NOTE: volume var (/var) encapsulated partition c0t0d0s3
/dev/vx/dsk/rootdg/crash /dev/vx/rdsk/rootdg/crash /var/crash ufs 2 yes largefil
es,suid
/dev/vx/dsk/rootdg/home /dev/vx/rdsk/rootdg/home /export/home vxfs 2 yes suid
# Oracle Installation
/dev/vx/dsk/localdg1/u00 /dev/vx/rdsk/localdg1/u00 /u00 vxfs 2 yes suid
# DB File Systems are now managed by Veritas Cluster Server
The Networker server is a clustered Networker server.


ble1
4 Operator
•
14.4K Posts
0
February 7th, 2006 04:00
[root@hcrvelin]/#savefs -D9 -s hcrvelin -c hcrvelin
savefs:
Calling clnttcp_create function
savefs:
Calling clnttcp_create function
savefs: socket bound to port 14375
savefs: socket bound to port 29950
savefs: RPC Authentication: an old auth server issued the cred, it is not checksummed
savefs: lgto_auth for `nsrd' succeeded
savefs: RPC Authentication: Client successfully authenticated using AUTH_LGTO
savefs:
clu_init_lc(): ENTRY...
savefs:
get_lc_fspath_vhost_map(): ENTRY ...
savefs: No access to file: /usr/sbin/lcmap ...
savefs:
clu_init_lc(): Can't build fspath_vhost_map...
savefs:
dump_map_lc(): ENTRY ...
savefs: Lc_use_local_vhost_list = FALSE
savefs: MOUNTED filesystems
savefs:
dump_map_lc(): EXIT ...
savefs:
clu_is_cluster_host_lc(): ENTRY ...
savefs: Cannot find the Sun Cluster haget utility.savefs: Use $HA_UTIL to point to the location of the High Availability utilities.
savefs: getlocalhost_lc(): returning value: getlocalhost()
savefs: mounts[0]=/appl
savefs: lg_lstat(): Calling native lstat().
savefs: mounts[1]=/
savefs: lg_lstat(): Calling native lstat().
savefs: lg_stat(): Calling native stat().
savefs:
Calling clnttcp_create function
savefs: socket bound to port 10514
savefs: lgto_auth: redirected to hcrvelin prog 390103 vers 2
savefs:
Calling clnttcp_create function
savefs:
Calling clnttcp_create function
savefs: socket bound to port 17577
savefs: socket bound to port 10529
savefs: RPC Authentication: an old auth server issued the cred, it is not checksummed
savefs: lgto_auth for `nsrmmdbd' succeeded
savefs:
Calling clnttcp_create function
savefs:
Calling clnttcp_create function
savefs: socket bound to port 15416
savefs: socket bound to port 24100
savefs: RPC Authentication: Client successfully authenticated using AUTH_LGTO
savefs: lg_stat(): Calling native stat().
savefs: Must specify exactly one path unless using the -p option
usage: savefs [ ] path
usage: savefs -p [ ] [path ...]
options: [-BEFnqRv] [-s server] [-c client] [-l level | -C schedule] [-N name]
[-g group] [-e expiration] [-f filename] [-W width] [-t date]
However, if you try -p you may get better results:
[root@hcrvelin]/#savefs -p -s hcrvelin2 -c hcrvelin -D9
savefs: clu_is_localvirthost(): unknown cluster type
savefs: lg_fstat(): Calling native fstat().
savefs: lg_fstat(): Calling native fstat().
savefs: lg_fstat(): Calling native fstat().
savefs: lg_fstat(): Calling native fstat().
savefs:
Calling clnttcp_create function
savefs:
Calling clnttcp_create function
savefs: socket bound to port 18304
savefs: socket bound to port 20226
savefs: RPC Authentication: an old auth server issued the cred, it is not checksummed
savefs: lgto_auth for `nsrd' succeeded
savefs: RPC Authentication: Client successfully authenticated using AUTH_LGTO
savefs:
clu_init_lc(): ENTRY...
savefs:
get_lc_fspath_vhost_map(): ENTRY ...
savefs: No access to file: /usr/sbin/lcmap ...
savefs:
clu_init_lc(): Can't build fspath_vhost_map...
savefs:
dump_map_lc(): ENTRY ...
savefs: Lc_use_local_vhost_list = FALSE
savefs: MOUNTED filesystems
savefs:
dump_map_lc(): EXIT ...
savefs:
clu_is_cluster_host_lc(): ENTRY ...
savefs: Cannot find the Sun Cluster haget utility.savefs: Use $HA_UTIL to point to the location of the High Availability utilities.
savefs: getlocalhost_lc(): returning value: getlocalhost()
savefs: mounts[0]=/appl
savefs: lg_lstat(): Calling native lstat().
savefs: mounts[1]=/
savefs: lg_lstat(): Calling native lstat().
savefs: lg_stat(): Calling native stat().
savefs:
Calling clnttcp_create function
savefs: socket bound to port 17179
savefs: lgto_auth: redirected to hcrvelin2 prog 390103 vers 2
savefs: clu_is_localvirthost(): unknown cluster type
savefs: lg_fstat(): Calling native fstat().
savefs: lg_fstat(): Calling native fstat().
savefs: lg_fstat(): Calling native fstat().
savefs: lg_fstat(): Calling native fstat().
savefs:
Calling clnttcp_create function
savefs:
Calling clnttcp_create function
savefs: socket bound to port 12092
savefs: socket bound to port 14720
savefs: RPC Authentication: an old auth server issued the cred, it is not checksummed
savefs: lgto_auth for `nsrmmdbd' succeeded
savefs: clu_is_localvirthost(): unknown cluster type
savefs: lg_fstat(): Calling native fstat().
savefs: lg_fstat(): Calling native fstat().
savefs: lg_fstat(): Calling native fstat().
savefs: lg_fstat(): Calling native fstat().
savefs:
Calling clnttcp_create function
savefs:
Calling clnttcp_create function
savefs: socket bound to port 13056
savefs: socket bound to port 11190
savefs: RPC Authentication: Client successfully authenticated using AUTH_LGTO
savefs: lg_stat(): Calling native stat().
type: NSR client description;
pools supported: Yes;
browse time supported: Yes;
multiple balanced streams supported: Yes;
remote user: root;
groups: other, root, bin, sys, adm, uucp, mail, tty, lp, nuucp, daemon;
arch: sparc;
client OS type: Solaris;
CPU type: sun4u;
CPUs: 1;
kernel arch: sun4u;
machine type: workstation;
MB used: 3024;
NetWorker version: 7.2.1.Build.314;
OS: SunOS 5.9;
version: 7.2.1.Build.314;
save set: path=/, level=full, diskno=1, max_sessions=1, stype=save,\
path=/appl, level=full, diskno=0, max_sessions=1, stype=save ;
parallelism: 8
[root@hcrvelin]/#
So, here we see the file systems.
Usually you really see this kind of message when you do the typo in client name or with name resolution, but that doesn't seems to be the case here. As savefs will do the discovery (query /etc/vfstab on Solaris and /etc/fstab on the others) if you use All it seems like problem is somewhere there. I guess those file systems have their ownership and perhaps that is what is causing the issue. My understanding is you have cluster on client as well - did you run networker.cluster script (btw, if this is VCS cluster client you will need 7.2.1 on your client side)? Does the lcmap file look correct (I could see no access errors)? Are remote access set correctly on virtual/physical clients, etc... (usual cluster stuff).
DavidHampson
2 Intern
•
1.1K Posts
0
February 7th, 2006 06:00
My understanding is that it has been set up for some time correctly and backing up okay; mminfo output indicates regular file system backups until 2/2/6... We are on Networker 7.1 build 230 (SCG indicates Veritas cluster is supported).
Its a very good chance that no changes have been made as they have an incredibly strict change control process here, but I won't state it categorically!
ble1
4 Operator
•
14.4K Posts
0
February 7th, 2006 07:00
It is supported but:
a) being on 7.1 build 230 is asking for trouble - go to 7.1.4 if you wish to stay with 7.1.x tree (according to last update matrix 7.1 would not be supported)
b) 7.2.1 does address some issues with LCMAP under VCS - I know this as I had that last year
DPCDSB
30 Posts
0
October 31st, 2006 15:00
DPCDSB
30 Posts
0
October 31st, 2006 15:00
I have the same problem with a new Server 2003 client on my Networker 7.3.1 server which is running on a Server 2003 box.
It only works if I replace 'All' with it's saveset list:
SYSTEM STATE:\
SYSTEM FILES:\
SYSTEM DB:\
ASR:\
C:\
E:\
G:\
W:\
Weird!
amediratta
2 Intern
•
2K Posts
0
October 31st, 2006 21:00
DPCDSB
30 Posts
0
November 1st, 2006 13:00