Koozali.org: home of the SME Server

error /sbin/init no souch file kernel panic

Offline larieu

  • *****
  • 214
  • +0/-0
Re: error /sbin/init no souch file kernel panic
« Reply #15 on: July 31, 2011, 08:13:55 AM »
I realized now that in the process of recovery I forgot about the

/var/lib/mysql

I must stress that I didn't find mediawiki mysql database into /home/e-smith (with the other ones from "standard" sme install)

I think that in wiki should have in backup zone something about this "recovery case"
and what should be done in recover / backup process

Also I think in wiki should we have a section with backup / recover each contrib

How can I help / get help with this?

if everybody's life around you is better, probably yours will be better
just try to improve their life

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: error /sbin/init no souch file kernel panic
« Reply #16 on: July 31, 2011, 02:19:48 PM »
larieu

Quote
I realized now that in the process of recovery I forgot about the
/var/lib/mysql
I must stress that I didn't find mediawiki mysql database into /home/e-smith (with the other ones from "standard" sme install)
I think that in wiki should have in backup zone something about this "recovery case"
and what should be done in recover / backup process

You should have followed all the steps here
http://wiki.contribs.org/Backup_server_config#Manually_transferring_configuration_information
which includes the important command
signal-event pre-backup
This dumps all the mysql databases into a file which is included in the backup (or copied if using the list of standard folders), which is then used during the restore process to recreate all the mysql databases


Quote
Also I think in wiki should we have a section with backup / recover each contrib
How can I help / get help with this?

That is covered here
http://wiki.contribs.org/Backup_server_config#Backup_and_Restore_concepts.2C_issues_and_other_information
where it says
The sme backup & restore concept is that only data (users & ibays) and configuration (including all mysql dbs and custom templates) is backed up & restored. All contribs (ie installed as rpms) are not backed up and normal templates (which are installed by the system or add on contribs) are not backed up.

A restore is done to a fresh installation of sme server, and then contribs are reinstalled. As configuration data is restored, you should not need to setup those reinstalled contribs again.

If you use any add on contrib for backup purposes eg Affa or Dar2 or whatever, then after doing a fresh reinstall of the sme OS, the first thing you do is reinstall the backup contrib and do some basic configuration manually. Then you would restore using that contrib, then you can reinstall all other contribs etc.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: error /sbin/init no souch file kernel panic
« Reply #17 on: August 01, 2011, 12:53:02 AM »
A restore is done to a fresh installation of sme server, and then contribs are reinstalled.

If you store all the contrib rpms in an i-bay, and install them from there, then it is very simple to do a restore and then restore all contribs.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: error /sbin/init no souch file kernel panic
« Reply #18 on: August 01, 2011, 03:12:19 AM »
larieu

Quote
If you store all the contrib rpms in an i-bay, and install them from there, then it is very simple to do a restore and then restore all contribs.

The advice of Charlie is also in the wiki
http://wiki.contribs.org/Backup_server_config#Backup_and_Restore_concepts.2C_issues_and_other_information
where it says

It's good admin practise to create an ibay specifically to house a copy of every rpm you install, so you can easily reinstall those from your backed up and restored copies, although with yum repos being available now, it's not so necessary to do this. It does provide a reminder of everything you have installed though, in case you forget. You should also do this if you wish to retain specific versions of rpms and source rpms, and also include copies of dependency rpms for good measure too.

Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline johnp

  • *****
  • 312
  • +0/-0
Re: error /sbin/init no souch file kernel panic
« Reply #19 on: August 01, 2011, 05:11:12 AM »
Good point Charlie, makes too much sense now.  Not  :???: anymore

Offline larieu

  • *****
  • 214
  • +0/-0
Re: error /sbin/init no souch file kernel panic
« Reply #20 on: August 01, 2011, 09:51:16 AM »
Mary

yes it exist this indication
Code: [Select]
signal-event pre-backupbut in my case I wasn't able to use it - it wasn't an functional server - just access to hdd recovery data

and yes I have used that pages
http://wiki.contribs.org/Backup_server_config#Backup_and_Restore_concepts.2C_issues_and_other_information
http://wiki.contribs.org/Backup_server_config#Manually_transferring_configuration_information
to take all data possible to be necessary after backup

If any note will be placed in wiki around that "signal-event pre-backup" stressing that this command make following actions..... will be excellent
Or at least one link to another wiki page where each signal-event command is explained


CharlieBrady

as usually your concepts are master - unfortunately I didn't use this prior of this problem ...
I'll take it into count from now on
I will try to find some guide around here "how to do it"

« Last Edit: August 01, 2011, 03:29:00 PM by larieu »
if everybody's life around you is better, probably yours will be better
just try to improve their life

Offline apmuthu

  • *
  • 244
  • +0/-0
Re: error /sbin/init no souch file kernel panic
« Reply #21 on: February 20, 2013, 04:24:54 PM »
Started with a fully Yummed SME 8.0
 
Faced a similar situation today after attempting to follow instructions in:
http://mirror.canada.pialasse.com/contribs/dmay/smeserver/6.x/howto/smeserver-iso-howto.html
and then doing a dist-upgrade and reboot.
The fstab and mtab seemed to have been overwritten and SELinux Policy was missing as well.
The swap partition also got locked.
 
The yum that did the damage was:
Code: [Select]
yum install \
anaconda \
anaconda-runtime \
httpd-devel \
autoconf \
automake \
cpp \
gcc \
gcc-c++ \
gettext \
glibc-devel \
glibc-kernheaders \
kernel-devel \
libacl \
libacl-devel \
libattr \
libstdc++ \
libtool \
m4 \
mkisofs \
ncurses-devel \
pam-devel \
Changes under advice from:
http://wiki.centos.org/HowTos/I_need_the_Kernel_Source