VIOM 7.4.2 hangs during configuration on new management server

book

Article ID: 100050580

calendar_today

Updated On:

Description

Error Message

n/a

Cause

With a new installation of VIOM on a prospective management server, part of the installation requires opening a browser to complete configuration within the new VIOM interface. Part of the configuration is configuring the VIOM database.

An unexpected entry had been placed in /etc/profile, impacting VIOM configuration scripts when they performed an "su", e.g.

su - habdbsync -c /opt/VRTSsfmcs/pgsql/bin/pg_ctl stop -m fast -w -D "/var/opt/VRTSsfmcs/db/data"

This had the effect of hanging the VIOM configuration as soon as it hit the "Configuring database" section.

Resolution

The hang during configuration was prevented by removal of the following line in /etc/profile:

read -n 1 -r -s -p $'Pulsa ENTER para acceder al prompt...\n'

The presence of this line meant that for each use of the su command, whether via script or user invocation would require a pressing of the "ENTER" key to proceed. Since VIOM's configuration scripts couldn't cope with this scenario, the configuration couldn't proceed.

Issue/Introduction

VIOM 7.4.2 hangs during installation and configuration on new management server