我在 Ubuntu 24.02 机器上安装了 AWS Greengrass 和 AWS SiteWise。当我检查日志 /greengrass/v2/logs/aws.iot.SiteWiseEdgePublisher.log 时,看到以下错误:2024-06-21T20:45:28.4...
我在 Ubuntu 24.02 机器上安装了 AWS Greengrass 和 AWS SiteWise。
当我检查日志 /greengrass/v2/logs/aws.iot.SiteWiseEdgePublisher.log 时,看到以下错误:
2024-06-21T20:45:28.465Z [INFO] (Copier) aws.iot.SiteWiseEdgePublisher: stdout. [INFO ] 2024-06-21 15:45:28.465 [com.hivemq.client.mqtt-1-1] MqttModule - Disconnected from MQTT broker at 127.0.0.1:1883, because io.netty.channel.AbstractChannel$AnnotatedConnectException: finishConnect(..) failed: Connection refused: /127.0.0.1:1883. {scriptName=services.aws.iot.SiteWiseEdgePublisher.lifecycle.Startup.Script, serviceName=aws.iot.SiteWiseEdgePublisher, currentState=RUNNING}
为什么我会收到此错误?我应该怎么办?
我查看日志的主要原因是因为我无法在我创建的新资产中显示测量值。
我可以在一些 Ubuntu 24.04 容器上正常运行 R,例如 rocker/r2u:noble:
$ docker run --rm -ti rocker/r2u:noble bash
root@ddcecd84f2b5:/# cd
root@ddcecd84f2b5:~# R
R version 4.4.1 (2024-06-14) -- "Race for Your Life"
Copyright (C) 2024 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
Natural language support but running in an English locale
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> q()
Save workspace image? [y/n/c]: n
root@ddcecd84f2b5:~#
root@ddcecd84f2b5:~# apt update -qqq
root@ddcecd84f2b5:~# apt-cache policy r-base-core
r-base-core:
Installed: 4.4.1-1.2404.0
Candidate: 4.4.1-1.2404.0
Version table:
*** 4.4.1-1.2404.0 500
500 https://cloud.r-project.org/bin/linux/ubuntu noble-cran40/ Packages
100 /var/lib/dpkg/status
4.4.0-2.2404.0 500
500 https://cloud.r-project.org/bin/linux/ubuntu noble-cran40/ Packages
4.3.3-2build2 500
500 http://archive.ubuntu.com/ubuntu noble/universe amd64 Packages
root@ddcecd84f2b5:~#
这是来自 CRAN 标准 R 反向移植的标准包。您有什么?