Guest User

Untitled

a guest
Apr 9th, 2016
88
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ~ # strace /opt/etc/init.d/S70mysqld start
  2. execve("/opt/etc/init.d/S70mysqld", ["/opt/etc/init.d/S70mysqld", "start"], [/* 17 vars */]) = 0
  3. set_thread_area(0x2ac002a4) = 0
  4. set_tid_address(0x2abf91e4) = 3680
  5. open("/etc/ld-musl-mipsel-sf.path", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  6. open("/lib/libsupc++.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  7. open("/usr/local/lib/libsupc++.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  8. open("/usr/lib/libsupc++.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
  9. fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
  10. fstat64(3, {st_mode=S_IFREG|0755, st_size=92531, ...}) = 0
  11. read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\200m\0\0004\0\0\0"..., 936) = 936
  12. mmap2(NULL, 180224, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2abfa000
  13. mmap2(0x2ac1f000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x15000) = 0x2ac1f000
  14. mmap2(0x2ac21000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2ac21000
  15. close(3) = 0
  16. open("/lib/libgcc_s.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
  17. fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
  18. fstat64(3, {st_mode=S_IFREG|0644, st_size=160367, ...}) = 0
  19. read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\360\306\0\0004\0\0\0"..., 936) = 936
  20. mmap2(NULL, 229376, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2ac26000
  21. mmap2(0x2ac5d000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x27000) = 0x2ac5d000
  22. close(3) = 0
  23. open("/lib/libndmBase.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
  24. fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
  25. fstat64(3, {st_mode=S_IFREG|0755, st_size=611159, ...}) = 0
  26. read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0 \244\2\0004\0\0\0"..., 936) = 936
  27. mmap2(NULL, 684032, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2ac5e000
  28. mmap2(0x2acfd000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x8f000) = 0x2acfd000
  29. mmap2(0x2ad04000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2ad04000
  30. close(3) = 0
  31. open("/lib/libaxtls.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  32. open("/usr/local/lib/libaxtls.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  33. open("/usr/lib/libaxtls.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
  34. fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
  35. fstat64(3, {st_mode=S_IFREG|0755, st_size=75347, ...}) = 0
  36. read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\340\35\0\0004\0\0\0"..., 936) = 936
  37. mmap2(NULL, 143360, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2ad06000
  38. mmap2(0x2ad28000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x12000) = 0x2ad28000
  39. close(3) = 0
  40. socket(PF_LOCAL, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 3
  41. connect(3, {sa_family=AF_LOCAL, sun_path="/dev/log"}, 12) = 0
  42. open("/opt/bin/sh", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_CLOEXEC|O_PATH) = 4
  43. readlink("/proc/self/fd/4", "/opt/bin/busybox", 4095) = 16
  44. fstat64(4, {st_mode=S_IFREG|S_ISUID|0755, st_size=532736, ...}) = 0
  45. stat64("/opt/bin/busybox", {st_mode=S_IFREG|S_ISUID|0755, st_size=532736, ...}) = 0
  46. close(4) = 0
  47. execve("/opt/bin/sh", ["/opt/bin/sh", "/opt/etc/init.d/S70mysqld", "start"], [/* 17 vars */]) = 0
  48. readlinkat(AT_FDCWD, "/proc/self/exe", "/opt/bin/busybox", 4096) = 16
  49. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_UNINITIALIZED, -1, 0) = 0x2b169000
  50. stat("/opt/etc/ld.so.cache", {st_mode=S_IFREG|0644, st_size=1022, ...}) = 0
  51. open("/opt/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
  52. mmap(NULL, 1022, PROT_READ, MAP_SHARED, 3, 0) = 0x2b16a000
  53. close(3) = 0
  54. open("/opt/lib/libm.so.1", O_RDONLY) = 3
  55. fstat(3, {st_mode=S_IFREG|0755, st_size=99008, ...}) = 0
  56. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_UNINITIALIZED, -1, 0) = 0x2b16b000
  57. read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\260\26\0\0004\0\0\0"..., 4096) = 4096
  58. mmap(NULL, 159744, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b17a000
  59. mmap(0x2b17a000, 91964, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2b17a000
  60. mmap(0x2b1a0000, 2372, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x16000) = 0x2b1a0000
  61. close(3) = 0
  62. munmap(0x2b16b000, 4096) = 0
  63. open("/opt/lib/libgcc_s.so.1", O_RDONLY) = 3
  64. fstat(3, {st_mode=S_IFREG|0644, st_size=93972, ...}) = 0
  65. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_UNINITIALIZED, -1, 0) = 0x2b16b000
  66. read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\20&\0\0004\0\0\0"..., 4096) = 4096
  67. mmap(NULL, 155648, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b1a1000
  68. mmap(0x2b1a1000, 85796, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2b1a1000
  69. mmap(0x2b1c6000, 296, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x15000) = 0x2b1c6000
  70. close(3) = 0
  71. munmap(0x2b16b000, 4096) = 0
  72. open("/opt/lib/libc.so.1", O_RDONLY) = 3
  73. fstat(3, {st_mode=S_IFREG|0755, st_size=706808, ...}) = 0
  74. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_UNINITIALIZED, -1, 0) = 0x2b16b000
  75. read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0 \265\0\0004\0\0\0"..., 4096) = 4096
  76. mmap(NULL, 741376, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b1c7000
  77. mmap(0x2b1c7000, 650020, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2b1c7000
  78. mmap(0x2b275000, 7844, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x9e000) = 0x2b275000
  79. mmap(0x2b277000, 17516, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2b277000
  80. close(3) = 0
  81. munmap(0x2b16b000, 4096) = 0
  82. open("/opt/lib/libc.so.1", O_RDONLY) = 3
  83. fstat(3, {st_mode=S_IFREG|0755, st_size=706808, ...}) = 0
  84. close(3) = 0
  85. open("/opt/lib/libc.so.1", O_RDONLY) = 3
  86. fstat(3, {st_mode=S_IFREG|0755, st_size=706808, ...}) = 0
  87. close(3) = 0
  88. stat("/opt/lib/ld-uClibc.so.0", {st_mode=S_IFREG|0755, st_size=31812, ...}) = 0
  89. munmap(0x2b16a000, 1022) = 0
  90. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_UNINITIALIZED, -1, 0) = 0x2b16a000
  91. set_thread_area(0x2b171460) = 0
  92. mprotect(0x2b275000, 4096, PROT_READ) = 0
  93. mprotect(0x2b178000, 4096, PROT_READ) = 0
  94. ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
  95. ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
  96. getuid() = 0
  97. brk(NULL) = 0x8fa000
  98. brk(0x8fb000) = 0x8fb000
  99. getpid() = 3680
  100. rt_sigaction(SIGCHLD, {SIG_DFL, [CHLD], SA_RESTART}, {SIG_DFL, [], 0}, 16) = 0
  101. rt_sigaction(SIGHUP, {SIG_DFL, [HUP], SA_RESTART}, {SIG_DFL, [], 0}, 16) = 0
  102. getppid() = 3678
  103. uname({sysname="Linux", nodename="Keenetic_Ultra", ...}) = 0
  104. stat64("/opt/root", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
  105. stat64(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
  106. brk(0x8fc000) = 0x8fc000
  107. open("/opt/etc/init.d/S70mysqld", O_RDONLY|O_LARGEFILE) = 3
  108. fcntl64(3, F_DUPFD, 10) = 10
  109. close(3) = 0
  110. fcntl64(10, F_SETFD, FD_CLOEXEC) = 0
  111. rt_sigaction(SIGINT, NULL, {SIG_DFL, [], 0}, 16) = 0
  112. rt_sigaction(SIGINT, {0x4219b4, ~[], 0}, NULL, 16) = 0
  113. rt_sigaction(SIGQUIT, NULL, {SIG_IGN, [], 0}, 16) = 0
  114. rt_sigaction(SIGTERM, NULL, {SIG_DFL, [], 0}, 16) = 0
  115. rt_sigaction(SIGTERM, {SIG_DFL, ~[], 0}, NULL, 16) = 0
  116. read(10, "#!/bin/sh\n\nENABLED=yes\nPROCS=mys"..., 511) = 192
  117. wait4(-1, 0x7ff6708c, WNOHANG, NULL) = -1 ECHILD (No child processes)
  118. wait4(-1, 0x7ff6708c, WNOHANG, NULL) = -1 ECHILD (No child processes)
  119. wait4(-1, 0x7ff6708c, WNOHANG, NULL) = -1 ECHILD (No child processes)
  120. wait4(-1, 0x7ff6708c, WNOHANG, NULL) = -1 ECHILD (No child processes)
  121. wait4(-1, 0x7ff6708c, WNOHANG, NULL) = -1 ECHILD (No child processes)
  122. wait4(-1, 0x7ff6708c, WNOHANG, NULL) = -1 ECHILD (No child processes)
  123. wait4(-1, 0x7ff6708c, WNOHANG, NULL) = -1 ECHILD (No child processes)
  124. open("/opt/etc/init.d/rc.func", O_RDONLY|O_LARGEFILE) = 3
  125. fcntl64(3, F_DUPFD, 10) = 11
  126. close(3) = 0
  127. fcntl64(11, F_SETFD, FD_CLOEXEC) = 0
  128. read(11, "#!/bin/sh\n\nACTION=$1\nCALLER=$2\n\n"..., 511) = 511
  129. wait4(-1, 0x7ff66d54, WNOHANG, NULL) = -1 ECHILD (No child processes)
  130. wait4(-1, 0x7ff66d54, WNOHANG, NULL) = -1 ECHILD (No child processes)
  131. wait4(-1, 0x7ff66d54, WNOHANG, NULL) = -1 ECHILD (No child processes)
  132. wait4(-1, 0x7ff66d54, WNOHANG, NULL) = -1 ECHILD (No child processes)
  133. wait4(-1, 0x7ff66d54, WNOHANG, NULL) = -1 ECHILD (No child processes)
  134. wait4(-1, 0x7ff66d54, WNOHANG, NULL) = -1 ECHILD (No child processes)
  135. wait4(-1, 0x7ff66d54, WNOHANG, NULL) = -1 ECHILD (No child processes)
  136. wait4(-1, 0x7ff66d54, WNOHANG, NULL) = -1 ECHILD (No child processes)
  137. wait4(-1, 0x7ff66d54, WNOHANG, NULL) = -1 ECHILD (No child processes)
  138. wait4(-1, 0x7ff66d54, WNOHANG, NULL) = -1 ECHILD (No child processes)
  139. wait4(-1, 0x7ff66d54, WNOHANG, NULL) = -1 ECHILD (No child processes)
  140. wait4(-1, 0x7ff66d54, WNOHANG, NULL) = -1 ECHILD (No child processes)
  141. read(11, "g. $ansi_std\"\n return 0\n "..., 511) = 511
  142. brk(0x8fd000) = 0x8fd000
  143. read(11, "echo -e \" $ansi_green"..., 511) = 511
  144. read(11, " echo -e -n \"$ansi_white "..., 511) = 511
  145. brk(0x8fe000) = 0x8fe000
  146. read(11, " echo -e \" $ansi_red "..., 511) = 511
  147. read(11, "nfigure)\n reconfigure"..., 511) = 233
  148. wait4(-1, 0x7ff66af4, WNOHANG, NULL) = -1 ECHILD (No child processes)
  149. wait4(-1, 0x7ff65fdc, WNOHANG, NULL) = -1 ECHILD (No child processes)
  150. wait4(-1, 0x7ff65fdc, WNOHANG, NULL) = -1 ECHILD (No child processes)
  151. wait4(-1, 0x7ff6617c, WNOHANG, NULL) = -1 ECHILD (No child processes)
  152. write(1, "\33[1;37m Starting mysqld... ", 27 Starting mysqld... ) = 27
  153. pipe([3, 4]) = 3
  154. clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b16a068) = 3681
  155. close(4) = 0
  156. read(3, "", 128) = 0
  157. --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=3681, si_uid=0, si_status=1, si_utime=0, si_stime=0} ---
  158. close(3) = 0
  159. wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 3681
  160. wait4(-1, 0x7ff6617c, WNOHANG, NULL) = -1 ECHILD (No child processes)
  161. open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3
  162. fcntl64(1, F_DUPFD, 10) = 12
  163. dup2(3, 1) = 1
  164. close(3) = 0
  165. fcntl64(2, F_DUPFD, 10) = 13
  166. dup2(1, 2) = 2
  167. wait4(-1, 0x7ff6631c, WNOHANG, NULL) = -1 ECHILD (No child processes)
  168. dup2(12, 1) = 1
  169. close(12) = 0
  170. dup2(13, 2) = 2
  171. close(13) = 0
  172. clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b16a068) = 3682
  173. wait4(-1, 0x7ff664bc, WNOHANG, NULL) = 0
  174. wait4(-1, 0x7ff6658c, WNOHANG, NULL) = 0
  175. pipe([3, 4]) = 3
  176. clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b16a068) = 3683
  177. close(4) = 0
  178. read(3, "3682\n", 128) = 5
  179. read(3, "", 128) = 0
  180. --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=3683, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
  181. close(3) = 0
  182. wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 3683
  183. wait4(-1, 0x7ff6654c, WNOHANG, NULL) = 0
  184. open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3
  185. fcntl64(1, F_DUPFD, 10) = 12
  186. dup2(3, 1) = 1
  187. close(3) = 0
  188. fcntl64(2, F_DUPFD, 10) = 13
  189. dup2(1, 2) = 2
  190. wait4(-1, 0x7ff6672c, WNOHANG, NULL) = 0
  191. dup2(12, 1) = 1
  192. close(12) = 0
  193. dup2(13, 2) = 2
  194. close(13) = 0
  195. pipe([3, 4]) = 3
  196. clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b16a068) = 3684
  197. close(4) = 0
  198. read(3, "3682\n", 128) = 5
  199. read(3, "", 128) = 0
  200. --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=3684, si_uid=0, si_status=0, si_utime=0, si_stime=1} ---
  201. close(3) = 0
  202. wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 3684
  203. wait4(-1, 0x7ff6672c, WNOHANG, NULL) = 0
  204. wait4(-1, 0x7ff6658c, WNOHANG, NULL) = 0
  205. write(1, " \33[1;32m done. \33[m\n", 30 done.
  206. ) = 30
  207. stat64("/opt/sbin/logger", 0x7ff66430) = -1 ENOENT (No such file or directory)
  208. stat64("/opt/bin/logger", {st_mode=S_IFREG|S_ISUID|0755, st_size=532736, ...}) = 0
  209. clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b16a068) = 3686
  210. wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 3686
  211. --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=3686, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
  212. wait4(-1, 0x7ff6665c, WNOHANG, NULL) = 0
  213. read(11, "", 511) = 0
  214. close(11) = 0
  215. read(10, "", 511) = 0
  216. exit_group(0) = ?
  217. +++ exited with 0 +++
RAW Paste Data