Koozali.org: home of the SME Server

Obsolete Releases => SME Server 8.x => Topic started by: jameswilson on May 26, 2012, 03:10:05 PM

Title: [Solved] SME 8 wont reboot
Post by: jameswilson on May 26, 2012, 03:10:05 PM
Having issues with vpn holding up. So issues a reboot via ssh.

Been over an our and half now like this

Quote
login as: root
root@192.168.16.201's password:
Last login: Sat May 26 10:45:08 2012 from pc-00246.xxxxxxx.com
[root@sme-big ~]# kill -9 4245
[root@sme-big ~]# kill -9 4245
[root@sme-big ~]# kill -9 4245
[root@sme-big ~]# top
top - 14:04:39 up  3:16,  0 users,  load average: 18.00, 18.00, 17.83
Tasks: 244 total,  14 running, 230 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.2%us, 50.2%sy,  0.0%ni, 49.7%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   3358932k total,  1020424k used,  2338508k free,    26980k buffers
Swap:  5406712k total,        0k used,  5406712k free,   260612k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 4245 root      19   0  1800  628  552 R 100.0  0.0 166:26.58 shutdown
 5207 root      16   0  2428 1112  800 S  0.3  0.0   0:13.44 top
    1 root      15   0  2160  700  608 S  0.0  0.0   0:00.63 init
    2 root      RT  -5     0    0    0 R  0.0  0.0   0:00.00 migration/0
    3 root      34  19     0    0    0 S  0.0  0.0   0:00.00 ksoftirqd/0
    4 root      RT  -5     0    0    0 R  0.0  0.0   0:00.00 watchdog/0
    5 root      RT  -5     0    0    0 S  0.0  0.0   0:00.01 migration/1
    6 root      38  19     0    0    0 S  0.0  0.0   0:00.01 ksoftirqd/1
    7 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 watchdog/1
    8 root      10  -5     0    0    0 R  0.0  0.0   0:00.00 events/0
    9 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 events/1
   10 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 khelper
   11 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kthread
   15 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 kblockd/0
   16 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 kblockd/1
   17 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kacpid
  115 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 cqueue/0

Ive tried kiiling the shutdown process and i have tried the reboot, shutdown -r now and the sme shutdown way. None seem to work.

Any ideas how to remotly reboot this?

Ta

James
Title: Re: SME 8 wont reboot
Post by: cactus on May 26, 2012, 03:52:18 PM
Perhaps you accidentaly hit Ctrl+S in your terminal, which might interupt your servers output, what happens when you press Ctrl+Q?
Title: Re: SME 8 wont reboot
Post by: jameswilson on May 26, 2012, 04:16:18 PM
thanks cactus but i dont think i have done that. I have pressed the ctrl q as requested no change

Quote
login as: root
root@192.168.16.201's password:
Last login: Sat May 26 10:45:08 2012 from pc-00246.xxxxxxxxxx.com
[root@sme-big ~]# kill -9 4245
[root@sme-big ~]# kill -9 4245
[root@sme-big ~]# kill -9 4245
[root@sme-big ~]# top
top - 15:15:19 up  4:27,  0 users,  load average: 18.12, 18.06, 17.99
Tasks: 244 total,  10 running, 234 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.2%us, 50.2%sy,  0.0%ni, 49.7%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   3358932k total,  1304812k used,  2054120k free,    26980k buffers
Swap:  5406712k total,        0k used,  5406712k free,   260620k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 4245 root      19   0  1800  628  552 R 100.0  0.0 237:05.33 shutdown
 5911 root      15   0  2428 1116  800 R  0.3  0.0   0:13.81 top
    1 root      15   0  2160  700  608 S  0.0  0.0   0:00.63 init
    2 root      RT  -5     0    0    0 R  0.0  0.0   0:00.00 migration/0
    3 root      34  19     0    0    0 S  0.0  0.0   0:00.00 ksoftirqd/0
    4 root      RT  -5     0    0    0 R  0.0  0.0   0:00.00 watchdog/0
    5 root      RT  -5     0    0    0 S  0.0  0.0   0:00.01 migration/1
    6 root      38  19     0    0    0 S  0.0  0.0   0:00.01 ksoftirqd/1
    7 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 watchdog/1
    8 root      10  -5     0    0    0 R  0.0  0.0   0:00.00 events/0
    9 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 events/1
   10 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 khelper
   11 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kthread
   15 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 kblockd/0
   16 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 kblockd/1
   17 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kacpid
  115 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 cqueue/0
Title: Re: SME 8 wont reboot
Post by: janet on May 26, 2012, 04:56:27 PM
jameswilson

Maybe there are some more processes not displayed by top that are hogging the CPU, it does appear to be very busy, so that's why it is not responding quickly to your earlier issued commands. What does this command show, assuming it does respond in a timely fashion
top -i

The sme reboot command is
signal-event reboot

To shutdown sme do
signal-event halt

Unfortunately it's hard to press the power switch if you are remote.
Title: Re: SME 8 wont reboot
Post by: jameswilson on May 26, 2012, 05:06:38 PM
agreed on power id of done that already

top -i

Quote
[root@sme-big ~]# killall -9 shutdown
[root@sme-big ~]# killall -15 shutdown
[root@sme-big ~]# kill -15 4245
[root@sme-big ~]# top -i
top - 16:01:24 up  5:13,  0 users,  load average: 18.00, 18.00, 18.00
Tasks: 244 total,  11 running, 233 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.2%us, 50.2%sy,  0.0%ni, 49.7%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   3358932k total,  1406120k used,  1952812k free,    26980k buffers
Swap:  5406712k total,        0k used,  5406712k free,   260644k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 4245 root      19   0  1800  628  552 R 100.0  0.0 283:10.01 shutdown
    2 root      RT  -5     0    0    0 R  0.0  0.0   0:00.00 migration/0
    4 root      RT  -5     0    0    0 R  0.0  0.0   0:00.00 watchdog/0
    8 root      10  -5     0    0    0 R  0.0  0.0   0:00.00 events/0
  392 root      10  -5     0    0    0 D  0.0  0.0   0:00.14 scsi_eh_1
 4267 root      16   0  1824  564  488 R  0.0  0.0   0:00.03 pptpctrl
 4268 root      18   0  2996 1068  868 D  0.0  0.0   0:00.00 pppd
 4326 root      20   0  1800  632  552 D  0.0  0.0   0:00.00 shutdown
 4684 root      18   0  1800  632  552 D  0.0  0.0   0:00.00 shutdown
 5169 root      18   0  1800  628  552 D  0.0  0.0   0:00.00 shutdown
 5171 root      15   0 10228 2968 2388 R  0.0  0.1   0:00.98 sshd
 5403 root      17   0  1824  564  488 R  0.0  0.0   0:00.02 pptpctrl
 5404 root      19   0  2996 1068  868 D  0.0  0.0   0:00.00 pppd
 5407 root      17   0  1824  560  488 R  0.0  0.0   0:00.01 pptpctrl
 5408 root      19   0  2996 1068  868 D  0.0  0.0   0:00.00 pppd
 5433 root      18   0  1824  568  488 R  0.0  0.0   0:00.02 pptpctrl
 5434 root      24   0  2996 1072  868 D  0.0  0.0   0:00.00 pppd
Title: Re: SME 8 wont reboot
Post by: jameswilson on May 26, 2012, 05:06:57 PM
thanks mary
Title: Re: SME 8 wont reboot
Post by: jameswilson on May 26, 2012, 06:45:31 PM
well i need to visit now as its no longer responding to anything. So ill have to pull the power on it.
Title: Re: [Solved] SME 8 wont reboot
Post by: jameswilson on May 27, 2012, 01:07:14 AM
I have chnaged this to solved (i think)

Issue was / is hardware. 4 drive raid 5, sdb and sdd have failed. Had to unplug a drive to get it to boot (sdd) and its now running as a degraded raid 5. Ill chnage the board next week.

Sorry all nowt to do with SME as usual