cant restore 'screen': No Sockets found
I have a problem with the 'screen' command: i run a script at startup with the following line
Code:
su $eduser -c "screen -dmS $prog $eddir$edbin" Afterwards the program seems to be running when i check it with 'ps -a', but I cant restore the screen. This would be the output: Code:
[user@localhost user]$ screen -r |
Is the problem in the way i run the script or when Im restoring it?
|
i got the same problem.
I use the screen command to start a game server and voice over ip server. so i have made a shell script to start the program [shell script] screen -A -d -m -S ventrilo ./ventrilo_srv [end shell script] If i enter "sh ventrilo" then the server starts, but if i enter "screen -list" i get the message "no sockets found in ...." If i start the server twice (so there are 2 processes,) i can reattach the screen Sometimes i can reattach it, but mostly not Any help is appreciated... |
btw i just reattach through this command:
screen -R ventrilo help plz! |
anyone?
|
kinda late responce, but whoever might find it helpful....
the reason u get that is because you do not have proper permissions to dev/pts/2 ..which is probably owned by root. try: su - user the "-" makes sure the full potential of the local user is used, otherwise certain aspects of the root account are still left over... and make sure the needed pts has desired permissions... have fun. |
All times are GMT -5. The time now is 10:46 PM. |