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;
}







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?










share|improve this question

























  • 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


















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?










share|improve this question

























  • 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














0












0








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?










share|improve this question
















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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

















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










1 Answer
1






active

oldest

votes


















1














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.






share|improve this answer


























    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
    });


    }
    });














    draft saved

    draft discarded


















    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









    1














    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.






    share|improve this answer






























      1














      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.






      share|improve this answer




























        1












        1








        1







        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.






        share|improve this answer















        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.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 5 hours ago









        Rui F Ribeiro

        41.9k1483142




        41.9k1483142










        answered Dec 5 '15 at 19:23









        PiotrPiotr

        111




        111






























            draft saved

            draft discarded




















































            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.




            draft saved


            draft discarded














            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





















































            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







            Popular posts from this blog

            CARDNET

            Boot-repair Failure: Unable to locate package grub-common:i386

            濃尾地震