Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Red Hat Network issues with Proxy

Posted on 2011-03-15
13
Medium Priority
?
416 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

 
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 2000 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

618 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