Solved

Red Hat Network issues with Proxy

Posted on 2011-03-15
13
388 Views
Last Modified: 2012-08-13
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.
0
Comment
Question by:nyceuser
  • 7
  • 5
13 Comments
 
LVL 31

Expert Comment

by:farzanj
ID: 35142434
Are you running
rhn_register as root?

What is the error message?
0
 

Author Comment

by:nyceuser
ID: 35142532
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
 
LVL 23

Expert Comment

by:savone
ID: 35143092
Type this on the command line

export http_proxy=yourproxyserver:port

Then try again. BTW you have to do this as root.
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 23

Expert Comment

by:savone
ID: 35143101
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
 
LVL 23

Expert Comment

by:savone
ID: 35143103
The you can register with the following command as root

 rhn_register
0
 

Author Comment

by:nyceuser
ID: 35148251
Thanks for your help guys.  I'm still having the issue though.  Here is a screen shot.  


Untitled.jpg
0
 
LVL 23

Expert Comment

by:savone
ID: 35148368
type this at the command line to make sure the proxy is set correctly. (as root)


echo $http_proxy
0
 

Author Comment

by:nyceuser
ID: 35148397
Getting the same thing.  
SNAG-0015.jpg
0
 
LVL 23

Accepted Solution

by:
savone earned 500 total points
ID: 35148697
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
 
LVL 23

Expert Comment

by:savone
ID: 35148800
here is an example:

$ export http_proxy=http://testproxy.mydomain.com:8080
$ echo $http_proxy
http://testproxy.mydomain.com:8080
$
0
 

Author Comment

by:nyceuser
ID: 35148833
Still doesn't work :(
SNAG-0016.jpg
0
 
LVL 23

Expert Comment

by:savone
ID: 35149267
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
 

Author Comment

by:nyceuser
ID: 35150330
Does this help?
SNAG-0017.jpg
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question