Results 1 to 2 of 2
Hi All - (first post here) I'm trying to create a central managment server for our Linux estate, primarily used for patching. I've buitls a VMWare virtual machine with CentOS ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-13-2011 #1
- Join Date
- Jan 2011
Problems with mrepo/spacewalk
Hi All - (first post here)
I'm trying to create a central managment server for our Linux estate, primarily used for patching. I've buitls a VMWare virtual machine with CentOS 5.5 and installed Spacewalk (using the built in Oracle XE database). The spacewalk setup looks to have completed successfully, and I created CentOS channels, updated them with content and have registered several test clients.
Now, I'm trying to create the RHEL repositories. From the Spacewalk wiki, you can't connect directly to RHN, and so my plan is to use mrepo to create the repositories, and then feed these into Spacewalk (does this sound like it's achievable?)
On my spacewalk server, I have installed mrepo...
# rpm -qa | grep mrepo
...and created the directories for the repositories...
# ls -l
drwxr-xr-x 2 root root 4096 Jan 13 10:23 5Server-i386
drwxr-xr-x 2 root root 4096 Jan 13 10:23 5Server-x86_64
I'm trying to create the systemID file for each of the repositories with the following command...
# gensystemid -u "username" -p "password" --release=5Server --arch=x86_64 /spacewalk/mrepo/5Server-x86_64/
...but get the following error...
gensystemid: Error registering user.
Username `username' has not been reserved
Error Class Code: 1
Error Class Info: This does not appear to be a valid username.
An error has occurred while processing your request. If this problem
persists please enter a bug report at bugzilla.redhat.com.
If you choose to submit the bug report, please be sure to include
details of what you were trying to do when this error occurred and
details on how to reproduce this problem.
The username and password I'm using are correct, in that I can navigate to the RHN and successfully log in with these credentials.
Does anybody know what's going on here? And tips/advice greatly appreciated.
- 01-13-2011 #2
- Join Date
- Jan 2011
The URL entry in /etc/sysconfig/rhn/up2date was pointing to my spacewalk server (ie itself), as opposed to the RHN. Changed this entry, re-ran the gensystemid command and all worked as expected.