Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

EasyApache 4 Migration failed - missing repos?

Discussion in 'EasyApache' started by tinodesigns, Jan 24, 2019.

  1. tinodesigns

    tinodesigns Member

    Joined:
    Jan 24, 2019
    Messages:
    8
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Germany
    cPanel Access Level:
    Root Administrator
    Hi,

    I'm a server admin of a dedicated Redhat server (RHEL 7.6 - WHM v76.0.17).

    I just tried to migrate to EasyApache 4 but it failed, I think due to some missing repositories. It did revert back to EA3 fine. Can anyone help to resolve this?

    Here is the log output:

    Code:
    [2019-01-24 01:51:58 -0600] info [migrate_ea3_to_ea4] Error: Package: ea-php55-php-gd-5.5.38-39.39.18.cpanel.x86_64 (EA4)
        Requires: t1lib(x86-64)
    Error: Package: ea-php56-php-gd-5.6.40-1.1.2.cpanel.x86_64 (EA4)
        Requires: libt1.so.5()(64bit)
    [2019-01-24 01:51:58 -0600] info [migrate_ea3_to_ea4] Error: Package: ea-php55-php-gd-5.5.38-39.39.18.cpanel.x86_64 (EA4)
        Requires: libvpx(x86-64)
    Error: Package: ea-apache24-config-runtime-1.0-141.141.3.cpanel.noarch (EA4)
        Requires: perl-libwww-perl
    Error: Package: ea-php55-php-gd-5.5.38-39.39.18.cpanel.x86_64 (EA4)
        Requires: libvpx.so.1()(64bit)
    Error: Package: ea-php54-php-gd-5.4.45-56.56.18.cpanel.x86_64 (EA4)
        Requires: libt1.so.5()(64bit)
    [2019-01-24 01:51:58 -0600] info [migrate_ea3_to_ea4] Error: Package: ea-php56-php-gd-5.6.40-1.1.2.cpanel.x86_64 (EA4)
        Requires: t1lib(x86-64)
    [2019-01-24 01:51:58 -0600] info [migrate_ea3_to_ea4] Error: Package: ea-php56-php-gd-5.6.40-1.1.2.cpanel.x86_64 (EA4)
        Requires: libvpx(x86-64)
    [2019-01-24 01:51:58 -0600] info [migrate_ea3_to_ea4] Error: Package: ea-php54-php-gd-5.4.45-56.56.18.cpanel.x86_64 (EA4)
        Requires: t1lib(x86-64)
    [2019-01-24 01:51:58 -0600] info [migrate_ea3_to_ea4] Error: Package: ea-apache24-2.4.37-1.1.2.cpanel.x86_64 (EA4)
        Requires: elinks
    [2019-01-24 01:51:58 -0600] info [migrate_ea3_to_ea4] Error: Package: ea-php55-php-gd-5.5.38-39.39.18.cpanel.x86_64 (EA4)
        Requires: libt1.so.5()(64bit)
    [2019-01-24 01:51:58 -0600] info [migrate_ea3_to_ea4] Error: Package: ea-libcurl-7.62.0-2.2.2.cpanel.x86_64 (EA4)
        Requires: libssh2-devel
    [2019-01-24 01:51:58 -0600] info [migrate_ea3_to_ea4] Error: Package: ea-php56-php-gd-5.6.40-1.1.2.cpanel.x86_64 (EA4)
        Requires: libvpx.so.1()(64bit)
    [2019-01-24 01:51:58 -0600] info [migrate_ea3_to_ea4] > Leaving Shell
    [2019-01-24 01:51:58 -0600] info [migrate_ea3_to_ea4] An error occurred while installing profile “Error: Package: ea-php55-php-gd-5.5.38-39.39.18.cpanel.x86_64 (EA4)
        Requires: t1lib(x86-64)
    Error: Package: ea-php56-php-gd-5.6.40-1.1.2.cpanel.x86_64 (EA4)
        Requires: libt1.so.5()(64bit)
    Error: Package: ea-php55-php-gd-5.5.38-39.39.18.cpanel.x86_64 (EA4)
        Requires: libvpx(x86-64)
    Error: Package: ea-apache24-config-runtime-1.0-141.141.3.cpanel.noarch (EA4)
        Requires: perl-libwww-perl
    Error: Package: ea-php55-php-gd-5.5.38-39.39.18.cpanel.x86_64 (EA4)
        Requires: libvpx.so.1()(64bit)
    Error: Package: ea-php54-php-gd-5.4.45-56.56.18.cpanel.x86_64 (EA4)
        Requires: libt1.so.5()(64bit)
    Error: Package: ea-php56-php-gd-5.6.40-1.1.2.cpanel.x86_64 (EA4)
        Requires: t1lib(x86-64)
    Error: Package: ea-php56-php-gd-5.6.40-1.1.2.cpanel.x86_64 (EA4)
        Requires: libvpx(x86-64)
    Error: Package: ea-php54-php-gd-5.4.45-56.56.18.cpanel.x86_64 (EA4)
        Requires: t1lib(x86-64)
    Error: Package: ea-apache24-2.4.37-1.1.2.cpanel.x86_64 (EA4)
        Requires: elinks
    Error: Package: ea-php55-php-gd-5.5.38-39.39.18.cpanel.x86_64 (EA4)
        Requires: libt1.so.5()(64bit)
    Error: Package: ea-libcurl-7.62.0-2.2.2.cpanel.x86_64 (EA4)
        Requires: libssh2-devel
    Error: Package: ea-php56-php-gd-5.6.40-1.1.2.cpanel.x86_64 (EA4)
        Requires: libvpx.so.1()(64bit)
    The entire output was logged to: /usr/local/cpanel/logs/packman/errors/2019-01-24_01:51:58-1
    ”.
    
    [2019-01-24 01:52:02 -0600] info [migrate_ea3_to_ea4] Loaded plugins: product-id, search-disabled-repos, subscription-manager,
                  : universal-hooks
    This system is registered with an entitlement server, but is not receiving updates. You can use subscription-manager to assign subscriptions.
    Resolving Dependencies
    --> Running transaction check
    ---> Package ea-cpanel-tools.x86_64 0:1.0-20.20.1.cpanel will be erased
    ---> Package ea-profiles-cpanel.x86_64 0:1.0-36.36.1.cpanel will be erased
    --> Finished Dependency Resolution
    It seems to remove ea-cpanel-tools and ea-profiles-cpanel after that and then revert to EA3.

    Code:
    yum repolist enabled
    gives me

    Code:
    Loaded plugins: product-id, search-disabled-repos, subscription-manager,
                  : universal-hooks
    This system is registered with an entitlement server, but is not receiving updates. You can use subscription-manager to assign subscriptions.
    repo id                                      repo name                    status
    cpanel-addons-production-feed/7Server/x86_64 cPanel Addons Production Fee  54
    cpanel-plugins                               cPanel Plugins project (Cent 120
    repolist: 174
    
    NOt sure if this helps but I think I might add since a similair topic with just 2-3 different repos was asked to send that info.

    I'm unsure how to resolve this. Thanks a lot for the help.

    Best,
    Tino
     
  2. NixTree

    NixTree Well-Known Member

    Joined:
    Aug 19, 2010
    Messages:
    412
    Likes Received:
    4
    Trophy Points:
    143
    Location:
    Gods Own Country
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. tinodesigns

    tinodesigns Member

    Joined:
    Jan 24, 2019
    Messages:
    8
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Germany
    cPanel Access Level:
    Root Administrator
  4. tinodesigns

    tinodesigns Member

    Joined:
    Jan 24, 2019
    Messages:
    8
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Germany
    cPanel Access Level:
    Root Administrator
    Oh just noticed those are links to RH how tos. I'll see if I can fix it and try again.
     
  5. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,221
    Likes Received:
    478
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    I think it might be best to know what's in rhsm.log before moving forward with anything, can you give us that output @tinodesigns ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. tinodesigns

    tinodesigns Member

    Joined:
    Jan 24, 2019
    Messages:
    8
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Germany
    cPanel Access Level:
    Root Administrator
    Sure, looks like it always says: Total repo updates: 0

    Here is the log output from about the time I ran the migration process and looked into the repos on the server, attached is the whole file. Thanks for the help.

    Code:
    2019-01-24 02:29:59,702 [INFO] rhsmd:30018:MainThread @rhsm_d.py:280 - rhsmd started
    2019-01-24 02:29:59,825 [INFO] subscription-manager:30011:MainThread @managercli.py:457 - X-Correlation-ID: a65f9a6062534cf49591582f096c4e87
    2019-01-24 02:29:59,825 [INFO] subscription-manager:30011:MainThread @managercli.py:346 - Client Versions: {'subscription-manager': '1.21.10-3.el7_6'}
    2019-01-24 02:29:59,825 [INFO] subscription-manager:30011:MainThread @connection.py:871 - Connection built: host=rhnsatdal0501.service.networklayer.com port=443 handler=/rhsm auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False
    2019-01-24 02:29:59,826 [INFO] subscription-manager:30011:MainThread @connection.py:871 - Connection built: host=rhnsatdal0501.service.networklayer.com port=443 handler=/rhsm auth=none
    2019-01-24 02:30:00,156 [INFO] subscription-manager:30011:MainThread @connection.py:588 - Response: status=200, request="GET /rhsm/consumers/54dc3c3e-db30-46af-83ac-01f0d1a3b562/certificates/serials"
    2019-01-24 02:30:00,157 [INFO] subscription-manager:30011:MainThread @entcertlib.py:131 - certs updated:
    Total updates: 0
    Found (local) serial# []
    Expected (UEP) serial# []
    Added (new)
      <NONE>
    Deleted (rogue):
      <NONE>
    2019-01-24 02:30:00,587 [INFO] subscription-manager:30011:MainThread @connection.py:588 - Response: status=200, request="GET /rhsm/status"
    2019-01-24 02:30:00,935 [INFO] subscription-manager:30011:MainThread @connection.py:588 - Response: status=200, request="GET /rhsm/consumers/54dc3c3e-db30-46af-83ac-01f0d1a3b562"
    2019-01-24 02:30:01,202 [INFO] subscription-manager:30011:MainThread @connection.py:588 - Response: status=200, request="GET /rhsm/"
    2019-01-24 02:30:02,110 [INFO] subscription-manager:30011:MainThread @connection.py:588 - Response: status=200, request="GET /rhsm/consumers/54dc3c3e-db30-46af-83ac-01f0d1a3b562/content_overrides"
    2019-01-24 02:30:02,113 [INFO] subscription-manager:30011:MainThread @repolib.py:494 - repos updated: Repo updates
    
    Total repo updates: 0
    Updated
        <NONE>
    Added (new)
        <NONE>
    Deleted
        <NONE>
    2019-01-24 02:30:02,141 [INFO] subscription-manager:30011:MainThread @dmiinfo.py:75 - Using dmidecode dump file: /dev/mem
    2019-01-24 02:30:02,208 [INFO] subscription-manager:30011:MainThread @dmiinfo.py:75 - Using dmidecode dump file: /dev/mem
    2019-01-24 02:30:03,623 [INFO] subscription-manager:30011:MainThread @connection.py:588 - Response: status=400, request="PUT /rhsm/consumers/54dc3c3e-db30-46af-83ac-01f0d1a3b562"
    2019-01-24 02:30:03,624 [WARNING] subscription-manager:30011:MainThread @base_action_client.py:71 - Exception caught while running <subscription_manager.factlib.FactsActionInvoker object at 0x7f56755c1090> update
    2019-01-24 02:30:03,624 [ERROR] subscription-manager:30011:MainThread @base_action_client.py:72 - HTTP error (400 - Bad Request): Problem updating unit Consumer [id = null, type = null, getName() = null]
    Traceback (most recent call last):
      File "/usr/lib64/python2.7/site-packages/subscription_manager/base_action_client.py", line 62, in _run_update
        update_report = lib.update()
      File "/usr/lib64/python2.7/site-packages/subscription_manager/factlib.py", line 39, in update
        return self.locker.run(self._do_update)
      File "/usr/lib64/python2.7/site-packages/subscription_manager/certlib.py", line 18, in run
        return action()
      File "/usr/lib64/python2.7/site-packages/subscription_manager/factlib.py", line 43, in _do_update
        return action.perform()
      File "/usr/lib64/python2.7/site-packages/subscription_manager/factlib.py", line 99, in perform
        self.facts.update_check(self.uep, consumer_identity.uuid)
      File "/usr/lib64/python2.7/site-packages/subscription_manager/cache.py", line 179, in update_check
        raise re
    RestlibException: HTTP error (400 - Bad Request): Problem updating unit Consumer [id = null, type = null, getName() = null]
    2019-01-24 02:30:06,349 [INFO] subscription-manager:30011:MainThread @connection.py:588 - Response: status=200, request="PUT /rhsm/consumers/54dc3c3e-db30-46af-83ac-01f0d1a3b562/packages"
    2019-01-24 02:30:06,772 [INFO] subscription-manager:30011:MainThread @connection.py:588 - Response: status=200, request="GET /rhsm/consumers/54dc3c3e-db30-46af-83ac-01f0d1a3b562/compliance"
    2019-01-24 02:30:06,773 [INFO] subscription-manager:30011:MainThread @cert_sorter.py:205 - Product status: valid_products= partial_products= expired_products= unentitled_producs=69 future_products= valid_until=None
    2019-01-24 02:30:06,814 [INFO] rhsmd:30018:MainThread @connection.py:871 - Connection built: host=rhnsatdal0501.service.networklayer.com port=443 handler=/rhsm auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False
    2019-01-24 02:30:07,137 [INFO] rhsmd:30018:MainThread @connection.py:588 - Response: status=200, request="GET /rhsm/consumers/54dc3c3e-db30-46af-83ac-01f0d1a3b562/compliance"
    2019-01-24 02:30:07,138 [INFO] rhsmd:30018:MainThread @cert_sorter.py:205 - Product status: valid_products= partial_products= expired_products= unentitled_producs=69 future_products= valid_until=None
    2019-01-24 02:30:07,142 [INFO] subscription-manager:30011:MainThread @connection.py:871 - Connection built: host=rhnsatdal0501.service.networklayer.com port=443 handler=/rhsm auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False
    2019-01-24 02:30:07,413 [INFO] subscription-manager:30011:MainThread @connection.py:588 - Response: status=200, request="GET /rhsm/"
    2019-01-24 02:30:07,715 [INFO] subscription-manager:30011:MainThread @connection.py:588 - Response: status=200, request="GET /rhsm/consumers/54dc3c3e-db30-46af-83ac-01f0d1a3b562/content_overrides"
    2019-01-24 02:30:24,406 [INFO] rhsmd:31210:MainThread @rhsm_d.py:280 - rhsmd started
    2019-01-24 02:30:24,449 [INFO] subscription-manager:31204:MainThread @managercli.py:457 - X-Correlation-ID: 3da0ee690afc411483ad4f5baa821b9d
    2019-01-24 02:30:24,449 [INFO] subscription-manager:31204:MainThread @managercli.py:346 - Client Versions: {'subscription-manager': '1.21.10-3.el7_6'}
    2019-01-24 02:30:24,450 [INFO] subscription-manager:31204:MainThread @connection.py:871 - Connection built: host=rhnsatdal0501.service.networklayer.com port=443 handler=/rhsm auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False
    2019-01-24 02:30:24,451 [INFO] subscription-manager:31204:MainThread @connection.py:871 - Connection built: host=rhnsatdal0501.service.networklayer.com port=443 handler=/rhsm auth=none
    2019-01-24 02:30:24,787 [INFO] subscription-manager:31204:MainThread @connection.py:588 - Response: status=200, request="GET /rhsm/consumers/54dc3c3e-db30-46af-83ac-01f0d1a3b562/certificates/serials"
    2019-01-24 02:30:24,787 [INFO] subscription-manager:31204:MainThread @entcertlib.py:131 - certs updated:
    Total updates: 0
    Found (local) serial# []
    Expected (UEP) serial# []
    Added (new)
      <NONE>
    Deleted (rogue):
      <NONE>
    2019-01-24 02:30:25,237 [INFO] subscription-manager:31204:MainThread @connection.py:588 - Response: status=200, request="GET /rhsm/status"
    2019-01-24 02:30:25,596 [INFO] subscription-manager:31204:MainThread @connection.py:588 - Response: status=200, request="GET /rhsm/consumers/54dc3c3e-db30-46af-83ac-01f0d1a3b562"
    2019-01-24 02:30:25,887 [INFO] subscription-manager:31204:MainThread @connection.py:588 - Response: status=200, request="GET /rhsm/"
    2019-01-24 02:30:26,192 [INFO] subscription-manager:31204:MainThread @connection.py:588 - Response: status=200, request="GET /rhsm/consumers/54dc3c3e-db30-46af-83ac-01f0d1a3b562/content_overrides"
    2019-01-24 02:30:26,194 [INFO] subscription-manager:31204:MainThread @repolib.py:494 - repos updated: Repo updates
    
    Total repo updates: 0
    Updated
        <NONE>
    Added (new)
        <NONE>
    Deleted
        <NONE>
    2019-01-24 02:30:26,223 [INFO] subscription-manager:31204:MainThread @dmiinfo.py:75 - Using dmidecode dump file: /dev/mem
    2019-01-24 02:30:26,289 [INFO] subscription-manager:31204:MainThread @dmiinfo.py:75 - Using dmidecode dump file: /dev/mem
    2019-01-24 02:30:26,836 [INFO] subscription-manager:31204:MainThread @connection.py:588 - Response: status=400, request="PUT /rhsm/consumers/54dc3c3e-db30-46af-83ac-01f0d1a3b562"
    2019-01-24 02:30:26,837 [WARNING] subscription-manager:31204:MainThread @base_action_client.py:71 - Exception caught while running <subscription_manager.factlib.FactsActionInvoker object at 0x7fe68d343090> update
    2019-01-24 02:30:26,837 [ERROR] subscription-manager:31204:MainThread @base_action_client.py:72 - HTTP error (400 - Bad Request): Problem updating unit Consumer [id = null, type = null, getName() = null]
    Traceback (most recent call last):
      File "/usr/lib64/python2.7/site-packages/subscription_manager/base_action_client.py", line 62, in _run_update
        update_report = lib.update()
      File "/usr/lib64/python2.7/site-packages/subscription_manager/factlib.py", line 39, in update
        return self.locker.run(self._do_update)
      File "/usr/lib64/python2.7/site-packages/subscription_manager/certlib.py", line 18, in run
        return action()
      File "/usr/lib64/python2.7/site-packages/subscription_manager/factlib.py", line 43, in _do_update
        return action.perform()
      File "/usr/lib64/python2.7/site-packages/subscription_manager/factlib.py", line 99, in perform
        self.facts.update_check(self.uep, consumer_identity.uuid)
      File "/usr/lib64/python2.7/site-packages/subscription_manager/cache.py", line 179, in update_check
        raise re
    RestlibException: HTTP error (400 - Bad Request): Problem updating unit Consumer [id = null, type = null, getName() = null]
    2019-01-24 02:30:28,678 [INFO] subscription-manager:31204:MainThread @connection.py:588 - Response: status=200, request="GET /rhsm/consumers/54dc3c3e-db30-46af-83ac-01f0d1a3b562/compliance"
    2019-01-24 02:30:28,678 [INFO] subscription-manager:31204:MainThread @cert_sorter.py:205 - Product status: valid_products= partial_products= expired_products= unentitled_producs=69 future_products= valid_until=None
    2019-01-24 02:30:28,720 [INFO] rhsmd:31210:MainThread @connection.py:871 - Connection built: host=rhnsatdal0501.service.networklayer.com port=443 handler=/rhsm auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False
    2019-01-24 02:30:29,041 [INFO] rhsmd:31210:MainThread @connection.py:588 - Response: status=200, request="GET /rhsm/consumers/54dc3c3e-db30-46af-83ac-01f0d1a3b562/compliance"
    2019-01-24 02:30:29,042 [INFO] rhsmd:31210:MainThread @cert_sorter.py:205 - Product status: valid_products= partial_products= expired_products= unentitled_producs=69 future_products= valid_until=None
    2019-01-24 02:30:29,045 [INFO] subscription-manager:31204:MainThread @connection.py:871 - Connection built: host=rhnsatdal0501.service.networklayer.com port=443 handler=/rhsm auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False
    2019-01-24 02:30:29,319 [INFO] subscription-manager:31204:MainThread @connection.py:588 - Response: status=200, request="GET /rhsm/"
    2019-01-24 02:30:29,636 [INFO] subscription-manager:31204:MainThread @connection.py:588 - Response: status=200, request="GET /rhsm/consumers/54dc3c3e-db30-46af-83ac-01f0d1a3b562/content_overrides"
    2019-01-24 02:31:22,259 [INFO] yum:31427:MainThread @connection.py:871 - Connection built: host=rhnsatdal0501.service.networklayer.com port=443 handler=/rhsm auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False
    2019-01-24 02:31:22,260 [INFO] yum:31427:MainThread @connection.py:871 - Connection built: host=rhnsatdal0501.service.networklayer.com port=443 handler=/rhsm auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False
    2019-01-24 02:31:22,615 [INFO] yum:31427:MainThread @connection.py:588 - Response: status=200, request="GET /rhsm/consumers/54dc3c3e-db30-46af-83ac-01f0d1a3b562/certificates/serials"
    2019-01-24 02:31:22,616 [INFO] yum:31427:MainThread @entcertlib.py:131 - certs updated:
    Total updates: 0
    Found (local) serial# []
    Expected (UEP) serial# []
    Added (new)
      <NONE>
    Deleted (rogue):
      <NONE>
    2019-01-24 02:31:23,069 [INFO] yum:31427:MainThread @connection.py:588 - Response: status=200, request="GET /rhsm/status"
    2019-01-24 02:31:23,343 [INFO] yum:31427:MainThread @connection.py:588 - Response: status=200, request="GET /rhsm/"
    2019-01-24 02:31:23,739 [INFO] yum:31427:MainThread @connection.py:588 - Response: status=200, request="GET /rhsm/consumers/54dc3c3e-db30-46af-83ac-01f0d1a3b562/content_overrides"
    2019-01-24 02:31:23,741 [INFO] yum:31427:MainThread @repolib.py:494 - repos updated: Repo updates
    
    Total repo updates: 0
    Updated
        <NONE>
    Added (new)
        <NONE>
    Deleted
        <NONE>
    2019-01-24 03:02:51,911 [INFO] yum:11184:MainThread @connection.py:871 - Connection built: host=rhnsatdal0501.service.networklayer.com port=443 handler=/rhsm auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False
    2019-01-24 03:02:51,912 [INFO] yum:11184:MainThread @connection.py:871 - Connection built: host=rhnsatdal0501.service.networklayer.com port=443 handler=/rhsm auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False
    2019-01-24 03:02:51,955 [INFO] yum:11185:MainThread @connection.py:871 - Connection built: host=rhnsatdal0501.service.networklayer.com port=443 handler=/rhsm auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False
    2019-01-24 03:02:52,260 [INFO] yum:11184:MainThread @connection.py:588 - Response: status=200, request="GET /rhsm/consumers/54dc3c3e-db30-46af-83ac-01f0d1a3b562/certificates/serials"
    2019-01-24 03:02:52,261 [INFO] yum:11184:MainThread @entcertlib.py:131 - certs updated:
    Total updates: 0
    Found (local) serial# []
    Expected (UEP) serial# []
    Added (new)
      <NONE>
    Deleted (rogue):
      <NONE>
    2019-01-24 03:02:52,277 [INFO] yum:11195:MainThread @connection.py:871 - Connection built: host=rhnsatdal0501.service.networklayer.com port=443 handler=/rhsm auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False
    2019-01-24 03:02:52,685 [INFO] yum:11184:MainThread @connection.py:588 - Response: status=200, request="GET /rhsm/status"
    2019-01-24 03:02:52,964 [INFO] yum:11184:MainThread @connection.py:588 - Response: status=200, request="GET /rhsm/"
    2019-01-24 03:02:53,270 [INFO] yum:11184:MainThread @connection.py:588 - Response: status=200, request="GET /rhsm/consumers/54dc3c3e-db30-46af-83ac-01f0d1a3b562/content_overrides"
    2019-01-24 03:02:53,273 [INFO] yum:11184:MainThread @repolib.py:494 - repos updated: Repo updates
    
    Total repo updates: 0
    Updated
        <NONE>
    Added (new)
        <NONE>
    Deleted
        <NONE>
    2019-01-24 03:02:53,627 [INFO] yum:11210:MainThread @connection.py:871 - Connection built: host=rhnsatdal0501.service.networklayer.com port=443 handler=/rhsm auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False
    2019-01-24 03:02:53,628 [INFO] yum:11210:MainThread @connection.py:871 - Connection built: host=rhnsatdal0501.service.networklayer.com port=443 handler=/rhsm auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False
    2019-01-24 03:02:53,958 [INFO] yum:11210:MainThread @connection.py:588 - Response: status=200, request="GET /rhsm/consumers/54dc3c3e-db30-46af-83ac-01f0d1a3b562/certificates/serials"
    2019-01-24 03:02:53,958 [INFO] yum:11210:MainThread @entcertlib.py:131 - certs updated:
    Total updates: 0
    Found (local) serial# []
    Expected (UEP) serial# []
    Added (new)
      <NONE>
    Deleted (rogue):
      <NONE>
    2019-01-24 03:02:54,405 [INFO] yum:11210:MainThread @connection.py:588 - Response: status=200, request="GET /rhsm/status"
    2019-01-24 03:02:54,671 [INFO] yum:11210:MainThread @connection.py:588 - Response: status=200, request="GET /rhsm/"
    2019-01-24 03:02:54,976 [INFO] yum:11210:MainThread @connection.py:588 - Response: status=200, request="GET /rhsm/consumers/54dc3c3e-db30-46af-83ac-01f0d1a3b562/content_overrides"
    2019-01-24 03:02:54,979 [INFO] yum:11210:MainThread @repolib.py:494 - repos updated: Repo updates
    
    Total repo updates: 0
    Updated
        <NONE>
    Added (new)
        <NONE>
    Deleted
        <NONE>
    2019-01-24 03:05:13,205 [INFO] yum:12606:MainThread @connection.py:871 - Connection built: host=rhnsatdal0501.service.networklayer.com port=443 handler=/rhsm auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False
    2019-01-24 03:05:13,206 [INFO] yum:12606:MainThread @connection.py:871 - Connection built: host=rhnsatdal0501.service.networklayer.com port=443 handler=/rhsm auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False
    2019-01-24 03:05:13,556 [INFO] yum:12606:MainThread @connection.py:588 - Response: status=200, request="GET /rhsm/consumers/54dc3c3e-db30-46af-83ac-01f0d1a3b562/certificates/serials"
    2019-01-24 03:05:13,557 [INFO] yum:12606:MainThread @entcertlib.py:131 - certs updated:
    Total updates: 0
    Found (local) serial# []
    Expected (UEP) serial# []
    Added (new)
      <NONE>
    Deleted (rogue):
      <NONE>
    2019-01-24 03:05:14,012 [INFO] yum:12606:MainThread @connection.py:588 - Response: status=200, request="GET /rhsm/status"
    2019-01-24 03:05:14,300 [INFO] yum:12606:MainThread @connection.py:588 - Response: status=200, request="GET /rhsm/"
    2019-01-24 03:05:14,749 [INFO] yum:12606:MainThread @connection.py:588 - Response: status=200, request="GET /rhsm/consumers/54dc3c3e-db30-46af-83ac-01f0d1a3b562/content_overrides"
    2019-01-24 03:05:14,751 [INFO] yum:12606:MainThread @repolib.py:494 - repos updated: Repo updates
    
    Total repo updates: 0
    Updated
        <NONE>
    Added (new)
        <NONE>
    Deleted
        <NONE>
    2019-01-24 03:14:39,310 [INFO] rhsmd:16885:MainThread @rhsm_d.py:280 - rhsmd started
    2019-01-24 03:14:39,311 [INFO] rhsmd:16885:MainThread @rhsm_d.py:311 - logging subscription status to syslog
    2019-01-24 03:14:39,351 [INFO] rhsmd:16885:MainThread @connection.py:871 - Connection built: host=rhnsatdal0501.service.networklayer.com port=443 handler=/rhsm auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False
    2019-01-24 03:14:39,684 [INFO] rhsmd:16885:MainThread @connection.py:588 - Response: status=200, request="GET /rhsm/consumers/54dc3c3e-db30-46af-83ac-01f0d1a3b562/compliance"
    2019-01-24 03:14:39,685 [INFO] rhsmd:16885:MainThread @cert_sorter.py:205 - Product status: valid_products= partial_products= expired_products= unentitled_producs=69 future_products= valid_until=None
    2019-01-24 03:14:39,688 [INFO] rhsmd:16885:MainThread @rhsm_d.py:273 - rhsmd: This system is missing one or more subscriptions. Please run subscription-manager for more information.
    2019-01-24 04:35:46,959 [INFO] rhsmcertd-worker:17084:MainThread @rhsmcertd_worker.py:70 - X-Correlation-ID: 49085465bbab48baae6fd6083a786573
    2019-01-24 04:35:46,960 [INFO] rhsmcertd-worker:17084:MainThread @connection.py:871 - Connection built: host=rhnsatdal0501.service.networklayer.com port=443 handler=/rhsm auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False
    2019-01-24 04:35:47,229 [INFO] rhsmcertd-worker:17084:MainThread @connection.py:588 - Response: status=200, request="GET /rhsm/"
    2019-01-24 04:35:47,587 [INFO] rhsmcertd-worker:17084:MainThread @connection.py:588 - Response: status=200, request="GET /rhsm/consumers/54dc3c3e-db30-46af-83ac-01f0d1a3b562/certificates/serials"
    2019-01-24 04:35:47,587 [INFO] rhsmcertd-worker:17084:MainThread @entcertlib.py:131 - certs updated:
    Total updates: 0
    Found (local) serial# []
    Expected (UEP) serial# []
    Added (new)
      <NONE>
    Deleted (rogue):
      <NONE>
    2019-01-24 04:35:48,021 [INFO] rhsmcertd-worker:17084:MainThread @connection.py:588 - Response: status=200, request="GET /rhsm/status"
    2019-01-24 04:35:48,380 [INFO] rhsmcertd-worker:17084:MainThread @connection.py:588 - Response: status=200, request="GET /rhsm/consumers/54dc3c3e-db30-46af-83ac-01f0d1a3b562"
    2019-01-24 04:35:48,689 [INFO] rhsmcertd-worker:17084:MainThread @connection.py:588 - Response: status=200, request="GET /rhsm/consumers/54dc3c3e-db30-46af-83ac-01f0d1a3b562/content_overrides"
    2019-01-24 04:35:48,691 [INFO] rhsmcertd-worker:17084:MainThread @repolib.py:494 - repos updated: Repo updates
    
    Total repo updates: 0
    Updated
        <NONE>
    Added (new)
        <NONE>
    Deleted
        <NONE>
    2019-01-24 04:35:48,718 [INFO] rhsmcertd-worker:17084:MainThread @dmiinfo.py:75 - Using dmidecode dump file: /dev/mem
    2019-01-24 04:35:48,783 [INFO] rhsmcertd-worker:17084:MainThread @dmiinfo.py:75 - Using dmidecode dump file: /dev/mem
    2019-01-24 04:35:49,366 [INFO] rhsmcertd-worker:17084:MainThread @connection.py:588 - Response: status=400, request="PUT /rhsm/consumers/54dc3c3e-db30-46af-83ac-01f0d1a3b562"
    2019-01-24 04:35:49,367 [WARNING] rhsmcertd-worker:17084:MainThread @base_action_client.py:71 - Exception caught while running <subscription_manager.factlib.FactsActionInvoker object at 0x7f948a0bbf10> update
    2019-01-24 04:35:49,367 [ERROR] rhsmcertd-worker:17084:MainThread @base_action_client.py:72 - HTTP error (400 - Bad Request): Problem updating unit Consumer [id = null, type = null, getName() = null]
    Traceback (most recent call last):
      File "/usr/lib64/python2.7/site-packages/subscription_manager/base_action_client.py", line 62, in _run_update
        update_report = lib.update()
      File "/usr/lib64/python2.7/site-packages/subscription_manager/factlib.py", line 39, in update
        return self.locker.run(self._do_update)
      File "/usr/lib64/python2.7/site-packages/subscription_manager/certlib.py", line 18, in run
        return action()
      File "/usr/lib64/python2.7/site-packages/subscription_manager/factlib.py", line 43, in _do_update
        return action.perform()
      File "/usr/lib64/python2.7/site-packages/subscription_manager/factlib.py", line 99, in perform
        self.facts.update_check(self.uep, consumer_identity.uuid)
      File "/usr/lib64/python2.7/site-packages/subscription_manager/cache.py", line 179, in update_check
        raise re
    RestlibException: HTTP error (400 - Bad Request): Problem updating unit Consumer [id = null, type = null, getName() = null]
    2019-01-24 05:37:09,603 [INFO] yum:8847:MainThread @connection.py:871 - Connection built: host=rhnsatdal0501.service.networklayer.com port=443 handler=/rhsm auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False
    2019-01-24 05:37:09,604 [INFO] yum:8847:MainThread @connection.py:871 - Connection built: host=rhnsatdal0501.service.networklayer.com port=443 handler=/rhsm auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False
    2019-01-24 05:37:09,942 [INFO] yum:8847:MainThread @connection.py:588 - Response: status=200, request="GET /rhsm/consumers/54dc3c3e-db30-46af-83ac-01f0d1a3b562/certificates/serials"
    2019-01-24 05:37:09,942 [INFO] yum:8847:MainThread @entcertlib.py:131 - certs updated:
    Total updates: 0
    Found (local) serial# []
    Expected (UEP) serial# []
    Added (new)
      <NONE>
    Deleted (rogue):
      <NONE>
    2019-01-24 05:37:10,391 [INFO] yum:8847:MainThread @connection.py:588 - Response: status=200, request="GET /rhsm/status"
    2019-01-24 05:37:10,673 [INFO] yum:8847:MainThread @connection.py:588 - Response: status=200, request="GET /rhsm/"
    2019-01-24 05:37:10,976 [INFO] yum:8847:MainThread @connection.py:588 - Response: status=200, request="GET /rhsm/consumers/54dc3c3e-db30-46af-83ac-01f0d1a3b562/content_overrides"
    2019-01-24 05:37:10,978 [INFO] yum:8847:MainThread @repolib.py:494 - repos updated: Repo updates
    
    Total repo updates: 0
    Updated
        <NONE>
    Added (new)
        <NONE>
    Deleted
        <NONE>
     

    Attached Files:

  7. tinodesigns

    tinodesigns Member

    Joined:
    Jan 24, 2019
    Messages:
    8
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Germany
    cPanel Access Level:
    Root Administrator
    Is anyone able to see something in the logs?
     
  8. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,221
    Likes Received:
    478
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hello @tinodesigns

    Based on this output here:

    Code:
    2019-01-24 04:35:48,718 [INFO] rhsmcertd-worker:17084:MainThread @dmiinfo.py:75 - Using dmidecode dump file: /dev/mem
    2019-01-24 04:35:48,783 [INFO] rhsmcertd-worker:17084:MainThread @dmiinfo.py:75 - Using dmidecode dump file: /dev/mem
    2019-01-24 04:35:49,366 [INFO] rhsmcertd-worker:17084:MainThread @connection.py:588 - Response: status=400, request="PUT /rhsm/consumers/54dc3c3e-db30-46af-83ac-01f0d1a3b562"
    2019-01-24 04:35:49,367 [WARNING] rhsmcertd-worker:17084:MainThread @base_action_client.py:71 - Exception caught while running <subscription_manager.factlib.FactsActionInvoker object at 0x7f948a0bbf10> update
    2019-01-24 04:35:49,367 [ERROR] rhsmcertd-worker:17084:MainThread @base_action_client.py:72 - HTTP error (400 - Bad Request): Problem updating unit Consumer [id = null, type = null, getName() = null]
    Traceback (most recent call last):
    It looks like it's trying to connect to validate your subscription but can't - my assumption is because you're on a new server. The second link provided by @NixTree seems to be on the right track:
    How to register and subscribe a system to the Red Hat Customer Portal using Red Hat Subscription-Manager - Red Hat Customer Portal

    All in all though this is something that's specific to RedHat and if the above link doesn't assist with resolving the issue you'll need to get in contact with RedHat - they have a full customer portal available here: Red Hat Customer Portal


    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. tinodesigns

    tinodesigns Member

    Joined:
    Jan 24, 2019
    Messages:
    8
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Germany
    cPanel Access Level:
    Root Administrator
    Thank you I'm giving that a try.

    Also before the EA4 migration starts I receive the following warnings:
    • Warning: “Cpanel::Easy::PHP5::MailHeaders” ignored since it does not have an RPM.
    • Warning: “Cpanel::Easy::Apache::Fileprotect” ignored since it does not have an RPM.
    • Warning: “Cpanel::Easy::Apache::Access” ignored since it does not have an RPM.
    • Warning: Ignoring “ea-apache24-mod_suphp” since it conflicts with “ea-apache24-mod_ruid2”.
    • Warning: Current profile has the following MPMs: ea-apache24-mod_mpm_prefork
    From what I read these can be ignored am I right?

    Thanks,
    Tino
     
  10. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,221
    Likes Received:
    478
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @tinodesigns
    There were changes in some of the names of the RPMs as well as how we implement them which is why you're getting those warnings, each of these is ok to be ignored.


    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. tinodesigns

    tinodesigns Member

    Joined:
    Jan 24, 2019
    Messages:
    8
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Germany
    cPanel Access Level:
    Root Administrator
    Perfect thanks again. I'll let you know how this works out. We plan to run the migration again the coming days.
     
    cPanelLauren likes this.
  12. tinodesigns

    tinodesigns Member

    Joined:
    Jan 24, 2019
    Messages:
    8
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Germany
    cPanel Access Level:
    Root Administrator
    Hi there,

    so I wasn't able to work with the subscribtion manager myself since I did not have access to it, even though I have root access to the server. The server is a dedicated server by Softlayer and they installed the whole OS together with cpanel. They usually do not give away access to the RedHat subscribtion manager.

    However they were able to take care of this for me after I sent them a support ticket. So just in case you have a similair issue try to contact your datacenter or server provider, they might be able to help, espescially if you run a system that was preloaded with an OS.

    For the migration itself, I had to run it a couple of times. The first time it migrated fine once all repos were there, but PHP was not interpreted. It looked like PHP was missing. So I reverted back to EA3 and migrated again. I also did a full server reboot. After the second successful migration everything seems to work fine.

    I only have one difference on my sites, which are all Wordpress sites.
    In every WP file that I customized and run a mysql_query to get some dbase data, I now have to first connect to the dbase using mysql_connect. Before the migration I could do so without. I think I should be able to do that without another mysql_connect since WP itself is already connected to mysql and the same dbase.

    Like I said this was working fine before. I did the workaround for now by adding the mysql_connect before the mysql_query in every needed file. But I don't want to open unneccesary mysql connections.

    This is still PHP 5.6. I'm aware that mysql_ functions are deprecated. We will take care of that in the next step when upgrading to PHP 7.

    Any help is appreciated. I think it might just be some setting that I haven't figured out yet. May be mysql related?

    Thanks,
    Tino
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice