0
votes
1answer
22 views

Ubuntu server detecting electricity outage?

I am in the planning stage for setting up my server and have some doubts. Firstly my network is something like this: One parent PC connected to the internet and 3 other child PCs which are not ...
1
vote
1answer
64 views

ubuntu server restarting instead of shutting down

Whenever I try to shutdown my pc by using sudo shutdown -... now (it doesn't matter what I fill in for the ...), it always shutdowns down for about 3-4 seconds, and than just powers up again. I'm sure ...
0
votes
0answers
52 views

Shutdown of Ubuntu 14.04 requires authentication [duplicate]

I'm running Ubuntu Server 14.04 (amd64) headless, but with XFCE4 as a desktop GUI installed. Because of a HWE (if I'm correct) message that I was running out of support, i upgraded today by doing a ...
0
votes
1answer
52 views

Ubuntu 13.10 reboot issue

Have some problem with restart server supermicro on Ubuntu server 13.10. Command: reboot shutdown -r now init 6 dont restart my server, but after it shutdown. I need to push power button every ...
3
votes
1answer
951 views

shut down linux server and turn on automatically at specific time

I'm having an assignment where the lecturer is asking me to create a bash script to shut down a server at 11pm and turn it on at 6am. I'm able to do it by using sudo shutdown -h 23:00 and it works. ...
0
votes
0answers
115 views

ubuntu server 13.10 - shutdown/reboot does not work

I recently installed Ubuntu Server 13.10 on a dedicated machine. I usually only log in via SSH, since there is no monitor attached. However, using sudo shutdown -h or sudo reboot now does not work. ...
2
votes
2answers
249 views

sudo reboot shuts down instead of rebooting on a X10SLM-F

I have a server with the motherboard X10SLM-F (Supermicro). I successfully installed Ubuntu server 12.04 LTS on it. The problem I have is that, when I give the command: sudo reboot, the server doesn't ...
0
votes
1answer
20k views

Putty fatal error: Network error: connection refused (ubunty server) [closed]

I applied the below mention code to my server and after few mins i tried to re-connect to the PUTTY then its started showing me this error Putty fatal error: Network error: connection refused (ubunty ...
0
votes
0answers
35 views

Can I change watchdog's action from 'reboot' to 'halt'?

I would like to shutdown my server if serious problems are detected. Is there anyway to do so using watchdog? I have installed watchdog via sudo apt-get install watchdog and I was googling but there ...
3
votes
0answers
33 views

Stop job before it's dependencies

I have a job that does some things and uses other locally installed services (such as the mail server). Sometimes I do an ACPI shutdown but I need this service to complete the ongoing operation ...
1
vote
0answers
296 views

12.04 rebooting instead of shutting down

Since I installed my brand new Ubuntu Server 12.04 it keeps rebooting every time I try to power it off. It shuts down and after 3-4 seconds it boots again. I also tried sudo shutdown -hP now and ...
2
votes
2answers
2k views

How to verify if a reboot was due to power outage?

We've had problems with tripping a breaker and I think we just did it again, but I need to confirm that 1 of our boxes rebooted due to a power outage and not for another mundane reason. I have ...
0
votes
1answer
1k views

How to shutdown a server that's configured to use XRDP for Remote Desktop [Ubuntu 10.14]?

I've configured a server to use XRDP as my remote client, instead of VNC. My problem lies in the fact that I can not remotely shutdown or restart my server from within XRDP. Choosing the shutdown or ...
9
votes
1answer
7k views

`shutdown -r now` command completely shutting down instead of restarting

Hi we've just installed Ubuntu 12.04 LTS onto a new server. It's on a SuperMicro X9SCA-f Motherboard . Now we're aiming to locate this in a remote server room - however when we execute a shutdown -r ...
1
vote
2answers
2k views

Auto shutdown server if there was no activity

My server should shutdown after 01:00 am, if there was no activity in the past hour. Lets say there was the last connection at 00:43 then it should check again at 01:43. How to write such a ...
2
votes
2answers
2k views

Set Idle Time in Ubuntu 12.04 Server

I recently installed Ubuntu 12.04 Server and am looking for away for get the server to suspend after an idle time. When using the desktop version I could use the Gnome powersaving tool to specify the ...
0
votes
2answers
3k views

Ubuntu 12.04 doesn't turn off (halt) under ESXi 5.0U1

I've installed Ubuntu 12.04 x64 (server) on my ESXi 5.0U1 server and it's mostly working fine except when I try to turn off the system using the halt command (/sbin/halt) it says "Powering off..." but ...
5
votes
2answers
7k views

How can I enable the power button on my server?

The power button on my headless 11.10 server appears to do nothing unless I hold it in for 5 seconds or so, in which case it switches the machine off instantly. What I'd like it to do if I press it ...
4
votes
3answers
790 views

shutdown -P works, but shutdown -r does not

I have a headless Ubuntu Server 11.04 box. If I use: sudo shutdown -P now It works every time. However, if I instead want to simply restart the machine: sudo shutdown -r now It fails to do so. ...
1
vote
1answer
998 views

Check If Users are Logged In, Check Condition, Shutdown Automatically at Set Time

First the situation: I have a server that I want to shutdown automatically at night (00:00), but I need to make sure no one is logged via ssh in still. If they are, then I will allow up to another ...