this is your problem right here
in the error message you posted
red hat enterprise linux IS NOT FREE !
This system is not registered with RHN.
- yes it can be for a VERY limited use -- to see if it runs on your computer
BUT to install software YOU NEED TO BUY a license
to get any software security updates or bug fixes -YOU NEED TO BUY a license
for any support from red hat -- YOU NEED TO BUY a license
to get the software to build programs from source - YOU NEED TO BUY a license
if you ARE NOT going to pay for red hat then DO NOT USE IT !
install the FREE community supported version of RHEL -- CentOS 5.5
also -- others correct me if i am wrong --
i do not think that the current OO 3.2.1 runs on rhel5 or CentOS 5.5
i think the version is 3.1 ?
but i think it is in the "RPMForge" repo
install RPMForge repo
then "yum install openoffice "