nerdexam
Linux_Foundation

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.

Submitted by akirajp· Apr 18, 2026Essential Commands

Question

Which command will instruct slurpd to process the replication error log in one-shot mode for the server 192.168.0.3?

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)
  • A
    8% (2)
  • B
    88% (21)
  • D
    4% (1)

Why each option

This question asks for the correct `slurpd` command to process a replication error log file in one-shot mode.

Aslurpd -r -h 192.168.0.3 -o

The `-h` option specifies a host, but `slurpd -r` expects a log file path, not just a host.

Bslurpd -r /path/to/replication/error/log -oCorrect

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.

Cslurpd -r -o < /path/to/replication/error/log

Redirecting standard input with `<` is not the correct way to pass the replication log file path to `slurpd` using the `-r` option.

Dslurpd -r -f /path/to/replication/error/log -o

The `-f` option is typically used to specify a configuration file, not the replication error log file when using `-r`.

Eslurpd -r -o 192.168.0.3

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

#LDAP replication#slurpd command#Log processing#Command-line options

Community Discussion

No community discussion yet for this question.

Full LFCS Practice