Guest

Preview Tool

Cisco Bug: CSCuq69829 - Solution Scale HCM-F upgrade from 10.0.1 to 10.1.1 DB Intermittent Issue

Last Modified

Dec 11, 2014

Products (1)

  • Cisco Hosted Collaboration Solution (HCS)

Known Affected Releases

10.0(1) 10.1(1)

Description (partial)

Symptom:
Hosted Collaboration Mediation - Fulfillment (HCM-F) 10.0.x-to-10.1.x upgrade sometimes fails due to the inability to create semaphores. The error shown in the install log is not very clear and shows following messages:
pg_create_users.sh|File:/opt/hcs/sdr/bin/pg_create_users.sh:48, Function: checkDB(), SDR DBMS is not running. Please start and retry.|<LVL::Error>
sdr_install.sh|File:/opt/hcs/sdr/bin/sdr_install.sh:190, Function: create_users(), SDR create database users error 1|<LVL::Error>
sdr_migration.sh|File:/opt/hcs/sdr/bin/sdr_migration.sh:367, Function: main(), SDR sdr_install.sh 20 error 1|<LVL::Error>

This can actually be the indication of semaphore related issue; to confirm this, do the following in shell:
1.	chroot  /partB

2.	Then look at the file /opt/hcs/sdr/logs/SDR_10_<version>.txt
           If the file contains info like below, then this indeed is an issue resulting from the inability to create semaphores:
"2014-10-08 14:55:58 PDT:::::[19456]: FATAL:  could not create semaphores: No space left on device
2014-10-08 14:55:58 PDT:::::[19456]: DETAIL:  Failed system call was semget(5435062, 17, 03600).
2014-10-08 14:55:58 PDT:::::[19456]: HINT:  This error does *not* mean that you have run out of disk space.  It occurs when either the system limit for the maximum number of semaphore sets (SEMMNI), or the system wide maximum number of semaphores (SEMMNS), would be exceeded.  You need to raise the respective kernel parameter.  Alternatively, reduce PostgreSQL's consumption of semaphores by reducing its max_connections parameter.
The PostgreSQL documentation contains more information about configuring your system for PostgreSQL."

3.	exit out of /partB by issuing the command : exit

Conditions:
Upgrade HCM-F 10.0.x-to-10.1.x
Bug details contain sensitive information and therefore require a Cisco.com account to be viewed.

Bug Details Include

  • Full Description (including symptoms, conditions and workarounds)
  • Status
  • Severity
  • Known Fixed Releases
  • Related Community Discussions
  • Number of Related Support Cases
Bug information is viewable for customers and partners who have a service contract. Registered users can view up to 200 bugs per month without a service contract.