Florez, Nestor wrote: > > [EMAIL PROTECTED] ~]#* file -b /boot/vmlinuz-2.6.18-8.el5xen* > gzip compressed data, from Unix, last modified: Fri Jan 26 11:42:30 > 2007, max compression > [EMAIL PROTECTED] ~]#* file -zb /boot/vmlinuz-2.6.18-8.el5xen* > ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV) (gzip > compressed data, from Unix, last modified: Fri Jan 26 11:42:30 2007, max > compression) >
OK, now I understand. The problem is more complicated... you're running under a xen environment and you can't use the same xen kernel to perform installations by UYOK (http://wiki.systemimager.org/index.php/UYOK). This is the reason because si_prepareclient says that it's not able to find a suitable kernel and it fails. But there's an additional problem in si_prepareclient, because it shouldn't fail to create the systemconfig.conf when you specify a custom kernel (with --kernel). So, the patch to apply is another (see below at the end of the mail). == How to apply the patch == 1) save the patch to a file (i.e. fix-prepareclient-with-custom-kernel.patch) 2) try if the patch can be applied cleanly: # patch -p0 --dry-run < fix-prepareclient-with-custom-kernel.patch 3) if you didn't receive any error at the previous point apply the patch: # patch -p0 --dry-run < fix-prepareclient-with-custom-kernel.patch == END OF How to apply the patch == Then you can try to re-run si_prepareclient with the following options (looking at your previous mail): # si_prepareclient --server 10.100.1.170 --kernel /boot/vmlinuz-2.6.18-8.el5xen --modules-dir /lib/modules/2.6.18-8.el5xen And let me know if you find additional problems. > > I ran the si_getimage command and I got this error message, so I am > lookin gto > download the Perl XML Parser to see if it will work > [EMAIL PROTECTED] ~]#* /usr/sbin/si_getimage -golden-client 10.100.1.170 > -image wahoo-image* > Are you satisfied? ([y]/n): y > XMLin() requires either XML::SAX or XML::Parser at > /usr/lib/systemimager/perl/SystemImager/Server.pm line 1582 Yes, this seems to be a simple unsatisfied dependency, you should resolve installing the missing perl modules. -Andrea Index: sbin/si_prepareclient =================================================================== --- /usr/sbin/si_prepareclient (revision 4322) +++ /usr/sbin/si_prepareclient (working copy) @@ -686,12 +686,17 @@ die("FATAL: failed to copy $sc_config_file to $sc_config_file.save!\n"); } - # Detect kernel. - my $uname_r = SystemImager::UseYourOwnKernel::get_uname_r(); - my $kernel_file = SystemImager::UseYourOwnKernel::_choose_kernel_file($uname_r); - unless ($kernel_file) { - print STDERR "WARNING: unable to auto-detect kernel file!\n"; - return -1; + # Detect kernel release and kernel file. + my $kernel_file; + if ($custom_kernel) { + $kernel_file = $custom_kernel; + } else { + my $uname_r = SystemImager::UseYourOwnKernel::get_uname_r(); + $kernel_file = SystemImager::UseYourOwnKernel::_choose_kernel_file($uname_r); + unless ($kernel_file) { + print STDERR "WARNING: unable to auto-detect kernel file!\n"; + return -1; + } } my $kernel_release = SystemImager::UseYourOwnKernel::_get_kernel_release($kernel_file); unless ($kernel_release) { ------------------------------------------------------------------------- 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
