General :: Prevent Restarting The Application After It's Crash?

Apr 1, 2010

Code:
#!/bin/bash
ulimit -c unlimited
while true; do ./executeable; done

When i will write this in console it will run executeable file and it will generate report : core.pid after crash so i can gdb the report. The application after crash will restart how can i prevent restarting the application after it's crash?

View 2 Replies


ADVERTISEMENT

OpenSUSE :: Repopulate Package Information After System Crash And Restarting From Gnome

Feb 16, 2010

I have upgraded my laptop to OpenSuse 11.2 few weeks ago. It was fine until last Tuesday, when a system crash occurred during a kernel security update. I think something went wrong with my network connection. I was working on my code and suddenly I lost my base tools such as /bin/ls and /bin/cd. So I tried to restart and got a kernel panic as my kernel was partially broken.

I tried rescue the system, however it did not work. After that I thought I could fix it by reinstalling the OS with minimal server configuration over my existing root partition. (Since I didnt have any other computer or live cd at that time and I was rushing for a demo, I could not reinstall the missing components one by one. And reinstalling the minimal server made sense then )Almost everything went fine ( i needed to do little things like creating gdm user). Now I can use my system and all my applications. But as expected, the pre installed packages in my system now cannot be seen by YaST Software Manager. Is there a way to repopulate the package list?

Another question is, I cannot restart the computer from a Gnome session. Whenever I restart or shutdown, i go back to the login screen, then I press Ctrl+Alt+F1 which starts the restart progress. How can I fix this?

View 7 Replies View Related

General :: Recover An Application In Sleeping State After An X Server Crash?

Jan 28, 2011

I often run calculations on my Linux computer, which cause my X server to crash from time to time. Almost always, some programs seem to survive to the crash and are in an interruptible sleeping state, for example:29315 ? Sl 54:35 /home/kashim/Desktop/anylogic/anylogic -vmargs -Xmx1024MIs there a way to reconnect these applications with the new X server?

View 1 Replies View Related

Programming :: Prevent Process Crashing On Thread Crash?

Mar 24, 2011

I want to know, is there any way to prevent the multi-thread process from crashing if some errors (say, segmentation faults) occur in one of its child threads? I've found pthread_sigmask() function, but that does not seem to work:

Code:
#include <stdio.h>
#include <unistd.h>

[code]...

View 3 Replies View Related

Ubuntu :: Prevent A Certain Application From Having Access To ALSA?

Jan 20, 2011

How can I prevent a certain application from having access to ALSA. It keeps stealing my audio.

View 2 Replies View Related

Ubuntu :: Prevent Application In Terminal From Auto Closing

Jan 15, 2011

I've made custom launchers for programs that can only run in terminal. They open fine within the Terminal window, but it closes right after the program is finished, before I can read the report.

Is there a way to keep the Terminal window open, using launchers? I don't want to manually type the commands after opening a Terminal.

View 2 Replies View Related

Ubuntu :: How To Un-crash An Application

Jan 2, 2010

you're playing a game like Supertuxcart or Open Arena and the screen freezes which hints at something that has crashed.Well this happened this weekend when my mate's kids were playing those games on my laptop running Ubuntu 9.10.

All I could think of to resolve the issue was to hit the Power Button and restart my laptop. I am assuming that this is not exactly a good thing to do but at the time I could not think of anything else to do seeing as the screen froze and I could not use the mouse or pressing any buttons.Anybody got any ideas on how to un crash an application with out hitting the power button and forcing a re-boot?

View 2 Replies View Related

General :: Command For Restarting Apache?

Jun 14, 2010

i know it's a very simple command to restart apache via ssh.

View 13 Replies View Related

General :: Restarting Network Devices Remotely?

Oct 4, 2010

I have a machine with several IP addresses with eth devices like eth0, eth0:1, eth0:2, eth0:3. Can I restart only eth0 without bringing down eth0:1? It would be really convenient to be able to log in via SSH on eth0:1 and restart eth0 without locking myself out or not being able to bring the network back up.

If I stop eth0, will that automatically stop all the others?

View 2 Replies View Related

General :: Server Not Restarting - Grub Error 15

May 24, 2011

i have a problem with my server, it was rebooted to get a special upgrade and it never turned on again. the support told me it's giving grub error 15, file not found. my server is a debian lenny 5 32bit one in raid 1. my menu.lst is:

[URL]

and fdisk -l gives:

Quote:

root@grml:/# fdisk -l
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders

[code]...

Disk /dev/md0 doesn't contain a valid partition table

View 17 Replies View Related

General :: Getting Error During Restarting Apache / Resolve This?

Feb 14, 2010

I have just compiled apache with the following command code...

View 4 Replies View Related

General :: Detect The Scsi Device Without Restarting?

Mar 25, 2010

I am attaching a LTO-3 tape drivce into my RHEL5 linux machine. Every time i used to restart my machine to detect the tape drive is there any way to rescan the buses to detect the newly attached scsi devices. In solaris "devfsadm" and "iostat" is there. I need the same kind of thing in linux.

View 2 Replies View Related

General :: Kubuntu Response Appears Only After Restarting?

Jan 1, 2011

I have Kubuntu 10.10. and it doesn't apply changes I did from terminal or any customization except after rebooting.

View 1 Replies View Related

General :: LMDE Skips Grub When Restarting?

Jun 21, 2011

I am running LMDE with xfce desktop version 4.8.0 and Windows 7 on a sony vaio. Everything works fine except for one minor inconvenience... When I am using xfce and want to reboot to windows, I have to click shutdown,turn the computer off then back on to get to the grub menu. If I click restart, it reboots back into xfce without ever showing the grub menu.

View 1 Replies View Related

General :: What's The Command To Reload .vimrc Without Restarting Vim

Mar 26, 2010

What's the command to reload .vimrc without restarting vim?

View 2 Replies View Related

General :: Increase Stack Limit Permanently Without Restarting

Jul 20, 2011

I need to increase the default stack size on Linux. As I know there are usually two ways:

ulimit -s size
/etc/security/limits.conf

The ulimit method only works as long as I am logged in.

limits.conf will work after a restart.

Is there a possible way to increase the limit without restarting?

View 2 Replies View Related

General :: On Restarting - Grub Error 18 - Unable To Use My Computer ?

Apr 12, 2010

I have Win XP SP2 installed on my machine. I wanted to try Ubuntu and i created a CD an and wanted to install the OS. The CD booted and i selected the option of "using The OS together and selecting which one to boot" or something similar to that. Ubuntu and changed MBR and installed itself. However on restarting I am getting Error 18. Now i am unable to use my computer at all.

In recover my XP at the moment and how to install Linux so that it does not mess around with any other OS?

View 5 Replies View Related

General :: Restarting The Session And Going Directly To Login Window?

Feb 8, 2010

I have GShutdown 0.2 on ubuntu .when i put it on with some time it is just restarting the session and going directly to login window. "sudo shutdown -P -- --" is working properly so why the GShutdown 0.2 is not??

View 1 Replies View Related

General :: Set A Programm Auto Started When The Machine Is Restarting?

Jan 6, 2010

I've installed a JBoss-JON-Agent on a Linux-machine. Normally to start the JON-Agent I have to go to /opt/jboss/VGER1/Agent/bin/ and run ./ rhq-agent-wrapper.sh startBut sometimes the Linux-machine will be restarted and I have to start the JON-Agent manually.Now what I want is: when the Linux-machine is restarting, the JON-Agent will be restarted.

View 4 Replies View Related

General :: Process - Run A Script For A Specified Amount Of Time Before Stopping And Restarting

Jul 15, 2010

Possibly related to this previous question, I would like to be able to run a task for a specified amount of time, then stop/kill it, then start it again. Specifically, I run the Folding@Home application on my Linux workstation. Periodically, it will have trouble logging-in to the home server, and will sit idle for a long time, but not release memory/resources it has claimed (yes, I realize this is likely a bug in the tool, but I can't fix that currently). Typically just the act of killing and starting the tool will allow it to check-in again. So, I would like to be able to run something like:

run_for <time> ./fah6

Does such a tool exist, or should I write a wrapper than nukes the fah6 client after, say, a week and restart it?

View 4 Replies View Related

General :: Application Called Impact - Paths In Java Application ?

Apr 14, 2010

So, I have this application called Impact, it is an explicit time integration Finite Elements code written in Java...

[url]

I untar the pack, and launch the application calling a script, from within the untarred folder,

Code:

This launches a gui which allows me to setup a case, which needs some setup file, tipically some *.in and a mesh file, tipically some *.msh.

Other mode of executuion consists of calling the setup file as argument to Impact.sh script ( CLI execution mode, for g33k5 )

My problem is : I have packed the whole stuff into a Slackware .tgz, that places it in /usr/local/Impact, and placed a calling script in /usr/local/bin,

Code:

Code:

I decided to hack the ImpactGUI_OGL_linux_amd64.sh script from

Code:

Code:

no avail,

Code:

even after adding /usr/local/Impact/bin to PATH... won't go...

I can run this thing from within its directory... but I do not like messing within the directories of my applications, this is why I sent this to /usr/local, and placed a calling script in /usr/local/bin...

View 4 Replies View Related

General :: Make Samba Read Updated Smb.conf File Without Restarting That?

Apr 5, 2011

I just made a minor change to the smb.conf file, is there a way to force the samba service to read that change without restarting samba completely?

View 6 Replies View Related

General :: Wireless Disabled After Installing Update And Restarting (dual Boot Ubuntu/win7)

Jun 21, 2011

the only issue that i have: the wireless is always disabled.

when i install new updates, the wireless comes back enabled and everything is fine but when i restart ubuntu its disabled again !!

i have a DELL studio 1537 laptop (broadcomm wifi card)with a win7 service pack 1/linux ubuntu 10.04 LTS dual boot.

View 11 Replies View Related

General :: How To Prevent VNC From Swapping HD

Apr 6, 2010

Actually I'm not sure that it's swapping like mad: I've done more testing and it looks like there may some interference causing the noise that may be correlating with network usage. I'm accessing a MacMini (with MacOS X 10.4) from my Linux machine using VNC. My Linux machine has 4 GB of ram and I run a lot of various apps on it and I've got no issue at all. It's all snappy and don't hear the hard disk swapping/read/writing too often. Now with VNC, the hard disk is swapping like mad. When I'm moving things on the OS X desktop. So I was thinking of creating a ramdisk and forcing the temp VNC files to go into that ramdisk but the problem is I can't find any temp files.

I've attempted to do that:
#!/bin/bash
while [ true ]
do
lsof | grep vnc
done

The VNC version I'm using is this one:
$ vncviewer -version
VNC Viewer Free Edition 4.1.1 for X - built Jan 30 2009 19:33:16
Copyright (C) 2002-2005 RealVNC Ltd.
No matter how much data is coming from the Mac, there should be plenty of memory (4 GB of ram) so there's really no reason to swap like crazy.

View 1 Replies View Related

General :: Prevent CDs Autorun ?

Jan 9, 2010

My linux prevent CDs autorun! i wanna know what to do?

View 1 Replies View Related

General :: Prevent Find - Du - Ls -R From Caching?

Jul 11, 2010

I'm currently copying a large number of files over a network. To monitor progress, I tried running watch du. However, the output never changed (or not much, not sure). find . -type f | wc -l always gives me the same number of files as does ls -R. It seems, these programs use caching, which is, in general, a good thing. Does anyone know, though, how cache usage could be controlled? I'm on an Archlinux system and I'm working on an ext4 fs on an encrypted hd.

View 4 Replies View Related

General :: Prevent Ctrl+Alt+F1 Switching Off From X?

Jan 28, 2011

How to change this sequence to, for example "Ctrl+Fn+F1" or temporarily disable it?@related: How to send Ctrl+Alt+F1 to window (to switch terminal remotely, not locally)?

View 1 Replies View Related

General :: Prevent RC Commands From Running?

Mar 17, 2011

I am running a shell script from a rc file in Linux. The shell script is going into a loop which runs for 8 hours. Now I want to prevent the shell script from running when Linux boots or I need to find a way to kill the shell script when it is running. I tried using killall, kill $! and Ctrl+C etc. Nothing seems to work. Can you suggest a way out. I am new to Linux.

View 2 Replies View Related

General :: How To Prevent A Process Starting

Jul 7, 2011

I have synergyc process that starts at boot. How do I prevent this process from starting? I've searched /etc, /etc/init.d for some configs or scripts but found nothing.

View 2 Replies View Related

General :: Prevent Move Command ?

Jul 30, 2011

I want2 know that how stop move folder on samba share.

View 1 Replies View Related







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