#1  
Old 29th October 2006, 16:36
Randy Randy is offline
Member
 
Join Date: Sep 2006
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
Default systemimager restore errors

Hi people,

I've been testing the restore script from falko's website to restore an image. I have to test it this way because I will not be able to access my servers free since they will be installed in another city at a provider. System debian sarge 3.1 , sata discs.
When I run the restore script I get the following errors:

get_arch
/tmp/my_loader2-3.master: line 41: logmsg: command not found
DISKORDER=sd,cciss,ida,rd,hd
/tmp/my_loader2-3.master: line 104: logmsg: command not found
/tmp/my_loader2-3.master: line 120: logmsg: command not found
/tmp/my_loader2-3.master: line 120: logmsg: command not found
/tmp/my_loader2-3.master: line 132: logmsg: command not found

/tmp/my_loader2-3.master: line 157: logmsg: command not found
/tmp/my_loader2-3.master: line 158: logmsg: command not found
/tmp/my_loader2-3.master: line 159: parted: command not found
/tmp/my_loader2-3.master: line 163: logmsg: command not found
/tmp/my_loader2-3.master: line 164: parted: command not found
Killing off running processes.
kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or kill -l[sigspec]
udp-receiver: no process killed
rsync: no process killed

write_variables
Debian GNU/Linux 3.1 \n \l

Does antbody have some idea of how to solve this?
Any help would be appreciated.

Randy
Reply With Quote
Sponsored Links
  #2  
Old 30th October 2006, 13:58
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Some commands such as logmsg and parted are missing on your rescue system.

What kind of rescue system is it? I have a server at Hetzner, and there I have a full Debian Sarge rescue system.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 31st October 2006, 12:10
Randy Randy is offline
Member
 
Join Date: Sep 2006
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
Default errors

Quote:
Originally Posted by falko
Some commands such as logmsg and parted are missing on your rescue system.

What kind of rescue system is it? I have a server at Hetzner, and there I have a full Debian Sarge rescue system.
Hi Falko,

For all clarity I should maybe give some insight on the hardware which I'm using.
I have 2 dell PE860 servers with Sata hard drives (1x250Gb) 2Gb ram. To be able to install debian sarge on them I had to search the internet for an alternative kernel. I believe it's version 2.6.16 (sarge-custom-0801.iso ), which I'm using at the moment. The installs are all according to your howto's (if only you knew the impact you have..).
In my further investigation of my problem I re-did the image and re-ran the addclients command. After that I burned a bootcd from systemimager to temporarily bypass your script, to be sure that it would at least work locally. (I also read that your script works for other people so that couldn't be the problem).
Now the imaging process goes further without the afore mentioned messages, but when I restart the new system I get the GrubGrubGrubGrubGrubGrubGrub message filling up my screen. So the system hangs there.
I don't know how to re-install grub using the expert-mode of the install cd which then uses busybox without the grub-install commands (not even ifconfig could I find). So I am stuck. Even if I could re-install grub locally, I think that systemimager should be able to restore grub when I do a remote imageing job. I have tried to intsall the testing version of systemimager (3.6.3) but that gave a lot of errors when I put back the image. So I'm really stuck here. I hope you have some good advice 4 me. I think that I have a problem because of the sata disks? Maybe you have also an advice on a good installer for sata systems.
Highest regards,

Randy
Reply With Quote
  #4  
Old 1st November 2006, 17:04
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Quote:
Originally Posted by Randy
I think that I have a problem because of the sata disks?
You get problems if you take an image of an IDE hard disk (where partitions are named /dev/hda1,...) and wnat ot restore it to a system with an SATA disks (where partitions are named /dev/sda1,...). You must use the same type of hard disk on both systems (it's not necessary that they are from the same manufacturer or have the same size (but the HDD where you want to restore an image must not be smaller than the one of the original system)).
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 1st November 2006, 17:13
Randy Randy is offline
Member
 
Join Date: Sep 2006
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
You get problems if you take an image of an IDE hard disk (where partitions are named /dev/hda1,...) and wnat ot restore it to a system with an SATA disks (where partitions are named /dev/sda1,...). You must use the same type of hard disk on both systems (it's not necessary that they are from the same manufacturer or have the same size (but the HDD where you want to restore an image must not be smaller than the one of the original system)).
Hi,
The image I want to restore is from the same server that I took it from. I'm now going to try with lilo instead of grub. Maybe it makes a diff. Which package provides the logmsg command? It seems to be missing on my system (as you already implied).
Randy
Reply With Quote
  #6  
Old 2nd November 2006, 15:02
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
 
Default

Quote:
Originally Posted by Randy
Which package provides the logmsg command? It seems to be missing on my system (as you already implied).
Randy
I couldn't find any Debian package that provides this command, and I don't know what it does (probably log something to a file... ). I'd suggest you create a file /usr/bin/logmsg yourself:

Code:
#!/bin/sh
exit 0
and make it executable:
Code:
chmod 755 /usr/bin/logmsg
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with SystemImager Restore checker HOWTO-Related Questions 5 5th October 2006 16:55
MySQL connection errors drake General 9 23rd August 2006 17:57
Installing 2.2.1 and stopped with errors djtremors Installation/Configuration 9 26th April 2006 22:03
SystemImager howto make a dvd backup?? Philip_Anselmo HOWTO-Related Questions 0 26th March 2006 11:13
PHP Errors in the "WEB-FTP" module crudolphy General 9 27th December 2005 20:17


All times are GMT +2. The time now is 03:04.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.