OCI: timedatectl Command is Not Working
in Linux
Applies to:
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64
Symptoms
Unable to modify and check the status of time and date :
$ timedatectl status Failed to query server: No route to host
Cause
In this case, the issue was caused by multiple directories and files accidentally removed and missing from the system:
$ rpm -Va missing /usr/share/dbus-1/interfaces/com.redhat.problems.configuration.mailx.xml missing /usr/share/libreport/conf.d/plugins/mailx.conf missing /usr/share/libreport/events/report_Mailx.xml missing /usr/share/libreport/workflows/workflow_Mailx.xml missing /usr/share/libreport/workflows/workflow_MailxCCpp.xml missing d /usr/share/man/man1/reporter-mailx.1.gz missing d /usr/share/man/man5/mailx.conf.5.gz missing d /usr/share/man/man5/mailx_event.conf.5.gz .... missing /usr/share/locale/aa missing /usr/share/locale/aa/LC_MESSAGES missing /usr/share/locale/ab missing /usr/share/locale/ab/LC_MESSAGES missing /usr/share/locale/ace missing /usr/share/locale/ace/LC_MESSAGES missing /usr/share/locale/ach missing /usr/share/locale/ach/LC_MESSAGES missing /usr/share/locale/ada missing /usr/share/locale/ada/LC_MESSAGES missing /usr/share/locale/ady missing /usr/share/locale/ady/LC_MESSAGES missing /usr/share/locale/ae missing /usr/share/locale/ae/LC_MESSAGES missing /usr/share/locale/af missing /usr/share/locale/af/LC_MESSAGES missing /usr/share/locale/af_ZA missing /usr/share/locale/af_ZA/LC_MESSAGES ..... missing d /usr/share/doc/mpfr-3.1.1/README missing /usr/share/doc/mpfr-3.1.1/mpfr missing d /usr/share/doc/mpfr-3.1.1/mpfr/AUTHORS missing d /usr/share/doc/mpfr-3.1.1/mpfr/BUGS missing d /usr/share/doc/mpfr-3.1.1/mpfr/COPYING missing d /usr/share/doc/mpfr-3.1.1/mpfr/COPYING.LESSER missing d /usr/share/doc/mpfr-3.1.1/mpfr/FAQ.html missing d /usr/share/doc/mpfr-3.1.1/mpfr/NEWS missing d /usr/share/doc/mpfr-3.1.1/mpfr/TODO missing /usr/share/doc/mpfr-3.1.1/mpfr/examples missing d /usr/share/doc/mpfr-3.1.1/mpfr/examples/ReadMe missing d /usr/share/doc/mpfr-3.1.1/mpfr/examples/divworst.c missing d /usr/share/doc/mpfr-3.1.1/mpfr/examples/rndo-add.c missing d /usr/share/doc/mpfr-3.1.1/mpfr/examples/sample.c missing d /usr/share/doc/mpfr-3.1.1/mpfr/examples/version.c $ rpm -Va | grep "/usr/share" | wc -l 79715 <<<<<<<<--------- 79k files,folders missing
Tagged:
0