lighttp重启10-port问题
重启报错,找不到配置文件10-port.conf@萝卜大侠root@GL-AX1800:/etc/lighttpd/conf.d# ls -l
-rw-r--r-- 1 root root 35 Dec 302020 30-access.conf
-rwxrwxr-x 1 root root 990 Jan42019 30-cgi.conf
-rwxrwxr-x 1 root root 644 Jul 272021 30-expire.conf
-rw-r--r-- 1 root root 4321 Nov 122017 30-fastcgi.conf
-rwxrwxr-x 1 root root 284 Aug12019 30-openssl.conf
-rwxrwxr-x 1 root root 1071 Jul 272021 30-proxy.conf
root@GL-AX1800:/etc/lighttpd/conf.d# /etc/init.d/lighttpd reload
sed: /etc/lighttpd/conf.d/10-port.conf: No such file or directory
root@GL-AX1800:/etc/lighttpd/conf.d# /etc/init.d/lighttpd restart
rm: can't remove '/tmp/api.socket-0': No such file or directory
sed: /etc/lighttpd/conf.d/10-port.conf: No such file or directory
这个错误可以忽略,是给https预留的配置接口 本帖最后由 limbo 于 2022-5-29 14:42 编辑
萝卜大侠 发表于 2022-5-20 14:58
这个错误可以忽略,是给https预留的配置接口
有影响的,修改配置文件,stop之后后再start就起不来了,搞得我每次都得重新格式路由器,贼难受!!
能不能给一份port-10文件,或者把这个配置去掉
root@GL-AX1800:/etc/lighttpd/conf.d# /etc/init.d/lighttpd
Syntax: /etc/init.d/lighttpd
Available commands:
start Start the service
stop Stop the service
restart Restart the service
reload Reload configuration files (or restart if that fails)
enable Enable service autostart
disable Disable service autostart
root@GL-AX1800:/etc/lighttpd/conf.d# /etc/init.d/lighttpd start
sed: /etc/lighttpd/conf.d/10-port.conf: No such file or directory
root@GL-AX1800:/etc/lighttpd/conf.d# /etc/init.d/lighttpd reload
sed: /etc/lighttpd/conf.d/10-port.conf: No such file or directory
Command failed: Not found
root@GL-AX1800:/etc/lighttpd/conf.d# /etc/init.d/lighttpd restart
sed: /etc/lighttpd/conf.d/10-port.conf: No such file or directory
root@GL-AX1800:/etc/lighttpd/conf.d# ls
30-access.conf 30-cgi.conf 30-expire.conf 30-fastcgi.conf30-openssl.conf30-proxy.conf
root@GL-AX1800:/etc/lighttpd/conf.d#
limbo 发表于 2022-5-29 11:46
有影响的,修改配置文件,stop之后后再start就起不来了,搞得我每次都得重新格式路由器,贼难受!!
能不 ...
直接去掉这个配置文件呢
页:
[1]