Difference between revisions of "RedHat"

From wiki
Jump to: navigation, search
Line 26: Line 26:
 
== PYCURL error 7 ==
 
== PYCURL error 7 ==
  
Note that this could easily occur is the squid server on marvin has failed. Make sure yo at least try and restart the squid server on marvin.
+
Note that this could easily occur is the squid server on marvin has failed. Make sure you at least try and restart the squid server on marvin.
  
[https://access.redhat.com/solutions/291643 This link] has a farily exahustive for checking errors using tcpdump and nc.
+
[https://access.redhat.com/solutions/291643 This link] has a fairly exhaustive for checking errors using '''tcpdump''' and '''nc'''.

Revision as of 15:26, 4 July 2017

The StAB cluster subscribes to Red Hat, and uses version 6, which is one behind the latest version, version 7.

Being one version behind is typicaly not a problem, as it continues to be fully supported. However, there are software packages that like to use the bleeding edge, and there are admitted problems installing these programs.


Installation of devtoolset-2

There are two ways apparently via RHN Classic or RH Subscription Management, and we choose the latter because there is a useful command-line tool for it.

To install on a node:

ssh node4 'subscription-manager subscribe --pool=8a85f9814ed67b98014eda13ed983c7d'

Note here that we have previously been able to verify the pool ID. Documentation for this can be found at

Click here or Google Red Hat Developer Toolset

This will also enable the appropriate repos for you (though *-source-rpms and *-debug-rpms may be left out).

Problems

outdated repomd.xml warnings

You can get rid of them (i.e. update the repomd.xml) by:

yum clean all
yum update yum*

PYCURL error 7

Note that this could easily occur is the squid server on marvin has failed. Make sure you at least try and restart the squid server on marvin.

This link has a fairly exhaustive for checking errors using tcpdump and nc.