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(), success(), etc.. it's used in a lot of 
scripts in /etc/init.d/*..

What are you doing? and what distro are you using? If you want to use 
Open-iSCSI start/stop script I think the best is to *copy* functions 
from another Red Hat based distro, removing this line is not a good idea..

Regards,

--
Santi Saez
http://woop.es

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-iscsi@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~--~~~~--~~--~--~---



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 the open-iscsi script from
the /etc/init.d/functions

and it works.

but the new problem is that it tries to load the module 'ib_iser' in the
open-iscsi script , who can tell me what does this module do, and it does
not exist in my linux distro, so I think I can work it though by other
methods. and the first thing I should know is what this moudle is used for,
can any guy help me out of issue?

and it seems a lot of people were stuck by this issue, you can google
'ib_iser open-iscsi', and you can see that.

Thanks .
Vincent Guo

2008/12/5 Santi Saez [EMAIL PROTECTED]

 b
 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(), success(), etc.. it's used in a lot of
 scripts in /etc/init.d/*..

 What are you doing? and what distro are you using? If you want to use
 Open-iSCSI start/stop script I think the best is to *copy* functions
 from another Red Hat based distro, removing this line is not a good idea..

 Regards,

 --
 Santi Saez
 http://woop.es

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-iscsi@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~--~~~~--~~--~--~---



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 11: can't open /etc/init.d/functions

 It looks as you are moving between distros - which is not a good
 idea. Better would be to just install the version
 of Open-iSCSI your other Linux distro comes with. Or you can
 build from scratch the version on http://www.open-iscsi.org/

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-iscsi@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~--~~~~--~~--~--~---



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, you must install initscripts package:

# rpm -q --whatprovides /etc/init.d/functions
initscripts-8.45.19.EL-1.el5.centos.1

In functions file there are general purpose functions for start/stop init
scripts..

Regards,

-- 
Santi Saez
http://woop.es


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-iscsi@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~--~~~~--~~--~--~---



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 group.
To post to this group, send email to open-iscsi@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/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 good
idea. Better would be to just install the version
of Open-iSCSI your other Linux distro comes with. Or you can
build from scratch the version on http://www.open-iscsi.org/

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-iscsi@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~--~~~~--~~--~--~---



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: iscsi_tcp.ko , libiscsi.ko and
scsi_transport_iscsi.ko to the folder //lib/modules/`uname-r`/kernel/
drivers/scsi/

but when I try to start the iscsid, it fails.
What other files shold I copy, or do I need other configurations ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-iscsi@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~--~~~~--~~--~--~---