Advertisement
Guest User

spacewalk_schema

a guest
Dec 18th, 2014
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.04 KB | None | 0 0
  1. Installation log of Spacewalk
  2. Command: /usr/bin/spacewalk-setup
  3.  
  4. Running /usr/sbin/spacewalk-selinux-enable
  5. /sbin/restorecon reset /var/log/rhn/rhn_installation.log.5 context unconfined_u:object_r:spacewalk_install_log_t:s0->unconfined_u:object_r:spacewalk_log_t:s0
  6. /sbin/restorecon reset /var/log/rhn/install_db.log.2 context unconfined_u:object_r:spacewalk_install_log_t:s0->unconfined_u:object_r:spacewalk_log_t:s0
  7. /sbin/restorecon reset /usr/sbin/tanukiwrapper context system_u:object_r:bin_t:s0->system_u:object_r:java_exec_t:s0
  8. Running /usr/sbin/spacewalk-monitoring-selinux-enable
  9. Running /usr/sbin/osa-dispatcher-selinux-enable
  10. Enabling spacewalk services...
  11. Note: Forwarding request to 'systemctl enable postgresql.service'.
  12. Note: Forwarding request to 'systemctl enable jabberd.service'.
  13. ln -s '/usr/lib/systemd/system/jabberd.service' '/etc/systemd/system/multi-user.target.wants/jabberd.service'
  14. Note: Forwarding request to 'systemctl enable tomcat.service'.
  15. ln -s '/usr/lib/systemd/system/tomcat.service' '/etc/systemd/system/multi-user.target.wants/tomcat.service'
  16. Note: Forwarding request to 'systemctl enable httpd.service'.
  17. ln -s '/usr/lib/systemd/system/httpd.service' '/etc/systemd/system/multi-user.target.wants/httpd.service'
  18. Note: Forwarding request to 'systemctl enable rhn-search.service'.
  19. ln -s '/usr/lib/systemd/system/rhn-search.service' '/etc/systemd/system/multi-user.target.wants/rhn-search.service'
  20. Done
  21. gpg: keyring `/root/.gnupg/pubring.gpg' created
  22. gpg: /root/.gnupg/trustdb.gpg: trustdb created
  23. gpg: keyring `/root/.gnupg/secring.gpg' created
  24. gpg: key F24F1B08: public key "Red Hat, Inc (Red Hat Network) <rhn-feedback@redhat.com>" imported
  25. gpg: Total number processed: 1
  26. gpg: imported: 1
  27. disconnected
  28. /var/lib/rhn/rhn-satellite-prep/etc/rhn/cluster.ini
  29. /var/lib/rhn/rhn-satellite-prep/etc/rhn/rhn.conf
  30. /var/lib/rhn/rhn-satellite-prep/etc/rhn/rhn.conf.orig
  31. /var/lib/rhn/rhn-satellite-prep/etc -> /etc
  32. /var/lib/rhn/rhn-satellite-prep/etc/rhn -> /etc/rhn
  33. /var/lib/rhn/rhn-satellite-prep/etc/rhn/cluster.ini -> /etc/rhn/cluster.ini
  34. /var/lib/rhn/rhn-satellite-prep/etc/rhn/rhn.conf -> /etc/rhn/rhn.conf
  35. * Making backup of /etc/rhn/rhn.conf to /etc/sysconfig/rhn/backup-2014-12-18-20:25/etc/rhn/rhn.conf
  36.  
  37. ERROR: RHN Entitlement Certificate failed to validate:
  38. Exception reported from spacewalk.sys-op.local
  39. Time: Thu Dec 18 20:27:32 2014
  40. Exception type <class 'spacewalk.server.rhnSQL.sql_base.SQLSchemaError'>
  41.  
  42. Exception Handler Information
  43. Traceback (most recent call last):
  44. File "/usr/lib/python2.7/site-packages/spacewalk/satellite_tools/rhn_satellite_activate.py", line 199, in activateSatellite_local
  45. satCerts.storeRhnCert(cert, check_generation=1, check_version=not(options.ignore_version_mismatch))
  46. File "/usr/lib/python2.7/site-packages/spacewalk/satellite_tools/satCerts.py", line 509, in storeRhnCert
  47. set_slots_from_cert(sc)
  48. File "/usr/lib/python2.7/site-packages/spacewalk/satellite_tools/satCerts.py", line 410, in set_slots_from_cert
  49. activate_system_entitlement(org_id, db_label, quantity)
  50. File "/usr/lib/python2.7/site-packages/spacewalk/server/rhnSQL/driver_postgresql.py", line 112, in __call__
  51. result = Function.__call__(self, *args)
  52. File "/usr/lib/python2.7/site-packages/spacewalk/server/rhnSQL/driver_postgresql.py", line 89, in __call__
  53. raise sql_base.SQLSchemaError(error_code, e.pgerror, e)
  54. SQLSchemaError: (20249, 'ERROR: -20249 : (invalid_server_group) - The specified server group does not exist', 'CONTEXT: SQL statement "SELECT rhn_exception.raise_exception(\n \'invalid_server_group\')"\nPL/pgSQL function rhn_entitlements.activate_system_entitlement(numeric,character varying,numeric) line 29 at PERFORM\n', InternalError('-20249 : (invalid_server_group) - The specified server group does not exist\nCONTEXT: SQL statement "SELECT rhn_exception.raise_exception(\n \'invalid_server_group\')"\nPL/pgSQL function rhn_entitlements.activate_system_entitlement(numeric,character varying,numeric) line 29 at PERFORM\n',))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement