Find the answer to your Linux question:
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 30
Hello, I am trying to install a zabbix client in a Xenserver. I activated a proxy at /etc/yum.conf I activated the proxy temporarily When I try to download the zabbix ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2012
    Posts
    26

    Installing Zabbix Client in Xenserver


    Hello,

    I am trying to install a zabbix client in a Xenserver. I activated a proxy at /etc/yum.conf
    I activated the proxy temporarily

    When I try to download the zabbix client using wget from the repo I receive a message:

    Resolving proxy... failed : Name or service not known.
    wget: unable to resolve host address 'proxy'

  2. #2
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,307
    Quote Originally Posted by diegosales View Post
    I am trying to install a zabbix client in a Xenserver. I activated a proxy at /etc/yum.conf
    I activated the proxy temporarily
    can you show the file(s) that you modified in yum to activate the proxy?

  3. #3
    Just Joined!
    Join Date
    Apr 2012
    Posts
    26
    [main]
    cachedir=/var/cache/yum
    keepcache=0
    debuglevel=2
    logfile=/var/log/yum.log
    distroverpkg=redhat-release
    tolerant=1
    exactarch=1
    obsoletes=1
    gpgcheck=1
    plugins=1

    # Note: yum-RHN-plugin doesn't honor this.
    metadata_expire=1h

    # Default.
    # installonly_limit = 3

    # PUT YOUR REPOS HERE OR IN separate files named file.repo
    # in /etc/yum.repos.d

    proxy=//proxy:8888/
    There is a hypertext transfer protocol line before // at the line above. I did not put it because the forum did not allow me to.

  4. #4
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,307
    Quote Originally Posted by diegosales View Post
    proxy=//proxy:8888/
    without delving any further, and not knowing anything about zabbix, i'd guess that using "http://proxy" is the problem. the system needs to resolve "proxy" to an ip address, but can't (b/c "proxy" is not in /etc/hosts or is not a valid DNS entry).

    can you substitute the proper ip address for "proxy" there?

  5. #5
    Just Joined!
    Join Date
    Apr 2012
    Posts
    26
    it is working. Now here another issue:
    I want to install the openssl-devel packet and libOpenIPMIposix pácket dependence, but Here is the message I get:

    Downloading Packages:
    //mirror.centos.org/centos/5/os/i386/CentOS/keyutils-libs-devel-1.2-1.el5.i386.rpm:[/] [Errno 4] IOError: <error (-2, 'Name or service not known')>
    Trying other mirror.
    ://mirror.centos.org/centos/5/os/i386/CentOS/libselinux-utils-1.33.4-5.7.el5.i386.rpm:[/] [Errno 4] IOError: <error (-2, 'Name or service not known')>
    Trying other mirror.
    ://mirror.centos.org/centos/5/os/i386/CentOS/libselinux-1.33.4-5.7.el5.i386.rpm:[/] [Errno 4] IOError: < error (-2, 'Name or service not known')>
    Trying other mirror.
    ]://mirror.centos.org/centos/5/os/i386/CentOS/zlib-devel-1.2.3-4.el5.i386.rpm:[/] [Errno 4] IOError: < error (-2, 'Name or service not known')>
    Trying other mirror.
    ://mirror.centos.org/centos/5/updates/i386/RPMS/e2fsprogs-libs-1.39-34.el5_8.1.i386.rpm:[/] [Errno 4] IOError: <error (-2, 'Name or service not known')>
    Trying other mirror.
    ://mirror.centos.org/centos/5/os/i386/CentOS/libselinux-devel-1.33.4-5.7.el5.i386.rpm:[/] [Errno 4] IOError: < error (-2, 'Name or service not known')>
    Trying other mirror.
    ]://mirror.centos.org/centos/5/os/i386/CentOS/libsepol-devel-1.15.2-3.el5.i386.rpm:[/] [Errno 4] IOError: < error (-2, 'Name or service not known')>
    Trying other mirror.
    ]://mirror.centos.org/centos/5/updates/i386/RPMS/e2fsprogs-devel-1.39-34.el5_8.1.i386.rpm:[/] [Errno 4] IOError: <error (-2, 'Name or service not known')>
    Trying other mirror.
    ]://mirror.centos.org/centos/5/os/i386/CentOS/krb5-libs-1.6.1-70.el5.i386.rpm:[/] [Errno 4] IOError: <error (-2, 'Name or service not known')>
    Trying other mirror.
    ]://mirror.centos.org/centos/5/updates/i386/RPMS/e2fsprogs-1.39-34.el5_8.1.i386.rpm:[/] [Errno 4] IOError: < error (-2, 'Name or service not known')>
    Trying other mirror.
    l]://mirror.centos.org/centos/5/updates/i386/RPMS/openssl-0.9.8e-22.el5_8.4.i686.rpm:[/] [Errno 4] IOError: < error (-2, 'Name or service not known')>
    Trying other mirror.
    ]://mirror.centos.org/centos/5/os/i386/CentOS/krb5-devel-1.6.1-70.el5.i386.rpm:[/l] [Errno 4] IOError: < error (-2, 'Name or service not known')>
    Trying other mirror.
    []://mirror.centos.org/centos/5/updates/i386/RPMS/openssl-devel-0.9.8e-22.el5_8.4.i386.rpm:[/] [Errno 4] IOError: < error (-2, 'Name or service not known')>
    Trying other mirror.

    Error Downloading Packages:
    zlib-devel-1.2.3-4.el5.i386: failure: CentOS/zlib-devel-1.2.3-4.el5.i386.rpm from base: [Errno 256] No more mirrors to try.
    libsepol-devel-1.15.2-3.el5.i386: failure: CentOS/libsepol-devel-1.15.2-3.el5.i386.rpm from base: [Errno 256] No more mirrors to try.
    krb5-devel-1.6.1-70.el5.i386: failure: CentOS/krb5-devel-1.6.1-70.el5.i386.rpm from base: [Errno 256] No more mirrors to try.
    e2fsprogs-1.39-34.el5_8.1.i386: failure: RPMS/e2fsprogs-1.39-34.el5_8.1.i386.rpm from updates: [Errno 256] No more mirrors to try.
    libselinux-1.33.4-5.7.el5.i386: failure: CentOS/libselinux-1.33.4-5.7.el5.i386.rpm from base: [Errno 256] No more mirrors to try.
    keyutils-libs-devel-1.2-1.el5.i386: failure: CentOS/keyutils-libs-devel-1.2-1.el5.i386.rpm from base: [Errno 256] No more mirrors to try.
    e2fsprogs-libs-1.39-34.el5_8.1.i386: failure: RPMS/e2fsprogs-libs-1.39-34.el5_8.1.i386.rpm from updates: [Errno 256] No more mirrors to try.
    libselinux-utils-1.33.4-5.7.el5.i386: failure: CentOS/libselinux-utils-1.33.4-5.7.el5.i386.rpm from base: [Errno 256] No more mirrors to try.
    e2fsprogs-devel-1.39-34.el5_8.1.i386: failure: RPMS/e2fsprogs-devel-1.39-34.el5_8.1.i386.rpm from updates: [Errno 256] No more mirrors to try.
    libselinux-devel-1.33.4-5.7.el5.i386: failure: CentOS/libselinux-devel-1.33.4-5.7.el5.i386.rpm from base: [Errno 256] No more mirrors to try.
    openssl-0.9.8e-22.el5_8.4.i686: failure: RPMS/openssl-0.9.8e-22.el5_8.4.i686.rpm from updates: [Errno 256] No more mirrors to try.
    krb5-libs-1.6.1-70.el5.i386: failure: CentOS/krb5-libs-1.6.1-70.el5.i386.rpm from base: [Errno 256] No more mirrors to try.
    openssl-devel-0.9.8e-22.el5_8.4.i386: failure: RPMS/openssl-devel-0.9.8e-22.el5_8.4.i386.rpm from updates: [Errno 256] No more mirrors to try.

    Loading mirror speeds from cached hostfile
    []://downloads.linux.hp.com/SDR/downloads/ProLiantSupportPack/centos/5/i386/current/repodata/repomd.xml:[/url] [Errno 4] IOError: < error (-2, 'Name or service not known')>
    Trying other mirror.
    []://mirror.centos.org/centos/5/os/i386/repodata/repomd.xml:[/url] [Errno 4] IOError: <error (-2, 'Name or service not known')>
    Trying other mirror.
    []://updates.vmd.citrix.com/XenServer/5.6.100/domain0/repodata/repomd.xml:[] [Errno 4] IOError: < error (-2, 'Name or service not known')>
    Trying other mirror.
    []://mirror.centos.org/centos/5/updates/i386/repodata/repomd.xml:[] [Errno 4] IOError: < error (-2, 'Name or service not known')>
    Trying other mirror.
    Excluding Packages from CentOS-5 - Base
    Finished
    Excluding Packages from CentOS-5 - Updates
    Finished
    Setting up Install Process
    No package install available.
    No package libOpenIPMIposix available.
    Nothing to do

    I have made changes at /etc//yum.repos.d/CentOS-Base.repo at base and updates repo, commenting the line mirror discommenting the line base and putting enabled =1.

  6. #6
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,307
    it seems like the proxy is breaking the resolving of mirror.centos.org (or else it is not resolving in the first place). can you ping mirror.centos.org?

    can you load the URL in a browser, from that machine? e.g.:

    Code:
    firefox http://mirror.centos.org/centos/5/os/i386/
    also, what does this command tell you?

    Code:
    yum clean all
    yum repolist

  7. #7
    Just Joined!
    Join Date
    Apr 2012
    Posts
    26
    i typed these 2 commands above.
    The message:Loaded plugins: fastestmirror
    Determining fastest mirrors
    Could not retrieve mirrorlist ://updates.vmd.citrix.com/XenServer/5.6.100/domain0/mirrorlist error was
    [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
    Error: Cannot find a valid baseurl for repo: citrix

    There is ICMP reply messages (pinging mirror.centos)

  8. #8
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,307
    Quote Originally Posted by diegosales View Post
    i typed these 2 commands above.
    The message:Loaded plugins: fastestmirror
    Determining fastest mirrors
    Could not retrieve mirrorlist ://updates.vmd.citrix.com/XenServer/5.6.100/domain0/mirrorlist error was
    [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
    Error: Cannot find a valid baseurl for repo: citrix

    There is ICMP reply messages (pinging mirror.centos)
    can you ping updates.vmd.citrix.com?

    can you show the contents of the yum repo file containing your citrix repo?

    does this command show anything more helpful?
    Code:
    yum --noplugins --disablerepo=* --enablerepo=citrix -v -d9 -e9 repolist

  9. #9
    Just Joined!
    Join Date
    Apr 2012
    Posts
    26
    Hi,
    I fixed it. Thanks. But another one appeared:

    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    ://mirror.centos.org/centos/5/os/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
    Trying other mirror.
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again

  10. #10
    Just Joined!
    Join Date
    Apr 2012
    Posts
    26
    the code you suggested:yum --noplugins --disablerepo=* --enablerepo=citrix -v -d9 -e9 repolist
    Config time: 0.045
    repo time: 0.000
    Yum Version: 3.2.22
    ://updates.vmd.citrix.com/XenServer/5.6.100/domain0/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
    Trying other mirror.
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: citrix. Please verify its path and try again

Page 1 of 3 1 2 3 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •