https://pastein.ru/t/KF

  скопируйте уникальную ссылку для отправки


execve("./3proxy", ["./3proxy", "start"], [/* 18 vars */]) = 0
brk(NULL)                               = 0x56254ead9000
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)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=26317, ...}) = 0
mmap(NULL, 26317, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fddddf74000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/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\0\4\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1689360, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fddddf72000
mmap(NULL, 3795296, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fdddd9b9000
mprotect(0x7fddddb4e000, 2097152, PROT_NONE) = 0
mmap(0x7fddddd4e000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x195000) = 0x7fddddd4e000
mmap(0x7fddddd54000, 14688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fddddd54000
close(3)                                = 0
arch_prctl(ARCH_SET_FS, 0x7fddddf73480) = 0
mprotect(0x7fddddd4e000, 16384, PROT_READ) = 0
mprotect(0x56254e807000, 8192, PROT_READ) = 0
mprotect(0x7fddddf7b000, 4096, PROT_READ) = 0
munmap(0x7fddddf74000, 26317)           = 0
getpid()                                = 9976
rt_sigaction(SIGCHLD, {sa_handler=0x56254e5fdef0, sa_mask=~[RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0x7fdddd9ec060}, NULL, 8) = 0
geteuid()                               = 0
brk(NULL)                               = 0x56254ead9000
brk(0x56254eafa000)                     = 0x56254eafa000
getppid()                               = 9974
stat("/etc/init.d", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("./3proxy", O_RDONLY)              = 3
fcntl(3, F_DUPFD, 10)                   = 10
close(3)                                = 0
fcntl(10, F_SETFD, FD_CLOEXEC)          = 0
rt_sigaction(SIGINT, NULL, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGINT, {sa_handler=0x56254e5fdef0, sa_mask=~[RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0x7fdddd9ec060}, NULL, 8) = 0
rt_sigaction(SIGQUIT, NULL, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=~[RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0x7fdddd9ec060}, NULL, 8) = 0
rt_sigaction(SIGTERM, NULL, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGTERM, {sa_handler=SIG_DFL, sa_mask=~[RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0x7fdddd9ec060}, NULL, 8) = 0
read(10, "#!/bin/sh\n#\n# 3proxy daemon cont"..., 8192) = 8059
stat("/usr/local/sbin/env", 0x7ffca8cf38e0) = -1 ENOENT (No such file or directory)
stat("/usr/local/bin/env", 0x7ffca8cf38e0) = -1 ENOENT (No such file or directory)
stat("/usr/sbin/env", 0x7ffca8cf38e0)   = -1 ENOENT (No such file or directory)
stat("/usr/bin/env", {st_mode=S_IFREG|0755, st_size=31496, ...}) = 0
pipe([3, 4])                            = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fddddf73750) = 9977
close(4)                                = 0
stat("/usr/local/sbin/grep", 0x7ffca8cf38e0) = -1 ENOENT (No such file or directory)
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=9977, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]})                 = -1 ENOENT (No such file or directory)
stat("/usr/local/bin/grep", 0x7ffca8cf38e0) = -1 ENOENT (No such file or directory)
stat("/usr/sbin/grep", 0x7ffca8cf38e0)  = -1 ENOENT (No such file or directory)
stat("/usr/bin/grep", 0x7ffca8cf38e0)   = -1 ENOENT (No such file or directory)
stat("/sbin/grep", 0x7ffca8cf38e0)      = -1 ENOENT (No such file or directory)
stat("/bin/grep", {st_mode=S_IFREG|0755, st_size=215360, ...}) = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fddddf73750) = 9978
close(3)                                = 0
close(-1)                               = -1 EBADF (Bad file descriptor)
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 9977
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 9978
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=9978, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]})                 = 9978
pipe([3, 4])                            = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fddddf73750) = 9979
close(4)                                = 0
read(3, "300\n", 128)                   = 4
read(3, "", 128)                        = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=9979, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]})                 = 0
close(3)                                = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 9979
pipe([3, 4])                            = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fddddf73750) = 9982
close(4)                                = 0
read(3, "362\n", 128)                   = 4
read(3, "", 128)                        = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=9982, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]})                 = 0
close(3)                                = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 9982
pipe([3, 4])                            = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fddddf73750) = 9985
close(4)                                = 0
read(3, "\n#Resource=msg3proxyHelp\n\320\230\321\201\320\277\320"..., 128) = 128
read(3, "ndResource=msg3proxyHelp\n\n#Resou"..., 128) = 128
read(3, "\\n\n#endResource=msgConfigFileNot"..., 128) = 128
read(3, "\273\320\265 \320\272\320\276\320\275\321\204\320\270\320\263\321\203\321\200\320\260\321\206\320\270\320\270 3pr"..., 128) = 128
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=9985, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]})                 = 128
read(3, "\214.\\\\n\n#endResource=msgNoconfigDe"..., 128) = 128
read(3, "=msg3proxyAlreadyRunning\n\n#Resou"..., 128) = 128
read(3, "\321\203\320\271\321\202\320\265: service 3proxy status\\"..., 128) = 128
read(3, "\321\203\321\201\320\277\320\265\321\210\320\275\320\276 \321\201\321\202\320\260\321\200\321\202\320\276\320\262\320\260\320"..., 128) = 128
read(3, "[ %s %s ] 3proxy \321\203\321\201\320\277\320\265\321\210\320\275\320\276 "..., 128) = 128
read(3, "etected\n\320\237\321\200\320\276\321\206\320\265\321\201\321\201 \"3proxy\" "..., 128) = 128
read(3, "Killall\n[ %s %s ] \320\222\321\213\320\277\320\276\320\273\320\275\320\265"..., 128) = 128
read(3, " \"%s\",\n\320\275\320\276 \320\277\320\276 \321\204\320\260\320\272\321\202\321\203 3pro"..., 128) = 128
read(3, "\273 \"%s\" \320\265\321\201\321\202\321\214. \320\236\320\275 \321\201\320\276\320\264\320\265\321\200"..., 128) = 128
read(3, "\265 \320\275\320\260\320\271\320\264\320\265\320\275, \321\202.\320\265. PID 3prox"..., 128) = 128
read(3, "etected\n\320\236\320\261\320\275\320\260\321\200\321\203\320\266\320\265\320\275 \320\277\321\200\320"..., 128) = 128
read(3, "d\n\320\237\321\200\320\276\321\206\320\265\321\201\321\201\320\276\320\262 3proxy \320\275\320\265"..., 128) = 100
read(3, "", 128)                        = 0
close(3)                                = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 9985
stat("/var/log/3proxy", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
stat("/etc/3proxy/3proxy.cfg", {st_mode=S_IFREG|0777, st_size=38, ...}) = 0
stat("/usr/local/sbin/cat", 0x7ffca8cf3800) = -1 ENOENT (No such file or directory)
stat("/usr/local/bin/cat", 0x7ffca8cf3800) = -1 ENOENT (No such file or directory)
stat("/usr/sbin/cat", 0x7ffca8cf3800)   = -1 ENOENT (No such file or directory)
stat("/usr/bin/cat", 0x7ffca8cf3800)    = -1 ENOENT (No such file or directory)
stat("/sbin/cat", 0x7ffca8cf3800)       = -1 ENOENT (No such file or directory)
stat("/bin/cat", {st_mode=S_IFREG|0755, st_size=35688, ...}) = 0
pipe([3, 4])                            = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fddddf73750) = 9988
close(4)                                = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fddddf73750) = 9989
close(3)                                = 0
close(-1)                               = -1 EBADF (Bad file descriptor)
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 9988
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=9988, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]})                 = 9988
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 9989
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=9989, si_uid=0, si_status=1, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]})                 = 9989
pipe([3, 4])                            = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fddddf73750) = 9990
close(4)                                = 0
read(3, "", 128)                        = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=9990, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]})                 = 0
close(3)                                = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 9990
stat("/usr/local/sbin/3proxy", 0x7ffca8cf3820) = -1 ENOENT (No such file or directory)
stat("/usr/local/bin/3proxy", 0x7ffca8cf3820) = -1 ENOENT (No such file or directory)
stat("/usr/sbin/3proxy", 0x7ffca8cf3820) = -1 ENOENT (No such file or directory)
stat("/usr/bin/3proxy", 0x7ffca8cf3820) = -1 ENOENT (No such file or directory)
stat("/sbin/3proxy", 0x7ffca8cf3820)    = -1 ENOENT (No such file or directory)
stat("/bin/3proxy", 0x7ffca8cf3820)     = -1 ENOENT (No such file or directory)
write(2, "./3proxy: 72: ./3proxy: ", 24) = 24
write(2, "3proxy: not found", 17)       = 17
write(2, "\n", 1)                       = 1
stat("/usr/local/sbin/sleep", 0x7ffca8cf3840) = -1 ENOENT (No such file or directory)
stat("/usr/local/bin/sleep", 0x7ffca8cf3840) = -1 ENOENT (No such file or directory)
stat("/usr/sbin/sleep", 0x7ffca8cf3840) = -1 ENOENT (No such file or directory)
stat("/usr/bin/sleep", 0x7ffca8cf3840)  = -1 ENOENT (No such file or directory)
stat("/sbin/sleep", 0x7ffca8cf3840)     = -1 ENOENT (No such file or directory)
stat("/bin/sleep", {st_mode=S_IFREG|0755, st_size=35592, ...}) = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fddddf73750) = 9993
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 9993
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=9993, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]})                 = 9993
pipe([3, 4])                            = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fddddf73750) = 9994
close(4)                                = 0
read(3, "", 128)                        = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=9994, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]})                 = 0
close(3)                                = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 9994
stat("/tmp/3proxy.pid", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
pipe([3, 4])                            = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fddddf73750) = 9997
close(4)                                = 0
read(3, "", 128)                        = 0
close(3)                                = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=9997, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]})                 = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 9997
write(2, "./3proxy: 84: [: ", 17)       = 17
write(2, "!=: unexpected operator", 23) = 23
write(2, "\n", 1)                       = 1
pipe([3, 4])                            = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fddddf73750) = 9998
close(4)                                = 0
read(3, "[ %s %s ] 3proxy \321\203\321\201\320\277\320\265\321\210\320\275\320\276 "..., 128) = 62
read(3, "", 128)                        = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=9998, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]})                 = 0
close(3)                                = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 9998
pipe([3, 4])                            = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fddddf73750) = 10007
close(4)                                = 0
read(3, "04-07-2019 10:54:42\n", 128)   = 20
read(3, "", 128)                        = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=10007, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]})                 = 0
close(3)                                = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 10007
write(1, "[ 04-07-2019 10:54:42 ] 3proxy \321"..., 72) = 72
exit_group(0)                           = ?
+++ exited with 0 +++