Ubuntu Servers :: Schedule Complete System Shutdown/startup?

Feb 10, 2010

Just curious if it is possible to schedule a complete system shutdown and start up?

My box with ubuntu server on it is only used as an ssh/proxy server, so I would like save on energy costs and add a layer of security by completely shutting it down during the hours I do not use it.

View 5 Replies


ADVERTISEMENT

Debian :: Complete System Freeze During Shutdown?

Apr 1, 2010

When I try to shut my PC down (press the shutdown button in KDE 4.3.4), the desktop quits, but the console screen does not appear (the CTRL+ALT+F1 screen). Well, technically speaking it appears but only a still (not blinking) cursor is shown, otherwise the whole screen is blank. This means that not only the X freezes but whole system, because the keyboard is unresponsive too. It happend multiple times now, and every time I reboot after such event, some kde rc files (amarokrc, kmailrc, etc...) get deleted due to the automated filesystem check (unclean umount), which means that I have to reconfigure these apps again.

My home partition is on a separate EXT2 partition (this way I have full r/w access from winxp) and every time this is the only one which gets corrupted. The system partition (which is EXT3) is always intact (no fsck starts on boot). I'm using Debian Squeeze by the way.

View 1 Replies View Related

Ubuntu :: How To Schedule Auto Shutdown

Feb 4, 2010

How to Schedule auto shutdown in Ubuntu? I am a newbie. Last night I have some downloads in progress while at the same time I really wanted to go asleep. So I wondered if there's a way to schedule auto shutdown the system after a set period of time. I heared its possible using command line but dont know the usage.

View 9 Replies View Related

Programming :: START And STOP Oracle Automatically On System Startup And Shutdown?

Aug 17, 2009

I have installed Oracle 11g on 5.3. Now, I am trying to START and STOP oracle automatically on system startup and shutdown. I am following this link To have this effect, I have created /etc/init.d/dbora

Code:

#!/bin/sh
# chkconfig: 345 99 10
ORA_HOME=/oracle/app/oracle/product/11.1.0/db_1

[code]....

View 4 Replies View Related

Server :: Schedule Shutdown Every Day Using Crontab?

Jul 29, 2010

how to schedule shutdown every day using crontab

View 1 Replies View Related

SUSE / Novell :: How To Schedule Shutdown Daily

Apr 29, 2009

I want to schedule my computer daily at 08:00:01 AM.
Describe the method with Kcron or any other software

View 1 Replies View Related

General :: Schedule A Job After One Minute Of Startup?

Nov 2, 2010

my problem is that an application which I want to start at the startup is creating some problems if it is started at the startup. But if it is started after a few seconds or say a minute of the startup, it doesn't cause any trouble.

View 9 Replies View Related

Ubuntu Servers :: System Won't Shutdown + Apache Not Auto Starting / Fix It?

Nov 12, 2010

First post here so I'll do my best to provide the information needed.

System:

Dell Poweredge R310
Xeon 3460 2.8Ghz
4x2GB ram
4x 160GB Sata 7.2k (RAID 10)
Ubuntu Server 64bit

If I type as root, "reboot" or "shutdown -r now", nothing happenings - except the apache2 process stops + the usual "System is going down for reboot now". If I type "shutdown -h now" the system goes down.

Upon booting the server back up, MySQL starts correctly, but Apache2 does not - I have to run "service apache2 start", and it starts up fine.

I feel the 2 issues are related. I've reinstalled apache2 completely (configs and all) and this didn't help - I used yum to install/reinstall it.

View 8 Replies View Related

Ubuntu :: Boot Failure After Complete Shutdown Or Sleep

Jan 15, 2010

I have installed ubuntu 9.10 with karmic kernel and GNOME, on toshiba 512 MB RAm laptop. it worked fine but some times after complete shut down or sleep, it wont boot again. Laptop is completely dead and silent. I had to power it off, battery taken out and inserted again to get it started again. Then it worked all normal and fine. Why it happens and what i shud do next?

View 7 Replies View Related

Ubuntu Servers :: Script 'echo' During System Startup (runlevel 2)?

Feb 17, 2010

I have created a new script that I am executing at system startup. All was going well until the last step... see below

1. Create script mytestscript.sh
2. Made executable
3. Test script from command line. Works no problem

[code]...

View 8 Replies View Related

Ubuntu Servers :: How To Disable Startup For Desktop During Booting System?

Apr 26, 2010

How can I disable the startup for ubuntu's desktop during booting the system?I would like to start it manually.I tried to remove the /etc/init.d/gdm file but no help.

View 9 Replies View Related

Ubuntu Servers :: How To Schedule Email

Jun 17, 2010

I have Postfix and Procmail installed on Hardy.

Are there any tips/tutorials for sending out scheduled email?

My main use case for this would be sending out a Tweet and an email at the same time.

View 3 Replies View Related

Ubuntu Servers :: Schedule An Exact Disk Copy

May 30, 2010

Best way to do a scheduled backup of a server (PowerPC, Ubuntu 9.10), when an exact copy of the linux partition would be made on a disk of the same size? It seems there are several solution, but I have problems choosing the best.

View 6 Replies View Related

Ubuntu Servers :: Schedule A Task To Run On The 1st Saturday Of Every Month?

Aug 10, 2011

Is there a way to schedule a task to run on the 1st Saturday of every month? I'm not sure if what I have here will run. I am running Ubuntu 10.04 Server x64

What I have right now is:

# m h dom mon dow command
00 00 1 * Sat /storage/scripts/monthly-script.sh

This looks to me that it will only run at midnight if a Saturday is the first of the month. But if that's the case then that's not quite what I'm looking for...

View 2 Replies View Related

Fedora :: Is There Way To Schedule System Restart?

Aug 1, 2009

Does anyone know how to schedule a Fedora box to automaticly shutdown and then resume later at a specific time?Shutting down is easy, but I have found nothing about the restarting part.

View 14 Replies View Related

Ubuntu Servers :: Rsync Auto Login And Schedule Backup?

Nov 11, 2010

I have setup Rsync as a daemon on a Ubuntu 10.04 box and the setup was successful. Here are my configs

Code:
root@hurricane:`# nano /etc/default/rsync
# defaults file for rsync daemon mode
# start rsync in daemon mode from init.d script?
# only allowed values are "true", "false", and "inetd"

[Code].....

View 6 Replies View Related

Fedora :: Install Gnome-schedule The System Reports Nothing?

Jun 23, 2011

Ive tested this on 2 different machines each running Fedora 15. If I try to install gnome-schedule the system reports nothing to do or that the software is already installed. If I try to remove it the system reports that gnome-schedule is available but not installed. Anyone know how to approach this?

View 2 Replies View Related

General :: Create A Backup Schedule For Client Computers And Servers?

Sep 20, 2010

I did a search and came up with many different opinions and suggestions, and I could not find any similar threads for this (if there is I must apoligize in advance and did not look hard enough). I am trying to create a backup schedule for client computers and servers; and I would like your opinion on what I came up with. Here is network infrastrusture setup:

16 client computers
6 serevrs
- Primary and Secondary Web Server (RAID 1)
- Primary and Secondary Domain Controller (RAID 1)
- File/Print Server (RAID 5)
- Backup Server (RAID 1) with USB 2.0 1TB External Drive

Of course I will evetually upgrade to Tape Drives, but I am saving up for that. Anyways I want to backup ALL client computers, Primary Web and DC server, and File/Print Server. This will be done (of course) on the Backup Server) Here is the schedule:

[Code]..

View 2 Replies View Related

Ubuntu Networking :: Freeze-ups At Startup And Shutdown?

Nov 12, 2010

Running Lucid 10.04 in place of XP on my old Packard Bell Imedia has been good apart from the random freeze-ups that often prevent booting or stall the shutdown process. Today I think I solved it!? It appears that my wireless PCI adapter (ZyXel G-302 v3) was causing the problem. Ubuntu had installed a default driver which seemed to work OK; but I thought I'd try installing the Windows XP driver from my original ZyXel install disk as an experiment. I used ndiswrapper, got the XP driver installed and my freeze-ups have gone (touch wood).

View 3 Replies View Related

Ubuntu :: Forced Shutdown, Now Freezing On Startup Screen?

Sep 9, 2010

I have a Toshiba Laptop Satellite L355-S7905 Intel Celeron Processor 585 @ 2.16 Ghz, Mobile Intel GL40 Express Chipset. 4GB of Memory, 160 GB HD. Tri-boot: Windows 7, Unbutu 10.04 and Fedora 12.

Here is what happened: I had a hard/forced shutdown while using Ubuntu 10.04. Some warning text flashed on the screen before it went blank and I could not read it. Now when I turn on my laptop it freezes on the Toshiba set up screen. I can not go to the F2 setup, I can not go to the F12 boot seqence and I can not use F8 safe mode. Also the ESC button had no effect.

I have tried turning it on with the Win 7 cd in the drive but nothing. The same when I put my Ubuntu 10.04 cd in the drive, nothing. My guess is that the forced shutdown messed up the bootfile/grub order. The harddrive runs for a few seconds then stops. Should I attack the problem from a Windows view point or a Ubuntu view point?

View 8 Replies View Related

Software :: Possible To Run Startup Script Only (not On Shutdown)?

Jun 9, 2010

I'm trying (& failing) to write a script in /etc/init.d that only operates on boot up but NOT on shutdown. The program I want to run does not accept any parameters. This works

Code:
#!/bin/bash
test -f /var/www/html/moveit || exit 0
. /var/www/html/moveit
exit 0
but on shutdown and startup.

This doesn't
Code:
#!/bin/bash
test -f /var/www/html/moveit || exit 0
case "$1"
start)
. /var/www/html/moveit
;; top)
;; *)
esac
exit 0
either at startup or shutdown.

View 8 Replies View Related

Ubuntu :: Automatically Load/backup Ramdisk On Startup/shutdown

Mar 4, 2011

i have a RAMdisk set up on my desktop with a hidden folder of stuff in it; but i want to know is it possible for me to set ubuntu to copy the files to another directory on shutdown, and copy back again on startup?

View 2 Replies View Related

Ubuntu Installation :: 11.04 Startup And Shutdown Screens Do Not Display Properly

May 2, 2011

The startup and shutdown displays are a series of vertical black and white lines, and the text displayed on them appears as more or less white blobs. Otherwise, the displays when 11.04 is running are fine, but this startup looks so naff it would be nice to change it so that the diplays can be read. I would hate to demonstrate Ubuntu to someone and have to explain such a display.

View 7 Replies View Related

Ubuntu :: How To Backup Complete System

Sep 9, 2010

I removed windows completely from my Dell Inspiron N5010 and installed Ubuntu 10.04.1 64bit. In windows I have the option to create the system image of system's current state so that if something goes wrong I could easily restore my system using that image( I am not talking about windows Restore facility). I wanted to know that if there is something available in Ubuntu also. I cant use Dell recovery media creator as I have deleted recovery partition. I have already used Remastersys and it also did its job well but after restoring my Graphics card driver did not work well.

View 4 Replies View Related

Software :: VirtualBox : Start And Shutdown Guests VMs On Startup?

Jun 21, 2010

I'm preparing a vitualization server (host) with VirtualBox. This machine, running Debian, is intended to run in HeadLess mode, without GUI.
I've got some guests VMs running. But I was wondering about the best way to start this guests VMs on startup and shut them down kindly when host is shutdwon.

Virtual Machines run under non-root user. I was thinking about making a script in /etc/init.d/ in order to start certain VMs and to stop every VM running when system is halted. Is this really the simplest and most secure approach?
Actually I couldn't find very much on this subject in user manual or googlin' around.

View 3 Replies View Related

Ubuntu :: Complete System Failure When CPU Is Stressed

Jul 24, 2010

I get a complete system failure when my CPU is stressed. It's not the temperature because when it crashes the CPU temp is only ~55 C. When it crashes the video freezes but the sound repeats itself. Example. I start handbraking a movie, then open a tv show in VLC. This is what I hear.

Did you get that tire - then it freezes

get that tire
get that tire
get that tire
get that tire
... etc

That continues until I reboot my computer. This crash is pretty reliable, as every time I load my CPU that happens. If I don't do anything CPU intensive, I don't get the crash. Also, if I only load up one core of my CPU, then everything is fine. However if I run something such as prime95 or handbrake (which both utilize all 4 of my cores) the computer will crash within 30 seconds.

Ubuntu 10.04
Corsair 750 TX PSU
AMD Phenom x4 @ 2.3 GHz
4 GB G.Skill 1066 DDR2 Memory
Nvidia GTS 250 1 GB edition
Biostar AMD 770 AM2+/AM2 Motherboard
Three HDs, two are WD of 1 TB and 120 GB, and a 32 GB SSD.

View 6 Replies View Related

Ubuntu :: 10.04 - Any Way To Make Complete Replica Of System

Jul 24, 2010

I'm on ubuntu 10.04, and pretty new to it - over the last 2 weeks I've done probably 10+ fresh installs due to me not knowing the system, trying things. I looked for a way to back it up and found this guide - [URL]. When I use the feature as listet, it doesn't exclude the folders, and the system is "almost" the same as pre-recovery - and I'm copy/pasting. Is there a way to make a COMPLETE replica of my system, that I can launch when failed, so that - it's back to when I was "ok".. like all programs install post-copy to be gone..

View 2 Replies View Related

Ubuntu :: 2 Complete System Crashes In 2 Days

Apr 13, 2011

My laptop running Ubuntu 10.10 had suddenly go to a dark gray screen that will not take any kind of input other than holding to power button down for 5 seconds. I'm not running any new or odd programs just Firefox, Openofice writer, and Pidgin. When I turn the computer back on I do not see any kind of an error message. I'm looking for any advice that will help me find the cause of the problem.

View 9 Replies View Related

Ubuntu :: Complete System Freezes When Using Torrents?

May 21, 2011

Beginning on the release day for Firefox 4, my system has been encountering hard freezes (no responsiveness to any key entry and only way to restart is by hitting the reset button). I had installed firefox 4 with no issue, but once it was open, it kept freezing my system. Some addons weren't supported anyways, so I uninstalled it and got back my 3.6. At the time I was using rtorrent, but within minutes of using it since the firefox install, my entire system freezes up.

Naturally I suspect HDD or RAM, but both have been extensively tested. Next I began browsing forums and found some tricks like turning off IPv6 or changing settings via HDPARM, but none have made any difference. I have moved on to using Transmission, and the problem still exists, but it occurs much less frequently.

I have also since then noticed that transfers of files from my 500GB OS/Torrent drive to my RAID 5 array and vice versa moves at 2-4MBytes/s, much too slow. So next I set up my torrent client to download directly to my RAID array, and lo and behold no freezes! Also, while transfering data the system moves at an absolute CRAWL, as in browser windows turning gray, saying that they have stopped responding, etc. I ran a fsck on my 500GB drive, which instantly told me my file system was clean. I'm at my whit's end here! I hate re-posting on a topic, but I feel like I've tried everything!

System Info:
Ubuntu 10.04 32-bit
Kernel 2.6.32-29-generic-pae
AMD Athlon 4450e
1GB RAM, 2.5GB Swap
Gigabyte GA-MA74GM-S2 Motherboard

[Code]...

View 9 Replies View Related

Ubuntu Servers :: Mysql-admin Won't Schedule Backup But Will Manual Backup

Jan 19, 2010

I have a scheduled backup to run on our server at work and since the 7/12/09 it has be making 592k files instead of 10Mb files, In mysql-admin (the GUI tool) I have a stored connection for the user 'backup', the user has select and lock rights on the databases being backed up. I have a backup profile called 'backup_regular' and in the third tab along its scheduled to backup at 2 in the morning every week day. If I look at one of the small backup files generated I see the following:

Code:

-- MySQL Administrator dump 1.4
--
-- ------------------------------------------------------
-- Server version`

[code]....

It seems that MySQL can open and write to the file fine, it just can't dump

View 3 Replies View Related







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