Skip to main content

Posts

Showing posts with the label Spacewalk

Rename the Satellite Admin Account

I will build a Satellite (or Spacewalk) occasionally to test some stuff... and I have forgotten (more than once) that the first time you login, you are creating the "Admin User".. which I have erroneously setup as my self. So to fix this, add another user and make them an Organization Administrator. Then... go to https:// <satellite fqdn>/rhn/admin/multiorg/Users.do and click on the check box ;-) Technically you are reassigning the Satellite Administrator role to someone else.

RHN Satellite Server (spacewalk) repomd.xml not found

"repomd.xml not found" If you add a channel, or if your RHN cache gets corrupted, and one of your guests complains that it cannot find repomd.xml for jb-ews-2-x86_64-server-5-rpm (for example) - you need to rebuild your repodata cache. Normally this is an automated job - which is exemplified by the fact that you have obviously built out your entire Satellite environment and never had to do any of the steps you are about to do. So - some prep work: Open 3 terminals to your Satellite Server and run: # Term 1 cd /var/cache/rhn watch "ls -l | wc -l" # Term 2 pwd cd /var/log/rhn tail -f rhn_taskomatic_daemon.log # Term 3 satellite-sync --channel=jb-ews-2-x86_64-server-5-rpm Once the satellite-sync has completed, you >should< see the count increment by one.  If you are unlucky (like me) you will not. You then need to login to the Satellite WebUI as the satellite admin user. Click on the Admin tab (at the top) Task Schedules (on the left) fin...