Errno 14 PYCURL ERROR 7- “couldn't connect to host”
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
When trying to connnect to a remote RHEL 6 linux server which contains a list of necessary rpms for my other linux clients, I get the error above (title).
I have this /etc/yum.repos.d/itcm_repo.repo
file on the remote host :
[ITCM_REPO]
name=itcm_repo Repo
baseurl=http://172.19.0.110//root/.itc-deployment/
enabled=1
gpgcheck=0
and httpd is installed on the server.
Can someone help me get this to work?
yum repository
add a comment |
When trying to connnect to a remote RHEL 6 linux server which contains a list of necessary rpms for my other linux clients, I get the error above (title).
I have this /etc/yum.repos.d/itcm_repo.repo
file on the remote host :
[ITCM_REPO]
name=itcm_repo Repo
baseurl=http://172.19.0.110//root/.itc-deployment/
enabled=1
gpgcheck=0
and httpd is installed on the server.
Can someone help me get this to work?
yum repository
Outside of yum can you use a tool likewget
orcurl
or evennc
to connect to that URL?
– Eric Renouf
Oct 27 '15 at 22:26
add a comment |
When trying to connnect to a remote RHEL 6 linux server which contains a list of necessary rpms for my other linux clients, I get the error above (title).
I have this /etc/yum.repos.d/itcm_repo.repo
file on the remote host :
[ITCM_REPO]
name=itcm_repo Repo
baseurl=http://172.19.0.110//root/.itc-deployment/
enabled=1
gpgcheck=0
and httpd is installed on the server.
Can someone help me get this to work?
yum repository
When trying to connnect to a remote RHEL 6 linux server which contains a list of necessary rpms for my other linux clients, I get the error above (title).
I have this /etc/yum.repos.d/itcm_repo.repo
file on the remote host :
[ITCM_REPO]
name=itcm_repo Repo
baseurl=http://172.19.0.110//root/.itc-deployment/
enabled=1
gpgcheck=0
and httpd is installed on the server.
Can someone help me get this to work?
yum repository
yum repository
edited Oct 27 '15 at 22:23
lese
2,13831327
2,13831327
asked Oct 27 '15 at 22:08
user3175485user3175485
1111
1111
Outside of yum can you use a tool likewget
orcurl
or evennc
to connect to that URL?
– Eric Renouf
Oct 27 '15 at 22:26
add a comment |
Outside of yum can you use a tool likewget
orcurl
or evennc
to connect to that URL?
– Eric Renouf
Oct 27 '15 at 22:26
Outside of yum can you use a tool like
wget
or curl
or even nc
to connect to that URL?– Eric Renouf
Oct 27 '15 at 22:26
Outside of yum can you use a tool like
wget
or curl
or even nc
to connect to that URL?– Eric Renouf
Oct 27 '15 at 22:26
add a comment |
1 Answer
1
active
oldest
votes
I had the same problem and managed to fix it.
The general cause of inability to connect to an yum repository server is that an operator of such a server shuts it down for any reason (lack of money, etc). In CentOS 6 the configuration files with paths to yum repositories are located in the /etc/yum.repos.d/ folder. The names of these files are CentOS-Base.repo, CentOS-Base.repo.custom, etc. First you have to analyse error generated by yum. Yum usually tells you which server it cannot connect to. You have to write down the path to this server and try to find a file (in the /etc/yum.repos.d/ folder), which corresponds to the domain of this server. Then you have to disable that server by opening that file and changing enabled=1 to enabled=0. In my case I had the atrpms.repo file which tried to download repos from http://dl.atrpms.net/el$releasever-$basearch/atrpms/stable source server which was shut down. I disabled that source and now there is no error and I can update repos by yum. Your case my be different so you have to experiment with various combinations of enabled and disabled sources of repos.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f239076%2ferrno-14-pycurl-error-7-couldnt-connect-to-host%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I had the same problem and managed to fix it.
The general cause of inability to connect to an yum repository server is that an operator of such a server shuts it down for any reason (lack of money, etc). In CentOS 6 the configuration files with paths to yum repositories are located in the /etc/yum.repos.d/ folder. The names of these files are CentOS-Base.repo, CentOS-Base.repo.custom, etc. First you have to analyse error generated by yum. Yum usually tells you which server it cannot connect to. You have to write down the path to this server and try to find a file (in the /etc/yum.repos.d/ folder), which corresponds to the domain of this server. Then you have to disable that server by opening that file and changing enabled=1 to enabled=0. In my case I had the atrpms.repo file which tried to download repos from http://dl.atrpms.net/el$releasever-$basearch/atrpms/stable source server which was shut down. I disabled that source and now there is no error and I can update repos by yum. Your case my be different so you have to experiment with various combinations of enabled and disabled sources of repos.
add a comment |
I had the same problem and managed to fix it.
The general cause of inability to connect to an yum repository server is that an operator of such a server shuts it down for any reason (lack of money, etc). In CentOS 6 the configuration files with paths to yum repositories are located in the /etc/yum.repos.d/ folder. The names of these files are CentOS-Base.repo, CentOS-Base.repo.custom, etc. First you have to analyse error generated by yum. Yum usually tells you which server it cannot connect to. You have to write down the path to this server and try to find a file (in the /etc/yum.repos.d/ folder), which corresponds to the domain of this server. Then you have to disable that server by opening that file and changing enabled=1 to enabled=0. In my case I had the atrpms.repo file which tried to download repos from http://dl.atrpms.net/el$releasever-$basearch/atrpms/stable source server which was shut down. I disabled that source and now there is no error and I can update repos by yum. Your case my be different so you have to experiment with various combinations of enabled and disabled sources of repos.
add a comment |
I had the same problem and managed to fix it.
The general cause of inability to connect to an yum repository server is that an operator of such a server shuts it down for any reason (lack of money, etc). In CentOS 6 the configuration files with paths to yum repositories are located in the /etc/yum.repos.d/ folder. The names of these files are CentOS-Base.repo, CentOS-Base.repo.custom, etc. First you have to analyse error generated by yum. Yum usually tells you which server it cannot connect to. You have to write down the path to this server and try to find a file (in the /etc/yum.repos.d/ folder), which corresponds to the domain of this server. Then you have to disable that server by opening that file and changing enabled=1 to enabled=0. In my case I had the atrpms.repo file which tried to download repos from http://dl.atrpms.net/el$releasever-$basearch/atrpms/stable source server which was shut down. I disabled that source and now there is no error and I can update repos by yum. Your case my be different so you have to experiment with various combinations of enabled and disabled sources of repos.
I had the same problem and managed to fix it.
The general cause of inability to connect to an yum repository server is that an operator of such a server shuts it down for any reason (lack of money, etc). In CentOS 6 the configuration files with paths to yum repositories are located in the /etc/yum.repos.d/ folder. The names of these files are CentOS-Base.repo, CentOS-Base.repo.custom, etc. First you have to analyse error generated by yum. Yum usually tells you which server it cannot connect to. You have to write down the path to this server and try to find a file (in the /etc/yum.repos.d/ folder), which corresponds to the domain of this server. Then you have to disable that server by opening that file and changing enabled=1 to enabled=0. In my case I had the atrpms.repo file which tried to download repos from http://dl.atrpms.net/el$releasever-$basearch/atrpms/stable source server which was shut down. I disabled that source and now there is no error and I can update repos by yum. Your case my be different so you have to experiment with various combinations of enabled and disabled sources of repos.
edited 5 hours ago
Rui F Ribeiro
41.9k1483142
41.9k1483142
answered Dec 5 '15 at 19:23
PiotrPiotr
111
111
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f239076%2ferrno-14-pycurl-error-7-couldnt-connect-to-host%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Outside of yum can you use a tool like
wget
orcurl
or evennc
to connect to that URL?– Eric Renouf
Oct 27 '15 at 22:26