Red Hat Network issues with Proxy

Hey all.  I have a question.  I recently created a VM with Red Hat client 6.0.  I'm trying to register it on the Red Hat Network but I think our proxy is blocking it from happening.  I have the proxy settings configured under systems and preferences but it doesnt seem to do the trick.  I can browse the internet fine so I know the proxy settings are working.  Any help would be appreciated.  thanks.
nyceuserAsked:
Who is Participating?
 
savoneConnect With a Mentor Commented:
Your http proxy is not set that's why the command did not return anything.

export http_proxy=http://yourproxyip:port

Then again

echo $http_proxy

If its set the echo command should show you the setting.
0
 
farzanjCommented:
Are you running
rhn_register as root?

What is the error message?
0
 
nyceuserAuthor Commented:
Yes I am.  It tells me that it cannot connect to the red hat network.  it's definitely a proxy issue.  Just not sure how to bypass the proxy.
0
Protect Your Employees from Wi-Fi Threats

As Wi-Fi growth and popularity continues to climb, not everyone understands the risks that come with connecting to public Wi-Fi or even offering Wi-Fi to employees, visitors and guests. Download the resource kit to make sure your safe wherever business takes you!

 
savoneCommented:
Type this on the command line

export http_proxy=yourproxyserver:port

Then try again. BTW you have to do this as root.
0
 
savoneCommented:
So let's say your proxy is 192.168.1.2 and its listening on port 8080 you would type in

export http_proxy=192.168.1.2:8080

You can also use the DNS name if it resolves.
0
 
savoneCommented:
The you can register with the following command as root

 rhn_register
0
 
nyceuserAuthor Commented:
Thanks for your help guys.  I'm still having the issue though.  Here is a screen shot.  


Untitled.jpg
0
 
savoneCommented:
type this at the command line to make sure the proxy is set correctly. (as root)


echo $http_proxy
0
 
nyceuserAuthor Commented:
Getting the same thing.  
SNAG-0015.jpg
0
 
savoneCommented:
here is an example:

$ export http_proxy=http://testproxy.mydomain.com:8080
$ echo $http_proxy
http://testproxy.mydomain.com:8080
$
0
 
nyceuserAuthor Commented:
Still doesn't work :(
SNAG-0016.jpg
0
 
savoneCommented:
Assuming your http_proxy is correct, have you checked your logs for a more informational error message?

I would check the following logs:

/var/log/messages
/var/log/up2date
/var/log/yum.log

0
 
nyceuserAuthor Commented:
Does this help?
SNAG-0017.jpg
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.