itsuibi
V2EX  ›  问与答

当我试图使用阿里云的 ossfs 挂载 bucket 的时候出现 Segmentation fault 错误

  •  
  •   itsuibi · Aug 31, 2017 · 1691 views
    This topic created in 3179 days ago, the information mentioned may be changed or developed.

    运行环境: censtos7.3 ossfs:v1.80.2、 安装 ossfs 工具过程中,当我执行到挂载目录权限,键入如下代码: ossfs bucket /data/www/www.example.com/wp-content/uploads/ -ourl=http://oss-cn-beijing.aliyuncs.com -ouid=1001 -ogid=1001 -oumask=022 -o allow_othe 提示 Segmentation fault 我重新装了好几次系统都是到这里就卡住了。。。。 谢谢大家了

    2 replies    2017-09-09 15:16:57 +08:00
    davidtall
        1
    davidtall  
       Sep 9, 2017
    LD_LIBRARY_PATH=/usr/lib64 ossfs bucket /data/www/www.example.com/wp-content/uploads/ -ourl=http://oss-cn-beijing.aliyuncs.com -ouid=1001 -ogid=1001 -oumask=022 -o allow_othe
    这样执行就可以了,原因是你升级了新版本等 openssl 但是 ossfs 不支持,只要把动态库指向系统默认的库就行了
    davidtall
        2
    davidtall  
       Sep 9, 2017
    还有个原因就是检查一下 glibc 的版本,查看一下系统日志报什么错
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2892 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 13:38 · PVG 21:38 · LAX 06:38 · JFK 09:38
    ♥ Do have faith in what you're doing.