无法在 Windows 上安装 IBM-Logging 插件
Can not install IBM-Logging plugin on Windows
我可以在 RHEL 上安装 IBM-Logging 插件,但无法在 Windows 上安装。错误消息是 "logging-cli-win64_v1.0.2.exe: %! (MISSING)is not a valid Win32 application."。这个安装程序(Windows 的插件)坏了吗?
C:\bx_work>bluemix cf list-plugin-repos
'cf list-plugin-repos' を起動しています...
OK
Repo Name URL
CF-Community https://plugins.cloudfoundry.org
bluemix-cf-repo https://plugins.ng.bluemix.net
C:\bx_work>bluemix cf install-plugin IBM-Logging -r bluemix-cf-repo
'cf install-plugin IBM-Logging -r bluemix-cf-repo' を起動しています...
**Attention: Plugins are binaries written by potentially untrusted authors. Install and use plugins at your own risk.**
Do you want to install the plugin IBM-Logging?> yes
Looking up 'IBM-Logging' from repository 'bluemix-cf-repo'
6094848 bytes downloaded...
Installing plugin logging-cli-win64_v1.0.2.exe...
FAILED
fork/exec C:\Users\IBM_AD~1\AppData\Local\Temp\logging-cli-win64_v1.0.2.exe: %! (MISSING)is not a valid Win32 application.
C:\bx_work>bluemix -version
bluemix version 0.5.6+5b886b4-2017-08-14T08:16:22+00:00
C:\bx_work>
我可以解决这个问题。今天我再次尝试在 Windows 上安装。安装成功。
这个问题可能发生在某个版本上。
Today's environment is following. (succeed to install)
- bluemix version 0.5.6+5b886b4-2017-08-14T08:16:22+00:00
- logging-cli-win64_v1.0.13.exe
the environment on which I failed to install
- bluemix version 0.5.6+5b886b4-2017-08-14T08:16:22+00:00
- logging-cli-win64_v1.0.2.exe
成功日志如下
C:\work>bluemix cf list-plugin-repos
'cf list-plugin-repos' を起動しています...
OK
Repo Name URL
CF-Community https://plugins.cloudfoundry.org
bluemix-cf-repo https://plugins.ng.bluemix.net
C:\work>
C:\work>bluemix cf install-plugin IBM-Logging -r bluemix-cf-repo
'cf install-plugin IBM-Logging -r bluemix-cf-repo' を起動しています...
**Attention: Plugins are binaries written by potentially untrusted authors. Install and use plugins at your own risk.**
Do you want to install the plugin IBM-Logging?> yes
Looking up 'IBM-Logging' from repository 'bluemix-cf-repo'
10556928 bytes downloaded...
Installing plugin logging-cli-win64_v1.0.13.exe...
OK
Plugin IBM-Logging v1.0.0 successfully installed.
C:\work>bluemix --version
bluemix version 0.5.6+5b886b4-2017-08-14T08:16:22+00:00
C:\work>
我可以在 RHEL 上安装 IBM-Logging 插件,但无法在 Windows 上安装。错误消息是 "logging-cli-win64_v1.0.2.exe: %! (MISSING)is not a valid Win32 application."。这个安装程序(Windows 的插件)坏了吗?
C:\bx_work>bluemix cf list-plugin-repos
'cf list-plugin-repos' を起動しています...
OK
Repo Name URL
CF-Community https://plugins.cloudfoundry.org
bluemix-cf-repo https://plugins.ng.bluemix.net
C:\bx_work>bluemix cf install-plugin IBM-Logging -r bluemix-cf-repo
'cf install-plugin IBM-Logging -r bluemix-cf-repo' を起動しています...
**Attention: Plugins are binaries written by potentially untrusted authors. Install and use plugins at your own risk.**
Do you want to install the plugin IBM-Logging?> yes
Looking up 'IBM-Logging' from repository 'bluemix-cf-repo'
6094848 bytes downloaded...
Installing plugin logging-cli-win64_v1.0.2.exe...
FAILED
fork/exec C:\Users\IBM_AD~1\AppData\Local\Temp\logging-cli-win64_v1.0.2.exe: %! (MISSING)is not a valid Win32 application.
C:\bx_work>bluemix -version
bluemix version 0.5.6+5b886b4-2017-08-14T08:16:22+00:00
C:\bx_work>
我可以解决这个问题。今天我再次尝试在 Windows 上安装。安装成功。 这个问题可能发生在某个版本上。
Today's environment is following. (succeed to install)
- bluemix version 0.5.6+5b886b4-2017-08-14T08:16:22+00:00
- logging-cli-win64_v1.0.13.exe
the environment on which I failed to install
- bluemix version 0.5.6+5b886b4-2017-08-14T08:16:22+00:00
- logging-cli-win64_v1.0.2.exe
成功日志如下
C:\work>bluemix cf list-plugin-repos
'cf list-plugin-repos' を起動しています...
OK
Repo Name URL
CF-Community https://plugins.cloudfoundry.org
bluemix-cf-repo https://plugins.ng.bluemix.net
C:\work>
C:\work>bluemix cf install-plugin IBM-Logging -r bluemix-cf-repo
'cf install-plugin IBM-Logging -r bluemix-cf-repo' を起動しています...
**Attention: Plugins are binaries written by potentially untrusted authors. Install and use plugins at your own risk.**
Do you want to install the plugin IBM-Logging?> yes
Looking up 'IBM-Logging' from repository 'bluemix-cf-repo'
10556928 bytes downloaded...
Installing plugin logging-cli-win64_v1.0.13.exe...
OK
Plugin IBM-Logging v1.0.0 successfully installed.
C:\work>bluemix --version
bluemix version 0.5.6+5b886b4-2017-08-14T08:16:22+00:00
C:\work>