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
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?
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
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.
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.
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.
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?
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.
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.
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.
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?
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.
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?
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.
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.
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.
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.
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 .
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.
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
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).