Re: How to install open-iscsi only by moving files

2008-12-08 Thread Santi Saez
Vincent Guo escribió: I found the code in the script open-iscsi: # Source function library. . /etc/init.d/functions What does these codes do ? What will happen if I delete the code. In functions file there are general purpose functions for start/stop init scripts.. like status(),

Re: How to install open-iscsi only by moving files

2008-12-08 Thread Vincent Guo
Thanks, my linux is a scratch distro, and I can not install it by Configuring Installing , but its kernal is fit, so it is only can be installed by moving the files. Plus , I fixed the problem using /etc/init.d/functions in the script open-iscsi, I just copied the functions used like deamon to

Re: How to install open-iscsi only by moving files

2008-12-05 Thread Vincent Guo
Thanks, but this is the only for me to use. 2008/12/4 Konrad Rzeszutek [EMAIL PROTECTED] On Thu, Dec 04, 2008 at 04:01:37AM -0800, [EMAIL PROTECTED] wrote: I also copied the /etc/init.d/open-iscsi but when I input the command ./open-iscsi start it reports errors: ;line

Re: How to install open-iscsi only by moving files

2008-12-05 Thread Santi Saez
On Thu, 4 Dec 2008 04:01:37 -0800 (PST), [EMAIL PROTECTED] wrote: but when I input the command ./open-iscsi start it reports errors: ;line 11: can't open /etc/init.d/functions What Linux flavour are you using? Perhaps it's a Linux From Scratch system? If it's a Red Hat based distro,

Re: How to install open-iscsi only by moving files

2008-12-04 Thread vincent . y . guo
I also copied the /etc/init.d/open-iscsi but when I input the command ./open-iscsi start it reports errors: ;line 11: can't open /etc/init.d/functions --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups open-iscsi

Re: How to install open-iscsi only by moving files

2008-12-04 Thread Konrad Rzeszutek
On Thu, Dec 04, 2008 at 04:01:37AM -0800, [EMAIL PROTECTED] wrote: I also copied the /etc/init.d/open-iscsi but when I input the command ./open-iscsi start it reports errors: ;line 11: can't open /etc/init.d/functions It looks as you are moving between distros - which is not a

How to install open-iscsi only by moving files

2008-12-03 Thread vincent . y . guo
I have a open-iscis version (2.0-870.1) already installed on a linux system. Now I want to move this version to another linux system(with same configuration as the one already installed). I copied the 2 binary files : iscsid and iscsiadm to the folder /usr/ sbin; then copied the 3 ko files: