[Spacewalk-list] Installation/configuration issue 404 Error - File Not Found

Jim O'Donnell jim.odonnell at realbignet.com
Sun Sep 25 03:16:43 UTC 2011


I just installed spacewalk 1.5 on Centos 5.6.  I am getting a 404 error on
the sign in page.  I get an error when I start the spacewalk service.

 

 

[root at localhost ~]# /usr/sbin/spacewalk-service restart Shutting down
spacewalk services...

Stopping RHN Taskomatic...

RHN Taskomatic was not running.

Stopping cobbler daemon:                                   [  OK  ]

Stopping rhn-search...

Stopped rhn-search.

Stopping MonitoringScout ...  

[ OK ]

Stopping Monitoring ...  

[ OK ]

Stopping httpd:                                            [  OK  ]

Stopping tomcat5:                                          [  OK  ]

Shutting down osa-dispatcher:                              [  OK  ]

Terminating jabberd processes ...

Stopping router:                                           [  OK  ]

Stopping sm:                                               [  OK  ]

Stopping c2s:                                              [  OK  ]

Stopping s2s:                                              [  OK  ]

Done.

Starting spacewalk services...

Initializing jabberd processes ...

Starting router:                                           [  OK  ]

Starting sm:                                               [  OK  ]

Starting c2s:                                              [  OK  ]

Starting s2s:                                              [  OK  ]

Starting osa-dispatcher: RHN 9506 2011/09/24 18:55:14 -04:00: ('Invalid SSL
certificate:', Unable to read file
/var/www/html/pub/RHN-ORG-TRUSTED-SSL-CERT)

                                                           [  OK  ]

Starting tomcat5:                                          [  OK  ]

Waiting for tomcat to be ready ...

Starting httpd:                                            [  OK  ]

Starting Monitoring ...  

[ OK ]

Starting MonitoringScout ...  

[ OK ]

Starting rhn-search...

Starting cobbler daemon:                                   [  OK  ]

Starting RHN Taskomatic...

Done.

[root at localhost ~]# 

 

---------------------------------

 

[root at localhost ~]# cat /var/log/rhn/rhn-installation.log Installation log
of Spacewalk

Command: /usr/bin/spacewalk-setup 

 

Enabling spacewalk services...

Done

gpg: keyring `/root/.gnupg/pubring.gpg' created

gpg: /root/.gnupg/trustdb.gpg: trustdb created

gpg: keyring `/root/.gnupg/secring.gpg' created

gpg: key F24F1B08: public key "Red Hat, Inc (Red Hat Network)
<rhn-feedback at redhat.com>" imported

gpg: Total number processed: 1

gpg:               imported: 1

disconnected

/var/lib/rhn/rhn-satellite-prep/etc/rhn/cluster.ini

/var/lib/rhn/rhn-satellite-prep/etc/rhn/rhn.conf.orig

/var/lib/rhn/rhn-satellite-prep/etc/rhn/rhn.conf

/var/lib/rhn/rhn-satellite-prep/etc -> /etc
/var/lib/rhn/rhn-satellite-prep/etc/rhn -> /etc/rhn
/var/lib/rhn/rhn-satellite-prep/etc/rhn/cluster.ini -> /etc/rhn/cluster.ini
/var/lib/rhn/rhn-satellite-prep/etc/rhn/rhn.conf -> /etc/rhn/rhn.conf

* Making backup of /etc/rhn/rhn.conf to
/etc/sysconfig/rhn/backup-2011-09-24-18:31/etc/rhn/rhn.conf

 

ERROR: RHN Entitlement Certificate failed to validate: 

Exception reported from localhost.localdomain

Time: Sat Sep 24 18:32:19 2011

Exception type psycopg2.IntegrityError

 

Exception Handler Information

Traceback (most recent call last):

  File
"/usr/lib/python2.4/site-packages/spacewalk/satellite_tools/rhn_satellite_ac
tivate.py", line 199, in activateSatellite_local

    satCerts.storeRhnCert(cert, check_generation=1,
check_version=not(options.ignore_version_mismatch))

  File
"/usr/lib/python2.4/site-packages/spacewalk/satellite_tools/satCerts.py",
line 233, in storeRhnCert

    create_first_org(owner=sc.owner)

  File
"/usr/lib/python2.4/site-packages/spacewalk/satellite_tools/satCerts.py",
line 100, in create_first_org

    p(owner, pword)

  File
"/usr/lib/python2.4/site-packages/spacewalk/server/rhnSQL/driver_postgresql.
py", line 107, in __call__

    result = Function.__call__(self, *args)

  File
"/usr/lib/python2.4/site-packages/spacewalk/server/rhnSQL/driver_postgresql.
py", line 85, in __call__

    ret = self.cursor.execute(query, args)

IntegrityError: null value in column "group_type" violates not-null
constraint

CONTEXT:  SQL statement "insert into rhnUserGroup ( id, name, description,
max_members, group_type, org_id ) values (  $1 , 'Organization
Administrators', 'Organization Administrators for Org ' ||  $2  || ' (1)',
NULL,  $3 , 1 )"

PL/pgSQL function "create_first_org" line 18 at SQL statement

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20110924/f06f07d3/attachment.htm>


More information about the Spacewalk-list mailing list