SAVEGROUP(8)
NAME
savegroup − start a group of NetWorker clients saving their filesystems
SYNOPSIS
savegroup [ options ] [ −R ] [ groupname ]
options: [ −EImnpv ] [ −l level | −C schedule ] [ −e expiration ] [ −t date ] [ −r retries ] [ −P printer ] [ −W width ] [ −c client [ −c client ... ] ]
asavegroup
[ −a auth ] [ −vR ] [ −T hangseconds ] [ −c client ] [ −− ... ]
DESCRIPTION
The savegroup command runs a group of NetWorker clients through the process of saving their filesystems (using save(8) and savefs(8)). The group of clients is selected by naming a NetWorker group (see nsr_group(5)), from which individual clients can be selected by using one or more −c options. If no group name is specified, the NetWorker group Default is used. If a NetWorker group is named, clients whose nsr_client(5) resources specify the named group in their group attribute will be saved. If an explicit client list is also specified, savegroup will only back up those clients, with respect to the named group. The savegroup command will automatically make a clone of the newly saved data when the appropriate attributes are set on the NSR group resource (see below).
The savegroup command is normally run automatically by nsrd(8), as specified by each group’s nsr_group(5) resource.
The savegroup command will set up an RPC connection to nsrexecd(8) to run save(8) or savefs(8) on each client (and will fall back on using the rcmd(3) protocol and the client-side rshd(8) if nsrexecd is unavailable on the client) for each filesystem listed in the nsr_client(5) resource save set attribute. If a save set of All is specified for a client, savegroup will request from the client a list of filesystems to be saved (this is called the probe operation). The savefs command generates this list by looking for filesystems that are local to that client machine. The determination of which filesystems to save will vary between different operating systems. To see which filesystems a client will save run savefs -p on that client, or run a savegroup preview, savegroup -c client -p (assuming the client is in the Default group). Each filesystem saved is called a save set.
The savegroup command attempts to keep multiple clients busy by individually scheduling the client save sets. As save sets complete, the output is collected and another save set will be started by savegroup.
The parallelism attribute in the nsr_service(5) resource is the maximum number of save sets to run simultaneously. Modifications to this parameter will take effect as save sets complete -- if the value is reduced, no new save set will be started until the number of active save sets running drops below the new value.
When all the save sets are completed on a client, the client’s index on the NetWorker server will be saved. If the NetWorker server is one of the machines being saved, its index will be saved after all the other clients are completely done. When the server’s index is saved, the bootstrap save set information (see saveindex(8)) will be printed to the default printer (or another specified printer). If savegroup detects that the NetWorker server is not listed in any active group (a group with its autostart attribute set), then the server’s index and bootstrap will be saved with every group.
The savegroup command will detect other active invocations of the same group, and will exit with an error message. If two different NetWorker groups are running simultaneously, they each will run up to parallelism save sessions simultaneously, however, the NetWorker server will only allow parallelism of these sessions to write to the backup devices at a time. Note that running multiple savegroup commands simultaneously can use up significant server resources, due to the number of pending saves.
The progress of the actively saving clients can be monitored using the X11 based nwadmin(8) program or the curses(3X) based nsrwatch(8) program. The nsradmin(8) browser may also be used to examine the completion status and work list of each NSR group resource, although the hidden attribute display option will need to be selected (see nsradmin(8)). These two attributes allows you to track the progress of each savegroup. See nsr_group(5) for more details.
When savegroup starts, it sends an NSR notification (see nsr_notification(5)) with an event of savegroup and priority of info to the NSR notification system. This event is normally logged in the messages attribute of the nsr_service(5) resource, and also logged in the log file specified in the Log default NSR notification resource.
When all the save sets have finished, the save sets are automatically cloned, if the NSR group resource has the clones attribute enabled. Clones will be sent to the the pool named in the clone pool attribute. Changing the values of these attributes while savegroup is running has no effect; they must be set before savegroup starts. The nsrclone(8) command is used to clone the save sets. Since savegroup uses a heuristic to determine which save sets were generated as part of the group, it may occasionally clone more save sets than expected, if a client has its filesystems separated into multiple groups that run at the same time. Note that at least two active devices are required to clone save sets.
When the save sets are all complete and cloned (if cloning is enabled), an NSR notification with an event of savegroup and priority of notice is sent to the NSR notification system. This is generally set up to cause e-mail to be sent to the root user specifying the list of clients who failed (if any), and all the output collected from all clients. The format and common error messages included in the savegroup notification are explained in the SAVEGROUP COMPLETION NOTIFICATION MESSAGE section, below.
The asavegroup command is run only by savegroup, and monitors the progress of individual save sets. The command line options show which save set and client is being monitored, and can be viewed using the ps(1) command. The −a option shows the authentication type being used, −T shows the time before an inactive save set is considered hung, and −c shows the client being monitored. The −R option means a filesystem probe is being performed, and the −v option requests verbose output from asavegroup. Additional information, such as the name of the save set being saved, is shown after the −− (double dash) option.
OPTIONS
−E Cause save(8) on each client to estimate the amount of data which will be generated by each save set before performing it. This will result in the filesystem trees being walked twice − once to generate a estimate of how much data would be generated, and again to generate a save stream to the NetWorker server. Note that the data is only read from the disk on the final filesystem walk, as the estimate is performed by using inode information.
−I Disable the saving of each client’s index.
−m Disable monitor status reporting, including all NSR notification actions.
−n No save. Cause save to perform an estimate as described for −E, but not to perform any actual saves. This option also sets −m.
−p Run the savefs(8) on each client with the −p flag, so you can see which filesystem would be saved and at what level, but do not actually save any data. This option also sets −m. The output generated by the −p option may show several save levels for each save set at different points in the output, as savegroup learns the correct level. This is the expected behavior, and can be useful for debugging. The actual level the savegroup will use will be shown the last time each save set is shown in the output.
−v Verbose. Print extra information about what savegroup is doing, and do not pass the −q flag along to save and savefs, so it too will be chatty.
−R Restart. Use the information stored with the NetWorker server to restart a group which previously was terminated, generally due to a crash of the NetWorker server machine.
−l level
The level of save (see nsr_schedule(5)) to perform on each client. This overrides the save level which savegroup would normally automaticly determine. −l and −C cannot be specified together.
−C schedule
The name of the NSR schedule (see nsr_schedule(5)) to be used in the automatic save level selection process which savegroup normally performs. This overrides the save schedule which savegroup would normally use for a given client. −l and −C cannot be specified together.
−e expiration
Set the date (in getdate(3) format) when the saved data will expire. The special value forever is used to indicate that an archive volume must be used. By default, no explicit expiration date is used.
−t date
The time to use instead of the current time for determining which level to use for this savegroup (in getdate(3) format). By default, the current time is used.
−r retries
The number of times failed clients should be retried before savegroup gives up and declares them failed. The default is taken from the group resource. Abandoned saves are not retried, because they may eventually complete. Retries are not attempted if −p is specified.
−P printer
The printer which saveindex(8) should use for printing bootstrap information.
−W width
The width used when formatting output or notification messages. By default, this is 80.
group Specifies the NetWorker group of clients that should be started, rather than the default NSR group (which has the name attribute of default). See nsr_group(5) for more details.
−c client
The name of a client on which to save filesystems. There can be multiple −c client specifications. When −c options are specified, only the named clients from the specified group (which is "Default" if no group is specified) will be run.
RESOURCE TYPES
NSR Use the parallelism attribute for the maximum number of saves to start simultaneously.
NSR group The attribute work list contains values in groups of 3, specifying the client name, level of save, and path to save, for each save set not yet completed. The attribute completion contains values in groups of 4, specifying the client name, path saved, status, and the output, for each save set completed.
NSR schedule
Used by the savegroup command with each client’s nsr_client(5) resource to determine which level of save to perform for each specified save set.
NSR client Each client resource names the groups it should be saved by, the save sets which should be saved (see savefs(8)), the name of the schedule to use (see nsr_schedule(5)). and the name of the directives to use (see nsr_directive(5)).
NSR notification
Three kinds of notices are sent to the NSR notification system, both with the event attribute of savegroup. While a savegroup is in progress, status notices are sent with the priority of info. At completion of a savegroup, a notice is sent containing the collected output of all saves, and the name of clients which had a save which failed (if any). This notice will have an event type of savegroup, and a priority of notice. If savegroup is interrupted, a notice stating the group was terminated, with an event type of savegroup, and a priority of alert will be sent. These last two typically will result in the notice being encapsulated in a mail message to root.
SAVEGROUP COMPLETION NOTIFICATION MESSAGE
The savegroup completion notification message contains 5 parts: the header, the Never Started Save Sets, the Unsuccessful Save Sets, the Successful Save Sets, and the Cloned Save Sets. Each client in the group will be listed in one or more of sections categories (more than one if some save sets are in one category, and other save sets in another category). The clients are listed in alphanumeric sorted order, with the server listed last.
The header shows the name of the group and lists which clients failed. If the group was aborted, the header includes an indicator of this as well. The header also shows the time the group was started (or restarted, if the −R option was used), and the time the savegroup completed. The failed clients list in the header shows only those clients for which saves were attempted, not those for which saves never started.
The Never Started Save Sets section is optional and will only be included if there are some save sets of some clients in the group that were never started. This should only occur when a savegroup is aborted, either by killing the master savegroup daemon or by selecting the Stop function in the Group Control window or the Stop Now attribute in the Group window of nwadmin(8). Each entry listed in this section shows the client and save set that was never started (or All if no save sets were saved for that client). No other error messages should appear in this section.
The Unsuccessful Save Sets section shows all of the saves that were attempted but failed. This section will only be present if at least one save set failed. There are many reasons for a save to fail. The most common are listed below. More reasons will be listed in the future. It is important to differentiate between the many reasons for a save to fail, so that the administrator can quickly determine the cause and fix it, so the save will succeed the next time.
Each entry in the Unsuccessful Save Sets section lists the client and save set that failed, along with one or more lines of error and information messages. Each client is separated by a blank line, and all the failed save sets for a client a listed together. Typical error or information messages are listed at the end of this section, (without the client:saveset prefix), with the necessary action(s) to take to correct the problem.
Each entry in the Successful Save Sets section lists the client and save set that succeeded, along with level of the save, the amount of data saved, the time to run the save set, and the number of files saved. Each entry may also be preceded by one or more warning or informational messages, the most common of which are listed below. These informational messages are usually (but not always) prefixed by “∗ ”.
The Cloned Save Sets section is somewhat different, because it refers to the save sets cloned, and not the clients that originated those save sets. The output shown in this section is the output of the nsrclone command. See the nsrclone(8) man page for information on the output of nsrclone.
The following is a list of common informational, warning and error messages found in the completion notification. This list is not complete. Note that the messages you see may vary slightly from those shown here due to differences in the operating system vendor-supplied error messages. Since many messages include client or server names, it is most efficient to look for a keyword in the error message. The messages are listed below in alphabetical order, by the first non-variable word in the message (note: initial words like "save", "asm" and "savefs" may or may not vary, and initial pathnames are always assumed to vary).
aborted
This informational message only occurs when you abort a running savegroup, generally by selecting Stop from the Group Control Window of the nwadmin(8) interface. It means that the specified save set had started saving, but had not completed when the savegroup was aborted. The session (in the Sessions display of nwadmin(8)) for this save set may not disappear immediately, especially if savegroup’s attempt to kill the save session fails. The save set will be retried if and when you Restart the savegroup (e.g. from the Group Control Window).
Access violation from client - insecure port N
This message, generated by the save command on client, means that save is not setuid root. Make sure that the save command on the client is owned by root and has its setuid bit set. If save is on an NFS mounted filesystem, make sure the filesystem was not mounted on that client using the "-nosuid" option.
Access violation − unknown host: client
This message is caused when then the client’s hostname and IP address are not correctly listed in one or more of /etc/hosts, NIS or DNS on the server. You need to either change the appropriate host table (depending on which one(s) are in use on your server) to list the client’s name as it is know to NetWorker, as that client’s primary name, or you need to add the name listed at the end of the error message to the aliases attribute of the client’s Client resource(s).
asm: cannot open path: I/O error
This message generally means that there are bad blocks on the disk(s) containing the specified file or directory. You should immediately run a filesystem check on the named client filesystem and check your client’s system error log. If there are bad block, repair them if possible, or move the filesystem to a different disk.
asm: cannot stat path: Stale NFS file handle
asm: cannot stat path: Missing file or filesystem
These informational messages (or variants of them for other operating systems) mean that the when save attempted to test the named directory to determine if it was a different filesystem from the one currently being saved, the filesystem was, in fact NFS mounted, but the mount point was bad. While this message does not affect the saved data, it does mean you have a network or NFS problem between the specified client and one or more of its fileservers. You may need to remount filesystems on the client, or perhaps reboot it, to correct the problem.
/path/nsrexecd: Can’t make pipe
/path/nsrexecd: Can’t fork
fork: No more processes
The specified client-side resource has been exceeded. There are too many other services running on the client while savegroup is running. Inspect the client and determine why it has run out of resources. The client may need to be rebooted. You should also consider re-scheduling any jobs automatically started on the client (e.g. via cron(8)) that run while savegroup is running.
asm: chdir failed path: Permission denied
This message means that while backing up the specified save set, save was unable to enter the named directory. This may mean that save is not setuid root on the specified client, or that the directory is actually an NFS mount point for which root is not allowed access. Check the permissions on save on the specified client (using ls(1)) and make sure that save is owned by root and that the setuid bit is set.
connect to address AA.BB.CC.DD: message
Trying AA.BB.CC.DD...
These informational messages are displayed only when the −v option is used. They mean that the connection to the client failed on the address specified in the first line of the message. If the client has more than one IP address, savegroup has attempted the address listed in the second line. Looking at subsequent lines of the completion mail show if this second address succeeded. You may want to check and change your network routing tables to avoid getting these messages.
Connection refused
This means the client machine is up, but it is not accepting new network connections for nsrexecd (or rshd). This could mean the client was in the process of booting when the savegroup attempted to connect, or that the client had exceeded some resource limit, and was not accepting any new connections. You should attempt to log into the client and verify that it is accepting remote connections. If the client is a non-Unix machine, you may need to start the NetWorker client on that machine. Refer to your ClientPak installation for more information.
Connection timed out
This usually means the client has crashed or is hung. Make sure the client has rebooted, and that nsrexecd is running on it (if you are using nsrexecd). If the client is a non-Unix machine, you may need to ensure that the network protocols are loaded, and that the NetWorker client is running on that machine. Refer to your ClientPak installation for more information.
asm: external ASM ‘asm2’ exited with code 1
This message generally accompanies another message reporting a specific problem while saving a file or directory on the named save set. The backup will attempt to continue and attempt to save other data, and generally, the backup will not be listed in the failed save sets section of the completion mail if any files on the save set are saved successfully, even if it only saves the top directory of the save set.
save: path file size changed!
This informational message is often generated when NetWorker backs up log files. It may also occur for other files. For files that you expect to grow while savegroup is running, you can use a directive specifying that the logasm(8) should be used to back up the file. See also nsr(5) and nsr_directive(5).
asm: getwd failed
This message means that while backing up the specified save set, an attempt to determine the current directory’s name failed. This occurs on clients, generally running older versions of the NetWorker ClientPak, on which the getwd(3) library call is broken. You may want to contact Legato Tech Support to find out if there is a patch available for your client platform to work around this vendor-specific bug, or contact your operating system vendor to see if a more recent O.S. version addresses this problem.
group groupname aborted, savegroup is already running
This message is only delivered by itself. It occurs when the named group has already been started or restarted (eg after a reboot, or when requested via the Group Control Window of nwadmin(8)), either automatically by nsrd(8) or manually, from the command line. You can use ps(1) to find out the process id of a running savegroup. The existance of a running group is determined by looking for a file named /nsr/tmp/sg.group which, if existing and locked, means a savegroup is running.
has been inactive for N minutes since time.
client:saveset is being abandoned by savegroup.
A backup of the specified save set started, but after N minutes of no activity, and savegroup gave up on the save set. Generally, this means that the client is hung waiting for an NFS partition. Unfortunately, NetWorker (or any other program) has no way of reliably telling if an NFS partition will hang until after it tries to access the partition. When the partition comes back on line, the save will complete, despite the fact that savegroup abandoned it. You should check the client, however, since you sometimes need to reboot the client to unhang NFS partitions. Non-Unix clients also hang for other reasons, most notably, bugs in the operating system implementation of their network protocols.
Host is unreachable
The NetWorker server cannot make TCP/IP connections to the client. This generally means the network itself is not configured correctly; most commonly, one or more gateways or routers are down, or the network routes were not set up correctly. You should verify that the server can connect to the client, and if not, check and, if necessary, reconfigure your routers, gateways or routing tables.
Login incorrect
This message is generated when the remote user attribute for the client is not set to a valid login on the client. Verify that the remote user attribute for the client is set to the correct login name. You may see this message even when running nsrexecd if nsrexecd has not been started (or was killed) on the client.
asm: missing hard links not found:
This message is generated when a backed-up file had one or more hard links that were not found. The message is followed by a list of one or more file names which were backed up minus some links. The message means that the files were either created (with multiple hard links) while the backup was occurring, so some of the links were missed due to the order of filesystem tree walking, or the file (or some links) were removed while the backup was occurring. Only those links that were found can be recovered; additional links will have been lost. One can do an additional incremental backup of the affected filesystem if a consistent state for the affected file is essential.
save: network error, server may be down
The backup of the named filesystem was begun, but the connection to the NetWorker server closed part way through. This typically means that the server machine rebooted, or one or more save agents were killed by the system administrator or by the system itself (e.g. due to overwriting the binary or a disk error in swap space). Restart the save at a later time.
no cycles found in media db; doing full save
This informational message is added by savegroup to any save set that is saved at the level full instead of the level found in the client’s schedule. Due to timing problems, you can occasionally see this message when the clocks on the client and server are out of sync, or when savegroup starts before midnight and ends after midnight. You may also get spurious messages of this type from some versions of NetWorker client software backing up a NetWare BINDERY, which ignore the schedule and perform a full, no matter what. In both these cases, the client re-checks the level, and overrides the server’s requested level.
No more processes
See "Can’t make pipe", above.
No ’NSR client’ resource for client clienthostname
savefs: cannot retrieve client resources
This pair of messages occurs if the the client’s hostname changed (in /etc/hosts, NIS or DNS). You may also have deleted the client’s Client resource while savegroup was running. In the former case, you will need to add the client’s new name to the aliases attribute of the client (this is a hidden attribute) using nsradmin(8) (selecting the Hidden display option) or nwadmin(8) (selecting the Details View option for the Client window). In the latter case, no additional action is required if this deletion was intentional (the next run of savegroup will not attempt to save the client). If it was accidental, and you did not want to delete the client, you should add the client back again and add the client back into the appropriate group(s). The next time savegroup runs, it will back up the client, just as if the client had been down the previous day.
no output
The save set completed, but returned no status output. The most common reasons are that the client crashed or lost its network connection (i.e.. a router between the client and server crashed) while the client was being backed up. Another is that the disk on which the client status was being logged filled up (perform a df /nsr/tmp to see if this was the case). To determine if the save set was saved, you can use mminfo(8). For example, run mminfo -v -c clientname -t ’1 day ago’ and look at the flags column for the completion status. An ’a’ flag means it aborted. Use a more distant time (the −t option) to look further back in time.
filesystem: No such file or directory
An explicit save set was named in the Client resource for the specified client, and that save set does not exist (or is not currently mounted) on the client. Make sure you spelled the save set name correctly (and that it is capitalized correctly), and log into the client and verify that the save set is mounted.
/path/nsrexecd: Couldn’t look up address for your host
/path/nsrexecd: Host address mismatch for server
The nsrexecd daemon on the client managed to look up the server in the client’s host table, but the address listed there did not match the address of the server. Every interface of the server must have a unique name listed in the host table (possibly with non-unique aliases or CNAME’s), and each unique name must be listed as a valid server to nsrexecd.
/path/nsrexecd: Host server cannot request command execution
/path/nsrexecd: Your host cannot request command execution
The server is not listed in nsrexecd’s list of valid servers on the specified client. The list of valid servers is either on the nsrexecd command line (with one or more −s server options to nsrexecd), or in a file (with the −f file option to nsrexecd). It may also be the case that the server is not listed in one or more of /etc/hosts, NIS, or DNS, on the client, in which case nsrexecd cannot validate the server until the client’s host naming configuration is fixed.
/path/nsrexecd: Invalid authenticator
/path/nsrexecd: Invalid command
These two messages should never occur in a savegroup completion message. They mean that savegroup did not follow its protocol correctly.
/path/nsrexecd: Permission denied
Permission denied
These similar messages are generated by nsrexecd and rshd, respectively. In either case, the server does not have permission to execute commands on the client. In the case of the first message, make sure that the server is listed as a valid server on the client (see "Host server cannot request command execution", above, for details). In the case of the second message, which does not mention nsrexecd, make sure that "servername" is listed in the client’s /.rhosts file (or, if you have set the remote user attribute for this client, the .rhosts file in the home directory for that user on the client).
/path/saveindex: printing bootstrap information failed
See "unknown printer" below.
reading log file failed
After the specified save set completed, savegroup was unable to read the log file of the output status from the save set. This generally means that someone, or an automated non-NetWorker administrative program or script, removed the log file. This message can also occur if the filesystem on which the client logs are stored has run out of space (use df /nsr/tmp to determine if this is the case). Verify that no scripts remove files from /nsr/tmp (which is where savegroup stores the save set log files).
request from machine server rejected
The server is not listed in the PC (NetWare or DOS) client’s list of acceptable servers. See your ClientPak installation guide for instructions on adding the server to the client-side list.
N retries attempted
1 retry attempted
One of these informational messages is prepended to a save set’s output if savegroup was unable to backup the data on the first try and if the client retries attribute for the group has a value greater than zero. In this case, the specified number of retries was performed before the backup of the save set succeeded or was finally marked as failed.
RPC error, details...
Cannot open save session with ‘server’
The save command generates this message if it is unable to back up data to the NetWorker server. There are several possible details. The most likely causes are: resources are exceeded on the server so nsrd cannot accept new save sessions, nsrd actually died since savegroup started (however, this is unlikely, since you cannot normally receive a savegroup completion message after nsrd dies, but you can see this when using the −p option), there are numerous network errors occurring and save cannot open a session to save its data (check this by running netstat -s and see how many network errors are occurring; you may need to do this several times a few minutes apart to get the change in errors). Save cannot tell which of these three causes are the real cause. If you see these errors frequently, and it looks like a server resource problem, you might consider increasing the value of the client retries attribute of the group resource having these problems. This won’t decrease the resource utilization, but will make savegroup more robust so such problems (the trade-off is that increasing client retries will increase the load on the server even more).
RPC exec on client is unavailable. Trying RSH.
This informational message is only displayed when the −v flag has been used for verbose information. This message means that nsrexecd is not running on the client, and that savegroup is attempting to use the rshd service instead, for backward compatibility with older versions of savegroup.
save: clientname2 is not on client’s access list
This error occurs when the named client has more than one name, for example, a short name, client, and a fully-qualified domain name, client.legato.com. When the client attempts to connect back to the NetWorker server to start a save, that client is calling itself by the name client, which matches the client resource name, but when the server looks up the client’s network address, it is getting back the name clientname2. If this is, in fact, correct, add the name clientname2 to the client’s aliases attribute, and re-run the save.
save: path length of xxxx too long, directory not saved
This message can occur if you have a directory tree that is very deep, or directory names that are very long. This message can also occur if there are bad blocks in the specified filesystem, or if the filesystem is corrupt. NetWorker limits the full pathname to 1024 characters which is the system imposed maximum on most systems. To save such directories, you need to rename or move the directories so that the full pathname is shorter than 1024 characters. If the filesystem appears to be corrupted (for example, a very long pathname that looks like it has a loop in the name), perform a filesystem check on the specified client.
/path/save: Command not found
/path/savefs: Command not found
/path/save: Not found
/path/savefs: Not found
The save or savefs command could not be found in the specified path. If you are using nsrexecd, this probably means that the save or savefs command is not in the same directory in which nsrexecd is installed (or that save or savefs was removed). If you are using rshd for remote execution, then you need to set the executable path attribute in the Client resource for this client to be the directory in which the NetWorker executables are installed on the client.
savefs: error starting save of filesystem
This informational message accompanies several other save or asm messages listed here. This message means that savefs has detected the failed save and has marked the save set as failed.
save: unknown host name: server
savefs: unknown host name: server
The host table on the specified client (either /etc/hosts, NIS or DNS, depending on that client’s configuration) does not include the server’s name. You need to add the server’s hostname to the specified client’s host table. Note that if you use DNS but the server’s Client resource name (i.e. the client resource for the server itself) is not fully qualified (i.e. it looks like "server", not "server.dom.ain", and the server is in a different domain from the client, you will need to add the name server to the domain table for the domain containing the client. If you use NIS, this error means that either the NIS hosts map does not contain the server, the /etc/hosts file does not list the server, or the NIS master for the specified client is otherwise mis-configured (the server is a secondary server and there is no yppush(8) from the primary; run ypwhich -m on the client to find out which NIS server is providing master translation).
savegroup: client rcmd(3) problem for command ’command’
This error message normally accompanies another, more specific, error message. It is generated when the attempt to run the specified command (usually save or savefs with several command line parameters) failed on the specified save set. The previous line of error output should include the more specific error message (look for that message elsewhere in this section). Generally, the problem is a bad hosttable configuration, or various permissions denied errors (server not specified when starting nsrexecd, or missing permissions in .rhosts if not using nsrexecd). If not, log into the NetWorker server as root and run the command savegroup -p -v -c clientname groupname giving the appropriate client for clientname and groupname . This verbose output should include the necessary additional information needed for fixing the problem.
Saving server index because server is not in an active group
This informational message, generated by savegroup, means that savegroup has noticed that the NetWorker server is not listed in any automatically started, enabled group. Since all of the indexes are stored on the server, savegroup is saving the server’s index and bootstrap information in case a disaster occurs. You should add the server to a group with autostart enabled, or enable one of the groups of which the server is already a member.
socket: All ports in use
The NetWorker server has run out of socket descriptors. This means that you have exceeded the socket resource limit on your server. To avoid such future messages, you should determine what other network services are running while savegroup is running, and consider re-scheduling either savegroup or the other service(s). You can also reduce the parallelism in the nsr_service(5) resource, to reduce the resource utilization.
socket: protocol failure in circuit setup.
The client does not seem to support the TCP/IP protocol stack, or has not used a privileged port for setting up its connection. The latter could occur if you use nsrexecd but did not start it as root on the specified client. The nsrexecd daemon must run as root on each client.
path: This data set is in use and cannot be accessed at this time
This message is generated by save sets on PC clients running DOS or NetWare. The NetWorker client software on these systems cannot back up files open for writing, due to the interface provided by the operating system. This message actually comes from Novell’s TSA and is not changeable.
unknown host
The specified client is not listed in the host table on the server (note: a similar "save" or "savefs" specific message is described above). Depending on your host configuration, this means the client is not listed in one (or more) of /etc/hosts, NIS, or the Domain Name Service. If you use fully qualified domain names, you may need to make a new client resource for this client, using that fully qualified domain name (i.e. name the client resource "mars.legato.com", not "mars").
printer: unknown printer
path/saveindex: printing bootstrap information failed
(reproduced below)
This message, or similar messages, accompanies the bootstrap information when saveindex(8) was unable to print the bootstrap on the printer. You need to either specify a different printer in the printer attribute for the group, or configure your print server to recognize the printer (by default, your system’s default printer is used). The bootstrap information is listed as part of the savegroup completion mail. You should print out this information immediately, in case your server has a disaster and loses a disk, and fix the printer name used by savegroup.
Warning − file ‘path’ changed during save
This warning message is generated when save notices that the file’s modification time changed while the file was being backed up. NetWorker does not attempt to lock files before saving them, since this would make backups run extremely slowly. You may wish to backup files which generate this message manually, to ensure that a consistent copy is saved. NetWorker does not attempt this automatically, to avoid trying forever on the same file.
Warning: ‘client’ is not in the hosts table!
This message is generated by a save or savefs command run on the specified client to save that client’s filesystems. The client’s hostname is not listed in the host table on the client (either /etc/hosts, NIS or DNS, depending on that client’s configuration). This almost always results in a failed save. Fix the client’s host table and re-run the save.
asm: path was not successfully saved
This message generally accompanies one or more other more-specific messages for the save set. The specified path within the current save set was not saved successfully. The backup will continue trying to back up other files and directories on the save set.
asm: xdr_op failed for path
This error can be caused by several possible conditions (e.g. out of memory, buggy networking software in the operating system, an external ASM unexpectedly exiting, a lost network connection). If it was due to a lost network connection, then the NetWorker server most likely exited (due to nsr_shutdown). After restarting the server, rerun the savegroup. If due to an ASM exiting unexpectedly (in this case, the message should be accompanied by a message describing which ASM exited unexpectedly), you may have found a bad block on the disk, or perhaps a bug. Check if the client ran out of memory (there may be console messages), and verify that there are no bad blocks on the save set’s disk. If there were network errors, there may also have been messages logged by other programs on the system console (client or server), or to system log files.
FILES
/nsr/tmp/sg.group A lock file to keep multiple savegroups of the same group from running simultaneously.
/nsr/tmp/sg.group.client.∗ Temporary files used to log the output of individual save sets for the named group and client.
/nsr/tmp/ggroup∗ On filesystems with short names (less than 64 characters), the temporary files used to log the output of individual save sets for the named group.
SEE ALSO
ls(1), ps(1), getdate(3), rcmd(3), fstab(5), nsr(5), nsr_directive(5), nsr_notification(5), nsr_service(5), nsr_group(5), nsr_schedule(5), nsr_resource(5), mminfo(8), netstat(8), nsr(8), nsradmin(8), nsrexecd(8), nsrwatch(8), nwadmin(8), rshd(8), savegroup(8), save(8), savefs(8), yppush(8).
NetWorker 4.1.2 — Last change: May 1995