CA API Developer Portal should be started after upgrading v4.0 with the 4.0.170601 Patch along with the provided upgrade instructions, but it may not be started with the following messages:
bash-4.2# systemctl start docker && systemctl start apim-portal
Job for apim-portal.service failed because the control process exited with error code. See "systemctl status apim-portal.service" and "journalctl -xe" for details.
You may find the following messages with "journalctl -u apim-portal |tail -20".
Aug 31 10:49:50 portal40.domain.local systemd[1]: Starting CA On-premise Portal...
Aug 31 10:49:50 portal40.domain.local start-portal[12112]: Sourced /etc/ca/apim-portal/portal-local.inc
Aug 31 10:49:50 portal40.domain.local start-portal[12112]: PORTAL_SMTP_USE_SSL has been deprecated. Defaulting to true.
Aug 31 10:49:50 portal40.domain.local start-portal[12112]: Traceback (most recent call last):
Aug 31 10:49:50 portal40.domain.local start-portal[12112]: File "/opt/ca/apim-portal/render-config", line 39, in <module>
Aug 31 10:49:50 portal40.domain.local start-portal[12112]: from dateutil import parser
Aug 31 10:49:50 portal40.domain.local start-portal[12112]: ImportError: No module named dateutil
The following three RPM packages and their depending packages are not installed on the API Portal host.
Please install the missing RPM packages with the following commands:
yum -y install python-dateutil
yum -y install python-jinja2
yum -y install pyOpenSSL.x86_64
Docker is supposed to be started already, so please start the API Portal only.
systemctl start apim-portal