"No rhnuuid config option found in /etc/sysconfig/rhn/up2date-uuid."

From Brandonhutchinson.com

Revision as of 22:21, 9 January 2009 by Hutch (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

When running gensystemid on a RHEL 5 server running mrepo 0.8.6, I received the following error.

No rhnuuid config option found in /etc/sysconfig/rhn/up2date-uuid.

Looking at another system that was successfully running mrepo, the contents of up2date-uuid looked like:

uuid[comment]=Universally Unique ID for this server

To generate a UUID, run uuidgen. To create this file with two commands, run the following:

# UUID=$(uuidgen) ; /bin/echo -e "uuid[comment]=Universally Unique ID for this server\nrhnuuid=$UUID" > /etc/sysconfig/rhn/up2date-uuid
Personal tools