V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
itsuibi
V2EX  ›  问与答

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

  •  
  •   itsuibi · Aug 31, 2017 · 1665 views
    This topic created in 3173 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   ·   908 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 21:51 · PVG 05:51 · LAX 14:51 · JFK 17:51
    ♥ Do have faith in what you're doing.