#1 Install problems for scponly on SuSE (using ftplicity)

open
nobody
5
2006-12-19
2006-12-19
Anonymous
No

It was hard to install scponly on SuSE Linux (10.1) using the chroot option. We almost gave up but succeeded at last. All we got in the beginning was "lost connection". So we began to look for the reason switching the verbose level on: "scp -v <file> trans_server:"
We found some libraries missing in the chroot directory tree. Afterwards we tried to use ftplicity to make backups to the remote server (we also switched the verbose level up to 9 within ftplicity config file "conf" located in $HOME/.ftplicity/). Finally, these are all libraries in the chroot-$HOME directory and scp + ftplicity are working fine:
----------------------------------------------
ls -l (chroot)/lib:
----------------------------------------------------
-rwxr-xr-x 1 root root 31943 Dec 19 13:44 libnss_compat.so.2
-rwxr-xr-x 1 root root 31943 Dec 19 13:44 libnss_compat-2.4.so
-rwxr-xr-x 1 root root 124463 Dec 19 13:44 ld-linux.so.2
-rwxr-xr-x 1 root root 74278 Dec 19 13:46 libresolv.so.2
-rwxr-xr-x 1 root root 12789 Dec 19 13:47 libutil.so.1
-rwxr-xr-x 1 root root 70512 Dec 19 13:47 libz.so.1.2.3
-rwxr-xr-x 1 root root 70512 Dec 19 13:47 libz.so.1
-rwxr-xr-x 1 root root 87850 Dec 19 13:48 libnsl.so.1
-rwxr-xr-x 1 root root 47259 Dec 19 13:48 libcrypt.so.1
-rwxr-xr-x 1 root root 6272 Dec 19 13:49 libcom_err.so.2.1
-rwxr-xr-x 1 root root 6272 Dec 19 13:49 libcom_err.so.2
-rwxr-xr-x 1 root root 1404242 Dec 19 13:50 libc.so.6
-rwxr-xr-x 1 root root 13814 Dec 19 13:51 libdl.so.2
-rwxr-xr-x 1 root root 100331 Dec 19 13:51 libpthread.so.0
-rwxr-xr-x 1 root root 40297 Dec 19 14:04 librt.so.1
-rwxr-xr-x 1 root root 23960 Dec 19 14:05 libacl.so.1
-rwxr-xr-x 1 root root 13004 Dec 19 14:05 libattr.so.1.1.0
-rwxr-xr-x 1 root root 13004 Dec 19 14:05 libattr.so.1

ls -l (chroot)/usr/lib:
----------------------------------------------------
drwxr-xr-x 2 root root 4096 Dec 19 13:44 ssh
-rwxr-xr-x 1 root root 346784 Dec 19 13:46 libopensc.so.1.0.0
-rwxr-xr-x 1 root root 346784 Dec 19 13:46 libopensc.so.1
-r-xr-xr-x 1 root root 1208240 Dec 19 13:46 libcrypto.so.0.9.8
-rwxr-xr-x 1 root root 70512 Dec 19 13:47 libz.so.1
-rwxr-xr-x 1 root root 92300 Dec 19 13:48 libgssapi_krb5.so.2.2
-rwxr-xr-x 1 root root 92300 Dec 19 13:48 libgssapi_krb5.so.2
-rwxr-xr-x 1 root root 440292 Dec 19 13:48 libkrb5.so.3.2
-rwxr-xr-x 1 root root 440292 Dec 19 13:48 libkrb5.so.3
-rwxr-xr-x 1 root root 145588 Dec 19 13:49 libk5crypto.so.3.0
-rwxr-xr-x 1 root root 145588 Dec 19 13:49 libk5crypto.so.3
-rwxr-xr-x 1 root root 18328 Dec 19 13:50 libscconf.so.1.0.0
-rwxr-xr-x 1 root root 18328 Dec 19 13:50 libscconf.so.1
-rwxr-xr-x 1 root root 26932 Dec 19 13:51 libopenct.so.1.0.0
-rwxr-xr-x 1 root root 26932 Dec 19 13:51 libopenct.so.1
-rwxr-xr-x 1 root root 10256 Dec 19 13:51 libkrb5support.so.0.0
-rwxr-xr-x 1 root root 10256 Dec 19 13:51 libkrb5support.so.0

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks