运行monibuca脚本报错: Bad file descriptor
日期: 2020-11-25 分类: 跨站数据测试 360次阅读
目录
问题
直接运行monibuca的demo脚本,遇到如下报错信息:
localhost:ms lz$ sudo bash <(curl -s -S -L https://monibuca.com/demo.sh)
bash: /dev/fd/63: Bad file descriptor
localhost:ms lz$ (23) Failed writing body
解决
问题的原因应该是ubuntu系统bash命令不支持上述使用方式造成的,可以尝试如下命令解决:
sudo bash < <(curl -s -S -L https://monibuca.com/demo.sh)
尽管不能保证解决所有类似的问题,但是至少了提供一种思路。
Data-Mining
CSDN博客专家
敲代码,搞开发。本人深耕音视频技术,走全栈路线,前后端通吃,兼顾各端与流媒体服务器。博客主页地址:https://liuzhen.blog.csdn.net/。欢迎沟通交流学习!
除特别声明,本站所有文章均为原创,如需转载请以超级链接形式注明出处:SmartCat's Blog
精华推荐