AMSERVICE - Online Linux Manual PageSection : 8
Updated : 12/01/2017
Source : Amanda 3.5.1
Note : System Administration Commands
NAMEamservice − run an amanda service on a client
SYNOPSISamservice [−f input_file [−s]] [−−config CONFIG] [−−features FEATURES−STRING] [−−stream NAME,IN,OUT]*
[−o configoption...] hostname auth service
DESCRIPTIONAmservice execute an Amanda service on a client. It can be used without amanda server configuration (amanda.conf and disklist). It can be used to check communication between a server and a client. Amservice reads stdin to capture the REQ packet to send to the client. See the amanda(8) man page for more details about Amanda.
OPTIONShostname The hostname of the client. auth The auth to use, one of: bsd, bsdudp, bsdtcp, ssh, rsh or krb5. The client must be configured with this auth. service The amanda service to execute on the client. One of noop, selfcheck or sendsize. −f input_file Use the file input_file instead of stdin to read the REQ packet from. −s Redirect the first connected stream to stdin/stdout. The −f argument is required for the REQ packet, the REP packet is not printed on stdout. −−config The amanda configuration. −−features FEATURES−STRING The features of the remote client. −−stream NAME,IN,OUT The vstream to open, their name and the two file descriptors. −o configoption See the "CONFIGURATION OVERRIDE" section in amanda(8).
EXAMPLEThe noop service is easy to execute because it does not require a REQ packet: amservice hostname bsdtcp noop < /dev/nullThe example executes the noop service on the client using bsdtcp auth. This is useful for debugging connection problems. It print an OPTIONS line upon success. It is more difficult to execute the selfcheck or sendsize service, as these require a valid REQ packet. If you have already uccessfully run amanda, you can find valid REQ packets in the amandad.*.debug files.
EXIT CODEThe exit code of amservice is one of: 0 = success
1 = error executing amandad on the client.As amservice doesn't parse the REP packet, it can only detect failures in executing amandad on the client. amservice can exit with value 0 even if the user is not authorized to execute the service. An error message will be printed.
SEE ALSOamanda(8), amanda(8), amcheck(8), amdump(8), amadmin(8) The Amanda Wiki: : http://wiki.zmanda.com/
AUTHORJean−Louis Martineau <martineau@zmanda.com> Zmanda, Inc. (http://www.zmanda.com) 0
Johanes Gumabo
Data Size : 12,985 byte
man-amservice.8Build : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 2 / 203,271
Visitor ID : :
Visitor IP : 3.147.78.249 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.