Collecting Logs to Debug Installation Failures
You can collect logs to debug issues when installing Oracle Database Security Central.
Collecting Logs for Base Operating System Installation Issues
Use these steps to collect logs for failures that happen during the installation of the base operating system (pre- or post-reboot).
Collecting logs for debugging pre-reboot installation failures
-
During installation or upgrade, after mounting the
.isofile, press Tab to interrupt the normal boot process. -
To collect logs, the installer must run with command line access. To enable command line access, remove the
noshellfrom the boot option. -
After the failure occurs, use one of the following keyboard shortcuts to access the command line:
- Starting with Oracle AVDF 20.9 (Oracle Linux 8), press Ctrl+B and then press 2.
-
Run one of the following commands to start the collection tool:
-
Starting with Oracle AVDF 20.9 (Oracle Linux 8), use the following command:
/usr/libexec/platform-python /run/install/repo/collect_diagnostics.py
-
-
Follow the instructions to collect the diagnostics file.
Collecting logs for debugging post-reboot installation failures
-
Using the password you have previously set, log in as
rooton the console or using SSH. -
Run one of the following commands to start the collection tool:
-
Starting with Oracle AVDF 20.9 (Oracle Linux 8), use the following command:
/usr/libexec/platform-python /media/avdf-install/collect_diagnostics.py
-
-
Follow the instructions to collect the diagnostics file.
Transferring the log file for analysis
After following the instructions to collect the logs for pre- or post-reboot failures, the collection tool should have created a log or diagnostic file in the following location:
/root/install-diagnostics.tgz
-
Follow the instructions at the prompt to transfer the log file for analysis. Use the following command:
scp /root/install-diagnostics.tgz <user>@<Ip address>:<Path> -
You may also perform the following steps and commands to configure the network:
ip addr add <IP address>/<sub net> dev <interface>ip link set <interface> upip route add default via <gateway> -
Use the information available in the log file to analyze the issue and then try the installation again after addressing the issue.
Collecting Logs for Oracle Database Security Central Installation Issues
Use these steps to collect logs for failures that happen when installing Oracle DBSecCentral.
-
At the install start screen, press Tab (and delete the word “noshell”).
-
Press Enter to begin the installation.
-
After the installation begins, press Ctrl+B and then press 2.
The login screen should appear even if the installation fails.
-
Use tar or Gzip to collect the following logs:
-
/var/log -
/var/lib/oracle/diag -
/var/lib/oracle/oraInventory/logs -
/tmp
-
-
Collect the following configuration files:
-
/etc/sysconfig/avdf -
/var/lib/avdf/system_history.yaml -
/usr/local/dbfw/etc/dbfw.conf
-
-
Collect the output from the following commands:
-
su root -
rpm -qa avs -
ls -lrt /var/log/installation-* -
ls -lrt /var/log/upgrade-* -
df -h -
du -sh /var/lib/oracle/19.7.0.0.0 -
du -sh /var/lib/oracle/19.7.0.0.0/grid -
cat /proc/meminfo
-
-
Collect the output from the following commands:
-
su root -
hostname -
cd /var/lib/oracle/diag -
ls -lrt -
cd crs -
ls -lrt -
hostname -
cd <hostname> -
ls -lrt -
cd crs -
ls -lrt
-