Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: bellad on November 17, 2014, 11:59:45 AM

Title: nfs client
Post by: bellad on November 17, 2014, 11:59:45 AM
hello,
i try nfs client , but error
Code: [Select]
/usr/local/sbin/sm-notify: error while loading shared libraries: libcap.so.2: cannot open shared object file: No such file or directory
/usr/local/sbin/rpc.statd: error while loading shared libraries: libcap.so.2: cannot open shared object file: No such file or directory
where is libcap.so.2 ?

thank
Title: Re: nfs client
Post by: bmarkus on November 17, 2014, 12:06:00 PM
Where is it from? Which version? Did you build from source or downloaded from the repo? Which piCore version are you running?

Title: Re: nfs client
Post by: bellad on November 17, 2014, 12:09:06 PM
i download with tce : search  etc.. repo
how to see a version , because i connect with putty ?
thank
Title: Re: nfs client
Post by: bmarkus on November 17, 2014, 12:15:27 PM
i download with tce : search  etc.. repo
how to see a version , because i connect with putty ?
thank

When you searched fot the app with tce you got .info file displayed. You can do that anytime. Also there is a provide function to find which tcz has libcap.so.2 To make it short:

Code: [Select]
tce -iw libcap.tcz
Title: Re: nfs client
Post by: bellad on November 17, 2014, 12:22:04 PM
ok , thank you for
Code: [Select]
tce -iw libcap.tczbut i think version tinycore

now i :

root@box:/usr/local/etc/init.d# ./nfs-client start
/usr/local/sbin/sm-notify: invalid option -- 'q'
Usage: sm-notify -notify [-dfq] [-m max-retry-minutes] [-p srcport]
            [-P /path/to/state/directory] [-v my_host_name]
Starting nfs client utilities.
root@box:/usr/local/etc/init.d#
Title: Re: nfs client
Post by: bellad on November 19, 2014, 11:31:54 AM
i not understand
when start
Code: [Select]
./nfs-client starti have error
Code: [Select]
/usr/local/sbin/sm-notify: invalid option -- 'q'
Usage: sm-notify -notify [-dfq] [-m max-retry-minutes] [-p srcport]
            [-P /path/to/state/directory] [-v my_host_name]
Starting nfs client utilities.

after i start manually
   
Code: [Select]
/usr/local/sbin/sm-notify -qis good

why ??
Title: Re: nfs client
Post by: patrikg on November 19, 2014, 11:45:11 AM
Why not try to see the inside of nfs-client.
To see how sm-notify is called.
Maybe nfs-client is only a shell script.

Try to view the file with cat.

Code: (bash) [Select]
cat nfs-client