<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'><div style="text-align: left;">Hello,<br><br>I am trying to install SpaceWalk on a CentOS 5.2 like described in the Wiki documentations, but the command "spacewalk-setup --disconnected" is finishing in error :<br>...<br>...<br>* L<span style="font-family: Courier New,Courier,Monospace;">oading answer file: /usr/share/spacewalk/setup/defaults.conf.</span><br style="font-family: Courier New,Courier,Monospace;"><span style="font-family: Courier New,Courier,Monospace;">* Setting up environment and users.</span><br style="font-family: Courier New,Courier,Monospace;"><span style="font-family: Courier New,Courier,Monospace;">** GPG: Initializing GPG and importing RHN key.</span><br style="font-family: Courier New,Courier,Monospace;"><span style="font-family: Courier New,Courier,Monospace;">* Setting up database.</span><br style="font-family: Courier New,Courier,Monospace;"><span style="font-family: Courier New,Courier,Monospace;">** Database: Setting up database connection.</span><br style="font-family: Courier New,Courier,Monospace;"><span style="font-family: Courier New,Courier,Monospace;">** Database: Testing database connection.</span><br style="font-family: Courier New,Courier,Monospace;"><span style="font-family: Courier New,Courier,Monospace;">** Database: Populating database.</span><br style="font-family: Courier New,Courier,Monospace;"><span style="font-family: Courier New,Courier,Monospace;">The Database has schema.  Would you like to clear the database [Y]?</span><br style="font-family: Courier New,Courier,Monospace;"><span style="font-family: Courier New,Courier,Monospace;">** Database: Clearing database.</span><br style="font-family: Courier New,Courier,Monospace;"><span style="font-family: Courier New,Courier,Monospace;">** Database: Shutting down services that may be using DB: [tomcat5, taskomatic, httpd, jabberd, osa-dispatcher, tsdb_local_queue].</span><br style="font-family: Courier New,Courier,Monospace;"><span style="font-family: Courier New,Courier,Monospace;">** Database: Services stopped.  Clearing DB.</span><br style="font-family: Courier New,Courier,Monospace;"><span style="font-family: Courier New,Courier,Monospace;">** Database: Re-populating database.</span><br style="font-family: Courier New,Courier,Monospace;"><span style="font-family: Courier New,Courier,Monospace;">sh: dbhome: command not found</span><br style="font-family: Courier New,Courier,Monospace;"><span style="font-family: Courier New,Courier,Monospace;">*** Progress: ##################################################</span><br style="font-family: Courier New,Courier,Monospace;"><span style="font-family: Courier New,Courier,Monospace;">* Performing initial configuration.</span><br style="font-family: Courier New,Courier,Monospace;"><span style="font-family: Courier New,Courier,Monospace;">* Activating Satellite.</span><br style="font-family: Courier New,Courier,Monospace;"><span style="font-family: Courier New,Courier,Monospace;">** Loading Satellite Certificate.</span><br style="font-family: Courier New,Courier,Monospace;"><span style="font-family: Courier New,Courier,Monospace;">** Verifying certificate locally.</span><br style="font-family: Courier New,Courier,Monospace;"><span style="font-family: Courier New,Courier,Monospace;">** Activating Satellite.</span><br style="font-family: Courier New,Courier,Monospace;"><span style="font-family: Courier New,Courier,Monospace;">There was a problem activating the satellite: Local activation failure.</span><br><br>It seems that spacewalk-setup uses the command "/usr/bin/rhn-satellite-activate".<br>When I try this command without any parameter, I get this error :<br>NOTE: using backup cert as default: /etc/sysconfig/rhn/rhn-entitlement-cert.xml<br>ERROR: rhn_parent is not set in /etc/rhn/rhn.conf<br><br>Any idea ?<br><br>Regards,<br>Florent<br></div><br /><hr />Avec une webcam et Messenger partagez vos émotions en vidéo ! <a href='http://www.windowslive.fr/messenger/' target='_new'>Téléchargez gratuitement !</a></body>
</html>