Skip to content

用windows的wsl显示运行成功,但没有进程! #159

Closed

Description

@diaodesan

Image
类似于这样,运行了,但没有进程也没有开启2233端口?

Activity

  1. timerring commented on Feb 6, 2025

    @timerring
    Owner

    Image
    类似于这样,运行了,但没有进程也没有开启2233端口?

    record.sh 只是启动脚本,脚本本身是非阻塞的,所以查不到,启动的录制进程是 blrec,可以检查一下 ps aux | grep blrec

  2. diaodesan commented on Feb 7, 2025

    @diaodesan
    Author

    Image
    类似于这样,运行了,但没有进程也没有开启2233端口?

    record.sh 只是启动脚本,脚本本身是非阻塞的,所以查不到,启动的录制进程是 blrec,可以检查一下 ps aux | grep blrec

    Image
    好像也没有哎

  3. timerring commented on Feb 7, 2025

    @timerring
    Owner

    好的,在日志目录下有对应的日志产生吗?如果有的话麻烦截图或者直接传上来,我分析一下。

  4. self-assigned this
    on Feb 7, 2025
  5. timerring commented on Feb 7, 2025

    @timerring
    Owner

    如果执行 record.sh 的话,nohup blrec -c $config --open --host $host --port $port > $BILIVE_PATH/logs/blrec.log 2>&1 & 应该在 $BILIVE_PATH/logs 目录下产生了 blrec.log,可以反馈一下 blrec.log 的内容,感谢。

  6. diaodesan commented on Feb 7, 2025

    @diaodesan
    Author

    如果执行 record.sh 的话,nohup blrec -c $config --open --host $host --port $port > $BILIVE_PATH/logs/blrec.log 2>&1 & 应该在 $BILIVE_PATH/logs 目录下产生了 blrec.log,可以反馈一下 blrec.log 的内容,感谢。

    Image
    是这个吗,还有一个也放上来吧

    Image

  7. timerring commented on Feb 7, 2025

    @timerring
    Owner

    看上去好像是主机名解析的问题,wsl 通常网络问题比较多,两个思路:

    1. 可以按照内容检查一下网络:https://unix.stackexchange.com/questions/589683/wsl-dns-not-working-when-connected-to-vpn
    2. 不用 record.sh 启动,直接在命令行终端里执行 blrec 然后浏览器访问 http://localhost:2233 (default),按照https://blog.csdn.net/Yiang0/article/details/127780263 ,本机 Windows 可以直接通过 localhost 访问 WSL 2,查看一下是否有正常运行的进程。
  8. diaodesan commented on Feb 7, 2025

    @diaodesan
    Author

    看上去好像是主机名解析的问题,wsl 通常网络问题比较多,两个思路:

    1. 可以按照内容检查一下网络:https://unix.stackexchange.com/questions/589683/wsl-dns-not-working-when-connected-to-vpn
    2. 不用 record.sh 启动,直接在命令行终端里执行 blrec 然后浏览器访问 http://localhost:2233 (default),按照https://blog.csdn.net/Yiang0/article/details/127780263 ,本机 Windows 可以直接通过 localhost 访问 WSL 2,查看一下是否有正常运行的进程。

    Image
    谢谢,解决了,已经成功运行,wsl2配置网络还挺简单的,之后有出了个错说是没有videos目录,我自己创建后成功运行了,谢谢!

  9. Repository owner locked and limited conversation to collaborators on May 1, 2025
  10. converted this issue into a discussion #315 on May 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions