简体   繁体   English

OpenDaylight Defense4All 安装问题 - 无法访问 WebUI

[英]OpenDaylight Defense4All installation Issues - Cannot reach WebUI

Pretence: This is a question regarding Defense4All which is a module for SDN technology OpenDaylight Pretence:这是一个关于Defense4All的问题,它是一个SDN技术OpenDaylight的模块

I've installed Cassandra and Defense4All on my Ubuntu VM, but when I browse to http://:8086/controlapps I just receive a "Unable to Connect" message.我已经在我的 Ubuntu VM 上安装了 Cassandra 和 Defense4All,但是当我浏览到 http://:8086/controlapps 时,我只收到一条“无法连接”的消息。 I've tried this with my loopback and ethernet IP addresses, both of which give me the same message.我已经用我的环回和以太网 IP 地址尝试过这个,它们都给了我相同的消息。

I've ran;我跑了; service cassandra status and service defense4all status and both services are seemingly running fine (I've restarted them many times whilst debugging). service cassandra status 和 service defence4all status 并且这两个服务似乎都运行良好(我在调试时重新启动了它们很多次)。

I'm at a bit of a loss as to why I don't seem to be able to reach the Web UI.对于为什么我似乎无法访问 Web UI,我有点不知所措。

I've tried to go to the D4A CLI in an attempt see if I can spot anything incorrect by running these commands:我尝试转到 D4A CLI 以尝试通过运行以下命令查看是否可以发现任何不正确的内容:

  1. cd /usr/share/defense4all/bin cd /usr/share/defense4all/bin

  2. sudo ./controlapps须藤 ./controlapps

But I receive a "cant find required files for running controlapps. Verify /usr/share/defense4all installation".但我收到“无法找到运行 controlapps 所需的文件。验证 /usr/share/defense4all 安装”。

Which kind of makes me think its an installation issue.哪种让我认为这是一个安装问题。

Installed software versions:已安装的软件版本:

  • Cassandra - 3.11.1卡桑德拉 - 3.11.1
  • D4A df.aggregate-1.0.17-Helium-SR3-defense4all-cli.deb and df.aggregate-1.0.17-Helium-SR3-defense4all.deb D4A df.aggregate-1.0.17-Helium-SR3-defense4all-cli.deb 和 df.aggregate-1.0.17-Helium-SR3-defense4all.deb
  • Java - java-1.8.0-openjdk-amd64 Java - java-1.8.0-openjdk-amd64

Any help is really appreciated, because I'm using Defense4All in my university final year project and I really need to get it up and running!任何帮助都非常感谢,因为我在大学最后一年的项目中使用了 Defense4All,我真的需要启动并运行它! Thanks.谢谢。

The Defense4All project has not been active for quite some time and has been archived. Defense4All 项目已经有很长一段时间没有活动并已存档。 Also the Helium release is old and no longer supported and maintained.此外,Helium 版本已过时,不再受支持和维护。 Also Helium was built on some version of Java 7 so running it with Java 8 may be an issue.此外,Helium 是基于某些版本的 Java 7 构建的,因此在 Java 8 上运行它可能是一个问题。

I've actually manage to sort it.我实际上设法对其进行了排序。 I can now reach the Web UI (http://:8086/controlapps).我现在可以访问 Web UI (http://:8086/controlapps)。 For information on my VM I'm running Java 7 and the latest Cassandra version.有关我的 VM 的信息,我正在运行 Java 7 和最新的 Cassandra 版本。

To resolve the issue I did the below steps:为了解决这个问题,我做了以下步骤:

  1. Sudo service rsyslog/Cassandra/defense4all stop.须藤服务 rsyslog/Cassandra/defense4all 停止。
  2. Change variable START_RPC from false to true in /etc/Cassandra/Cassandra.yaml.在 /etc/Cassandra/Cas​​sandra.yaml 中将变量 START_RPC 从 false 更改为 true。 This option is something called Thrift.这个选项叫做 Thrift。 And resolved the "Not starting RPC server as requested. Use JMX (StorageService->startRPCServer()) or nodetool (enablethrift) to start it" error message that was being thrown within some logs I found.并解决了我发现的一些日志中抛出的“未按要求启动 RPC 服务器。使用 JMX (StorageService->startRPCServer()) 或 nodetool (enablethrift) 启动它”错误消息。
  3. Change variable RPC_PORT from 7199 to any unused port (also within Cassandra.yaml).将变量 RPC_PORT 从 7199 更改为任何未使用的端口(也在 Cassandra.yaml 中)。 For some reason I had a port conflict with Apache Cassandra.出于某种原因,我与 Apache Cassandra 发生了端口冲突。 I'm not sure what was conflicting after a cursory terminal check, but it'd be easy to find using some external software.我不确定粗略终端检查后有什么冲突,但使用一些外部软件很容易找到。
  4. Sudo service rsyslog start (starts pretty much instantaneously) Sudo service rsyslog start(几乎立即启动)
  5. Sudo service cassandra start (give it time to start) sudo service cassandra start(给它时间启动)
  6. Sudo service defense4all start (give it time to start before browsing to the Web UI) sudo 服务防御4all start(在浏览到Web UI之前给它时间启动)

Hopefully this will help anyone who also has encountered these problems.希望这能帮助任何也遇到过这些问题的人。 Also you can verify if the services are started or encountered any errors using sudo service x status where x is the service name.您还可以使用sudo service x status验证服务是否已启动或遇到任何错误,其中 x 是服务名称。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM