[vpsFree.cz: community-list] Screen nestartuje
tyctor
tyctor at post.cz
Sun Jan 6 16:01:53 CET 2019
zdravim
na nasem vps je ubunutu 16.04
chci si pustit screen ale hned po startu taky skonci
neresil jste toto nekdo?
strace pise
stat("/var/run/screen/S-tyctor/3900.pts-0.vps", 0x7fff8fe1fb80) = -1
ENOENT (No such file or directory)
ale prava na zapis do toho adresare ma...
> $ ls -ld /var/run/screen/S-tyctor/
> drwx------ 2 tyctor tyctor 40 Jan 6 14:56 /var/run/screen/S-tyctor/
prikladam cely strace
> $ strace screen
execve("/usr/bin/screen", ["screen"], 0x7fff77a443c0 /* 27 vars */) = 0
brk(NULL) = 0x1d5c000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or
directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=33135, ...}) = 0
mmap(NULL, 33135, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f96c179e000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libtinfo.so.5",
O_RDONLY|O_CLOEXEC) = 3
read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p\310\0\0\0\0\0\0"...,
832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=167240, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x7f96c179c000
mmap(NULL, 2264256, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x7f96c1573000
mprotect(0x7f96c1598000, 2093056, PROT_NONE) = 0
mmap(0x7f96c1797000, 20480, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x24000) = 0x7f96c1797000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libcrypt.so.1",
O_RDONLY|O_CLOEXEC) = 3
read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240\21\0\0\0\0\0\0"...,
832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=43304, ...}) = 0
mmap(NULL, 234016, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x7f96c1539000
mprotect(0x7f96c153a000, 36864, PROT_NONE) = 0
mmap(0x7f96c153a000, 24576, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7f96c153a000
mmap(0x7f96c1540000, 8192, PROT_READ,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f96c1540000
mmap(0x7f96c1543000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9000) = 0x7f96c1543000
mmap(0x7f96c1545000, 184864, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f96c1545000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libpam.so.0",
O_RDONLY|O_CLOEXEC) = 3
read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`$\0\0\0\0\0\0"..., 832)
= 832
fstat(3, {st_mode=S_IFREG|0644, st_size=55848, ...}) = 0
mmap(NULL, 2150896, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x7f96c132b000
mprotect(0x7f96c1338000, 2093056, PROT_NONE) = 0
mmap(0x7f96c1537000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xc000) = 0x7f96c1537000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3,
"\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"...,
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1996592, ...}) = 0
mmap(NULL, 2004992, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x7f96c1141000
mprotect(0x7f96c1163000, 1826816, PROT_NONE) = 0
mmap(0x7f96c1163000, 1511424, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f96c1163000
mmap(0x7f96c12d4000, 311296, PROT_READ,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x193000) = 0x7f96c12d4000
mmap(0x7f96c1321000, 24576, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1df000) = 0x7f96c1321000
mmap(0x7f96c1327000, 14336, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f96c1327000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libaudit.so.1",
O_RDONLY|O_CLOEXEC) = 3
read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`-\0\0\0\0\0\0"..., 832)
= 832
fstat(3, {st_mode=S_IFREG|0644, st_size=124848, ...}) = 0
mmap(NULL, 2261160, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x7f96c0f18000
mprotect(0x7f96c0f35000, 2097152, PROT_NONE) = 0
mmap(0x7f96c1135000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1d000) = 0x7f96c1135000
mmap(0x7f96c1137000, 37032, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f96c1137000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000\21\0\0\0\0\0\0"...,
832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=18656, ...}) = 0
mmap(NULL, 20752, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x7f96c0f12000
mmap(0x7f96c0f13000, 8192, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7f96c0f13000
mmap(0x7f96c0f15000, 4096, PROT_READ,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f96c0f15000
mmap(0x7f96c0f16000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f96c0f16000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libcap-ng.so.0",
O_RDONLY|O_CLOEXEC) = 3
read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\24\0\0\0\0\0\0"...,
832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=18712, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x7f96c0f10000
mmap(NULL, 2113848, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x7f96c0d0b000
mprotect(0x7f96c0d0f000, 2093056, PROT_NONE) = 0
mmap(0x7f96c0f0e000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f96c0f0e000
close(3) = 0
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x7f96c0d08000
arch_prctl(ARCH_SET_FS, 0x7f96c0d08740) = 0
mprotect(0x7f96c1321000, 16384, PROT_READ) = 0
mprotect(0x7f96c0f0e000, 4096, PROT_READ) = 0
mprotect(0x7f96c0f16000, 4096, PROT_READ) = 0
mprotect(0x7f96c1135000, 4096, PROT_READ) = 0
mprotect(0x7f96c1537000, 4096, PROT_READ) = 0
mprotect(0x7f96c1543000, 4096, PROT_READ) = 0
mprotect(0x7f96c1797000, 16384, PROT_READ) = 0
mprotect(0x664000, 4096, PROT_READ) = 0
mprotect(0x7f96c17d0000, 4096, PROT_READ) = 0
munmap(0x7f96c179e000, 33135) = 0
prlimit64(0, RLIMIT_NOFILE, NULL, {rlim_cur=1024, rlim_max=1024*1024}) = 0
close(1023) = -1 EBADF (Bad file descriptor)
close(1022) = -1 EBADF (Bad file descriptor)
close(1021) = -1 EBADF (Bad file descriptor)
close(1020) = -1 EBADF (Bad file descriptor)
...
close(4) = -1 EBADF (Bad file descriptor)
close(3) = -1 EBADF (Bad file descriptor)
brk(NULL) = 0x1d5c000
brk(0x1d7d000) = 0x1d7d000
getuid() = 1002
getgid() = 1002
geteuid() = 1002
getegid() = 1002
rt_sigaction(SIGBUS, {sa_handler=0x4069d0, sa_mask=[],
sa_flags=SA_RESTORER, sa_restorer=0x7f96c1182100}, {sa_handler=SIG_DFL,
sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGSEGV, {sa_handler=0x4069d0, sa_mask=[],
sa_flags=SA_RESTORER, sa_restorer=0x7f96c1182100}, {sa_handler=SIG_DFL,
sa_mask=[], sa_flags=0}, 8) = 0
openat(AT_FDCWD, "/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=3031664, ...}) = 0
mmap(NULL, 3031664, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f96c0a23000
close(3) = 0
rt_sigaction(SIGXFSZ, {sa_handler=SIG_IGN, sa_mask=[],
sa_flags=SA_RESTORER, sa_restorer=0x7f96c1182100}, {sa_handler=SIG_DFL,
sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[],
sa_flags=SA_RESTORER, sa_restorer=0x7f96c1182100}, {sa_handler=SIG_DFL,
sa_mask=[], sa_flags=0}, 8) = 0
access("/home/tyctor/.nethackrc", F_OK) = -1 ENOENT (No such file or
directory)
openat(AT_FDCWD, "/proc/self/loginuid", O_RDONLY) = 3
read(3, "1002", 12) = 4
close(3) = 0
socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3
connect(3, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) =
-1 ENOENT (No such file or directory)
close(3) = 0
socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3
connect(3, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) =
-1 ENOENT (No such file or directory)
close(3) = 0
openat(AT_FDCWD, "/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=510, ...}) = 0
read(3, "# /etc/nsswitch.conf\n#\n# Example"..., 512) = 510
read(3, "", 512) = 0
close(3) = 0
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=33135, ...}) = 0
mmap(NULL, 33135, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f96c179e000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libnss_files.so.2",
O_RDONLY|O_CLOEXEC) = 3
read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0003\0\0\0\0\0\0"...,
832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=55768, ...}) = 0
mmap(NULL, 83768, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x7f96c0a0e000
mmap(0x7f96c0a11000, 28672, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f96c0a11000
mmap(0x7f96c0a18000, 12288, PROT_READ,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xa000) = 0x7f96c0a18000
mmap(0x7f96c0a1b000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xc000) = 0x7f96c0a1b000
mmap(0x7f96c0a1d000, 22328, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f96c0a1d000
close(3) = 0
mprotect(0x7f96c0a1b000, 4096, PROT_READ) = 0
munmap(0x7f96c179e000, 33135) = 0
openat(AT_FDCWD, "/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
lseek(3, 0, SEEK_CUR) = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=1702, ...}) = 0
read(3, "root:x:0:0:root:/root:/bin/bash\n"..., 2048) = 1702
close(3) = 0
openat(AT_FDCWD, "/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
lseek(3, 0, SEEK_CUR) = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=1702, ...}) = 0
read(3, "root:x:0:0:root:/root:/bin/bash\n"..., 2048) = 1702
close(3) = 0
openat(AT_FDCWD, "/etc/shadow", O_RDONLY|O_CLOEXEC) = -1 EACCES
(Permission denied)
ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
fstat(0, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
readlink("/proc/self/fd/0", "/dev/pts/0", 4095) = 10
stat("/dev/pts/0", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
stat("/dev/pts/0", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
lstat("/dev", {st_mode=S_IFDIR|0755, st_size=620, ...}) = 0
lstat("/dev/pts", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
lstat("/dev/pts/0", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0),
...}) = 0
lstat("/dev/pts/0", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0),
...}) = 0
geteuid() = 1002
getegid() = 1002
openat(AT_FDCWD, "/dev/pts/0", O_RDWR|O_NONBLOCK) = 3
geteuid() = 1002
getegid() = 1002
close(3) = 0
ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
umask(000) = 002
stat("/var/run/screen", {st_mode=S_IFDIR|0777, st_size=80, ...}) = 0
access("/var/run/screen/S-tyctor", F_OK) = 0
stat("/var/run/screen/S-tyctor", {st_mode=S_IFDIR|0700, st_size=40,
...}) = 0
umask(002) = 000
uname({sysname="Linux", nodename="vps", ...}) = 0
rt_sigaction(SIGHUP, {sa_handler=0x428a80, sa_mask=[],
sa_flags=SA_RESTORER, sa_restorer=0x7f96c1182100}, {sa_handler=SIG_DFL,
sa_mask=[], sa_flags=0}, 8) = 0
clone(child_stack=NULL,
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0x7f96c0d08a10) = 3900
setgid(1002) = 0
setuid(1002) = 0
rt_sigaction(SIGHUP, {sa_handler=0x428a80, sa_mask=[],
sa_flags=SA_RESTORER, sa_restorer=0x7f96c1182100}, {sa_handler=0x428a80,
sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f96c1182100}, 8) = 0
rt_sigaction(SIGHUP, {sa_handler=0x428a80, sa_mask=[],
sa_flags=SA_RESTORER, sa_restorer=0x7f96c1182100}, {sa_handler=0x428a80,
sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f96c1182100}, 8) = 0
rt_sigaction(SIGUSR1, {sa_handler=0x4288e0, sa_mask=[],
sa_flags=SA_RESTORER, sa_restorer=0x7f96c1182100}, {sa_handler=SIG_DFL,
sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGUSR2, {sa_handler=0x428810, sa_mask=[],
sa_flags=SA_RESTORER, sa_restorer=0x7f96c1182100}, {sa_handler=SIG_DFL,
sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGINT, {sa_handler=0x4288b0, sa_mask=[],
sa_flags=SA_RESTORER, sa_restorer=0x7f96c1182100}, {sa_handler=SIG_DFL,
sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGTSTP, {sa_handler=0x428800, sa_mask=[],
sa_flags=SA_RESTORER, sa_restorer=0x7f96c1182100}, {sa_handler=SIG_DFL,
sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGWINCH, {sa_handler=0x428820, sa_mask=[],
sa_flags=SA_RESTORER, sa_restorer=0x7f96c1182100}, {sa_handler=SIG_DFL,
sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGALRM, {sa_handler=0x4287f0, sa_mask=[],
sa_flags=SA_RESTORER, sa_restorer=0x7f96c1182100}, {sa_handler=SIG_DFL,
sa_mask=[], sa_flags=0}, 8) = 0
alarm(15) = 0
pause([screen is terminating]
) = ? ERESTARTNOHAND (To be restarted if
no handler)
--- SIGHUP {si_signo=SIGHUP, si_code=SI_USER, si_pid=3900, si_uid=1002} ---
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=3900,
si_uid=1002, si_status=0, si_utime=0, si_stime=0} ---
rt_sigaction(SIGHUP, {sa_handler=SIG_IGN, sa_mask=[],
sa_flags=SA_RESTORER, sa_restorer=0x7f96c1182100}, {sa_handler=0x428a80,
sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f96c1182100}, 8) = 0
stat("/var/run/screen/S-tyctor/3900.pts-0.vps", 0x7fff8fe1fb80) = -1
ENOENT (No such file or directory)
exit_group(0) = ?
+++ exited with 0 +++
predem diky za pripadnou radu
s pozdravem
tyctor
More information about the Community-list
mailing list