【问题标题】:Bluemix Secure GatewayBluemix 安全网关
【发布时间】:2017-09-23 01:51:16
【问题描述】:

我想在 RHEL7 上安装 Secure Gateway 客户端,但出现此错误:

安装 ibm-securegateway-client-1.6.1-2.x86_64 的文件 / 与包 filesystem-3.2-20.el7.x86_64 中的文件冲突

[root@vm24x50 ibm_stuff]# rpm -ivf ibm-securegateway-client-1.6.1+client_x86_64.rpm
Preparing packages...   
file / from install of ibm-securegateway-client-1.6.1-2.x86_64 conflicts with file from package filesystem-3.2-20.el7.x86_64

有什么想法可以解决这个问题吗? 谢谢

【问题讨论】:

    标签: ibm-cloud rhel7 secure-gateway


    【解决方案1】:

    在 RHEL 7 上安装 Secure Gateway 客户端时,您必须在安装命令中提供 --force 选项。在 RHEL 上安装的文档可以在here找到。

    【讨论】:

    • 谢谢。我安装了客户端,但现在当我尝试手动启动它时出现错误:[secgwadmin@vm24x50 client]$ node lib/secgwclient.js --t <token> <gateway_id> module.js:471 throw err; ^ Error: Cannot find module 'log4js' at Function.Module._resolveFilename (module.js:469:15) at Function.Module._load (module.js:417:25) at Module.require (module.js:497:17) at require (internal/module.js:20:19) at Object.<anonymous> (/opt/ibm/securegateway/client/lib/utils/logging.js:26:18) ... 非常感谢任何 cmets。
    • “找不到模块”错误是由于 npm install 的问题,它应该在客户端安装期间自动运行。在客户端文件夹中,尝试运行npm install。假设这是成功的,那应该可以解决 Cannot find module 错误。
    • 谢谢!解决了它
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-06-14
    • 1970-01-01
    • 1970-01-01
    • 2014-10-22
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多