nerdexam
Oracle

1Z0-100 · Question #59

Examine the command and output shown: bash-4.1# 1s 1s: error while loading shared libraries: libselinux.so.1: cannot open shared object file: No such file or directory No files have been deleted…

The correct answer is A. ldd D. strace. To diagnose the problem, use the following commands: strace -o /tmp/ls.strace -f su - root -c ls

Monitor and Troubleshoot Linux

Question

Examine the command and output shown:

bash-4.1# 1s 1s: error while loading shared libraries: libselinux.so.1: cannot open shared object file: No such file or directory No files have been deleted from your system and you want to determine the cause of the error. Which two commands or utilities can help the root user diagnose this problem?

Options

  • Aldd
  • Bdmesg
  • Cgrep libselinux.so.1 /var/log/dmesg
  • Dstrace
  • Egrep libselinux.so.1 /var/log/message

How the community answered

(42 responses)
  • A
    81% (34)
  • B
    7% (3)
  • C
    10% (4)
  • E
    2% (1)

Explanation

To diagnose the problem, use the following commands: strace -o /tmp/ls.strace -f su - root -c ls

Topics

#shared libraries#ldd#strace#troubleshooting

Community Discussion

No community discussion yet for this question.

Full 1Z0-100 Practice