$ (strace ceph -s > myout) >& myerror
$ cat myerror | grep librados.so.2
The output in my case of the second command is the next, but I didn't build from source.
open("/usr/lib/x86_64-linux-gnu/librados.so.2", O_RDONLY|O_CLOEXEC) = 3
Did you try to find the library in your system? to see if is other location?, my system output:
$ locate librados.so.2
/usr/lib/x86_64-linux-gnu/librados.so.2
/usr/lib/x86_64-linux-gnu/librados.so.2.0.0
Best.
Hi all,I built from source and proceeded to do a manual deployment starting on the Mon. I'm getting the error shown below and it appears that Rados has not been properly imported. How do I fix this?Best,
Henry N.cephadmin@node1:/var/lib/ceph/
mon/ceph-node1$ sudo /etc/init.d/ceph start mon.node1 cephadmin@node1:/var/lib/ceph/
mon/ceph-node1$ ceph osd lspools Traceback (most recent call last):
File "/usr/local/bin/ceph", line 106, in <module>
import rados
ImportError: librados.so.2: cannot open shared object file: No such file or directory
cephadmin@node1:/var/lib/ceph/
mon/ceph-node1$ which rados /usr/local/bin/rados
cephadmin@node1:/var/lib/ceph/
mon/ceph-node1$ ceph -v Traceback (most recent call last):
File "/usr/local/bin/ceph", line 106, in <module>
import rados
ImportError: librados.so.2: cannot open shared object file: No such file or directory
cephadmin@node1:/var/lib/ceph/
mon/ceph-node1$
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph. com
ATTE. Alvaro Soto Escobar
----------------------------------------------------------
Great people talk about ideas,
average people talk about things,
small people talk ... about other people.
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com