Guest User

Untitled

a guest
Jul 1st, 2021
81
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 2021-07-01T08:15:32Z DEBUG [9/11]: stopping directory server
  2. 2021-07-01T08:15:32Z DEBUG Destroyed connection context.ldap2_140417809532800
  3. 2021-07-01T08:15:32Z DEBUG Starting external process
  4. 2021-07-01T08:15:32Z DEBUG args=['/bin/systemctl', 'stop', 'dirsrv@ORGANIZATION-LAN.service']
  5. 2021-07-01T08:15:34Z DEBUG Process finished, return code=0
  6. 2021-07-01T08:15:34Z DEBUG stdout=
  7. 2021-07-01T08:15:34Z DEBUG stderr=
  8. 2021-07-01T08:15:34Z DEBUG Stop of dirsrv@ORGANIZATION-LAN.service complete
  9. 2021-07-01T08:15:34Z DEBUG step duration: dirsrv __stop_instance 2.50 sec
  10. 2021-07-01T08:15:34Z DEBUG [10/11]: restoring configuration
  11. 2021-07-01T08:15:34Z DEBUG Loading StateFile from '/var/lib/ipa/sysrestore/sysrestore.state'
  12. 2021-07-01T08:15:34Z DEBUG Loading StateFile from '/var/lib/ipa/sysrestore/sysrestore.state'
  13. 2021-07-01T08:15:34Z DEBUG Loading StateFile from '/var/lib/ipa/sysrestore/sysrestore.state'
  14. 2021-07-01T08:15:34Z DEBUG Loading StateFile from '/var/lib/ipa/sysrestore/sysrestore.state'
  15. 2021-07-01T08:15:34Z DEBUG Loading StateFile from '/var/lib/ipa/sysrestore/sysrestore.state'
  16. 2021-07-01T08:15:34Z DEBUG Loading StateFile from '/var/lib/ipa/sysrestore/sysrestore.state'
  17. 2021-07-01T08:15:34Z DEBUG Saving StateFile to '/var/lib/ipa/sysrestore/sysrestore.state'
  18. 2021-07-01T08:15:34Z DEBUG Loading StateFile from '/var/lib/ipa/sysrestore/sysrestore.state'
  19. 2021-07-01T08:15:34Z DEBUG Loading StateFile from '/var/lib/ipa/sysrestore/sysrestore.state'
  20. 2021-07-01T08:15:34Z DEBUG Saving StateFile to '/var/lib/ipa/sysrestore/sysrestore.state'
  21. 2021-07-01T08:15:34Z DEBUG Loading StateFile from '/var/lib/ipa/sysrestore/sysrestore.state'
  22. 2021-07-01T08:15:34Z DEBUG Loading StateFile from '/var/lib/ipa/sysrestore/sysrestore.state'
  23. 2021-07-01T08:15:34Z DEBUG Saving StateFile to '/var/lib/ipa/sysrestore/sysrestore.state'
  24. 2021-07-01T08:15:34Z DEBUG Loading StateFile from '/var/lib/ipa/sysrestore/sysrestore.state'
  25. 2021-07-01T08:15:34Z DEBUG Loading StateFile from '/var/lib/ipa/sysrestore/sysrestore.state'
  26. 2021-07-01T08:15:34Z DEBUG Loading StateFile from '/var/lib/ipa/sysrestore/sysrestore.state'
  27. 2021-07-01T08:15:34Z DEBUG Saving StateFile to '/var/lib/ipa/sysrestore/sysrestore.state'
  28. 2021-07-01T08:15:34Z DEBUG step duration: dirsrv __restore_config 0.05 sec
  29. 2021-07-01T08:15:34Z DEBUG [11/11]: starting directory server
  30. 2021-07-01T08:15:34Z DEBUG Starting external process
  31. 2021-07-01T08:15:34Z DEBUG args=['/bin/systemctl', 'start', 'dirsrv@ORGANIZATION-LAN.service']
  32. 2021-07-01T08:15:38Z DEBUG Process finished, return code=0
  33. 2021-07-01T08:15:38Z DEBUG stdout=
  34. 2021-07-01T08:15:38Z DEBUG stderr=
  35. 2021-07-01T08:15:38Z DEBUG Start of dirsrv@ORGANIZATION-LAN.service complete
  36. 2021-07-01T08:15:38Z DEBUG Created connection context.ldap2_140417809532800
  37. 2021-07-01T08:15:38Z DEBUG step duration: dirsrv __start 3.52 sec
  38. 2021-07-01T08:15:38Z DEBUG Done.
  39. 2021-07-01T08:15:38Z DEBUG service duration: dirsrv 16.68 sec
  40. 2021-07-01T08:15:38Z INFO Update complete
  41. 2021-07-01T08:15:38Z INFO Upgrading the configuration of the IPA services
  42. 2021-07-01T08:15:38Z DEBUG IPA version 4.9.2-4.module_el8.4.0+846+96522ed7
  43. 2021-07-01T08:15:38Z DEBUG Loading Index file from '/var/lib/ipa/sysrestore/sysrestore.index'
  44. 2021-07-01T08:15:38Z DEBUG Loading StateFile from '/var/lib/ipa/sysrestore/sysrestore.state'
  45. 2021-07-01T08:15:38Z DEBUG Loading StateFile from '/var/lib/ipa/sysrestore/sysrestore.state'
  46. 2021-07-01T08:15:38Z DEBUG Loading Index file from '/var/lib/ipa/sysrestore/sysrestore.index'
  47. 2021-07-01T08:15:38Z DEBUG Starting external process
  48. 2021-07-01T08:15:38Z DEBUG args=['/bin/systemctl', 'is-active', 'dirsrv@ORGANIZATION-LAN.service']
  49. 2021-07-01T08:15:38Z DEBUG Process finished, return code=0
  50. 2021-07-01T08:15:38Z DEBUG stdout=active
  51.  
  52. 2021-07-01T08:15:38Z DEBUG stderr=
  53. 2021-07-01T08:15:38Z DEBUG Loading StateFile from '/var/lib/ipa/sysupgrade/sysupgrade.state'
  54. 2021-07-01T08:15:38Z DEBUG Starting external process
  55. 2021-07-01T08:15:38Z DEBUG args=['/usr/sbin/selinuxenabled']
  56. 2021-07-01T08:15:38Z DEBUG Process finished, return code=0
  57. 2021-07-01T08:15:38Z DEBUG stdout=
  58. 2021-07-01T08:15:38Z DEBUG stderr=
  59. 2021-07-01T08:15:38Z DEBUG Starting external process
  60. 2021-07-01T08:15:38Z DEBUG args=['/sbin/restorecon', '/etc/pkcs11/modules/softhsm2.module']
  61. 2021-07-01T08:15:38Z DEBUG Process finished, return code=0
  62. 2021-07-01T08:15:38Z DEBUG stdout=
  63. 2021-07-01T08:15:38Z DEBUG stderr=
  64. 2021-07-01T08:15:38Z DEBUG Created PKCS#11 module config '/etc/pkcs11/modules/softhsm2.module'.
  65. 2021-07-01T08:15:38Z INFO [Verifying that root certificate is published]
  66. 2021-07-01T08:15:38Z DEBUG Certificate file exists
  67. 2021-07-01T08:15:38Z DEBUG Loading StateFile from '/var/lib/ipa/sysrestore/sysrestore.state'
  68. 2021-07-01T08:15:38Z DEBUG Loading Index file from '/var/lib/ipa/sysrestore/sysrestore.index'
  69. 2021-07-01T08:15:38Z DEBUG Trying to find certificate subject base in sysupgrade
  70. 2021-07-01T08:15:38Z DEBUG Loading StateFile from '/var/lib/ipa/sysupgrade/sysupgrade.state'
  71. 2021-07-01T08:15:38Z DEBUG Found certificate subject base in sysupgrade: O=ORGANIZATION.LAN
  72. 2021-07-01T08:15:38Z DEBUG Loading StateFile from '/var/lib/ipa/sysupgrade/sysupgrade.state'
  73. 2021-07-01T08:15:38Z DEBUG Saving StateFile to '/var/lib/ipa/sysupgrade/sysupgrade.state'
  74. 2021-07-01T08:15:38Z DEBUG Loading StateFile from '/var/lib/ipa/sysrestore/sysrestore.state'
  75. 2021-07-01T08:15:38Z DEBUG Loading Index file from '/var/lib/ipa/sysrestore/sysrestore.index'
  76. 2021-07-01T08:15:38Z DEBUG request POST http://freeipa01.organization.lan:8080/ca/admin/ca/getStatus
  77. 2021-07-01T08:15:38Z DEBUG request body ''
  78. 2021-07-01T08:15:38Z DEBUG response status 404
  79. 2021-07-01T08:15:38Z DEBUG response headers Content-Type: text/html;charset=utf-8
  80. Content-Language: en
  81. Content-Length: 713
  82. Date: Thu, 01 Jul 2021 08:15:38 GMT
  83.  
  84.  
  85. 2021-07-01T08:15:38Z DEBUG response body (decoded): b'<!doctype html><html lang="en"><head><title>HTTP Status 404 \xe2\x80\x93 Not Found</title><style type="text/css">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 404 \xe2\x80\x93 Not Found</h1><hr class="line" /><p><b>Type</b> Status Report</p><p><b>Message</b> Not found</p><p><b>Description</b> The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.</p><hr class="line" /><h3>Apache Tomcat/9.0.30</h3></body></html>'
  86. 2021-07-01T08:15:38Z DEBUG Failed to check CA status: Retrieving CA status failed with status 404
  87. 2021-07-01T08:15:38Z DEBUG Loading StateFile from '/var/lib/ipa/sysrestore/sysrestore.state'
  88. 2021-07-01T08:15:38Z DEBUG Loading Index file from '/var/lib/ipa/sysrestore/sysrestore.index'
  89. 2021-07-01T08:15:38Z DEBUG Ensuring that service pki-tomcatd@pki-tomcat is not running while the next set of commands is being executed.
  90. 2021-07-01T08:15:38Z DEBUG Starting external process
  91. 2021-07-01T08:15:38Z DEBUG args=['/bin/systemctl', 'is-active', 'pki-tomcatd@pki-tomcat.service']
  92. 2021-07-01T08:15:38Z DEBUG Process finished, return code=3
  93. 2021-07-01T08:15:38Z DEBUG stdout=failed
  94.  
  95. 2021-07-01T08:15:38Z DEBUG stderr=
  96. 2021-07-01T08:15:38Z DEBUG Service pki-tomcatd@pki-tomcat is not running, continue.
  97. 2021-07-01T08:15:38Z DEBUG Starting external process
  98. 2021-07-01T08:15:38Z DEBUG args=['/bin/systemctl', 'is-active', 'pki-tomcatd@pki-tomcat.service']
  99. 2021-07-01T08:15:38Z DEBUG Process finished, return code=3
  100. 2021-07-01T08:15:38Z DEBUG stdout=failed
  101.  
  102. 2021-07-01T08:15:38Z DEBUG stderr=
  103. 2021-07-01T08:15:38Z INFO [Migrate CRL publish directory]
  104. 2021-07-01T08:15:38Z DEBUG Loading StateFile from '/var/lib/ipa/sysupgrade/sysupgrade.state'
  105. 2021-07-01T08:15:38Z INFO CRL tree already moved
  106. 2021-07-01T08:15:38Z DEBUG Starting external process
  107. 2021-07-01T08:15:38Z DEBUG args=['/usr/sbin/tomcat', 'version']
  108. 2021-07-01T08:15:38Z DEBUG Process finished, return code=0
  109. 2021-07-01T08:15:38Z DEBUG stdout=Server version: Apache Tomcat/9.0.30
  110. Server built: Dec 19 2020 22:29:06 UTC
  111. Server number: 9.0.30.0
  112. OS Name: Linux
  113. OS Version: 4.18.0-305.3.1.el8.x86_64
  114. Architecture: amd64
  115. JVM Version: 1.8.0_292-b10
  116. JVM Vendor: Red Hat, Inc.
  117.  
  118. 2021-07-01T08:15:38Z DEBUG stderr=
  119. 2021-07-01T08:15:38Z DEBUG Starting external process
  120. 2021-07-01T08:15:38Z DEBUG args=['pki-server', 'subsystem-show', 'kra']
  121. 2021-07-01T08:15:38Z DEBUG Process finished, return code=1
  122. 2021-07-01T08:15:38Z DEBUG stdout=
  123. 2021-07-01T08:15:38Z DEBUG stderr=ERROR: ERROR: No kra subsystem in instance pki-tomcat.
  124.  
  125. 2021-07-01T08:15:38Z DEBUG Starting external process
  126. 2021-07-01T08:15:38Z DEBUG args=['/bin/systemctl', 'start', 'pki-tomcatd@pki-tomcat.service']
  127. 2021-07-01T08:17:10Z DEBUG Process finished, return code=1
  128. 2021-07-01T08:17:10Z DEBUG stdout=
  129. 2021-07-01T08:17:10Z DEBUG stderr=Job for pki-tomcatd@pki-tomcat.service failed because a timeout was exceeded.
  130. See "systemctl status pki-tomcatd@pki-tomcat.service" and "journalctl -xe" for details.
  131.  
  132. 2021-07-01T08:17:10Z ERROR IPA server upgrade failed: Inspect /var/log/ipaupgrade.log and run command ipa-server-upgrade manually.
  133. 2021-07-01T08:17:10Z DEBUG File "/usr/lib/python3.6/site-packages/ipapython/admintool.py", line 180, in execute
  134. return_value = self.run()
  135. File "/usr/lib/python3.6/site-packages/ipaserver/install/ipa_server_upgrade.py", line 54, in run
  136. server.upgrade()
  137. File "/usr/lib/python3.6/site-packages/ipaserver/install/server/upgrade.py", line 1961, in upgrade
  138. upgrade_configuration()
  139. File "/usr/lib/python3.6/site-packages/ipaserver/install/server/upgrade.py", line 1697, in upgrade_configuration
  140. ca.start('pki-tomcat')
  141. File "/usr/lib/python3.6/site-packages/ipaserver/install/service.py", line 524, in start
  142. self.service.start(instance_name, capture_output=capture_output, wait=wait)
  143. File "/usr/lib/python3.6/site-packages/ipaplatform/base/services.py", line 311, in start
  144. skip_output=not capture_output)
  145. File "/usr/lib/python3.6/site-packages/ipapython/ipautil.py", line 599, in run
  146. p.returncode, arg_string, output_log, error_log
  147.  
  148. 2021-07-01T08:17:10Z DEBUG The ipa-server-upgrade command failed, exception: CalledProcessError: CalledProcessError(Command ['/bin/systemctl', 'start', 'pki-tomcatd@pki-tomcat.service'] returned non-zero exit status 1: 'Job for pki-tomcatd@pki-tomcat.service failed because a timeout was exceeded.\nSee "systemctl status pki-tomcatd@pki-tomcat.service" and "journalctl -xe" for details.\n')
  149. 2021-07-01T08:17:10Z ERROR Unexpected error - see /var/log/ipaupgrade.log for details:
  150. CalledProcessError: CalledProcessError(Command ['/bin/systemctl', 'start', 'pki-tomcatd@pki-tomcat.service'] returned non-zero exit status 1: 'Job for pki-tomcatd@pki-tomcat.service failed because a timeout was exceeded.\nSee "systemctl status pki-tomcatd@pki-tomcat.service" and "journalctl -xe" for details.\n')
  151. 2021-07-01T08:17:10Z ERROR The ipa-server-upgrade command failed. See /var/log/ipaupgrade.log for more information
  152.  
RAW Paste Data