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

 找回密码
 立即注册
查看: 1240|回复: 1

[求助] 很奇怪,重启后失去了web服务

[复制链接]

1

主题

5

帖子

38

积分

新手上路

Rank: 1

积分
38
金钱
33
HASS币
0
发表于 2020-5-31 10:28:41 | 显示全部楼层 |阅读模式
本帖最后由 bestedwin 于 2020-5-31 10:47 编辑
pi@raspberrypi:~ $ service hassio-supervisor status
● hassio-supervisor.service - Hass.io supervisor
   Loaded: loaded (/etc/systemd/system/hassio-supervisor.service; enabled; vendor preset: enabled)
   Active: active (running) since Sun 2020-05-31 10:06:56 CST; 19min ago
  Process: 773 ExecStartPre=/usr/bin/docker stop hassio_supervisor (code=exited, status=0/SUCCESS)
 Main PID: 827 (bash)
    Tasks: 14 (limit: 2200)
   Memory: 60.8M
   CGroup: /system.slice/hassio-supervisor.service
           ├─827 bash /usr/sbin/hassio-supervisor
           ├─854 bash /usr/sbin/hassio-supervisor
           └─855 docker start --attach hassio_supervisor

May 31 10:17:37 raspberrypi hassio-supervisor[827]: 20-05-31 02:17:37 INFO (MainThread) [supervisor.addons] Phase 'application' start 0 add-ons
May 31 10:17:37 raspberrypi hassio-supervisor[827]: 20-05-31 02:17:37 INFO (MainThread) [supervisor.misc.tasks] All core tasks are scheduled
May 31 10:17:37 raspberrypi hassio-supervisor[827]: 20-05-31 02:17:37 INFO (MainThread) [supervisor.misc.hwmon] Started Supervisor hardware monitor
May 31 10:17:37 raspberrypi hassio-supervisor[827]: 20-05-31 02:17:37 INFO (MainThread) [supervisor.core] Supervisor is up and running
May 31 10:17:37 raspberrypi hassio-supervisor[827]: 20-05-31 02:17:37 INFO (MainThread) [supervisor.host.info] Update local host information
May 31 10:17:37 raspberrypi hassio-supervisor[827]: 20-05-31 02:17:37 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1
May 31 10:17:37 raspberrypi hassio-supervisor[827]: 20-05-31 02:17:37 INFO (MainThread) [supervisor.updater] Fetch update data from https://version.home-assistant.io/stable.json
May 31 10:17:38 raspberrypi hassio-supervisor[827]: 20-05-31 02:17:38 INFO (MainThread) [supervisor.host.services] Update service information
May 31 10:17:38 raspberrypi hassio-supervisor[827]: 20-05-31 02:17:38 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1
May 31 10:17:38 raspberrypi hassio-supervisor[827]: 20-05-31 02:17:38 INFO (MainThread) [supervisor.host.sound] Update PulseAudio information
pi@raspberrypi:~ $ service hassio-apparmor status
● hassio-apparmor.service - Hass.io AppArmor
   Loaded: loaded (/etc/systemd/system/hassio-apparmor.service; enabled; vendor preset: enabled)
   Active: active (exited) since Sun 2020-05-31 10:07:10 CST; 19min ago
  Process: 1410 ExecStart=/usr/sbin/hassio-apparmor (code=exited, status=0/SUCCESS)
 Main PID: 1410 (code=exited, status=0/SUCCESS)

May 31 10:07:10 raspberrypi systemd[1]: Starting Hass.io AppArmor...
May 31 10:07:10 raspberrypi hassio-apparmor[1410]: Warning: unable to find a suitable fs in /proc/mounts, is it mounted?
May 31 10:07:10 raspberrypi hassio-apparmor[1410]: Use --subdomainfs to override.
May 31 10:07:10 raspberrypi hassio-apparmor[1410]: [Error]: Can't load profile /usr/share/hassio/apparmor/hassio-supervisor
May 31 10:07:10 raspberrypi systemd[1]: Started Hass.io AppArmor.
<blockquote>pi@raspberrypi:~ $ docker logs -f hassio_supervisor --tail 50
pi@raspberrypi:~ $ docker logs -f homeassistant --tail 20
2020-05-31 10:08:39 INFO (SyncWorker_12) [xiaomi_gateway] Found 4 devices
2020-05-31 10:08:40 INFO (MainThread) [homeassistant.setup] Setup of domain hassio took 0.5 seconds.
2020-05-31 10:08:45 INFO (SyncWorker_12) [xiaomi_gateway] Gateway discovery finished in 5 seconds
2020-05-31 10:08:45 INFO (SyncWorker_12) [xiaomi_gateway] Creating Multicast Socket
2020-05-31 10:08:45 INFO (SyncWorker_2) [homeassistant.loader] Loaded switch from homeassistant.components.switch
2020-05-31 10:08:45 INFO (SyncWorker_16) [homeassistant.loader] Loaded cover from homeassistant.components.cover
2020-05-31 10:08:45 INFO (SyncWorker_2) [homeassistant.loader] Loaded lock from homeassistant.components.lock
2020-05-31 10:08:45 INFO (MainThread) [homeassistant.setup] Setting up switch
2020-05-31 10:08:45 INFO (MainThread) [homeassistant.setup] Setup of domain switch took 0.0 seconds.
2020-05-31 10:08:45 INFO (MainThread) [homeassistant.setup] Setting up cover
2020-05-31 10:08:45 INFO (MainThread) [homeassistant.setup] Setup of domain cover took 0.0 seconds.
2020-05-31 10:08:45 INFO (MainThread) [homeassistant.setup] Setting up lock
2020-05-31 10:08:45 INFO (MainThread) [homeassistant.setup] Setup of domain lock took 0.0 seconds.
2020-05-31 10:08:45 INFO (MainThread) [homeassistant.setup] Setup of domain xiaomi_aqara took 5.4 seconds.
2020-05-31 10:08:45 INFO (MainThread) [homeassistant.components.cover] Setting up cover.xiaomi_aqara
2020-05-31 10:08:45 INFO (MainThread) [homeassistant.components.lock] Setting up lock.xiaomi_aqara
2020-05-31 10:08:45 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.xiaomi_aqara
2020-05-31 10:08:45 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.xiaomi_aqara
2020-05-31 10:08:45 INFO (MainThread) [homeassistant.components.light] Setting up light.xiaomi_aqara
2020-05-31 10:08:45 INFO (MainThread) [homeassistant.components.switch] Setting up switch.xiaomi_aqara
pi@raspberrypi:~ $ sudo netstat -plnt
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      510/sshd            
tcp6       0      0 :::22                   :::*                    LISTEN      510/sshd            


回复

使用道具 举报

1

主题

5

帖子

38

积分

新手上路

Rank: 1

积分
38
金钱
33
HASS币
0
 楼主| 发表于 2020-5-31 10:39:19 | 显示全部楼层
pi@raspberrypi:~ $ docker ps -a
CONTAINER ID        IMAGE                                              COMMAND                  CREATED             STATUS              PORTS               NAMES
0359fc8e3b34        homeassistant/armv7-hassio-multicast:2             "/init"                  31 minutes ago      Up 31 minutes                           hassio_multicast
abf0311eb3ae        homeassistant/armv7-hassio-dns:9                   "/init coredns -conf…"   31 minutes ago      Up 31 minutes                           hassio_dns
1d07e76c3c9c        homeassistant/armv7-hassio-audio:14                "/init"                  31 minutes ago      Up 31 minutes                           hassio_audio
c86b6e08d382        homeassistant/armv7-hassio-cli:25                  "/init /bin/bash -c …"   31 minutes ago      Up 31 minutes                           hassio_cli
601ef7ca5dc8        homeassistant/raspberrypi3-homeassistant:0.110.3   "/init"                  35 hours ago        Up 31 minutes                           homeassistant
d5015387e8a7        homeassistant/armv7-hassio-supervisor              "/init"                  38 hours ago        Up 31 minutes                           hassio_supervisor
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-25 00:43 , Processed in 0.067518 second(s), 23 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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