LFCS · 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. This question asks for the correct slurpd command to process a replication error log file in one-shot mode.
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
(24 responses)- A8% (2)
- B88% (21)
- D4% (1)
Why each option
This question asks for the correct `slurpd` command to process a replication error log file in one-shot mode.
The `-h` option specifies a host, but `slurpd -r` expects a log file path, not just a host.
The `slurpd` command processes replication logs; the `-r` option specifies the replication log file to process, and the `-o` option tells `slurpd` to run in one-shot mode, processing the file and then exiting.
Redirecting standard input with `<` is not the correct way to pass the replication log file path to `slurpd` using the `-r` option.
The `-f` option is typically used to specify a configuration file, not the replication error log file when using `-r`.
This syntax incorrectly combines the host with `-o` and lacks the required file path argument for the `-r` option.
Concept tested: OpenLDAP slurpd utility for replication log processing
Source: https://www.openldap.org/software/man.cgi?query=slurpd&apropos=0&sektion=8&manpath=OpenLDAP+2.4-Release&format=html
Topics
Community Discussion
No community discussion yet for this question.