Server :: How To Start Sequence Of Applications At Specified Time Intervals In Debian

Nov 18, 2010

I am currently running debian lenny on an old mini ITX box (1GHZ 1GB ram OS on a 16GB CF card, 4 X 1TB sata drives) as a file server on my home network. I have modified /etc/inittab to auto log in a standard user, start X and start fluxbox. I would like the system to then start a couple of VM's using virtual Box but as this is not a high spec box I would like to start these automatically at 5 min intervals and about 5 min after the auto log in.

Does anyone have any suggestions on how i can achieve this or alternativley monitor the processor load and start each VM in sequence as the porcessor load drops below 20%.

View 2 Replies


ADVERTISEMENT

Ubuntu :: Specify The Time Intervals?

Feb 9, 2010

usin a command which will allow me to evaluate the performance. What i would also like to do is compare the performance over 30 minute intervals. I am thinking i can use the ps -aux command but not sure on how i would specify the time intervals. Is there another way? I really want to see the CPU, disk usuage and memory.

View 9 Replies View Related

General :: Execute A Python Script In Regular Time Intervals?

Jan 14, 2010

I am trying to find a way to execute a python script in regular time intervals? How can I do it?

View 2 Replies View Related

Debian :: Can't Start Any Applications

May 14, 2010

I am running Sid. After a dist-upgrade, when I boot into a DE, trying to run applications doesn't work.

If I click on an icon, I see a "Starting <Application>" icon on the task bar and then it dies. If I try running Alt-F2 and then typing the name of the application, nothing happens.

View 4 Replies View Related

Debian :: Can't Start Python GTK Applications

Oct 27, 2015

I use Terminator as my terminal and in the last couple of months, I need to either run

LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libfreetype.so.6 /usr/bin/terminator
or
symbolic link /usr/local/lib/libfreetype.so.6 to the above file

In order to have the application run without the error message: You need to install the python bindings for gobject, gtk and pango to run Terminator.

I have been using the symlink method for the most part, but when I run an apt upgrade, often the /usr/local/lib/libfreetype.so.6 symblink changes to point to /usr/local/lib/libfreetype.so.6.5.0 and I have to manually re-link.

I have tried reinstalling gobject, gtk and pango packages for python but nothing has worked.

View 6 Replies View Related

Ubuntu :: 10.04 Start Up Sequence?

Aug 1, 2010

I'd like to know what happens in between me selecting which kernel to boot from the Grub2 menu, and me ending up in Gnome looking at the desktop GUI.For instance, when does the X server start, when is gnome started, in what order do these things happen and how can i have control over this process? The main appeal of linux to me is being able to choose which window manager, which desktop environment etc are used but I cannot seem to find out how to configure these things.I've been googling extensively and looking in books, the forums, ubuntu community and documentation but this information does not seem to be out there.

View 3 Replies View Related

Debian Multimedia :: SiS 671 - Screen Shuts Off At Random Intervals?

Mar 28, 2016

I've been running Debian 8 jessie at the screen's native resolution (1280x800) via the following hack: [URL]

What's bugging me is that at random intervals, my screen shuts off while the laptop is still running, forcing me to hard reset.

View 1 Replies View Related

Software :: Start Local Applications On Apache Server Using Browser

Nov 9, 2010

I'm trying to figure out if it's possible to configure apache or any other linux http server, to allow the visiting user to start applications installed locally on the http server and get the GUI of that application displayed in a java applet (or any other similar solution). In short, I'm looking for an alternative solution to proprietary technologies such as Citrix and Microsoft Remote Access Gateway.

View 3 Replies View Related

General :: Change The Start-up Sequence Of Services On SLES10/11?

Mar 2, 2010

I want to change the start-up sequence of services on SLES10/11.

I have my own start-up scripts for some services and I want them to start in a particular order(not in alphabetical order)

View 2 Replies View Related

Debian :: Start Bootchartd Non-interactively Each Time?

Apr 19, 2011

want to use bootchart to see how much time its taking for things to load up and the desktop to settle. I am having a little trouble figuring out how to make sure that bootchard loads up each time (non-interactively) so I can easily put up the results and see what could be done better. The man page of bootchartd says :-"bootchartd is commonly used to profile the boot process for the purpose of speeding it up. In this case, it is started by the kernel as the init process. This is configured by adding the init=/sbin/bootchartd option to the kernel command line -- either interactively or by editing the bootloader's configuration file. Please refer to the documentation of your bootloader for details (e.g. lilo, grub or yaboot)."

View 2 Replies View Related

Debian :: Start Service At Boot Time On 4?

Mar 10, 2010

I am using Debian4 and I have apache under /home/apache/bin/apachectl How to start the apachectl service for every time system restart, Itmust be start automatically. Please tell me how todo or how to write the script, how to configure forrun level 2,3 and 5

View 6 Replies View Related

Server :: Start Or Stop Jboss At Boot Time?

Jan 3, 2011

how to start or stop Jboss at boot time?

View 1 Replies View Related

CentOS 5 Server :: Application Is Getting New Port Every Time Start

Jun 23, 2010

I have written simple application in cpp which listens on port 8080. But when I start the application and check the port it is listening on (using netstat -nap), I can see that the application is listening on port which is > 30000.

This port number keeps on changing if I re-run the application.Please let us know if I have to do any kind of a seeting so that application starts listening on 8080 port.I am using CentOS 5.5 (I tried same on CentOs 5.2)

View 1 Replies View Related

Debian :: Auto Start Programs In Startup Time?

Sep 27, 2010

How to auto start programs in startup time?

View 4 Replies View Related

Debian Configuration :: Resolvconf - Does Not Start At Boot Time

May 1, 2010

I'm running Debian Etch AMD64, and currently trying to clean up my system in preparation for an upgrade to Lenny. One problem I have is that resolvconf (which is installed) does not start at boot time, but if I start it manually then bring the NIC down and back up, it works OK, with no error/warning messages.

View 9 Replies View Related

General :: Start X Server And App At Boot (or Services Load) Time

Oct 14, 2009

I need to start an application (graphical) when the PC start, even before anybody login, and use/launch a specific user. Now only can do this manually; when gdm starts, switch to any text tty [ie. Ctrl + Alt + F1], then I login into the special user, start a X server, export the DISPLAY environment variable, and start the application.

With this steps:
Code:
$X :1 -verbose -nr -nolisten tcp &
# Maybe Metacity -> $ metacity
$export DISPLAY=:1
$JavaApp &
Now i need put this steps (script) in some place to launch the app automatically, and with and specific user [ie. manager].

How can I made it? Maybe in init.d? or an special xinitrc? And how can start the app with the specific user? And, if is possible, who can stop the app when the system going turn off? I have Debian 5.0 and a beginner knowledge of shell script.

View 5 Replies View Related

Debian Configuration :: Make Vino Start At Boot Time?

Jan 5, 2010

so as my title implies I like to login to my headless debian box after it reboots yet havent found any info on that. Can someone please tell me of script which I suppose would be used to make vino start as a process right after boot

View 2 Replies View Related

Debian Configuration :: Apache2 Doesn't Start At Boot Time?

Dec 6, 2010

I am running Debian-Squeeze with apache2. However, apache2 doesn't start at boot time, even though there is of course the required script in init.d. I can start it later on using "/etc/init.d/apache2 start". I have checked the configuration with "apachectl configtest" - giving the answer "Syntax ok". How do I get it to start automatically at boot time?

View 1 Replies View Related

Debian Multimedia :: How To Get VLC To Start At Specific Time In Media File

Mar 14, 2015

How do I get vlc to start at a specific time in a media file. I can do it easily in mplayer2, mpv but not vlc. Let's say the media file is named abc.avi (file format,container not important for this example.) Also the running time is around 2+ hrs. In mplayer2 and mpv I can simply do :-

Code: Select all$mpv abc.avi --start=00:59:00

And it will start running at that point in time.

In vlc, it also seems to have something at :-

Code: Select all[$] vlc --advanced --help
......
......

Playback control:
      --input-repeat <integer [-2147483648 .. 2147483647]>
                                 Input repetitions
      --start-time <float>       Start time

Now I don't understand what the <float> bit. I tried :-

Code: Select all$vlc abc.avi --start-time=00:59:00

But that didn't work. It's possible that it might be a bug, then again I might not have done it correctly.

View 3 Replies View Related

Debian Multimedia :: Xfce Takes A Long Time To Start?

Feb 6, 2010

When I log into an Xfce session, the splash screen indicates the "starting window manager" step with a busy cursor for about 10 seconds or more. Mind you this is a 2.8 GHz Core 2 Duo machine.I have tried logging out, mv-ing ~/.config/xfce4 from a tty console, and logging back in, but the problem persists.I am running Xfce 4.6.1.3 from squeeze.

View 14 Replies View Related

Debian Configuration :: How To Make Vino Start At Boot Time

Mar 3, 2010

I like to login to my headless debian box after it reboots yet havent found any info on that. Can someone please tell me of script which I suppose would be used to make vino start as a process right after boot.

View 3 Replies View Related

Fedora :: Schedule A Process To Start At A Specific Time (not On Start Up)?

Jan 19, 2010

I'm trying to find how to schedule a process to start at a specific time (not on start up). How would I schedule a process/application to start at a specific time (if it matters, it will be a background process). For instance, have process abc start every weekday at 5am. I've done this for windows many times though have only been using linux regularly for a few months and haven't figured out the best way of doing this.

So far the best solution I have is to create a program that will start on boot and have it check the time and sleep until the required time and then start the required process(es) at the required time(s). But this seems more of a hack since I'd expect there to be a proper way of doing this.

View 4 Replies View Related

Ubuntu :: 11.04 Slow - Start Up Time Is 30 Minutes But It Usually Doesn't Start Up At All

May 4, 2011

I did a clean install of Ubuntu 11.04 64bit and the start up time is abnormally slow. If I start up the computer and don't press anything, the start up time is 30 minutes but it usually doesn't start up at all. It just boots into a purple screen, no splash, then it sits there and the computer doesn't have any loading lights flashing.

I had a similar problem with 10.10, but I assumed it would go away when I did a clean install of 11.04.

I can't get a read out of what's going wrong because when I press Esc it doesn't display anything, though weirdly it can sometimes get the start up process moving. I have also found that pressing enter really fast can sometimes help and something that seems completely oxymoronic, if I press the power button while it's starting up that can make it work, but nothing works every time.

View 8 Replies View Related

Debian :: Run Fsck During A Shutdown Sequence?

Nov 27, 2010

I want to be able to run fsck at, or near, shutdown at the end of the day, and not have to wait for it when booting (important now that I have 1TB drives!). As far as I can tell, the only way to arrange to run fsck on the root partition is if it is unmounted and I believe that only occurs at reboot time.

So, I thought of using the /forcefsck file that, when exists, will force file system check upon the next boot. So I envision having a script that touches that file, or issues the right shutdown command, then lets the system reboot and thus forcing a fsck of the root partition. However, I then want the system to turn right around and then shutdown, so that when I cold boot the system in the morning, I won't see the fsck run at that time, ever.

So I think this boils down to being able to run a one-time init script or something like that. Is there an established way or idiom for running an init script only one time? I know I can create a non-standard init-script that looks for a special file like is done for /forcefsck, and only shutdown if that file is seen, but surely someone else has already come up with a canned solution/init-script to what I want to do.

View 5 Replies View Related

Debian :: C201 Chromebook / Boot Sequence After Kernel

Aug 29, 2015

I am trying to setup a debian sid on my Chromebook (Asus C201 / Rockchip ARM).I've followed the howto here : URL.....Debootstrap ok, config ok, kernel repack ok... everything went fine until the first boot.When i boot from the sd card, nothing seem to happen. The screen stay black, no text appear.Back in chromeos, i check the syslog and the kernel did load successfully.

Code: Select allAug 29 16:10:32 armbox systemd[1]: Startup finished in 2.256s (kernel) + 1.798s (userspace) = 4.054s.

It seems after the kernel loads, nothing happen next.

Kernel is on mmcblk1p1
Rootfs is on mmcblk1p2
My kernel config is :
Code: Select allconsole=tty1 printk.time=1 nosplash rootwait root=/dev/mmcblk1p2 rw rootfstype=ext2 lsm.module_locking=0

View 13 Replies View Related

Debian :: Usplash Causing Booting Sequence To Stop

Sep 4, 2010

I have debian/sid on my new hp/Compaq Presario CQ62 laptop. I installed usplash and started getting booting issues every fourth or 5th boot. The system stops responding till I power off the system by pressing the power switch. I checked the syslog and noticed that it also stopped without logging the cause.

By the way, except the above issue, every thing works great on my laptop with debian/sid including the wireless using the native linux driver which I obtained from hp website.

View 2 Replies View Related

Debian Hardware :: RK3288 Based Device - Boot Sequence

Jan 17, 2016

How to boot debian on an RK3288 based device (that isn't a chromebook?). Been trying to do so myself, but to no avail.

The closest match to my device is this one in the sense that it uses the same SoC - an RK3288. However my device is not a chromebook; instead it is called an "RKM MK902II". Unfortunately I cannot find any information on how to boot this device (it does have a micro sd card slot it can boot from, though I'm guessing it needs some sort of bootloader to be written onto a micro sd card in a specific way, but how!).

Interestingly the device I have is running some sort of version of ubuntu. Though how it boots it is an absolute mystery!

I've tried searching around on the 'net for a while now and apart from a script and a few "distros" distributed as image files, I can't really find anything at all. Looking for info about this device or RK3288 chipset?

View 8 Replies View Related

Debian :: Tips For First Time Server Project?

Feb 22, 2011

My distribution of choice on my desktop is Arch Linux (I like getting all the new stuff before anyone else) but I am going to be making a home server, and I can't imagine Arch Linux working well for that because I want something stable and reliable. I always admired Debian for not only APT but it's reliability. I thought about using Ubuntu server but I don't like the direction Ubuntu is going, and I like Debian better anyway, so I am firmly set on using Debian for this server.

This server will be more advanced than necessary for a home user. The reason is because it's a learning experience. I want to learn all about DHCP, DNS, and all those other things. I'm already very knowledgeable on SSH and Unison, which will be the primary focus (backing up). So I was hoping I would list the things I decided to do and get some opinions/best practices from you guys.First, I decided on a Dell Inspiron 570. It's dirt cheap (around $280) and it has a gigabit network card. (I'm pretty sure). I need to stay as cheap as possible because money is a HUGE factor for me. I have a budget of under $700 to do all this. (So I may need to get smaller hard drives). Whatever default hard drive it comes with I will add two more hard drives in a RAID1 for /home. Like this:

Disk 1: Root, swap and boot partitions (smaller hard drive)
Disk 2 & 3: Dedicated to /home, on a RAID1 (two 2TB hard drives)

The idea is that once the server is all the way done, I will image Disk 1 with Clonezilla, and if it fails, just restore it. I personally don't feel that having RAID1 for the root partition is necessary when Clonezilla takes 20 minutes to restore a drive, or less. The OS and all configurations in /etc would automatically be backed up in that image.Since I'm using the server primarily for backups (there won't even be a monitor on it when done) /home will be on a RAID1 since that's the most important thing. (I have backups on external hard drives too, one is off-site, so still no worries). Also, the server will handle DNS for the hostnames on my four other computers, and I'm thinking of replacing my router and having my server do that too. Nothing wrong with my router, but it would be fun for me to set this up.

View 2 Replies View Related

Applications :: Burn 2 Disc In The Same Time With K3b?

Sep 23, 2010

Can i burn 2 disc in the same time with k3b ?

View 4 Replies View Related

Debian :: Execute Vino-server At Boot Time?

Mar 11, 2010

how can i execute vino-server at boot time, before my graphical login prompt (gdm ?) appears

View 1 Replies View Related







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