Sun Update Connection - Enterprise Bare Metal Installation Guide

Troubleshooting

When you install the BMI, it is configured to work with the Sun Update Connection – Enterprise Python-API. If the default configuration is not appropriate for your local environment, the following message is displayed:


Failed to prepare API working directory!
Failed to extract uce_port from uce.rc!
run config.py manually!
  1. Open a terminal window and log in with root permissions.

  2. Use the which python command to find the path to your python executable.

  3. In /opt/local/uce/agent/bin/.uce.rc, find server-port and distrizor-port.

  4. In a terminal, type the following command in one line:


    # <path/to/python> /opt/local/uce/api/python/lib/PyOsApi/utils/config.py \
    local-host server-port local-host distrizor-port \
    /usr/local/uce/engine/bin/uce.public /opt/local/uce/.uce_python
    
  5. Type chown uce-sds.uce.sds /opt/local/uce/.uce_python/.

    This allows the API read-write functions in the BMI server, because uce-sds is the owner of web applications.