Context root not found on IBM Spectrum® Control 5.3.5 or later on Red Hat Enterprise Linux 7
On the Red Hat® Enterprise Linux® 7 operating system, the Db2® and IBM Spectrum Control web server are configured to start at the same time upon start up.
Problem
If Db2 takes significantly longer to start up than the IBM Spectrum Control web server, you see a Context Root Not Found page when trying to load the IBM Spectrum Control GUI.
Action
Restarting the web server after Db2 has fully started might resolve the issue until the next start up. If not, to fix the issue across start ups, complete the following steps:
- Edit the /etc/systemd/system/webWLP.service directory by adding the lines
in
bold:
[Unit] Description=IBM Spectrum Control Web Server After=db2fmcd.service [Service] ExecStartPre=/usr/bin/sleep 45 ExecStart=/usr/bin/bash -c "/opt/IBM/TPC/wlp/bin/server start webServer --clean > /opt/IBM/TPC/wlp/bin/../../web/log/startServer.log" ExecStop=/usr/bin/bash -c "/opt/IBM/TPC/wlp/bin/server stop webServer > /opt/IBM/TPC/wlp/bin/../../web/log/stopServer.log" TimeoutStopSec=360 Type=forking LimitNOFILE=4096 LimitNPROC=131072 LimitFSIZE=infinity LimitCORE=infinity [Install] WantedBy=multi-user.target
- Run the following command as root:
# systemctl daemon-reload
Ensure that you also implemented this fix for Db2 AutoStart on Red Hat Enterprise Linux 7. See DB2® AutoStart is not supported on Red Hat Enterprise Linux version 7.