forum.gl-inet.cn

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz
    查看: 1387|回复: 3

    lighttp重启10-port问题

    [复制链接]

    2

    主题

    4

    帖子

    28

    积分

    新手上路

    Rank: 1

    积分
    28
    发表于 2022-5-19 19:00:48 | 显示全部楼层 |阅读模式
    重启报错,找不到配置文件10-port.conf  @萝卜大侠

    root@GL-AX1800:/etc/lighttpd/conf.d# ls -l
    -rw-r--r--    1 root     root            35 Dec 30  2020 30-access.conf
    -rwxrwxr-x    1 root     root           990 Jan  4  2019 30-cgi.conf
    -rwxrwxr-x    1 root     root           644 Jul 27  2021 30-expire.conf
    -rw-r--r--    1 root     root          4321 Nov 12  2017 30-fastcgi.conf
    -rwxrwxr-x    1 root     root           284 Aug  1  2019 30-openssl.conf
    -rwxrwxr-x    1 root     root          1071 Jul 27  2021 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




    回复

    使用道具 举报

    76

    主题

    2144

    帖子

    9624

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    积分
    9624

    官方人员

    发表于 2022-5-20 14:58:40 | 显示全部楼层
    这个错误可以忽略,是给https预留的配置接口
    回复

    使用道具 举报

    2

    主题

    4

    帖子

    28

    积分

    新手上路

    Rank: 1

    积分
    28
     楼主| 发表于 2022-5-29 11:46:24 | 显示全部楼层
    本帖最后由 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 [command]

    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.conf  30-openssl.conf  30-proxy.conf
    root@GL-AX1800:/etc/lighttpd/conf.d#




    回复

    使用道具 举报

    76

    主题

    2144

    帖子

    9624

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    积分
    9624

    官方人员

    发表于 2022-6-1 22:26:46 | 显示全部楼层
    limbo 发表于 2022-5-29 11:46
    有影响的,修改配置文件,stop之后后再start就起不来了,搞得我每次都得重新格式路由器,贼难受!!
    能不 ...

    直接去掉这个配置文件呢
    回复

    使用道具 举报

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

    本版积分规则

    Archiver|手机版|小黑屋|gl-inet.cn ( 粤ICP备18130956号 )

    GMT+8, 2024-4-20 08:20 , Processed in 0.021526 second(s), 25 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2021, Tencent Cloud.

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