Ubuntu Servers :: Halt / Suspend After X Minutes?

Oct 25, 2010

How do I configure acpi(d?) to suspend/halt the system after a specified period of inactivity? I can find plenty of information about setting up events to respond to button presses, but none on setting inactivity.

View 2 Replies


ADVERTISEMENT

Debian :: Hibernating After X Seconds / Minutes After Suspend

Feb 19, 2016

I followed a guide with the hopes of my computer waking from suspend after a defined number of seconds (for testing purposes, 4 seconds).

Per the guide, I've added a file: /etc/pm/config.d/00-use-suspend-hybrid

Code: Select all# Always use suspend_hybrid instead of suspend
if [ "$METHOD" = "suspend" ]; then
  METHOD=suspend_hybrid
fi

# The delay after which hibernation gets triggered (default: 900 seconds, 15 minutes):
PM_HIBERNATE_DELAY=4

After four seconds of suspend, it continues suspending, and doesn't go into full hibernate.

View 4 Replies View Related

Ubuntu Servers :: Server Keeps Grinding To A Halt?

Feb 3, 2010

my server keeps grinding to a halt after a few days of running and then needs o be rebooted. Are there any logs I cant look at o post to try and figure out the cause?

View 1 Replies View Related

Ubuntu Servers :: Can Server Alongside Current Windows Server Without Bring Everything To Screeching Halt?

Dec 8, 2010

In trying to help our office modernize its IT infrastructure, one of the key components is maintaing our server. We have around 50-60 people who need access to a local server primarily for secure general file storage. These employees are geographically dispersed. We currently use some(?) version of Windows Server which is maintained and updated by a IT company we keep on retainer. After doing some very basic research on Ubuntu Server, I would like to try and incorporate a pilot program utilizing the Ubuntu Server software.I was successful in installing Ubuntu Server on an unused PC that I put a clean hard drive in. I have been following the direction of the Official Ubuntu Server manual to assist in the server setup, and this has progressed my cause up to a point.

Can I run an Ubuntu Server alongside our current Windows server without bring everything to a screeching halt? Additionally, I am the only mac computer in an office filled with varying version of windows. I have begun to configure samba but need some direction from the community as to updating the workgroup so my mac can connect to the Ubuntu Server. What do I need to put in the workgroup part of the /etc/samba/smb.conf directory?I have no doubt there will be face palms by the community after reading this thread, but I am trying my best to teach myself the Ubuntu way.

View 2 Replies View Related

Ubuntu Servers :: 10.04 Shutdowns After Idle For A Couple Of Minutes?

Oct 12, 2010

I've Ubuntu Server 10.04 and am just using the terminal, no GUI like Gnome. So far it's working pretty great except for one big thing.

Whenever I go to sleep and there's no activity on my servers (it's not a big site so active users drop to 0 during the night), the server kind of disconnects. The only thing that can bring the site back online is to restart the whole server. I've tried disabling powersaving by using setterm but that changes nothing. Even if I wake up the server by pressing any key or so the site wont go back online!

I've tried just restarting both Apache and MySQL (I'm using LAMP-server btw) but not even that works. But as soon as I turn the power off and on at the server, everythings work like normal for a couple of minutes of inactivity (~5-15 minutes I'd guess) and then it's down again unless someone logs in to the site and is active.

View 1 Replies View Related

Fedora Servers :: Samba Works For About 2 Minutes Then Stops?

Feb 20, 2009

I can't seem to figure this out. I've got a DOS disc that loads up a network share (my Samba server running Fedora 10) - connects to the share, runs ghost.exe from there. Everything runs perfect for about 2 minutes, then my thoroughput drops to 0. Sometimes, after about 40 seconds, it'll resume imaging. Most of the time, after about 40 seconds, Ghost gives me an error stating 'not enough free space on the destination disc' - This is a raid 5 3TB array that I'm ghosting a 6.0Gb HDD to!
lanman auth = yes and client lanman auth = yes are already set up - I can connect fine, but it's almost like Samba hiccups and drops my connection!

View 6 Replies View Related

Ubuntu Servers :: Use Pm-suspend On Server 11.04?

Apr 30, 2011

i want to use pm-suspend on my ubuntu server 11.04. Everything works fine, i can wake up the server with the power button, but wake on LAN doesn't work. My network card is an Intel e1000e. If i use acpid with "echo mem > /sys/power/state", wake on LAN works without any problem. What can i do to solve the problem?

View 1 Replies View Related

General :: `mencoder` Captures 10 Minutes Of Audio In Less Than 10 Minutes?

Mar 15, 2011

I'm using mencoder to capture audio from a Encore ENLTV-FM3 video capture device. I have recently noticed that, since one week ago, when the machine was forcibly restarted due to a power outage, all recordings are slightly pitched, they play back slower than they should.

I narrowed down the problem to the following command line:

$ time mencoder -really-quiet -tv driver=v4l2:device=/dev/video1:chanlist=us-cable:audiorate=32000:alsa:adevice=hw.1:input=0:amode=1:normid=11 -endpos 00:10:00 -ovc copy -oac pcm -of rawaudio -o test-32000.wav tv://69
real 9m54.886s
user 0m5.536s
sys 0m1.740s
$ ls -l test-32000.wav
-rw-r--r--@ 1 martin martin 76800000 Mar 15 17:20 test-32000.wav

Somehow, mencode managed to gather precisely 10 minutes worth of raw audio in 9m 55s. That's not physically possible, unless the capture device's A/D converters are "overclocked". I can't think of any other explanation besides hardware failure. Can that be? Could it be that something got burnt during the power outage and now the capture device's internal clock went nuts?

Since the machine's restart, I've also noticed dmesg is flooded with entries like this:

CE: hpet increased min_delta_ns to XXX nsec

Which seem to indicate that the computer's high precision event timer is somehow out of sync. Does this have to do with the audio issue? Can it be that the audio converter's sample rate is linked to the HPET? I'm totally lost here. Has anyone bumped into something similar?

View 2 Replies View Related

Ubuntu Servers :: How To Auto Suspend And Wol Depending On Usage

Jan 18, 2010

i have a pc that is set up as a torrent slave / file server and media pc i want to set i up so that is goes in to suspend when there is no need for it to be on. I wnat it to wake at a set time to run a cron script for me, to check if there are any new torrents out, if there are , download an seed to till rtorrent auto stops the seeding (for me thats set at 1:1), then go back in to standby mode, if there are no active downloads then i want it to go back in to standby straight away.

as its also used as a file server, is there any way to have the shares still visable, with the pc in stand by, then when a user accesses it wake up the server, and if there is no activity after a set time out then go back in to standby. i would also like it to wol when i try to ssh in to it as a htpc is runns moovida, i would also like it to only go in to standby mode if i am not playing a video.

View 1 Replies View Related

Ubuntu Servers :: Suspend (and Hibernate) Not Working On 10.04 Server

Jul 1, 2011

I have a headless 10.04 ubuntu server ( running at home. Because I am a student I want to save some power by suspending the server when I really don't need it (school, sleep etc.). I have gotten WOL to work for me, BUT the suspend does not work.

I have tried pm-suspend and s2ram, but they both have same result; I lose all control (seems like a freeze) from my SSH, but it does not disconnect, and the server responds to pings. But I cant connect via ssh, or use the fileserver or any of the roles it has. I assume there might be something locking it when it tries to suspend, but I really don't know where to start looking (logs and stuff). I have googled quite a bit, but almost all failed suspends are some funky laptop issues, and this is not...

View 9 Replies View Related

Ubuntu :: Waking From Suspend, To Tell It Needs To Suspend Due To A Critical Low Battery?

Oct 25, 2010

If I suspend this toshiba satellite, and the battery is or gets low it will wake from suspend to tell me that it will need to suspend due to a critical low battery. Which is pretty dumb. I've experimented with this by plugging and unplugging the ac adapter.

View 1 Replies View Related

Ubuntu :: Pm-suspend-hybrid / Schedule The Laptop To Come Out Of Suspend?

May 23, 2011

3 questions i have about "pm-suspend-hybrid"

1. is it possible to schedule this command in the same manner as shutdown ? eg sudo shutdown -h 60

2. is it possible to schedule the laptop to come out of suspend ?

3. i have a usb sound card (xfi go). when waking from suspend, the internal sound card is selected. i have to manually select the external sound card & for whatever reason, also unmute it too

View 1 Replies View Related

Ubuntu :: 11.04 Halt After Update?

May 5, 2011

I installed Ubuntu 11.04 in my laptop (HP TM2 touchsmart) and everything was great, install perfect, it recognize every driver, but then it said that there was updates availables, so I installed them, but after that, the system halt at restart, nothing, just a black screen, and if I enter in recovery mode It stops in the line "registering wacom driver" So, what can I do in that case..? Can I restore the previus drivers..? Do I need to reinstall..? How do I avoid that it may happen again..?

View 9 Replies View Related

Ubuntu :: Grub4dos Halt Doesn't Work?

May 29, 2010

Anybody here know anything about grub4dos? I'm building myself a multiboot flash drive using grub4dos and one of my commands on the menu, obviously, is shutdown. This should be simply "halt" but every time I launch that command, or if I type it into the grub4dos command line, the computer locks up and I have to do a hard reboot.

View 9 Replies View Related

Ubuntu :: Grub2 Unable To Halt (shut Down)?

May 31, 2010

I am trying to add an entry to grub2 to turn the computer off using the 'halt' command, but grub2 freezes and I have to manually reboot. I have tried both 'halt' and 'halt --no-apm', both with and without 'insmod halt' first. The 'reboot' command however works fine (even without 'insmod reboot') so it doesnt seem to be an acpi/apm issue. This was all tested at grub2's command line, so there isnt any problems with syntax in the config file. The laptop I am trying this on is an Acer Aspire One, I am using Ubuntu Netbook Edition 10.04 (Lucid), and a more or less default config for grub2 (GNU GRUB 1.98-1ubuntu6) as far as modules are concerned.

View 1 Replies View Related

Ubuntu :: Halt Followed By Filesystem Error, Recurrent?

Aug 30, 2010

The other they my laptop totally halted in the middle of a luks-encrypted external-hd copy operation or such.After a hard poweroff and reboot, the linux procedure would halt at the

Code:(initramfs) line and couldn't be pushed further. I booted with a LiveCD, ran sudo fsck /dev/sda1 and answered yes to a bundh of filesystem-fixing prompts. Yesterday the it happened again: freeze then incomplete boot with same error message. Do you have an idea of what can be causing it? How can I diagnose this problem?

View 6 Replies View Related

Ubuntu :: StartUp Halt Error - Filesystem?

Jan 22, 2011

I just accidentally clicked on my ubuntu drive when I was in PCBSD Unix and I had somehow glanced at a few things. When I tried, it didn't really let me in as much, but it said something about an access error and denial when I looked with the KDE Dolphin file browser.All I did was leave the rest alone and reboot but then got this when attempting to access Ubuntu:----------init: hwclock main process (366) terminated with status 29564.General error mounting file systems.---------- also got back into BSD and formally unmounted and rebooted again, but to no avail.

View 3 Replies View Related

Fedora :: FC6 Is Being Halt Not Shut Down?

Jul 15, 2009

I have working system with fedora 6,It is working fine, but it is not properly shut downIt is giving me messages like System halted but after that i need to press the power buttonIt is not shut down properly.My system details are given below.CPU: Intel(R) Pentium(R) 4 CPU 3.00GHzRAM: 512 DDRHDD: 80 GBKernel: 2.6.18-1.2869.fc6xen (32 bit)

I have checked the following for this issue.1) I have tried acpi=off in kernel in grub options too.2) I have tried to change the settings with BIOS which is related to acpi3) I have searched regarding this issue and found some what related to kernel issue, But the repository of FC6 is not working i think, SO I could not able to upgrade the kernel.

View 5 Replies View Related

Ubuntu Multimedia :: Totem Comes To Halt In 30 To 45 Minute Video

Oct 13, 2010

On 10.04 64-bit, I've been noticing this weird error where totem comes to a halt after ~3/4 of playback in a 30-45 minute video, then it starts to play back again after about 10 seconds but it's a bit choppier. What could be causing this or how I can track down the issue? I'm running a nVidia GTX 275 with nividia-current drivers (195.36.24) if that helps diagnose anything.

View 1 Replies View Related

Software :: Halt Didnt Powered Off The Box?

Dec 29, 2010

Im not sure if this is serious, but yesterday, 2 out of 6 times i tryed to halt my debian box, it didnt.The closing process took place correctly apparently, but after the last message "WILL NOW HALT", it didnt. The server stood there for a good time until i manually rebooted it.I used the command halt via putty, and i was configuring shorewall, so i only wrote some scripts and ran some shorewall restart's

View 9 Replies View Related

Ubuntu Security :: Something Is Trnsmitting Packets And Grinding Network To A Halt?

Feb 10, 2010

I have a small network with 4 users, a Win2003 server for LAN/security functions, and a Dell Blade server running Ubuntu 8.04.1 which runs as our web server on port 80. I manage the Ubuntu server with Webmin v1.42Yesterday, my users weren't able to access the internet nor were they able to receive mail, etc. and no one could access any of the website hosted on the webserver. However, the internal users could access each other's PCs and internal printers and devices - just nothing outside.

I began to troubleshoot: I could see a lot of activity on the Router/Firewall on the port connected to the Ubuntu server. When I unplugged the server, everyone could immedately connect to the internet. So, the problem was originating with that server.When I logged in to the Ubuntu server using Webmin, I checked System>Running Processes and right at the top of the list was the process:ID Owner CPU Command23184 www-data 98.1% ./s 174.120.164.186 7777When I drilled down on this process it said that the parent process was:/bin/sh -c ./s 174.120.164.186 7777I pressed the Trace Process button and it appears to be sending the following repeatedly:Time System Call Parameters Returnxxxx send 125,0123456789ABCDE,15,0 15So, I manually Killed the process and added a rule to my firewall/router to block an IP range that includes 174:120:164:186

A few hours later the same process stars again in Ubuntu,, effectively plugging up my pipeline to the internet and preventing access to the websites being hosted.It suspect that there is some kind of virus on my Ubuntu machine but have no idea how to locate and destroy it. I am relatively new to the Ubuntu world and would appreciate anyone's help immensely! I just don't know what to do!

View 9 Replies View Related

Debian :: Disable Annoying Beep In Tty Without X On Halt

Jul 9, 2015

After starting an X session, I can use Code: Select allxset b off to disable most annoying beeps. But, despite rmmod pcspkr

View 3 Replies View Related

Debian :: Screeches To A Halt When Xfering Files?

Jul 2, 2010

When i tranfer my files from my hdd to my external hdd debian seems to like to just completely freeze up and just sit there completely unresponsive. My hdd is a 7200rpm st320gb and the external is a 320(probably 5400rpm) toshiba usb 2.0 portable hdd. The system's Lenny with backports on iceweasel. Also this hasn't happened in Fedora, Ubuntu, or Windows. Thus far it seems to be a debian only related issue. Also i have no "safely remove/eject" option on my external so it's a bit like i'm just unplugging it as i hear it physically just stop spinning all at once instead of theother os' wherein i can slowly kill it off.

View 5 Replies View Related

General :: Difference Between Halt - Shutdown And Poweroff

Aug 25, 2010

difference between halt, shutdown and poweroff

View 3 Replies View Related

CentOS 5 :: System Hang During Shutdown (halt)?

May 23, 2009

I'm running V5.3 (newly installed) on an FJ E8020 laptop. The problem I have is when shutting down (*not* rebooting). NetworkManager fails to stop and after (during?) the postfix shutdown, the system seems to hang.I cannot access via another screen or remotely. I can't find any clues in the log files.

[Code]...

View 1 Replies View Related

Ubuntu :: Killing All The Process On Restart/halt/shutdown Instead Waiting For Scripts?

May 9, 2010

I haveing a big problem atm (just after to upgrade to 10.04). I have a simply and easy script that sent a halt command to every KVM virtual machine actually running into the server. this script is/and was) palced as a init-rc script in rc0/rc1 and rc6 lvls. Just after to upgrade, I have noticed that this script is executed but the system ignore the time that it require to finish (giving time to correctly stop a single virtual machine). Aftert 5 second it start sending SIG-TERM and SIGN-KILL to any currect process and then reboot/halt.

I have just done a new script using upstart and I got just the same result. What is happending? why is the waiting the init secuence for a valid/or_not termination of any init script. I am so sorry for this crap english I have never study this language so I try to do my best anytime I speak it (or try ti..).

View 9 Replies View Related

Ubuntu :: Suspend Or Hibernate / Computer Refuses To Go Into Hibernate Or Suspend?

Mar 16, 2010

Just got Ubuntu 9.10 and I'm liking it a lot, but my computer refuses to go into hibernate or suspend. I have a Dell M1530 but I don't really think it's a dell hardware issue because it's not just when I close the screen, it's also when I click suspend or hibernate from the menu.

View 2 Replies View Related

Debian :: Dist-Upgrades Halt With Comment Can't Respond To?

Jan 28, 2010

This n00b is having a weird situation during dist-upgrades that I've never seen before. It's puzzling my more-experienced pals in an irc channel, too.

Sometimes--not every time--while running a dist-upgrade outside of X on my Debian Testing machines, I get an informational text display (a comment box?) that always ends with the text "(END)". The display freezes there, and I am given no opportunity to respond and let the upgrade procedure continue.[URL]..

I've tried pressing escape, the space bar, enter, arrow-keys... nothing changes (I get system beeps with each keystroke). If I Cmd+C, I get a root prompt back, but any characters I type are not displayed as I type them. For example, I can type # "shutdown -r now", and the machine will shutdown --but the characters are not displayed as I type them.

If I immediately restart, go into a regular X session, and run synaptic, I get the same comment--but in a window with a "Close" button that I can click. The upgrade will then continue [URL].. This has happened on at least 3 different boxes, all running debian testing. Under gnome and xfce... Probably with 4 different packages in the last 3 weeks?

This morning it happened on a new debian testing install, and just now it happened -- with the identical package -- on an older debian testing install on a different box.[URl]..

View 3 Replies View Related

Debian :: Cannot Set Halt And Reboot Options To Openbox Menu

Jun 10, 2010

I can't seem to get the options halt and reboot working in my openbox right-click menu. I've tried following the guide here from post #11, where the code he says to use in the /etc/sudoers file is:

%users† john=NOPASSWD: /sbin/shutdown -h now, /sbin/shutdown -r now

...but I can't seem to get it to work on my end. In obmenu, I have for halt, to run "sudo halt" and for reboot, "sudo reboot" but they only work after I've already entered my sudo password, such as when I work with terminal to edit a config file.

View 7 Replies View Related

Fedora :: Computer Slows To A Halt - Seems Like 1 Frame Per 20sec

Apr 2, 2010

I didn't notice it before i installed compiz fusion, but perhaps it was happening then as well because i didn't play with fedora too much, but -- my problem is that after i open a few windows and a few minutes pass the entire system bogs down to what seems like 1 frame per 20sec. i can't even forcequit out of applications, and if i do it doesn't solve the problem. I read somewhere that GNOME might be trying to connect to the internet and hanging? ...

running: Fedora 12
intel dual core
32bit
nvidia geforce 9800gt

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved