LX0-104 · Question #434
Which command will instruct slurpd to process the replication error log in one-shot mode for the server 192.168.0.3?
The correct answer is B. slurpd -r /path/to/replication/error/log -o. To process a replication error log file in one-shot mode using slurpd, the command requires specifying the -r option for replication mode and the path to the error log file directly, followed by the -o option for one-shot.
Question
Options
- Aslurpd -r -h 192.168.0.3 -o
- Bslurpd -r /path/to/replication/error/log -o
- Cslurpd -r -o < /path/to/replication/error/log
- Dslurpd -r -f /path/to/replication/error/log -o
- Eslurpd -r -o 192.168.0.3
How the community answered
(27 responses)- A4% (1)
- B93% (25)
- C4% (1)
Why each option
To process a replication error log file in one-shot mode using `slurpd`, the command requires specifying the `-r` option for replication mode and the path to the error log file directly, followed by the `-o` option for one-shot.
The `-h` option is typically used to specify a host and is not the correct way to provide the log file path for `slurpd`'s one-shot replication error processing.
The `slurpd` command, when used with `-r` (replication mode) and `-o` (one-shot mode), expects the path to the replication error log file as an argument to process its contents once. This specific syntax is used to tell `slurpd` which log file to read for one-time processing.
Redirecting standard input using `<` is not the standard way to specify the log file for `slurpd`'s replication processing; `slurpd` expects the file path as an argument.
The `-f` option is typically used to specify a configuration file, not the replication error log itself, when `slurpd` is in replication one-shot mode.
Specifying an IP address after `-o` is incorrect syntax; the `-o` option for one-shot mode expects the log file path as a preceding argument.
Concept tested: OpenLDAP replication error log processing
Topics
Community Discussion
No community discussion yet for this question.