Why RHN Satellite certificate activation fails with "unique constraint (RHNSAT.WEB_CUSTOMER_NAME_UQ_IDX) violated

Solution Verified - Updated -


RHN Satellite activation returns the following error message:

# rhn-satellite-activate --rhn-cert=/tmp/opti.cert

RHN_PARENT: satellite.rhn.redhat.com

ERROR: RHN Entitlement Certificate failed to validate:
Exception reported from rhns-15.gsslab.pnq.redhat.com
Time: Mon Jan 25 14:53:44 2010
Exception type server.rhnSQL.sql_base.SQLError

Exception Handler Information
Traceback (most recent call last):
  File "/usr/share/rhn/satellite_tools/rhn_satellite_activate.py", line 203, in activateSatellite_local
    satCerts.storeRhnCert(cert, check_generation=1, check_version=not(options.ignore_version_mismatch))
  File "/usr/share/rhn/satellite_tools/satCerts.py", line 277, in storeRhnCert
  File "/usr/share/rhn/server/rhnSQL/sql_base.py", line 161, in execute
    return apply(self._execute_wrapper, (self._execute, ) + p, kw)
  File "/usr/share/rhn/server/rhnSQL/driver_cx_Oracle.py", line 118, in _execute_wrapper
    raise apply(sql_base.SQLError, ret)
SQLError: (1, 'ORA-00001: unique constraint (RHNSAT.WEB_CUSTOMER_NAME_UQ_IDX) violated\n', 'UPDATE web_customer SET name = :owner WHERE id = 1')


Red Hat Network Satellite

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content