Cloudify:bootstrap-localcloud:在 Windows 7 中操作失败?

Cloudify:bootstrap-localcloud:在 Windows 7 中操作失败?

我是cloudify的新手,在cloudify安装时遇到问题,如下所示

STARTING CLOUDIFY MANAGEMENT
Operation failed. org.cloudifysource.shell.commands.CLIException: Error while starting agent. Please make sure that another agent
is not already running. Command executed: cmd.exe /c @call D:\Program Files\gigaspaces-cloudify-2.2.0-ga\bin\"gs.bat" start startL
H startGSM startESM startGSA gsa.global.lus 0 gsa.lus 0 gsa.gsc 0 gsa.global.gsm 0 gsa.gsm_lus 0 gsa.global.esm 0 gsa.esm 0 >nul 2
>&1
        at org.cloudifysource.shell.installer.LocalhostGridAgentBootstrapper.runCommand(LocalhostGridAgentBootstrapper.java:1286)
        at org.cloudifysource.shell.installer.LocalhostGridAgentBootstrapper.runGsAgentOnLocalHost(LocalhostGridAgentBootstrapper.
java:746)
        at org.cloudifysource.shell.installer.LocalhostGridAgentBootstrapper.startManagementOnLocalhostAndWaitInternal(LocalhostGr
idAgentBootstrapper.java:794)
        at org.cloudifysource.shell.installer.LocalhostGridAgentBootstrapper.startLocalCloudOnLocalhostAndWait(LocalhostGridAgentB
ootstrapper.java:327)
        at org.cloudifysource.shell.commands.BootstrapLocalCloud.doExecute(BootstrapLocalCloud.java:100)
        at org.cloudifysource.shell.commands.AbstractGSCommand.execute(AbstractGSCommand.java:79)
        at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
        at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)
        at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)
        at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
        at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
        at org.apache.karaf.shell.console.jline.Console.run(Console.java:221)
        at org.apache.karaf.shell.console.Main.run(Main.java:191)
        at org.apache.karaf.shell.console.Main.run(Main.java:89)
        at org.cloudifysource.shell.GigaShellMain.main(GigaShellMain.java:122)

我当然没有运行第二个代理,我的电脑配置是 Windows 7,64 位。我不知道问题是什么,甚至我尝试以管理员身份运行它,但也没有用

答案1

需要检查以下几件事:

  • 您是否安装了 JDK(不是 JRE)?JAVA_HOME 配置正确吗?
  • 您的机器的主机名是否设置正确(您可以 ping 主机名吗?)

要调试 Cloudify 本地云问题,请查看 /logs 目录。那里应该有几个日志文件。特别查找包含字符“gsa”的文件。如果您找不到任何有用的内容,请压缩文件并将其上传到这里。

您还可以在 Cloudify 支持论坛上打开支持案例:https://cloudifysource.zendesk.com/forums/20582412-cloudify-users

相关内容