bos_stop8
Stops a process after changing its status flag
Usage
bos stop
-server
<machine
name>
-instance
<server
process
name>+
[-wait]
[-cell
<cell
name>]
[-noauth]
[-localauth]
[-help]
bos sto
-s
<machine
name>
-i
<server
process
name>+
[-w]
[-c
<cell
name>]
[-n]
[-l]
[-h]
Overview
The bos stop command sets the status flag for each process specified with the -instance argument to "NotRun" in the /etc/openafs/BosConfig file on the server machine named by the -server argument, then stops it.
To stop a process without changing its BosConfig status flag, use the bos shutdown command instead.
Options
-server<machine name>-
Indicates the server machine on which to stop processes. Identify the machine by IP address or its host name (either fully-qualified or abbreviated unambiguously). For details, see bos(8).
-instance<server process name>+-
Names each process to stop. Use the process name assigned with the
-instanceargument to the bos create command. The output from the bos status command lists the names.
-
-wait -
Delays the return of the command shell prompt until all processes actually stop. If this argument is omitted, the prompt returns almost immediately even if all processes are not stopped.
-cell<cell name>-
Names the cell in which to run the command. Do not combine this argument with the
-localauthflag. For more details, see bos(8).
-
-noauth -
Assigns the unprivileged identity
"anonymous"to the issuer. Do not combine this flag with the-localauthflag. For more details, see bos(8).
-
-localauth -
Constructs a server ticket using a key from the local /etc/openafs/server/KeyFile or /etc/openafs/server/KeyFileExt file. The
boscommand interpreter presents the ticket to the BOS Server during mutual authentication. Do not combine this flag with the-cellor-noauthoptions. For more details, see bos(8).
-
-help -
Prints the online help for this command. All other valid options are ignored.
Examples
The following example command stops the upserver and vlserver processes on the machine "fs7.example.com".
% bos stop -server fs7.example.com -instance upserver vlserver
Privilege required
The issuer must be listed in the /etc/openafs/server/UserList file on the machine named by the -server argument, or must be logged onto a server machine as the local superuser "root" if the -localauth flag is included.
Releases
10 releases since Debian 4.0 (Etch); the text changed 9 times.