Debian :: Setting Up An Automatic Program Restart
May 20, 2010
I tried to set up an automatic program restart on Debian Lenny for fail2ban and asterisk. Google helped me to find some HowTos. However, all what I tried so far doesn't work. The latest version: According some instructions the following commands have been written in a file called auto_start_stop:
Code: #! /bin/sh
-> saved in the folder /etc/init.d and
-> its properties changed with a right-click to 075.
-> The links have been created with update-rc.d auto_start_stop defaults
Why this doesn't work and how I could correct it?
View 5 Replies
ADVERTISEMENT
Dec 29, 2010
I wanted to ask how to restart the Debian Server. It should start daily, at 2-3 o'clock in the morning. Don't know how to program the server.
View 4 Replies
View Related
May 21, 2010
I looking for a program for automatic or remote reboot process...
Soon I order a VPS and needs a Call of Duty (or other games too) server restarter, if its crash...
View 3 Replies
View Related
Jul 12, 2011
Now Debian6 suspend and rstart is all ok!
Auto start a program with login is ok.
How to auto start a program with debian suspended and restart ?
Maybe with gdm3 or NIC....?
How can I catch a event to auto start my program?
View 1 Replies
View Related
May 9, 2011
I have been searching this on the internet bu havent found anything so far.Is it possible to run the matt's traceroute utility and have it restart at intervals of 1 seconds?
View 2 Replies
View Related
Aug 26, 2010
Ubuntu restarts every 1 hour and sometimes around 3 am in the morning. It is happening for the past few weeks i didn't find any help for this problem in the net. Please reply if there is any way to find why it is happening or how to stop if from doing an auto reboot
View 3 Replies
View Related
Feb 22, 2010
waht is kernek log daemon..? why kernel log daemon always stop and restart back automatic?
View 1 Replies
View Related
Feb 9, 2011
Is it possible to set automatic archive periodically ala outlook? My server has very limited storage so I would like to delete messages from server but keep them locally.
View 2 Replies
View Related
Feb 18, 2011
I need a download manager that automatic start download at 2 a.m and stop in 8 a.m . I test many app such as
fatrat
d4x
....
but can not find app like idm in linux.
View 2 Replies
View Related
Feb 2, 2011
I tried to search the internet for this, a program that deletes files in the computer. However, I can't find one.What happened to me is, I clean up folder files individually. I was hoping that a program where, if there is a file that should be deleted in a lapse of a particular time, it will automatically do so.
View 2 Replies
View Related
Jan 3, 2010
I've installed yesterday xmms and now I want to uninstall it. I've done it with yum. When I uninstall it like this: "yum remove xmms", then yum removes this package, but, when I check "yum list | grep xmms" I get full list of other packages like bluecurve-xmms-skin.noarch, gkrellxmms2.x86_64, gxmms2.x86_64 , ...
I want to cleanly remove the xmms, so I should remove all this packages "manually"? Is there a method to check wich packages are not used by any program on my computer and remove them? Or any method to remove all packages with a program automatic?
View 5 Replies
View Related
Jun 25, 2010
Why do I always have to reset the equalizer in VideoLAN everytime I start it. Is there a way to keep the settings whenever I restart it?
View 1 Replies
View Related
Apr 5, 2010
Whenever I choose "Restart" from the GDM screen, GDM appears to shutdown, and the first TTY is displayed with a login prompt at the bottom (assuming I haven't used that TTY). I am by no estimation a patient individual, but I waited a solid minute or two for something to happen, but nothing ever did. I end up logging in as root on that TTY and running "shutdown -r now" to get the job done. This is a shared computer, and ideally any user should be able to perform shutdown options graphically from GDM.The only mentioned workaround doesn't apply to me as I am using the nvidia driver, not intel.
View 1 Replies
View Related
Jul 2, 2010
I removed gxine and got this message.
Code:
Continue? [y/n/?] (y): y
Removing gxine-0.5.905-0.pm.2.9 [done]
There are some running programs that use files deleted by recent upgrade. You may wish to restart some of them. Run 'zypper ps' to list these programs.
View 2 Replies
View Related
Sep 1, 2011
Any way using terminal or another method to restart a frozen or crashed program in Ubuntu?
View 4 Replies
View Related
Feb 5, 2010
I have a program called HelloWorld, but it crashes a lot,
is there anyway to tell Linux to automatically check if Hello World crashed, and if it is crashed, restart HelloWorld? Running Ubuntu.
View 1 Replies
View Related
Aug 6, 2011
I have played a little of the compize config. Apparently I change something in the setting of the unity launcher. What happen now is that when I resize a windows to be on all screen, I seen big thick black line where the unity launcher is suppose to be. When I move the mouse toward the left side I see again the unity launcher.
Is there anyway to restart compize to default setting. Or at least how can I set it back that I wont see that ugly line.
View 2 Replies
View Related
May 18, 2010
I'm trying to get a program to automatically reload if I accidentally close it. This is a remote access program, so it has to be relaunched without me doing anything to help it along if it crashes or I accidentally close it. I noticed that someone came up with a way to solve this back in 2007 [URL].. but the files don't appear to exist any more for it to work. how I might get a program to automatically reload on exit?
View 6 Replies
View Related
Aug 20, 2010
What I would like to do is if the app crashes which kills xinit for the system to either kill login (which will auto login and restart the app) or just to execute the startx command (which auto launches the app) as if typed in from the keyboard. I am trying to find a way that will use the least amount of system resources, rather than a loop.
View 1 Replies
View Related
May 11, 2011
I have installed Blender from Blender.org. I have installed it my home directory. After launching Blender the icon appears in the unity launcher. Then I fixed the icon in the launcher via the context menu. After restart the Blender icon does not reappear? How can I realize that the Blender icon shows up very time after starting Ubuntu?
View 9 Replies
View Related
Jul 7, 2010
I am facing problems to restart PADS(Passive asset detection system) from java program.I used the root as a user. So from the command prompt I can start PADS with out sudo ,but when I try to start PADS from the my java program i.e.
Process proc=Runtime.getRuntime().exec("pads restart");
It throws the error in log that FATAL error ! you not root and permission denied.
Then I tried the same with sudo
Process proc=Runtime.getRuntime().exec("sudo pads restart";
Here it create another two process extra
1 for stop the pads
2) for start the pads
It does not kill the previous process of PADS .and both the process get hung.
View 1 Replies
View Related
May 3, 2011
In gui validation if user enters string in integer requiring field, a dialog box pops out. So on clicking the button i want to stop the program execution and return to the previous jframe(either the same one or newly created object of it).
How can i handle this in java.
I tried calling main(); but it doesn't work.
Also System.exit(0); doensn't work.
View 1 Replies
View Related
Nov 17, 2010
I'm running Debian Squeeze x64 and have an odd problem with both Empathy and Pidgin. After I launch the program and add my accounts everything works fine. When I shut down either program and restart the accounts will not connect. I have to delete the accounts and re-add them and all is good until the next time. It's not a firewall issue as I've tried it with the firewall turned off.
View 1 Replies
View Related
Feb 14, 2010
What is the current state of NFS failover (i.e. setting up two server with shared storage, with automatic failover if one fails?) I've seen a cookbook, but no details that would let me assess how well it works. There are lots of complex issues with data consistency, but the detailed information on that is years old. Our needs are fairly simple: 2 servers, a shared array, and I'm reasonably sure that we don't use locking. However we'd like failover to work reliably without loss of data.
View 3 Replies
View Related
Jun 8, 2011
I run Ubuntu 10.10, recently I got this problem. if I open more than one program, and click on icon of them on task bar to switch between them, KDE crash and restart with log in screen. now since 2-3 days this restart also happening when I ALT+TAB to switch between running programs .
View 4 Replies
View Related
Mar 23, 2010
I've been using this howto to set up automatic logins to virtual console using "a C login program" method. In slackware64-current updated till january it prompted me to enter a password before logging in, while now after installing latest updates and kde 4.3.5 from current it logs in automatically without any prompting.
View 3 Replies
View Related
Aug 20, 2010
is it save to install linux kernel 2.6.35.2 on Debian Lenny 5.0.5 or stick with automatic updates...
View 14 Replies
View Related
Aug 20, 2010
How do I set permision for a prog. to open a port? I need to permit Bitpim to open a port when I run it.
View 14 Replies
View Related
Nov 6, 2014
On one computer the live cd installation automatically made GPT partitions, but on the other it makes mbr, how come it decides to do this, does that mean i shouldnt try to use gpt on my laptop, they're both bios boards
View 1 Replies
View Related
Apr 20, 2015
I was wondering if there is a way to automatically transfer files between one machine to another upon Debian starting (or when a script is executed). Would it be also possible to check a database for a value and if the value exists then files can be transferred automatically (just like reboot).
View 3 Replies
View Related