Florez, Nestor wrote:
> I forgot to mentioned that my os is RHEL 5 and I try the
> si_prepareclient command with
> systemimager version 3.8.2-1  and currently with version 3.9.6-1 and
> have had the same problem.
>  
> :-)
> 
>     -----Original Message-----
> 
>     When I run si_prepareclient --server myserver
>     I get the error
>      "I could not identified you kernel file.  Please try use --kernel
>     option"
> 
>     When I run the command 'uname -r',  I get "2.6.18-8.elxen"
> 
>     I am trying to clone or duplicate my main server to my failover server.
> 
>     Any ideas?
> 
>     Thanks,
> 
>     Néstor :-)

Could you check if the following patch fixes your problem? I got a
similar error running si_prepareclient on a PS3 with Ubuntu 7.10.

Moreover, could you post the output of the following command:

$ strings /boot/vmlinuz | grep "2\.6"

Replacing /boot/vmlinuz with the correct file of the kernel you're
using.

-Andrea

Index: lib/SystemImager/UseYourOwnKernel.pm
===================================================================
--- lib/SystemImager/UseYourOwnKernel.pm        (revision 4321)
+++ lib/SystemImager/UseYourOwnKernel.pm        (working copy)
@@ -446,7 +446,7 @@
                 #       2.4.19-mantis-2002.11.20 ([EMAIL PROTECTED]) #6 Tue 
Nov 19 15:15:43 CST 2002
                 #       2.6.7-1-686 ([EMAIL PROTECTED]) #1 Thu Jul 8 05:36:53 
EDT 2004
                 #
-                my $regex = '(2\.[46]\.\d.*?) \([EMAIL PROTECTED]) 
[#]\d+.*\w{3} \w{3} \d{1,2} \d{2}:\d{2}:\d{2} \w{3,4} \d{4}';
+                my $regex = '(2\.[46]\.\d[^\/]*?) \([EMAIL PROTECTED]) 
[#]\d+.*\w{3} \w{3} \d{1,2} \d{2}:\d{2}:\d{2} \w{3,4} \d{4}';
                 while(<IN>) {
                        # extract the `uname -r` string from the kernel file
                        if(m/$regex/o) {
@@ -485,6 +485,9 @@
         #
         # skip symlinks
         if( -l $file )   { return undef; }
+        #
+        # skip .bak files
+        if( $file =~ /\.bak$/ )   { return undef; }
 
         # Get output from "file" for elimination by identification tests
         my $cmd = "file -zb $file";

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
sisuite-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to