yangljun / s3fs

Automatically exported from code.google.com/p/s3fs
GNU General Public License v2.0
0 stars 0 forks source link

curl_share_setopt returns 1 #447

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Detailed description of observed behavior:

I installed s3fs according to the instruction in the wiki on Precise host.

when I try to i get an error:

root@szbrowser:~# bash s3fs.sh
    set_moutpoint_attribute(3389): PROC(uid=0, gid=0) - MountPoint(uid=0, gid=0, mode=40755)
s3fs_init(2660): init
InitShareCurl(340): curl_share_setopt(SSL SESSION) returns 1(Unknown share 
option)
s3fs: Could not initiate curl library.

What steps will reproduce the problem - please be very specific and
detailed. (if the developers cannot reproduce the issue, then it is
unlikely a fix will be found)?

===================================================================
The following information is very important in order to help us to help
you.  Omission of the following details may delay your support request or
receive no attention at all.
===================================================================
Version of s3fs being used (s3fs --version):

1.78 with OpenSSL

Version of fuse being used (pkg-config --modversion fuse):

root@szbrowser:~# pkg-config --modversion fuse
2.8.6

System information (uname -a):

root@szbrowser:~# uname -a
Linux szbrowser.cloud.solazyme.com 3.2.0-70-generic #105-Ubuntu SMP Wed Sep 24 
19:49:16 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Distro (cat /etc/issue):

root@szbrowser:~# cat /etc/issue
Ubuntu 12.04.5 LTS \n \l

s3fs command line used (if applicable):

/usr/bin/s3fs -f szbifx /s3bifx

/etc/fstab entry (if applicable):

s3fs syslog messages (grep s3fs /var/log/syslog):

Jan 20 17:47:31 szbrowser s3fs: init v1.78 (OpenSSL)
Jan 20 17:47:31 szbrowser s3fs: Could not initiate curl library.
Jan 20 17:49:21 szbrowser s3fs: init v1.78 (OpenSSL)
Jan 20 17:49:21 szbrowser s3fs: Could not initiate curl library.
Jan 20 17:51:59 szbrowser s3fs: init v1.78 (OpenSSL)
Jan 20 17:51:59 szbrowser s3fs: Could not initiate curl library.
Jan 20 18:03:36 szbrowser s3fs: init v1.78 (OpenSSL)
Jan 20 18:03:36 szbrowser s3fs: Could not initiate curl library.
Jan 20 18:08:39 szbrowser s3fs: init v1.78 (OpenSSL)
Jan 20 18:08:39 szbrowser s3fs: Could not initiate curl library.
Jan 20 18:22:14 szbrowser s3fs: init v1.78 (OpenSSL)
Jan 20 18:22:14 szbrowser s3fs: Could not initiate curl library.
Jan 20 18:26:42 szbrowser s3fs: init v1.78 (OpenSSL)
Jan 20 18:26:42 szbrowser s3fs: Could not initiate curl library.
Jan 20 18:29:47 szbrowser s3fs: init v1.78 (OpenSSL)
Jan 20 18:29:47 szbrowser s3fs: Could not initiate curl library.

Original issue reported on code.google.com by jizosa...@gmail.com on 20 Jan 2015 at 11:31

GoogleCodeExporter commented 9 years ago
Any resolution on this matter?  I am getting the same error. Ubuntu version, 
s3fs, FUSE versions the same. Kernel is 3.8-13.dmz.1-liquorix-amd64

Original comment by j...@neseapl.com on 28 Jan 2015 at 5:05

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I get the same problem.  It will not mount because it cant authenticate since 
Curl is not functioning.  I compiled libfuse 2.9.3 from source as well as s3fs. 
 I did not use packages at all.

cat /etc/issue
Ubuntu 10.04.4 LTS \n \l

root@eva:~/s3fs/s3fs-fuse# lsof | grep s3fs
lsof: WARNING: can't stat() fuse.s3fs file system /amazons3
      Output information may be incomplete.

Original comment by lowlight...@gmail.com on 28 Jan 2015 at 7:45

GoogleCodeExporter commented 9 years ago
I was able to fix it by doing this:

git reset --hard 651e8c31586913abbe27fb00dcfe70a6d5468828

So whatever bupt_tengteng <liuyueteng@gmail.com> did on Date:   Wed Nov 5 
11:28:33 2014 +0800 broke curl for us.

Original comment by lowlight...@gmail.com on 28 Jan 2015 at 7:49

GoogleCodeExporter commented 9 years ago
The issue was not caused by that commit.

I reverted this commit and it seems to resolve the issue for me:

git revert 045f1e7906d7c4d3bf8e16ba3d51e7f5b8fae7a2

Original comment by jahrain....@gmail.com on 6 Feb 2015 at 12:27

GoogleCodeExporter commented 9 years ago
Thank you jahrain, that worked for me!

Original comment by teo.deca...@gmail.com on 9 Feb 2015 at 12:09