Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: Phil1983 on August 23, 2012, 12:30:02 PM

Title: Kernel Panic
Post by: Phil1983 on August 23, 2012, 12:30:02 PM
Hi All

I have a customer who has been running SME 7 for the last 5 or 6 years. They have had a motherboard failure, obviously it’s an old system so you can’t get identical parts anymore. As such I have replaced the motherboard, cpu and memory (the SATA controllers are on-board).

When booting I am getting a Kernel Panic – not syncing error, additionally further up the screen the message “Volume group “main” not found” appears.

I have already seen various topics about moving hard drives into new system but they all seem to rely on you having access to a working system first.

The customer has no backup (yeh I know), the system does boot into rescue mode successfully. Any help you could render would be most appreciated.

Thanks
Title: Re: Kernel Panic
Post by: Stefano on August 23, 2012, 01:03:32 PM
http://forums.contribs.org/index.php/topic,46617.msg228796.html
http://forums.contribs.org/index.php/topic,41745.msg195215.html#msg195215

HTH
Title: Re: Kernel Panic
Post by: Stefano on August 23, 2012, 01:04:14 PM
and I would add: time to upgrade to SME8
Title: Re: Kernel Panic
Post by: Phil1983 on August 23, 2012, 05:06:43 PM
Thanks for your help but I have tried this and nothing changes.
Title: Re: Kernel Panic
Post by: Stefano on August 23, 2012, 05:57:30 PM
Phil1983.. no one, here, is near to you in front of your monitor..

if you don't tell us "WHAT" you tried, "HOW" you tried and what's went wrong, we can't help you.. no crystal ball here (mine is broken)
Title: Re: Kernel Panic
Post by: Jean-Philippe Pialasse on August 23, 2012, 07:40:53 PM
When you say boot in rescue mode, you mean from the sme cd ?

depending on the moment you installed sme7 the volume groupe name was not "main" but "vg_primary" and the root was not "root" but "lv_root" in the release candidates.

Code: [Select]
pvs
shoud list the volume name used after mounting the raid array grape. A good How to : http://wiki.contribs.org/Recovering_SME_Server_with_lvm_drives



Have you simply tried disc upgrade with a sme 7.6 disc ?

It will propose you to update the system if it is able to found it. Then it might rebuilt everything to make it boot as far as i remember.
Title: Re: Kernel Panic
Post by: supersonico on August 27, 2012, 09:19:14 PM
Hi Phil1983

The easy way to fix it is to reinstall it, if the system have a RAID mirror install on a new set of disk (if the board fails, in a few time the disks will do). Then follow this howto to know to mount the old lvm RAID in the new server:

http://wiki.contribs.org/Recovering_SME_Server_with_lvm_drives

Copy all the data that is located in

"/home/e-smith"

To the same location in the new disk.

Restore the base system files

/etc/e-smith/templates-custom
/etc/e-smith/templates-user-custom
/etc/group
/etc/gshadow
/etc/passwd
/etc/samba/secrets.tdb
/etc/samba/smbpasswd
/etc/shadow
/etc/smbpasswd
/etc/ssh
/etc/sudoers
/home/e-smith
/root

Is a long way to recover it, hope this "steps" help you.
Title: Re: Kernel Panic
Post by: darmasanthi on September 10, 2012, 11:32:26 AM
Hi Phil1983

The easy way to fix it is to reinstall it, if the system have a RAID mirror install on a new set of disk (if the board fails, in a few time the disks will do). Then follow this howto to know to mount the old lvm RAID in the new server:

http://wiki.contribs.org/Recovering_SME_Server_with_lvm_drives

Copy all the data that is located in

"/home/e-smith"

To the same location in the new disk.

Restore the base system files

/etc/e-smith/templates-custom
/etc/e-smith/templates-user-custom
/etc/group
/etc/gshadow
/etc/passwd
/etc/samba/secrets.tdb
/etc/samba/smbpasswd
/etc/shadow
/etc/smbpasswd
/etc/ssh
/etc/sudoers
/home/e-smith
/root

Is a long way to recover it, hope this "steps" help you.

Hi Supersonico
i have same problem,
are those howto will work with sme 7.5 with zarafa integration,
where i can find the zarafa folder, since the zarafa using db_plugin database

regards,
darmasanthi
Title: Re: Kernel Panic
Post by: supersonico on September 11, 2012, 10:41:16 PM
darmasanthi

Check the zarafa howto (i try to use always horde, is faster and have a nice FTP client), backup your Mysql data before with all databases option, then proceed.