Koozali.org: home of the SME Server

Server no boot

Offline smnirosh

  • *****
  • 329
  • +0/-0
  • Learning never ends
Server no boot
« on: June 19, 2018, 03:05:36 PM »
After driver update server not booting.
Giving me a message
Mount wrong fs type
Kernel panic - not syncing :attempting to kill init.
Pid: comm: init tainted :P

What can i do next to reboot to os?

Offline Jean-Philippe Pialasse

  • *
  • 2,912
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Server no boot
« Reply #1 on: June 19, 2018, 03:53:00 PM »
by driver update, were you referring to kernel update ?
are you able to boot on the previous kernel ?

a little more information on this server would be helpful to help you  :
- hardware or virtual machine ?



if virtual machine and previous kernel still work, please change the type of CPU in the setting of the VM. This is a common  bug referenced against CentOS and last kernels. Google will answer the question quite easily.

Offline smnirosh

  • *****
  • 329
  • +0/-0
  • Learning never ends
Re: Server no boot
« Reply #2 on: June 19, 2018, 04:05:23 PM »
It’s not a virtual machine. It’s our gateway server. I cannot boot to previous kernel

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Server no boot
« Reply #3 on: June 19, 2018, 04:38:24 PM »
ok, please describe at your best what did you do and what do you mean with "driver update"

Offline smnirosh

  • *****
  • 329
  • +0/-0
  • Learning never ends
Re: Server no boot
« Reply #4 on: June 19, 2018, 04:48:30 PM »
Indownloaded a rpm file and ran it from hp driver update site. It was the driver for smart array controller. After reboot I couldn’t get into the system. Errro is
Mount wrong file type bad superblock on /dev/sdb2
The server configured as hardware raid(raid1).
Thanks

Offline ReetP

  • *
  • 3,949
  • +6/-0
Re: Server no boot
« Reply #5 on: June 19, 2018, 04:53:39 PM »
I downloaded a rpm file and ran it from hp driver update site. It was the driver for smart array controller.

Why? Was there an earlier version installed or were you just playing about?

...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline smnirosh

  • *****
  • 329
  • +0/-0
  • Learning never ends
Re: Server no boot
« Reply #6 on: June 19, 2018, 04:55:40 PM »
No I didn’t install it when we install sme server. Then i decided to install today.

Offline ReetP

  • *
  • 3,949
  • +6/-0
Re: Server no boot
« Reply #7 on: June 19, 2018, 05:04:28 PM »
No I didn’t install it when we install sme server. Then i decided to install today.

No testing first then? Which 'drivers' did you get?

You will probably need a rescue disk and try to unpick the damage. I would guess that SME recognised the 'single' hardware drive presented to it, but the software driver is accessing the actual drives directly.

I presume you have a good backup ?
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline Jean-Philippe Pialasse

  • *
  • 2,912
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Server no boot
« Reply #8 on: June 19, 2018, 05:05:21 PM »
any backup ?
easy way would be to restore them


harder way would be to boot on installation media on rescue mode, chroot, uninstall rpm and reboot.

Offline smnirosh

  • *****
  • 329
  • +0/-0
  • Learning never ends
Re: Server no boot
« Reply #9 on: June 19, 2018, 05:08:00 PM »
Yes i have a good backup. And a rescue disk. But i test this installation on our old server. No errors were found.
That’s why i took so much of time to update. It’s almost 5 months gone after installed sme 9.2. To new server.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Server no boot
« Reply #10 on: June 19, 2018, 05:31:43 PM »
sorry but..
you're telling us you have an HP server with a smartarray controller.. did you setup hw raid when you installed SME or what?
and (forgive me, it's hard for me to believe) you installed a rpm today for that controller? why? did you have any issue? anything to be solved?
are you really telling us you installed it on your production gateway with no reason?

Offline smnirosh

  • *****
  • 329
  • +0/-0
  • Learning never ends
Re: Server no boot
« Reply #11 on: June 19, 2018, 05:34:17 PM »
Yes we have hp server.
I installed bcos there was an error everytime it boots about smart array. I thought to install drivers step by step. Look this step😞😞😞. At the first effort i was failed.

Offline smnirosh

  • *****
  • 329
  • +0/-0
  • Learning never ends
Re: Server no boot
« Reply #12 on: June 19, 2018, 05:35:09 PM »
I setup hdwre raid when i install sme server.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Server no boot
« Reply #13 on: June 19, 2018, 05:37:16 PM »
Yes we have hp server.
I installed bcos there was an error everytime it boots about smart array. I thought to install drivers step by step. Look this step😞😞😞. At the first effort i was failed.

well.. which error?
was it at POST time or during SME's boot?
why didn't you ask for help here before doing it (in the general discussion area, for example)?

Offline smnirosh

  • *****
  • 329
  • +0/-0
  • Learning never ends
Re: Server no boot
« Reply #14 on: June 19, 2018, 05:37:29 PM »
Now rpm - e command doesn’t recognize any packages i installed. I only remember first letter of this package. “hpvsa”. I put rpm -e hpvsa*

Offline smnirosh

  • *****
  • 329
  • +0/-0
  • Learning never ends
Re: Server no boot
« Reply #15 on: June 19, 2018, 05:39:38 PM »
I check first with our old server before i deploy it without no error. I followed hp’s short explanations but no error detective processes.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Server no boot
« Reply #16 on: June 19, 2018, 05:39:55 PM »
please, give us more details? from which shell are you trying to remove that rpm?
remember we can't see your monitor, so please be verbose

Offline smnirosh

  • *****
  • 329
  • +0/-0
  • Learning never ends
Re: Server no boot
« Reply #17 on: June 19, 2018, 05:50:34 PM »
first image

Offline smnirosh

  • *****
  • 329
  • +0/-0
  • Learning never ends
Re: Server no boot
« Reply #18 on: June 19, 2018, 05:50:49 PM »
second image

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Server no boot
« Reply #19 on: June 19, 2018, 05:52:44 PM »
your best bet is to reinstall from scratch and restore from backup; trying to make it work again could just be a loss of time

Offline smnirosh

  • *****
  • 329
  • +0/-0
  • Learning never ends
Re: Server no boot
« Reply #20 on: June 19, 2018, 05:54:51 PM »
reinstall from scratch means ?

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Server no boot
« Reply #21 on: June 19, 2018, 05:56:21 PM »
insert SME's cd into your server and reinstall, do a new installation.. then restore your backup

Offline smnirosh

  • *****
  • 329
  • +0/-0
  • Learning never ends
Re: Server no boot
« Reply #22 on: June 19, 2018, 05:57:37 PM »
now i checked with gparted of rescue linux disk.
sda1 - has data
sda2 - unallocated
sdb1 - has data
sdb2 - has data

i thing raid is not synced perfectly. Would it be a chance for us or is it useless clue?

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Server no boot
« Reply #23 on: June 19, 2018, 05:59:14 PM »
the last one..
you said you've an HW raid.. it seems that your rescue disk can't see it and so just see your 2 hds..

you're loosing time, believe me

Offline Jean-Philippe Pialasse

  • *
  • 2,912
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Server no boot
« Reply #24 on: June 19, 2018, 06:00:11 PM »
check history

history|grep -i hpvsa

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Server no boot
« Reply #25 on: June 19, 2018, 06:01:27 PM »
check history

history|grep -i hpvsa

if he can't mount the original fs and chroot in it, he won't get any result

Offline ReetP

  • *
  • 3,949
  • +6/-0
Re: Server no boot
« Reply #26 on: June 19, 2018, 06:02:41 PM »
the last one..
you said you've an HW raid.. it seems that your rescue disk can't see it and so just see your 2 hds..

you're loosing time, believe me

Completely.

OP said:

Quote
The server configured as hardware raid(raid1).

That's not what he is seeing now.

Have you touched anything in the BIOS for the RAID card ?
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline ReetP

  • *
  • 3,949
  • +6/-0
Re: Server no boot
« Reply #27 on: June 19, 2018, 06:03:46 PM »
Ahhhh

https://support.hpe.com/hpsc/doc/public/display?sp4ts.oid=null&docLocale=en_US&docId=emr_na-c04422545

So, don't use this driver unless you do it at install.

(I just had a quick search at HP for 'hpvsa')
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Server no boot
« Reply #28 on: June 19, 2018, 06:05:09 PM »
doh..

reinstall and restore
good luck

Offline smnirosh

  • *****
  • 329
  • +0/-0
  • Learning never ends
Re: Server no boot
« Reply #29 on: June 19, 2018, 06:05:53 PM »
no touch any settings. just installed the driver.
I loaded gparted GUI and it allowed me to select my two hdd drives. 500GB and 500GB i could able to see.


Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Server no boot
« Reply #30 on: June 19, 2018, 06:28:11 PM »
Again, you won't solve your problems

Offline smnirosh

  • *****
  • 329
  • +0/-0
  • Learning never ends
Re: Server no boot
« Reply #31 on: June 19, 2018, 07:17:23 PM »
Ok I am goint to reinstall the system. I have a workstation backup saved. What kind of data and settings will have been restored when i restore from backup?

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Server no boot
« Reply #32 on: June 19, 2018, 07:20:56 PM »
All, users, groups, data
All but contribs (but their conf will be restored)

Offline smnirosh

  • *****
  • 329
  • +0/-0
  • Learning never ends
Re: Server no boot
« Reply #33 on: June 19, 2018, 07:31:31 PM »
ok good to know. what about openvpn?
and which file do i have to copy to usb hard disk to restore data (the backup done by workstation backup)?
« Last Edit: June 19, 2018, 07:33:41 PM by smnirosh »

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Server no boot
« Reply #34 on: June 19, 2018, 07:49:12 PM »
Read the fine documentation, really
Thank you

Offline smnirosh

  • *****
  • 329
  • +0/-0
  • Learning never ends
Re: Server no boot
« Reply #35 on: June 19, 2018, 08:02:28 PM »
Ok thanks

Offline smnirosh

  • *****
  • 329
  • +0/-0
  • Learning never ends
Re: Server no boot
« Reply #36 on: June 20, 2018, 10:43:28 AM »
I configured workstation backup on new server. But after few minutes it said error reading. The restore process stopped. 🤔🤔🤔

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Server no boot
« Reply #37 on: June 20, 2018, 10:48:21 AM »
anything useful in the logs?

Offline smnirosh

  • *****
  • 329
  • +0/-0
  • Learning never ends
Re: Server no boot
« Reply #38 on: June 20, 2018, 10:50:24 AM »
Ok i will update. I ran once again the restore. Let’s see

Offline smnirosh

  • *****
  • 329
  • +0/-0
  • Learning never ends
Re: Server no boot
« Reply #39 on: June 20, 2018, 10:53:09 AM »
I directly selected the latest incremental backup. Do i have to select the full backup instead? 🤔🤔🤔

Offline smnirosh

  • *****
  • 329
  • +0/-0
  • Learning never ends
Re: Server no boot
« Reply #40 on: June 20, 2018, 11:17:10 AM »
This time “unable to retrieve http://localhost/server-manager. Error reading from socket

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Server no boot
« Reply #41 on: June 20, 2018, 11:20:27 AM »
how much data?

Offline smnirosh

  • *****
  • 329
  • +0/-0
  • Learning never ends
Re: Server no boot
« Reply #42 on: June 20, 2018, 11:24:49 AM »
Little bit. Only primary ibay and in messege log it’s said “canonicalize m_connect_path failed for service (username and path)

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Server no boot
« Reply #43 on: June 20, 2018, 12:19:21 PM »
did you use the ip or the hostname to connect to the backup host?

Offline smnirosh

  • *****
  • 329
  • +0/-0
  • Learning never ends
Re: Server no boot
« Reply #44 on: June 20, 2018, 12:22:04 PM »
I used ip.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Server no boot
« Reply #45 on: June 20, 2018, 12:23:47 PM »
well.. something's wrong with IP or credentials

Offline smnirosh

  • *****
  • 329
  • +0/-0
  • Learning never ends
Re: Server no boot
« Reply #46 on: June 20, 2018, 12:25:11 PM »
 I used the credentials of nas drive in the server manager.