Apache 시작 실패

Apache 시작 실패

저는 vm ware를 사용하고 있고 xampp을 설치했습니다. 아파치를 시작하는 동안 다음이 표시됩니다.

2:42:36 PM  [Apache]    Error: Apache shutdown unexpectedly.
2:42:36 PM  [Apache]    This may be due to a blocked port, missing dependencies, 
2:42:36 PM  [Apache]    improper privileges, a crash, or a shutdown by another method.
2:42:36 PM  [Apache]    Press the Logs button to view error logs and check
2:42:36 PM  [Apache]    the Windows Event Viewer for more clues
2:42:36 PM  [Apache]    If you need more help, copy and post this
2:42:36 PM  [Apache]    entire log window on the forums

그 후 시스템 오류가 발생합니다.

The program can't start because api-ms-win-crt-runtime-l1-1-0.dll is missing from your computer

그래서 Visual Studio 2015(64비트)용 Visual C++ 재배포 가능 패키지를 설치하고 모든 이전 버전을 제거하기 시작했지만 다음과 같은 설치 실패가 표시됩니다.

Error 0x80240017: Failed to execute MSU package.

또한 설치 시 다음 로그 오류가 발생했습니다.

[0268:05F8][2016-05-18T14:45:44]i001: Burn v3.7.3813.0, Windows v6.1 (Build 7600: Service Pack 0), path: C:\Users\130449492\Downloads\vc_redist.x64 (1).exe, cmdline: ''
[0268:05F8][2016-05-18T14:45:44]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\130449~1\AppData\Local\Temp\dd_vcredist_amd64_20160518144544.log'
[0268:05F8][2016-05-18T14:45:44]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\130449492\Downloads\vc_redist.x64 (1).exe'
[0268:05F8][2016-05-18T14:45:44]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\130449492\Downloads\'
[0268:05F8][2016-05-18T14:45:44]i100: Detect begin, 10 packages
[0268:05F8][2016-05-18T14:45:44]i000: File search: windows_uCRT_DetectKey, did not find path: C:\Windows\system32\api-ms-win-crt-runtime-l1-1-0.dll
[0268:05F8][2016-05-18T14:45:44]i000: File search: windows_uCRT_DetectKeyExists, did not find path: C:\Windows\system32\api-ms-win-crt-runtime-l1-1-0.dll
[0268:05F8][2016-05-18T14:45:44]i000: Setting numeric variable 'windows_uCRT_DetectKeyExists' to value 0
[0268:05F8][2016-05-18T14:45:44]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to false.
[0268:05F8][2016-05-18T14:45:44]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to false.
[0268:05F8][2016-05-18T14:45:44]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to false.
[0268:05F8][2016-05-18T14:45:44]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to false.
[0268:05F8][2016-05-18T14:45:44]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to false.
[0268:05F8][2016-05-18T14:45:44]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to false.
[0268:05F8][2016-05-18T14:45:44]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to false.
[0268:05F8][2016-05-18T14:45:44]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to false.
[0268:05F8][2016-05-18T14:45:44]i101: Detected package: vcRuntimeMinimum_x64, state: Present, cached: Complete
[0268:05F8][2016-05-18T14:45:44]i101: Detected package: vcRuntimeAdditional_x64, state: Present, cached: Complete
[0268:05F8][2016-05-18T14:45:44]i101: Detected package: Windows81_x86, state: Absent, cached: None
[0268:05F8][2016-05-18T14:45:44]i101: Detected package: Windows81_x64, state: Absent, cached: None
[0268:05F8][2016-05-18T14:45:44]i101: Detected package: Windows8_x86, state: Absent, cached: None
[0268:05F8][2016-05-18T14:45:44]i101: Detected package: Windows8_x64, state: Absent, cached: None
[0268:05F8][2016-05-18T14:45:44]i101: Detected package: Windows7_MSU_x86, state: Absent, cached: None
[0268:05F8][2016-05-18T14:45:44]i101: Detected package: Windows7_MSU_x64, state: Absent, cached: Complete
[0268:05F8][2016-05-18T14:45:44]i101: Detected package: WindowsVista_MSU_x86, state: Absent, cached: None
[0268:05F8][2016-05-18T14:45:44]i101: Detected package: WindowsVista_MSU_x64, state: Absent, cached: None
[0268:05F8][2016-05-18T14:45:44]i052: Condition 'VersionNT64 >= v6.0 OR (VersionNT64 = v5.2 AND ServicePackLevel >= 1)' evaluates to true.
[0268:05F8][2016-05-18T14:45:44]i199: Detect complete, result: 0x0
[0268:05F8][2016-05-18T14:45:47]i200: Plan begin, 10 packages, action: Repair
[0268:05F8][2016-05-18T14:45:47]i052: Condition '(VersionNT64)' evaluates to true.
[0268:05F8][2016-05-18T14:45:47]i000: Setting string variable 'WixBundleLog_vcRuntimeMinimum_x64' to value 'C:\Users\130449~1\AppData\Local\Temp\dd_vcredist_amd64_20160518144544_000_vcRuntimeMinimum_x64.log'
[0268:05F8][2016-05-18T14:45:47]i052: Condition '(VersionNT64)' evaluates to true.
[0268:05F8][2016-05-18T14:45:47]i000: Setting string variable 'WixBundleLog_vcRuntimeAdditional_x64' to value 'C:\Users\130449~1\AppData\Local\Temp\dd_vcredist_amd64_20160518144544_001_vcRuntimeAdditional_x64.log'
[0268:05F8][2016-05-18T14:45:47]i052: Condition 'VersionNT = v6.3 AND NOT VersionNT64' evaluates to false.
[0268:05F8][2016-05-18T14:45:47]w321: Skipping dependency registration on package with no dependency providers: Windows81_x86
[0268:05F8][2016-05-18T14:45:47]i052: Condition 'VersionNT = v6.3 AND VersionNT64' evaluates to false.
[0268:05F8][2016-05-18T14:45:47]w321: Skipping dependency registration on package with no dependency providers: Windows81_x64
[0268:05F8][2016-05-18T14:45:47]i052: Condition 'VersionNT = v6.2 AND NOT VersionNT64' evaluates to false.
[0268:05F8][2016-05-18T14:45:47]w321: Skipping dependency registration on package with no dependency providers: Windows8_x86
[0268:05F8][2016-05-18T14:45:47]i052: Condition 'VersionNT = v6.2 AND VersionNT64' evaluates to false.
[0268:05F8][2016-05-18T14:45:47]w321: Skipping dependency registration on package with no dependency providers: Windows8_x64
[0268:05F8][2016-05-18T14:45:47]i052: Condition 'VersionNT = v6.1 AND NOT VersionNT64' evaluates to false.
[0268:05F8][2016-05-18T14:45:47]w321: Skipping dependency registration on package with no dependency providers: Windows7_MSU_x86
[0268:05F8][2016-05-18T14:45:47]i052: Condition 'VersionNT = v6.1 AND VersionNT64' evaluates to true.
[0268:05F8][2016-05-18T14:45:47]w321: Skipping dependency registration on package with no dependency providers: Windows7_MSU_x64
[0268:05F8][2016-05-18T14:45:47]i052: Condition 'VersionNT = v6.0 AND NOT VersionNT64' evaluates to false.
[0268:05F8][2016-05-18T14:45:47]w321: Skipping dependency registration on package with no dependency providers: WindowsVista_MSU_x86
[0268:05F8][2016-05-18T14:45:47]i052: Condition 'VersionNT = v6.0 AND VersionNT64' evaluates to false.
[0268:05F8][2016-05-18T14:45:47]w321: Skipping dependency registration on package with no dependency providers: WindowsVista_MSU_x64
[0268:05F8][2016-05-18T14:45:47]i201: Planned package: vcRuntimeMinimum_x64, state: Present, default requested: Repair, ba requested: Repair, execute: Repair, rollback: None, cache: No, uncache: No, dependency: Register
[0268:05F8][2016-05-18T14:45:47]i201: Planned package: vcRuntimeAdditional_x64, state: Present, default requested: Repair, ba requested: Repair, execute: Repair, rollback: None, cache: No, uncache: No, dependency: Register
[0268:05F8][2016-05-18T14:45:47]i201: Planned package: Windows81_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0268:05F8][2016-05-18T14:45:47]i201: Planned package: Windows81_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0268:05F8][2016-05-18T14:45:47]i201: Planned package: Windows8_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0268:05F8][2016-05-18T14:45:47]i201: Planned package: Windows8_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0268:05F8][2016-05-18T14:45:47]i201: Planned package: Windows7_MSU_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0268:05F8][2016-05-18T14:45:47]i201: Planned package: Windows7_MSU_x64, state: Absent, default requested: Repair, ba requested: Repair, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: None
[0268:05F8][2016-05-18T14:45:47]i201: Planned package: WindowsVista_MSU_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0268:05F8][2016-05-18T14:45:47]i201: Planned package: WindowsVista_MSU_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0268:05F8][2016-05-18T14:45:47]i299: Plan complete, result: 0x0
[0268:05F8][2016-05-18T14:45:47]i300: Apply begin
[0F28:074C][2016-05-18T14:45:48]i360: Creating a system restore point.
[0F28:074C][2016-05-18T14:45:53]i361: Created a system restore point.
[0F28:074C][2016-05-18T14:45:53]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{e46eca4f-393b-40df-9f49-076faf788d83}, resume: Active, restart initiated: No, disable resume: No
[0F28:0FE4][2016-05-18T14:45:53]i304: Verified existing payload: vcRuntimeMinimum_x64 at path: C:\ProgramData\Package Cache\{0D3E9E15-DE7A-300B-96F1-B4AF12B96488}v14.0.23026\packages\vcRuntimeMinimum_amd64\vc_runtimeMinimum_x64.msi.
[0F28:0FE4][2016-05-18T14:45:53]i304: Verified existing payload: cab5046A8AB272BF37297BB7928664C9503 at path: C:\ProgramData\Package Cache\{0D3E9E15-DE7A-300B-96F1-B4AF12B96488}v14.0.23026\packages\vcRuntimeMinimum_amd64\cab1.cab.
[0F28:0FE4][2016-05-18T14:45:53]i304: Verified existing payload: vcRuntimeAdditional_x64 at path: C:\ProgramData\Package Cache\{BC958BD2-5DAC-3862-BB1A-C1BE0790438D}v14.0.23026\packages\vcRuntimeAdditional_amd64\vc_runtimeAdditional_x64.msi.
[0F28:0FE4][2016-05-18T14:45:53]i304: Verified existing payload: cab2C04DDC374BD96EB5C8EB8208F2C7C92 at path: C:\ProgramData\Package Cache\{BC958BD2-5DAC-3862-BB1A-C1BE0790438D}v14.0.23026\packages\vcRuntimeAdditional_amd64\cab1.cab.
[0F28:0FE4][2016-05-18T14:45:54]i304: Verified existing payload: Windows7_MSU_x64 at path: C:\ProgramData\Package Cache\42D5BEC7DDFBD49E76467529CBC2868987BF8460\packages\Patch\x64\Windows6.1-KB2999226-x64.msu.
[0F28:074C][2016-05-18T14:45:54]i301: Applying execute package: vcRuntimeMinimum_x64, action: Repair, path: C:\ProgramData\Package Cache\{0D3E9E15-DE7A-300B-96F1-B4AF12B96488}v14.0.23026\packages\vcRuntimeMinimum_amd64\vc_runtimeMinimum_x64.msi, arguments: ' MSIFASTINSTALL="7" NOVSUI="1"'
[0268:05F8][2016-05-18T14:45:57]i319: Applied execute package: vcRuntimeMinimum_x64, result: 0x0, restart: None
[0F28:074C][2016-05-18T14:45:57]i325: Registering dependency: {e46eca4f-393b-40df-9f49-076faf788d83} on package provider: Microsoft.VS.VC_RuntimeMinimumVSU_amd64,v14, package: vcRuntimeMinimum_x64
[0F28:074C][2016-05-18T14:45:57]i301: Applying execute package: vcRuntimeAdditional_x64, action: Repair, path: C:\ProgramData\Package Cache\{BC958BD2-5DAC-3862-BB1A-C1BE0790438D}v14.0.23026\packages\vcRuntimeAdditional_amd64\vc_runtimeAdditional_x64.msi, arguments: ' MSIFASTINSTALL="7" NOVSUI="1"'
[0268:05F8][2016-05-18T14:45:58]i319: Applied execute package: vcRuntimeAdditional_x64, result: 0x0, restart: None
[0F28:074C][2016-05-18T14:45:58]i325: Registering dependency: {e46eca4f-393b-40df-9f49-076faf788d83} on package provider: Microsoft.VS.VC_RuntimeAdditionalVSU_amd64,v14, package: vcRuntimeAdditional_x64
[0F28:074C][2016-05-18T14:45:58]i301: Applying execute package: Windows7_MSU_x64, action: Install, path: C:\ProgramData\Package Cache\42D5BEC7DDFBD49E76467529CBC2868987BF8460\packages\Patch\x64\Windows6.1-KB2999226-x64.msu, arguments: '"C:\Windows\SysNative\wusa.exe" "C:\ProgramData\Package Cache\42D5BEC7DDFBD49E76467529CBC2868987BF8460\packages\Patch\x64\Windows6.1-KB2999226-x64.msu" /quiet /norestart'
[0F28:074C][2016-05-18T14:45:59]e000: Error 0x80240017: Failed to execute MSU package.
[0268:05F8][2016-05-18T14:45:59]e000: Error 0x80240017: Failed to configure per-machine MSU package.
[0268:05F8][2016-05-18T14:45:59]i319: Applied execute package: Windows7_MSU_x64, result: 0x80240017, restart: None
[0268:05F8][2016-05-18T14:45:59]e000: Error 0x80240017: Failed to execute MSU package.
[0F28:074C][2016-05-18T14:45:59]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{e46eca4f-393b-40df-9f49-076faf788d83}, resume: ARP, restart: None, disable resume: No
[0F28:074C][2016-05-18T14:45:59]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{e46eca4f-393b-40df-9f49-076faf788d83}, resume: ARP, restart initiated: No, disable resume: No
[0268:05F8][2016-05-18T14:46:00]i399: Apply complete, result: 0x80240017, restart: None, ba requested restart:  No

올바른 버전을 설치하고 Apache를 시작하려면 여기에서 어디로 가야 합니까?

답변1

오류 코드는 을 0x80240017의미합니다 WU_E_NOT_APPLICABLE - Operation was not performed because there are no applicable updates. 이는 다음과 같은 이유로 MSU를 설치할 수 없음을 의미합니다.

  • 업데이트 설치 요구 사항이 누락되었습니다.
  • 업데이트가 이미 설치되어 있습니다
  • 업데이트가 대체되었습니다(이미 최신 버전으로 대체됨).

업데이트를 확인했는지 확인하세요.KB2999226(유니버설 C 런타임)이미 설치되어 있으니 제거하세요.

답변2

0) 종료XAMPP작업 표시줄에서 완전히
1) 압축 풀기/압축 풀기Visual C++ Redist 설치 프로그램 V38a.exe사용하여7zip[Google에서 확인하세요.]
2) 이 경로에서 폴더를 찾으세요. 방금 추출한 폴더입니다.

\Visual C++ Redist 설치 프로그램 V38a\vcredist_x86_2015\System
3) 해당 폴더에 있는 파일을 모두 선택(CTRL+A)하고 복사(CTRL+C)
4) Xampp 제어판과 같이 XAMPP exes가 있는 Xampp 루트 폴더로 이동하여 모든 파일을 붙여넣습니다(CTRL+V)
5) 시작 Xampp 제어판
6) Apache를 시작합니다.
7) 긴장을 푸십시오.

추신. 포트 80이 실패하면 Apache 구성에서 8080으로 교체한 다음 httpd.conf 및 그 형제를 교체하십시오. Tomcat의 구성은 포트 8080을 사용하므로 이 번호도 다른 번호로 변경해야 합니다.

논리에 따르면 불쌍한 아파치가 'api-ms-win-crt-runtime-l1-1-0.dll'이라는 제목의 파일을 찾으려고 하지만 어디서든 찾을 수 없으므로 없으면 시작되지 않으며 프로그램은 올바르게 작동하기 위해 필요한 메시지를 출력합니다.

건배
그루지야어

관련 정보