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
ADVERTISEMENT
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
View Related
Feb 22, 2011
I have a huge problem with my file server (OpenSuse 11.3 - 64bit, kernel-2.6.34.7-0.7-default). I've just installed an Intel SASUC8I card, connected 3 of the 7 Samsung 2TB drives I have to it and after about one hour, it dropped 2 of the disks. I've managed to trace the problem to the card BIOS, which I've replaced with the non-raid edition, so it should now work fine with the kernel raid now. The problem is that I can't find a way to "un-fail" these 2 disks. I'm more than positive, that these drives are just fine, only the controller was misbehaving. The dropout also couldn't have created any data inconsistency either, since the 2 drives dropped out virtually at the same time and there was no writing being done at the time. I've tried add/re-add, I get either mdadm: cannot get array info for /dev/md0 or mdadm: add new device failed for /dev/sdi1 as 7:
Invalid argument (depending on the raid being run or being stopped, in either case, mdstat reports it to be inactive)
For a normal or forced assemble, I get mdadm: /dev/md0 assembled from 5 drives and 1 spare - not enough to start the array.I've been googleing like crazy, also trying to get info from mdadm's help and man, but nothing seems to deal with such a freak accident. An other interesting thing is, that if I reboot the system, mdstat shows md0 as inactive, but lists all the devices with no flags. It's only after a run command, that it changes to the 5 remaining devices, all with (S) flags. Alternatively: does anyone know where device failure info is stored? If I could in some way remove this information from the system (even by reinstalling the OS), I should be able to reassemble the array... Or is it stored in the member drive super-blocks? About 80% of this array's data is backed up, so if all else fails, I can restore most of its content, but I'd much prefer to reassemble this one as a whole, since there was absolutely no chance of data corruption.
View 1 Replies
View Related
Jan 30, 2011
In my case I have TeamViewer 6 (remote desktop application) opening as one of my Startup applications. I only really need it to run in the background, so I don't need it in my face after logging in.
What I'm looking for is a command line option for opening an application in a minimized state. Is this possible? Or should I start looking into a script to find the window and minimize it?
View 2 Replies
View Related
Mar 25, 2011
Ubuntu 10.10 has crashed and I'm resigned to a re-install, however is there any way to recover or access my files via the CD, live, during install or after ?
View 3 Replies
View Related
May 1, 2011
I just updated my ubuntu to 11.4 and restart but it stop on "Checking battery state. [OK]" line while start up. However it starts in recovery mode -> low graphical configuration mode. Is there any solution for this?
View 4 Replies
View Related
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
Aug 14, 2009
Is it possible to like have SMS sent to your cellphone when the server crashes or a process on the server dies?
View 4 Replies
View Related
Dec 2, 2010
Assume: 1) Multi-cpu environment 2) Process that gets interrupted, is the same process that executes the interrupt handler, so I guess technically nothing gets interrupted except what the process was doing before, but it is still executing as it is executing the handler. 3) There is no top or bottom half, when an interrupt takes place the handler is invoked, executes, then return from interrupt, simple as that.
Why would sleeping the handler (puts in sleep queue, context switch to next runnable process) be a bad idea?
View 1 Replies
View Related
Jun 26, 2010
I would like to mount my mp3 player (sdb) without waking up the sleeping SATA disk sda. Attaching mp3 player does not wake sda up, but mounting it does. My system is mostly Slackware 11, so I'm still on kernel 2.4.
View 5 Replies
View Related
May 3, 2011
I've taken the kernel 2.6.33.3 and edited the .config file to take out most of the compatibility etc. that I will not be using. I'm run the makes and updated grub. I go to boot it runs through most of the way until I get the following:Quote:/bin/plymouthd: symbol lookup error: /bin/plymouthd: undefined symbol:ply_chara could not read byte from child: SuccessNo root device foundBoot has failed, sleeping forever.'m fairly new to Linux and still more of a dabbler. (Though this seemed more difficult than "Who is root" so I didn't put this in the newbie thread.)Any ideas for what might be wrong?I've tried looking in the config file from something that relates, but they have all been included (Y) in the module.
View 2 Replies
View Related
May 6, 2011
I used Total Commander and connected FTP to write website. Today I accidently deleted some files. How to recover them?Recover using Total Commander or log in Putty? If using Putty, what commands are used to recover?
View 1 Replies
View Related
Sep 28, 2010
This is Plesk linux server.I am using CentOS release 5.5 (Final) OS. Server seem to crash every couple of hours. Perhaps apache has memory leak?
Sep 28 07:06:29 wed kernel: Call Trace:
Sep 28 07:06:29 wed kernel: [] out_of_memory+0x8e/0x2f5
Sep 28 07:06:29 wed kernel: [] __alloc_pages+0x245/0x2ce
Sep 28 07:06:29 wed kernel: [] __do_page_cache_readahead+0x95/0x1d9
Sep 28 07:06:29 wed kernel: [] __wait_on_bit_lock+0x5b/0x66
[Code]....
View 4 Replies
View Related
Jun 7, 2011
I recently upgraded a server from Fedora 6 to Fedora 14. In addition to the main hard drive where the OS is installed, I have 3 1TB hard drives configured for RAID5 (via software). After the upgrade, I noticed one of the hard drives had been removed from the raid array. I tried to add it back with mdadm --add, but it just put it in as a spare. I figured I'd get back to it later.Then, when performing a reboot, the system could not mount the raid array at all. I removed it from the fstab so I could boot the system, and now I'm trying to get the raid array back up.
I ran the following:mdadm --create /dev/md0 --assume-clean --level=5 --chunk=64 --raid-devices=3 missing /dev/sdc1 /dev/sdd1I know my chunk size is 64k, and "missing" is for the drive that got kicked out of the array (/dev/sdb1).That seemed to work, and mdadm reports that the array is running "clean, degraded" with the missing drive.However, I can't mount the raid array. When I try:mount -t ext3 /dev/md0 /mnt/fooI get:
mount: wrong fs type, bad option, bad superblock on /dev/md0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
[code]....
View 1 Replies
View Related
Jan 8, 2010
i have purchased sun server for my visualization project. Request you to help me finding the io for disk .I have put storage(disks) on different location (File Server) and on server (Application) i have configured 4 virtual machines.
How would i monitor the io for file server from the Application server where i have configured 4 virtual machine. one way to mount the file server share on application server and execute
dd if=/dev/zero of=/share/test.out bs=1024 count=1024 to check the read and write Is there any other way of doing this.
View 1 Replies
View Related
Dec 8, 2010
5.5 (64bit). My server goes into non responding state where I can't telnet, ftp or ssh server whereas PING is the only thing which works at that time. I need to hard reboot server to get it back online. This is happening very frequently in fact yesterday and today server went inaccessible. which log file should I look into to find out the reasons of this inaccessibility?
View 2 Replies
View Related
Feb 16, 2010
On server (no GUI) how can I find the state (running, sleeping, zombie) of a given process, by giving a process name or PID?
View 3 Replies
View Related
Aug 2, 2010
As far as I know, servers are stable and don't go down easily, but every single server will eventually go down some day, either from hardware/software failure or from hacking.
But as sysadmins, our job is to keep servers running healthy as long as possible.
So I'm conducting another short survey (I might start more survey threads, and thank everyone for kindly replying my previous post):
1. Have you encountered server failures? What's the most common cause for server failure?
2. What is your most important trick in avoiding your server go down?
3. What security rules do you follow to protect your servers?
View 4 Replies
View Related
Dec 7, 2010
I am using CentOS 5.5 (64 bit) on a Quad core server having 8 GB RAM. This server has MySQL server 5.1.47 installed. THis server goes non responding state after every 20 to 60 days. SSH, telnet doesn't work at that time however PING works fine. I have to hard reboot the server to get it back on track. Can anybody let me know what logs/files should I look into to find out that what happens to the server when it went to non responding state?
View 4 Replies
View Related
Oct 4, 2010
Im creating a PHP application for my company. The application its going to be used by around 500 people in the network. I've always used Windows Server for my PHP applications, but I want to start using linux. I've heard its faster and more secure.
I want to knwo, what type of computer should I use? Is does linux work better on Intel Xeon or AMD? I need the application to work fast.
Am I going to have any problems with incompatibility if I get a Dell server?
I've used Ubuntu, just to check it out, but I've heard Centos is better for web servers, is that true?
View 2 Replies
View Related
Sep 24, 2010
I've got this problem for a few weeks and I cannot figure out. I'm pulling my hair out. I have a server installed PHP, lighttpd and redis. Sometimes, I got the following messages in the error log of lighty: Code: 2010-09-24 13:57:33: (mod_fastcgi.c.3011) backend is overloaded; we'll disable it for 1 seconds and send the request to anoth er backend instead: reconnects: 0 load: 567 2010-09-24 13:57:33: (mod_fastcgi.c.3011) backend is overloaded; we'll disable it for 1 seconds and send the request to anoth
er backend instead: reconnects: 0 load: 626 and:
[Code]..
View 3 Replies
View Related
Nov 18, 2010
I have written a simple server application (with an HTTP interface). I want to ensure that only calls from the local machine are processed - i.e. I want to prevent outsiders from accessing/using my server.
How may I restrict outsiders (i.e. requests from remote machines)?
View 4 Replies
View Related
Dec 7, 2010
I've been trying to make a cgi script that starts a program on a server and then shows the program on the servers screen. The cgi script is written in perl. I've been successful in making the program showing up on the screen through ssh by setting $DISPLAY to :0.0, I tried setting it to this in /etc/profile but when the cgi script ran nothing showed up on the screen. I tried having the script running it as a local user with "su - [user] -c [command]", this didn't help either.
In short what I'm trying to accomplish. When I press a button on a web page an slide show is supposed to start on a screen connected to the server.
View 2 Replies
View Related
Jul 30, 2010
16:46:50,375 INFO [AbstractJBossASServerBase] Server Configuration:
JBOSS_HOME URL: file:/C:/jboss-6.0.0.20100721-M4/
Bootstrap: $JBOSS_HOMEserver/default/conf/bootstrap.xml
Common Base: $JBOSS_HOMEcommon/
[code]....
View 1 Replies
View Related
Feb 20, 2011
I wanna as about video conference...anyone know about the video conference server application on linux?
View 2 Replies
View Related
Mar 3, 2010
Recently i am install webalizer in my application server .i am using centos4.1 .i installed successfully.but when i run the command i am getting like this.
root@tuxserver# /usr/bin/webalizer
Warning: Truncating oversized referrer field
Warning: Truncating oversized referrer field
[code]....
View 2 Replies
View Related
Nov 17, 2010
We are looking for a web based, server application to manage staff skills running on ubuntu (10.04 lts). Something like we attach tags with skills to people photographs, and then when people connect to the application by means of a browser, they see a list of tags, they click on a tag they get a list of people who have that skill. Ideally, the tags should be hierarchical (for example, skill: statistics, subskill: non-linear).
View 10 Replies
View Related
Feb 5, 2011
I am currently running Ubuntu version 10 as a desktop workstation. I would like to run a Linux O/S as a server, either as a application server or an web server. Can I do this effectively with Unbuntu?
View 1 Replies
View Related
Jan 18, 2010
I am writing one simple server daemon and running with /etc/init.d/server its running properly but when i want to run one simple QT GUI with system() function , its not able to run it and returning 256 as return code .
If same daemon i m running from terminal then its working properly and also system() function is getting success with return value 0 and GUI is getting popped up.
View 1 Replies
View Related
Sep 23, 2010
I want write a 2-way chat application in the my website, and i have to use the juggernaut plugin. but a recieved an error that " internal server error"
View 1 Replies
View Related