『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 3660|回复: 4

HASSIO一键脚本安装报错

[复制链接]

1

主题

44

帖子

142

积分

注册会员

Rank: 2

积分
142
金钱
98
HASS币
0
发表于 2020-8-28 15:13:44 | 显示全部楼层 |阅读模式
尝试过Debian9、Debian10、Ubuntu20.04,报错内容基本类似。另,系统均通过PVE的LXC容器安装,报错内容如下:
Setting up policykit-1 (0.105-26ubuntu1) ...
Setting up libonig5:amd64 (6.9.4-1) ...
Setting up libgudev-1.0-0:amd64 (1:233-1) ...
Setting up libmbim-glib4:amd64 (1.22.0-2) ...
Setting up libheimbase1-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Setting up pptp-linux (1.10.0-1build1) ...
Setting up auditd (1:2.8.5-2ubuntu6) ...
Created symlink /etc/systemd/system/multi-user.target.wants/auditd.service -> /lib/systemd/system/auditd.service.
Job for auditd.service failed because the control process exited with error code.
See "systemctl status auditd.service" and "journalctl -xe" for details.
invoke-rc.d: initscript auditd, action "start" failed.
* auditd.service - Security Auditing Service
     Loaded: loaded (/lib/systemd/system/auditd.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Fri 2020-08-28 07:01:45 UTC; 3ms ago
       Docs: man:auditd(8)
             https://github.com/linux-audit/audit-documentation
    Process: 2040 ExecStart=/sbin/auditd (code=exited, status=1/FAILURE)

Aug 28 07:01:45 Focal250 systemd[1]: Starting Security Auditing Service...
Aug 28 07:01:45 Focal250 auditd[2040]: Cannot change priority (Operation not permitted)
Aug 28 07:01:45 Focal250 auditd[2040]: The audit daemon is exiting.
Aug 28 07:01:45 Focal250 systemd[1]: auditd.service: Control process exited, code=exited, status=1/FAILURE
Aug 28 07:01:45 Focal250 systemd[1]: auditd.service: Failed with result 'exit-code'.
Aug 28 07:01:45 Focal250 systemd[1]: Failed to start Security Auditing Service.
dpkg: error processing package auditd (--configure):
installed auditd package post-installation script subprocess returned error exit status 1
Setting up libjq1:amd64 (1.6-1) ...
Setting up libasn1-8-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Setting up libavahi-common3:amd64 (0.7-4ubuntu7) ...
Setting up libmbim-proxy (1.22.0-2) ...
Setting up dnsmasq-base (2.80-1.1ubuntu1) ...
Setting up libhcrypto4-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Setting up libnl-route-3-200:amd64 (3.4.0-1) ...
Setting up libwind0-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Setting up apparmor-utils (2.13.3-7ubuntu5.1) ...
Setting up jq (1.6-1) ...
Setting up libnl-genl-3-200:amd64 (3.4.0-1) ...
Setting up iw (5.4-1) ...
Setting up libavahi-core7:amd64 (0.7-4ubuntu7) ...
Setting up crda (3.18-1build1) ...
Setting up libhx509-5-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Setting up libqmi-glib5:amd64 (1.24.8-1) ...
Setting up wpasupplicant (2:2.9-1ubuntu4.1) ...
Created symlink /etc/systemd/system/dbus-fi.w1.wpa_supplicant1.service -> /lib/systemd/system/wpa_supplicant.service.
Created symlink /etc/systemd/system/multi-user.target.wants/wpa_supplicant.service -> /lib/systemd/system/wpa_supplicant.service.
Setting up avahi-daemon (0.7-4ubuntu7) ...
Created symlink /etc/systemd/system/dbus-org.freedesktop.Avahi.service -> /lib/systemd/system/avahi-daemon.service.
Created symlink /etc/systemd/system/multi-user.target.wants/avahi-daemon.service -> /lib/systemd/system/avahi-daemon.service.
Created symlink /etc/systemd/system/sockets.target.wants/avahi-daemon.socket -> /lib/systemd/system/avahi-daemon.socket.
Setting up libnss-mdns:amd64 (0.14.1-1ubuntu1) ...
First installation detected...
Checking NSS setup...
Setting up libkrb5-26-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Setting up libqmi-proxy (1.24.8-1) ...
Setting up libheimntlm0-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Setting up libgssapi3-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Setting up modemmanager (1.12.8-1) ...
Created symlink /etc/systemd/system/dbus-org.freedesktop.ModemManager1.service -> /lib/systemd/system/ModemManager.service.
Created symlink /etc/systemd/system/multi-user.target.wants/ModemManager.service -> /lib/systemd/system/ModemManager.service.
Setting up libldap-2.4-2:amd64 (2.4.49+dfsg-2ubuntu1.3) ...
Setting up libcurl3-gnutls:amd64 (7.68.0-1ubuntu2.2) ...
Setting up network-manager (1.22.10-1ubuntu2.1) ...
Created symlink /etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service -> /lib/systemd/system/NetworkManager-dispatcher.service.
Created symlink /etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service -> /lib/systemd/system/NetworkManager-wait-online.service.
Created symlink /etc/systemd/system/multi-user.target.wants/NetworkManager.service -> /lib/systemd/system/NetworkManager.service.
Setting up network-manager-pptp (1.2.8-2) ...
Setting up libcurl4:amd64 (7.68.0-1ubuntu2.2) ...
Setting up curl (7.68.0-1ubuntu2.2) ...
Processing triggers for systemd (245.4-4ubuntu3) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for dbus (1.12.16-2ubuntu2) ...
Processing triggers for libc-bin (2.31-0ubuntu9) ...
Errors were encountered while processing:
auditd
E: Sub-process /usr/bin/dpkg returned an error code (1)

################# 发到论坛时,请把上方日志也一并粘贴发送 ################
########################### System version ###########################
Distributor ID:        Ubuntu
Description:        Ubuntu 20.04 LTS
Release:        20.04
Codename:        focal
########################### System version 2 ###########################
Linux version 5.4.34-1-pve (build@pve) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP PVE 5.4.34-2 (Thu, 07 May 2020 10:02:02 +0200)
########################### System info ###########################
Linux Focal250 5.4.34-1-pve #1 SMP PVE 5.4.34-2 (Thu, 07 May 2020 10:02:02 +0200) x86_64 x86_64 x86_64 GNU/Linux
########################### END ###########################
\033[0;31m[ERROR]: 安装curl失败,请将检查上方安装错误信息。\033[0m

相关问题可以访问https://bbs.iobroker.cn或者加QQ群776817275咨询


##########################我是分割线,以下是journalctl -xe内容##########################
root@Focal250:~# journalctl -xe
--
-- The job identifier is 8.
Aug 28 07:03:44 Focal250 systemd[687]: Reached target Exit the Session.
-- Subject: A start job for unit UNIT has finished successfully
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- A start job for unit UNIT has finished successfully.
--
-- The job identifier is 7.
Aug 28 07:03:44 Focal250 systemd[1]: [email protected]: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The unit [email protected] has successfully entered the 'dead' state.
Aug 28 07:03:44 Focal250 systemd[1]: Stopped User Manager for UID 1000.
-- Subject: A stop job for unit [email protected] has finished
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- A stop job for unit [email protected] has finished.
--
-- The job identifier is 769 and the job result is done.
Aug 28 07:03:44 Focal250 systemd[1]: Stopping User Runtime Directory /run/user/1000...
-- Subject: A stop job for unit [email protected] has begun execution
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- A stop job for unit [email protected] has begun execution.
--
-- The job identifier is 770.
Aug 28 07:03:44 Focal250 systemd[1]: run-user-1000.mount: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The unit run-user-1000.mount has successfully entered the 'dead' state.
Aug 28 07:03:44 Focal250 systemd[1]: [email protected]: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The unit [email protected] has successfully entered the 'dead' state.
Aug 28 07:03:44 Focal250 systemd[1]: Stopped User Runtime Directory /run/user/1000.
-- Subject: A stop job for unit [email protected] has finished
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- A stop job for unit [email protected] has finished.
--
-- The job identifier is 770 and the job result is done.
Aug 28 07:03:44 Focal250 systemd[1]: Removed slice User Slice of UID 1000.
-- Subject: A stop job for unit user-1000.slice has finished
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- A stop job for unit user-1000.slice has finished.
--
-- The job identifier is 772 and the job result is done.




回复

使用道具 举报

40

主题

3056

帖子

1万

积分

超级版主

Nero

Rank: 8Rank: 8

积分
11149
金钱
8042
HASS币
182
发表于 2020-8-28 15:48:59 | 显示全部楼层
试试用 kvm。LXC 应该是和宿主共享内核,内核没开 auditd 可能会导致问题。
Nero
回复

使用道具 举报

1

主题

44

帖子

142

积分

注册会员

Rank: 2

积分
142
金钱
98
HASS币
0
 楼主| 发表于 2020-8-28 16:27:02 | 显示全部楼层
neroxps 发表于 2020-8-28 15:48
试试用 kvm。LXC 应该是和宿主共享内核,内核没开 auditd 可能会导致问题。

多谢版主提醒,那我就不重装了。本来是想借着从ESXi换到PVE的机会,把虚拟服务都装到LXC上。看来,理想很丰满,显示很骨感 。看来,还是直接迁移KVM可靠一些。
回复

使用道具 举报

40

主题

3056

帖子

1万

积分

超级版主

Nero

Rank: 8Rank: 8

积分
11149
金钱
8042
HASS币
182
发表于 2020-8-29 09:39:23 | 显示全部楼层
yingzichen 发表于 2020-8-28 16:27
多谢版主提醒,那我就不重装了。本来是想借着从ESXi换到PVE的机会,把虚拟服务都装到LXC上。看来,理想很 ...

我也是 pve 装个 debian 的kvm机不难吧
Nero
回复

使用道具 举报

1

主题

44

帖子

142

积分

注册会员

Rank: 2

积分
142
金钱
98
HASS币
0
 楼主| 发表于 2020-9-11 11:17:24 | 显示全部楼层
neroxps 发表于 2020-8-29 09:39
我也是 pve 装个 debian 的kvm机不难吧

全都重装了,pve、ikuai、debian 、lede
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-26 11:35 , Processed in 0.419942 second(s), 26 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表