LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-19-2008, 10:36 PM   #1
blancs
Member
 
Registered: Mar 2005
Posts: 49

Rep: Reputation: 15
eh. sig fault & screen


I run a game server in a screen, it crashes alot. . . I am unable to open the screen after said crash. Is this common? I would like to be able to screen -r, then relaunch the program in the same screen. but right now there is that screen process that is now owned by root, well the /dev/pts/1 is.

a@jasonj:~$ ps x
PID TTY STAT TIME COMMAND
5134 pts/0 S 0:00 su user
5188 pts/0 S 0:00 bash
15441 ? Ss 0:00 SCREEN
15447 pts/3 Ss 0:00 /bin/bash
16149 pts/3 S+ 0:00 /bin/sh ./run.sh
16150 pts/3 S+ 2:34 bin_unix/bc_server
25858 pts/0 R+ 0:00 ps x
27755 ? Ss 0:00 SCREEN
27756 pts/2 Ss+ 0:00 /bin/bash
a@jasonj:~$ screen -r 15441
Cannot open your terminal '/dev/pts/0' - please check.
a@jasonj:~$ ls /dev/pts
0 2 3
a@jasonj:~$ ls -la /dev/pts
total 0
drwxr-xr-x 2 root root 0 Oct 17 06:14 .
drwxr-xr-x 6 root root 2120 Oct 17 06:15 ..
crw------- 1 root tty 136, 0 Oct 19 17:02 0
crw--w---- 1 a tty 136, 2 Oct 18 18:38 2
crw--w---- 1 a tty 136, 3 Oct 19 16:37 3
a@jasonj:~$ exit
exit
 
Old 10-22-2008, 02:55 PM   #2
blancs
Member
 
Registered: Mar 2005
Posts: 49

Original Poster
Rep: Reputation: 15
on top of this i was wondering how to run screen and and a command in one line. i cant figure how to get around the nag screen when you start screen. i was just hoping screen | ./work would do it.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ubuntu & firefox - segmentation fault SyCo123 Linux - General 1 07-22-2008 07:49 AM
ptrace(PTRACE_CONT, sig) kills app even if sig is blocked ocstjf Linux - Kernel 0 04-21-2008 03:17 PM
Xinerama,Howto Tvtime on right screen & gdm(loginManager)on left screen,toEnjoy Tv! frenchn00b Linux - General 0 10-28-2007 04:50 AM
RPM segmentation fault & database corruption make Mandriva 2 04-17-2007 09:56 AM
Segmentation fault on toplevel = XtVaAppInitialize(&app, "Email", NULL, 0, &argc, cbranje Programming 0 02-19-2005 12:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration