Community Forums
Connect with us on LinkedIn
  
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Aug 2011
    Posts
    6

    Post Yum Error

    Hi Guys and Girls,

    I am getting error when I am trying to install httpd.

    [root@test yum]# yum install -y httpd

    Unable to find pid
    Gathering header information file(s) from server(s)
    Server: Red Hat Linux 5 - x86_64 - Base
    Traceback (most recent call last):
    File "/usr/bin/yum", line 30, in ?
    yummain.main(sys.argv[1:])
    File "/usr/share/yum/yummain.py", line 233, in main
    clientStuff.get_package_info_from_servers(serverlist, HeaderInfo)
    File "/usr/share/yum/clientStuff.py", line 837, in get_package_info_from_servers
    progress_obj=None)
    File "/usr/share/yum/clientStuff.py", line 1336, in grab
    bandwidth, conf.retries, retrycodes, checkfunc)
    File "/usr/share/yum/urlgrabber.py", line 237, in retrygrab
    progress_obj, throttle, bandwidth)
    File "/usr/share/yum/urlgrabber.py", line 314, in urlgrab
    fo = urllib2.urlopen(url)
    File "/usr/lib64/python2.4/urllib2.py", line 130, in urlopen
    return _opener.open(url, data)
    File "/usr/lib64/python2.4/urllib2.py", line 358, in open
    response = self._open(req, data)
    File "/usr/lib64/python2.4/urllib2.py", line 376, in _open
    '_open', req)
    File "/usr/lib64/python2.4/urllib2.py", line 337, in _call_chain
    result = func(*args)
    File "/usr/share/yum/keepalive.py", line 176, in http_open
    return self.do_open(HTTPConnection, req)
    File "/usr/share/yum/keepalive.py", line 173, in do_open
    return self.parent.error('http', req, r, r.status, r.reason, r.msg)
    File "/usr/lib64/python2.4/urllib2.py", line 396, in error
    result = self._call_chain(*args)
    File "/usr/lib64/python2.4/urllib2.py", line 337, in _call_chain
    result = func(*args)
    File "/usr/lib64/python2.4/urllib2.py", line 554, in http_error_302
    return self.parent.open(new)
    File "/usr/lib64/python2.4/urllib2.py", line 358, in open
    response = self._open(req, data)
    File "/usr/lib64/python2.4/urllib2.py", line 376, in _open
    '_open', req)
    File "/usr/lib64/python2.4/urllib2.py", line 337, in _call_chain
    result = func(*args)
    File "/usr/share/yum/keepalive.py", line 176, in http_open
    return self.do_open(HTTPConnection, req)
    File "/usr/share/yum/keepalive.py", line 173, in do_open
    return self.parent.error('http', req, r, r.status, r.reason, r.msg)
    File "/usr/lib64/python2.4/urllib2.py", line 396, in error
    result = self._call_chain(*args)
    File "/usr/lib64/python2.4/urllib2.py", line 337, in _call_chain
    result = func(*args)
    File "/usr/lib64/python2.4/urllib2.py", line 554, in http_error_302
    return self.parent.open(new)
    File "/usr/lib64/python2.4/urllib2.py", line 358, in open
    response = self._open(req, data)
    File "/usr/lib64/python2.4/urllib2.py", line 376, in _open
    '_open', req)
    File "/usr/lib64/python2.4/urllib2.py", line 337, in _call_chain
    result = func(*args)
    File "/usr/share/yum/keepalive.py", line 176, in http_open
    return self.do_open(HTTPConnection, req)
    File "/usr/share/yum/keepalive.py", line 173, in do_open
    return self.parent.error('http', req, r, r.status, r.reason, r.msg)
    File "/usr/lib64/python2.4/urllib2.py", line 396, in error
    result = self._call_chain(*args)
    File "/usr/lib64/python2.4/urllib2.py", line 337, in _call_chain
    result = func(*args)
    File "/usr/lib64/python2.4/urllib2.py", line 554, in http_error_302
    return self.parent.open(new)
    File "/usr/lib64/python2.4/urllib2.py", line 358, in open
    response = self._open(req, data)
    File "/usr/lib64/python2.4/urllib2.py", line 376, in _open
    '_open', req)
    File "/usr/lib64/python2.4/urllib2.py", line 337, in _call_chain
    result = func(*args)
    File "/usr/share/yum/keepalive.py", line 176, in http_open
    return self.do_open(HTTPConnection, req)
    File "/usr/share/yum/keepalive.py", line 173, in do_open
    return self.parent.error('http', req, r, r.status, r.reason, r.msg)
    File "/usr/lib64/python2.4/urllib2.py", line 396, in error
    result = self._call_chain(*args)
    File "/usr/lib64/python2.4/urllib2.py", line 337, in _call_chain
    result = func(*args)
    File "/usr/lib64/python2.4/urllib2.py", line 554, in http_error_302
    return self.parent.open(new)
    File "/usr/lib64/python2.4/urllib2.py", line 358, in open
    response = self._open(req, data)
    File "/usr/lib64/python2.4/urllib2.py", line 376, in _open
    '_open', req)
    File "/usr/lib64/python2.4/urllib2.py", line 337, in _call_chain
    result = func(*args)
    File "/usr/share/yum/keepalive.py", line 176, in http_open
    return self.do_open(HTTPConnection, req)
    File "/usr/share/yum/keepalive.py", line 173, in do_open
    return self.parent.error('http', req, r, r.status, r.reason, r.msg)
    File "/usr/lib64/python2.4/urllib2.py", line 396, in error
    result = self._call_chain(*args)
    File "/usr/lib64/python2.4/urllib2.py", line 337, in _call_chain
    result = func(*args)
    File "/usr/lib64/python2.4/urllib2.py", line 554, in http_error_302
    return self.parent.open(new)
    File "/usr/lib64/python2.4/urllib2.py", line 358, in open
    response = self._open(req, data)
    File "/usr/lib64/python2.4/urllib2.py", line 376, in _open
    '_open', req)
    File "/usr/lib64/python2.4/urllib2.py", line 337, in _call_chain
    result = func(*args)
    File "/usr/share/yum/keepalive.py", line 176, in http_open
    return self.do_open(HTTPConnection, req)
    File "/usr/share/yum/keepalive.py", line 173, in do_open
    return self.parent.error('http', req, r, r.status, r.reason, r.msg)
    File "/usr/lib64/python2.4/urllib2.py", line 396, in error
    result = self._call_chain(*args)
    File "/usr/lib64/python2.4/urllib2.py", line 337, in _call_chain
    result = func(*args)
    File "/usr/lib64/python2.4/urllib2.py", line 554, in http_error_302
    return self.parent.open(new)
    File "/usr/lib64/python2.4/urllib2.py", line 364, in open
    response = meth(req, response)
    File "/usr/lib64/python2.4/urllib2.py", line 468, in http_response
    code, msg, hdrs = response.code, response.msg, response.info()
    AttributeError: HTTPResponse instance has no attribute 'code'
    I need help please help me

  2. #2
    cPanel Staff cPanelMichael's Avatar
    Join Date
    Apr 2011
    Posts
    1,346
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Yum Error

    Hello

    You should first ensure there is a proper installation of "YUM" on your system. Typically, it is setup by default when you install your Operating System, however you may need to contact your data center to ensure it's setup correctly.

    In addition, you should not install the "httpd" package with cPanel. Apache is setup using EasyApache, rather than through the httpd package.

    Thank you.
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists - Documentation - Migration Services
    -- cPanelMichael - Migration Specialist, Technical Analyst, cPanel Technical Support

Similar Threads & Tags
Similar threads

  1. yum update error
    By zenid in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 05-13-2010, 11:30 AM
  2. help me .....yum error
    By skyclick in forum New User Questions
    Replies: 4
    Last Post: 06-30-2009, 02:07 AM
  3. yum error
    By Zion Ahead in forum cPanel and WHM Discussions
    Replies: 14
    Last Post: 04-27-2007, 05:05 PM
  4. Yum Error
    By jaymc in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-11-2005, 11:09 AM
  5. Yum Error
    By Monil in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 08-13-2004, 06:21 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube