The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

EasyApache4 provision

Discussion in 'EasyApache' started by onoff, Jun 16, 2016.

Tags:
  1. onoff

    onoff Registered

    Joined:
    Jun 1, 2015
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Ireland
    cPanel Access Level:
    Root Administrator
    having a bit of a head scratch. Is this a CloudLinux issue of cPanel?

    running CL7 with EA4 on a WHM 56.0 (build 24). packages install fine via yum, but when trying to install them via EA4 this is what I am getting:


    Code:
    Provision process started.
      File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 4787, in install
        mypkgs = self.pkgSack.returnPackages(patterns=pats,
      File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1079, in <lambda>
        pkgSack = property(fget=lambda self: self._getSacks(),
      File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 784, in _getSacks
        self.repos.populateSack(which=repos)
      File "/usr/lib/python2.7/site-packages/yum/repos.py", line 344, in populateSack
        self.doSetup()
      File "/usr/lib/python2.7/site-packages/yum/repos.py", line 158, in doSetup
        self.ayum.plugins.run('postreposetup')
      File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 188, in run
        func(conduitcls(self, self.base, conf, **kwargs))
      File "/usr/lib/yum-plugins/fastestmirror.py", line 202, in postreposetup_hook
        all_urls = FastestMirror(all_urls).get_mirrorlist()
      File "/usr/lib/yum-plugins/fastestmirror.py", line 369, in get_mirrorlist
        self._poll_mirrors()
      File "/usr/lib/yum-plugins/fastestmirror.py", line 413, in _poll_mirrors
        pollThread.start()
      File "/usr/lib64/python2.7/threading.py", line 746, in start
        _start_new_thread(self.__bootstrap, ())
    thread.error: can't start new thread
    
    yum exited 256
    
    Provision process finished.
    any help appreciated...
     
  2. cPJacob

    cPJacob cPanel Product Owner
    Staff Member

    Joined:
    May 2, 2014
    Messages:
    510
    Likes Received:
    66
    Trophy Points:
    28
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Hi,

    Can you throw in a support ticket on this? This is something I haven't seen before. It sounds like Yum can't get the memory it needs to start a new thread, but it's odd. There's a link in my signature to throw in a ticket.

    Thanks!
     
  3. onoff

    onoff Registered

    Joined:
    Jun 1, 2015
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Ireland
    cPanel Access Level:
    Root Administrator
    done, ticket #7577723
     
  4. Sascha H.

    Sascha H. Registered

    Joined:
    Jun 22, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Germany
    cPanel Access Level:
    Root Administrator
    It´s more likely a YUM plugin issue. For me it was the "fastestmirror" plugin that caused the provision error on a VM with 4 GB RAM.

    Please try to reduce the "maxthreads" value from 15 to 5 and try again.

    File to edit: /etc/yum/pluginconf.d/fastestmirror.conf
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page