prtsc88 发表于 2022-3-18 08:58:06

我的树莓派安装monit成功,etc/monit/monitrc设置如下
untime constants:
Control file       = /etc/monit/monitrc
Log file         = /var/log/monit.log
Pid file         = /run/monit.pid
Id file            = /var/lib/monit/id
State file         = /var/lib/monit/state
Debug            = True
Log                = True
Use syslog         = False
Is Daemon          = True
Use process engine = True
Limits             = {
                  =   programOutput:   512 B
                  =   sendExpectBuffer:256 B
                  =   fileContentBuffer: 512 B
                  =   httpContentBuffer: 1 MB
                  =   networkTimeout:    5 s
                  =   programTimeout:    5 m
                  =   stopTimeout:       30 s
                  =   startTimeout:      30 s
                  =   restartTimeout:    30 s
                  = }
On reboot          = start
Poll time          = 120 seconds with start delay 0 seconds
Event queue      = base directory /var/lib/monit/events with 100 slots
Start monit httpd= True
httpd bind address = localhost
httpd portnumber   = 2812
httpd signature    = Enabled
httpd auth. style= Basic Authentication and Host/Net allow list

The service list contains the following entries:

System Name         = ubuntu
Monitoring mode      = active
On reboot            = start
使用monit -t 返回:Control file syntax OK
monit start all 返回:Cannot create socket to :2812 -- Connection refused
# sudo ufw status
状态: 激活

至                        动作          来自
-                        --          --
2812                     ALLOW       Anywhere                  
2812 (v6)                  ALLOW       Anywhere (v6)

set httpd port 2812 and use address localhost 或者127.0.0.1 再或者0.0.0.0都显示连接失败。
请问是什么原因,拜读你的源代码中是0.0.0.0/0.0.0.0
我的monit http一直不能启动。能否告知问题所在,万分感谢!

prtsc88 发表于 2022-3-18 09:01:49

lsir 发表于 2022-2-22 22:45
执行monit reload,出错。syntax error 'allow',原文:
/opt/etc/monitrc:157: syntax error 'allow'
lp@R ...

密码不能用passwd,wiki上有说明

yui678 发表于 2022-4-24 10:01:40

好东西!

tfy 发表于 2022-5-13 11:49:37

请问一下,小白一枚,之前一直官固默认使用,按教程成功安装上了插件,安好后是不是会和官方usb相关应用,aicloud相冲突(就是不能开启这些功能),开启后插件失效?
还有能否介绍一下怎么设置插件?比如webdav我要在哪里输入地址端口这些、aria2离线下载ui界面怎么打开等等,之前就没接触过这些的小白,表示一头雾水。。。

wchxi 发表于 2022-6-16 00:19:02


看看对我这个小白来说能不能用上,谢谢

netboy2008 发表于 2022-8-26 12:37:48

这么牛掰啊,我试试

jadecat 发表于 2022-10-16 11:17:38

学习一下

jiangjin19856 发表于 2022-11-21 21:16:36

请问用移动硬盘可以安装这个系统吗?因为我的移动硬盘还需要做存储和下载使用,升级固件会不会对本系统有影响?

hjhbull 发表于 2023-2-7 21:29:20

安装完了,怎么还是原来的管理界面啊?路由器要断电?怎么进插件管理界面?

aikanxi 发表于 2024-3-25 22:02:24

有人在GT-AX11000 PRO上安装过么
页: 1 2 3 4 5 6 7 8 9 10 [11] 12
查看完整版本: 华硕路由器官方固件和梅林固件开机自动运行脚本方法