SHARE
TWEET

CentOS 7 swapon command

a guest Jan 8th, 2020 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [root@ftpit ~]# strace swapon /swapfile
  2. execve("/sbin/swapon", ["swapon", "/swapfile"], [/* 24 vars */]) = 0
  3. brk(NULL)                               = 0x1821000
  4. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fdbd8208000
  5. access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
  6. open("/opt/rh/python27/root/usr/lib64/tls/x86_64/libmount.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  7. stat("/opt/rh/python27/root/usr/lib64/tls/x86_64", 0x7ffefb4c1320) = -1 ENOENT (No such file or directory)
  8. open("/opt/rh/python27/root/usr/lib64/tls/libmount.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  9. stat("/opt/rh/python27/root/usr/lib64/tls", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
  10. open("/opt/rh/python27/root/usr/lib64/x86_64/libmount.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  11. stat("/opt/rh/python27/root/usr/lib64/x86_64", 0x7ffefb4c1320) = -1 ENOENT (No such file or directory)
  12. open("/opt/rh/python27/root/usr/lib64/libmount.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  13. stat("/opt/rh/python27/root/usr/lib64", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
  14. open("/opt/rh/rh-php71/root/usr/lib64/tls/x86_64/libmount.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  15. stat("/opt/rh/rh-php71/root/usr/lib64/tls/x86_64", 0x7ffefb4c1320) = -1 ENOENT (No such file or directory)
  16. open("/opt/rh/rh-php71/root/usr/lib64/tls/libmount.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  17. stat("/opt/rh/rh-php71/root/usr/lib64/tls", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
  18. open("/opt/rh/rh-php71/root/usr/lib64/x86_64/libmount.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  19. stat("/opt/rh/rh-php71/root/usr/lib64/x86_64", 0x7ffefb4c1320) = -1 ENOENT (No such file or directory)
  20. open("/opt/rh/rh-php71/root/usr/lib64/libmount.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  21. stat("/opt/rh/rh-php71/root/usr/lib64", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
  22. open("/opt/rh/httpd24/root/usr/lib64/tls/x86_64/libmount.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  23. stat("/opt/rh/httpd24/root/usr/lib64/tls/x86_64", 0x7ffefb4c1320) = -1 ENOENT (No such file or directory)
  24. open("/opt/rh/httpd24/root/usr/lib64/tls/libmount.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  25. stat("/opt/rh/httpd24/root/usr/lib64/tls", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
  26. open("/opt/rh/httpd24/root/usr/lib64/x86_64/libmount.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  27. stat("/opt/rh/httpd24/root/usr/lib64/x86_64", 0x7ffefb4c1320) = -1 ENOENT (No such file or directory)
  28. open("/opt/rh/httpd24/root/usr/lib64/libmount.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  29. stat("/opt/rh/httpd24/root/usr/lib64", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
  30. open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
  31. fstat(3, {st_mode=S_IFREG|0644, st_size=36774, ...}) = 0
  32. mmap(NULL, 36774, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fdbd81ff000
  33. close(3)                                = 0
  34. open("/lib64/libmount.so.1", O_RDONLY|O_CLOEXEC) = 3
  35. read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\237\0\0\0\0\0\0"..., 832) = 832
  36. fstat(3, {st_mode=S_IFREG|0755, st_size=277808, ...}) = 0
  37. mmap(NULL, 2370944, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fdbd7da5000
  38. mprotect(0x7fdbd7de5000, 2097152, PROT_NONE) = 0
  39. mmap(0x7fdbd7fe5000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x40000) = 0x7fdbd7fe5000
  40. mmap(0x7fdbd7fe7000, 3456, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fdbd7fe7000
  41. close(3)                                = 0
  42. open("/opt/rh/python27/root/usr/lib64/tls/libblkid.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  43. open("/opt/rh/python27/root/usr/lib64/libblkid.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  44. open("/opt/rh/rh-php71/root/usr/lib64/tls/libblkid.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  45. open("/opt/rh/rh-php71/root/usr/lib64/libblkid.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  46. open("/opt/rh/httpd24/root/usr/lib64/tls/libblkid.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  47. open("/opt/rh/httpd24/root/usr/lib64/libblkid.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  48. open("/lib64/libblkid.so.1", O_RDONLY|O_CLOEXEC) = 3
  49. read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p\207\0\0\0\0\0\0"..., 832) = 832
  50. fstat(3, {st_mode=S_IFREG|0755, st_size=265600, ...}) = 0
  51. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fdbd81fe000
  52. mmap(NULL, 2358152, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fdbd7b65000
  53. mprotect(0x7fdbd7ba1000, 2093056, PROT_NONE) = 0
  54. mmap(0x7fdbd7da0000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3b000) = 0x7fdbd7da0000
  55. mmap(0x7fdbd7da4000, 2952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fdbd7da4000
  56. close(3)                                = 0
  57. open("/opt/rh/python27/root/usr/lib64/tls/libuuid.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  58. open("/opt/rh/python27/root/usr/lib64/libuuid.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  59. open("/opt/rh/rh-php71/root/usr/lib64/tls/libuuid.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  60. open("/opt/rh/rh-php71/root/usr/lib64/libuuid.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  61. open("/opt/rh/httpd24/root/usr/lib64/tls/libuuid.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  62. open("/opt/rh/httpd24/root/usr/lib64/libuuid.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  63. open("/lib64/libuuid.so.1", O_RDONLY|O_CLOEXEC) = 3
  64. read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\24\0\0\0\0\0\0"..., 832) = 832
  65. fstat(3, {st_mode=S_IFREG|0755, st_size=20064, ...}) = 0
  66. mmap(NULL, 2113920, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fdbd7960000
  67. mprotect(0x7fdbd7964000, 2093056, PROT_NONE) = 0
  68. mmap(0x7fdbd7b63000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7fdbd7b63000
  69. close(3)                                = 0
  70. open("/opt/rh/python27/root/usr/lib64/tls/libselinux.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  71. open("/opt/rh/python27/root/usr/lib64/libselinux.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  72. open("/opt/rh/rh-php71/root/usr/lib64/tls/libselinux.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  73. open("/opt/rh/rh-php71/root/usr/lib64/libselinux.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  74. open("/opt/rh/httpd24/root/usr/lib64/tls/libselinux.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  75. open("/opt/rh/httpd24/root/usr/lib64/libselinux.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  76. open("/lib64/libselinux.so.1", O_RDONLY|O_CLOEXEC) = 3
  77. read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320i\0\0\0\0\0\0"..., 832) = 832
  78. fstat(3, {st_mode=S_IFREG|0755, st_size=155784, ...}) = 0
  79. mmap(NULL, 2255184, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fdbd7739000
  80. mprotect(0x7fdbd775d000, 2093056, PROT_NONE) = 0
  81. mmap(0x7fdbd795c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x23000) = 0x7fdbd795c000
  82. mmap(0x7fdbd795e000, 6480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fdbd795e000
  83. close(3)                                = 0
  84. open("/opt/rh/python27/root/usr/lib64/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  85. open("/opt/rh/python27/root/usr/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  86. open("/opt/rh/rh-php71/root/usr/lib64/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  87. open("/opt/rh/rh-php71/root/usr/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  88. open("/opt/rh/httpd24/root/usr/lib64/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  89. open("/opt/rh/httpd24/root/usr/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  90. open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
  91. read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20&\2\0\0\0\0\0"..., 832) = 832
  92. fstat(3, {st_mode=S_IFREG|0755, st_size=2156160, ...}) = 0
  93. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fdbd81fd000
  94. mmap(NULL, 3985888, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fdbd736b000
  95. mprotect(0x7fdbd752e000, 2097152, PROT_NONE) = 0
  96. mmap(0x7fdbd772e000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1c3000) = 0x7fdbd772e000
  97. mmap(0x7fdbd7734000, 16864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fdbd7734000
  98. close(3)                                = 0
  99. open("/opt/rh/python27/root/usr/lib64/tls/libpcre.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  100. open("/opt/rh/python27/root/usr/lib64/libpcre.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  101. open("/opt/rh/rh-php71/root/usr/lib64/tls/libpcre.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  102. open("/opt/rh/rh-php71/root/usr/lib64/libpcre.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  103. open("/opt/rh/httpd24/root/usr/lib64/tls/libpcre.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  104. open("/opt/rh/httpd24/root/usr/lib64/libpcre.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  105. open("/lib64/libpcre.so.1", O_RDONLY|O_CLOEXEC) = 3
  106. read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360\25\0\0\0\0\0\0"..., 832) = 832
  107. fstat(3, {st_mode=S_IFREG|0755, st_size=402384, ...}) = 0
  108. mmap(NULL, 2494984, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fdbd7109000
  109. mprotect(0x7fdbd7169000, 2097152, PROT_NONE) = 0
  110. mmap(0x7fdbd7369000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x60000) = 0x7fdbd7369000
  111. close(3)                                = 0
  112. open("/opt/rh/python27/root/usr/lib64/tls/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  113. open("/opt/rh/python27/root/usr/lib64/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  114. open("/opt/rh/rh-php71/root/usr/lib64/tls/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  115. open("/opt/rh/rh-php71/root/usr/lib64/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  116. open("/opt/rh/httpd24/root/usr/lib64/tls/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  117. open("/opt/rh/httpd24/root/usr/lib64/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  118. open("/lib64/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
  119. read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\r\0\0\0\0\0\0"..., 832) = 832
  120. fstat(3, {st_mode=S_IFREG|0755, st_size=19288, ...}) = 0
  121. mmap(NULL, 2109712, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fdbd6f05000
  122. mprotect(0x7fdbd6f07000, 2097152, PROT_NONE) = 0
  123. mmap(0x7fdbd7107000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fdbd7107000
  124. close(3)                                = 0
  125. open("/opt/rh/python27/root/usr/lib64/tls/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  126. open("/opt/rh/python27/root/usr/lib64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  127. open("/opt/rh/rh-php71/root/usr/lib64/tls/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  128. open("/opt/rh/rh-php71/root/usr/lib64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  129. open("/opt/rh/httpd24/root/usr/lib64/tls/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  130. open("/opt/rh/httpd24/root/usr/lib64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  131. open("/lib64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
  132. read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@m\0\0\0\0\0\0"..., 832) = 832
  133. fstat(3, {st_mode=S_IFREG|0755, st_size=142232, ...}) = 0
  134. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fdbd81fc000
  135. mmap(NULL, 2208904, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fdbd6ce9000
  136. mprotect(0x7fdbd6d00000, 2093056, PROT_NONE) = 0
  137. mmap(0x7fdbd6eff000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16000) = 0x7fdbd6eff000
  138. mmap(0x7fdbd6f01000, 13448, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fdbd6f01000
  139. close(3)                                = 0
  140. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fdbd81fb000
  141. mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fdbd81f9000
  142. arch_prctl(ARCH_SET_FS, 0x7fdbd81f9880) = 0
  143. mprotect(0x7fdbd772e000, 16384, PROT_READ) = 0
  144. mprotect(0x7fdbd6eff000, 4096, PROT_READ) = 0
  145. mprotect(0x7fdbd7107000, 4096, PROT_READ) = 0
  146. mprotect(0x7fdbd7369000, 4096, PROT_READ) = 0
  147. mprotect(0x7fdbd795c000, 4096, PROT_READ) = 0
  148. mprotect(0x7fdbd7b63000, 4096, PROT_READ) = 0
  149. mprotect(0x7fdbd7da0000, 12288, PROT_READ) = 0
  150. mprotect(0x7fdbd7fe5000, 4096, PROT_READ) = 0
  151. mprotect(0x60b000, 4096, PROT_READ)     = 0
  152. mprotect(0x7fdbd8209000, 4096, PROT_READ) = 0
  153. munmap(0x7fdbd81ff000, 36774)           = 0
  154. set_tid_address(0x7fdbd81f9b50)         = 1751
  155. set_robust_list(0x7fdbd81f9b60, 24)     = 0
  156. rt_sigaction(SIGRTMIN, {0x7fdbd6cef820, [], SA_RESTORER|SA_SIGINFO, 0x7fdbd6cf85f0}, NULL, 8) = 0
  157. rt_sigaction(SIGRT_1, {0x7fdbd6cef8b0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7fdbd6cf85f0}, NULL, 8) = 0
  158. rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
  159. getrlimit(RLIMIT_STACK, {rlim_cur=10240*1024, rlim_max=RLIM64_INFINITY}) = 0
  160. statfs("/sys/fs/selinux", 0x7ffefb4c2b10) = -1 ENOENT (No such file or directory)
  161. statfs("/selinux", 0x7ffefb4c2b10)      = -1 ENOENT (No such file or directory)
  162. brk(NULL)                               = 0x1821000
  163. brk(0x1842000)                          = 0x1842000
  164. open("/proc/filesystems", O_RDONLY)     = 3
  165. fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
  166. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fdbd8207000
  167. read(3, "nodev\tcgroup\nnodev\tdevpts\nnodev\t"..., 1024) = 148
  168. read(3, "", 1024)                       = 0
  169. close(3)                                = 0
  170. munmap(0x7fdbd8207000, 4096)            = 0
  171. access("/etc/selinux/config", F_OK)     = 0
  172. open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
  173. fstat(3, {st_mode=S_IFREG|0644, st_size=106075056, ...}) = 0
  174. mmap(NULL, 106075056, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fdbd07bf000
  175. close(3)                                = 0
  176. readlink("/swapfile", 0x7ffefb4c0810, 4096) = -1 EINVAL (Invalid argument)
  177. stat("/swapfile", {st_mode=S_IFREG|0600, st_size=2147483648, ...}) = 0
  178. open("/swapfile", O_RDONLY)             = 3
  179. read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 65536) = 65536
  180. close(3)                                = 0
  181. swapon("/swapfile", 0)                  = -1 EPERM (Operation not permitted)
  182. open("/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 3
  183. fstat(3, {st_mode=S_IFREG|0644, st_size=2502, ...}) = 0
  184. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fdbd8207000
  185. read(3, "# Locale name alias data base.\n#"..., 4096) = 2502
  186. read(3, "", 4096)                       = 0
  187. close(3)                                = 0
  188. munmap(0x7fdbd8207000, 4096)            = 0
  189. open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/util-linux.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  190. open("/usr/share/locale/en_US.utf8/LC_MESSAGES/util-linux.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  191. open("/usr/share/locale/en_US/LC_MESSAGES/util-linux.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  192. open("/usr/share/locale/en.UTF-8/LC_MESSAGES/util-linux.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  193. open("/usr/share/locale/en.utf8/LC_MESSAGES/util-linux.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  194. open("/usr/share/locale/en/LC_MESSAGES/util-linux.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  195. write(2, "swapon: ", 8swapon: )                 = 8
  196. write(2, "/swapfile: swapon failed", 24/swapfile: swapon failed) = 24
  197. write(2, ": ", 2: )                       = 2
  198. open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  199. open("/usr/share/locale/en_US.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  200. open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  201. open("/usr/share/locale/en.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  202. open("/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  203. open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  204. write(2, "Operation not permitted\n", 24Operation not permitted
  205. ) = 24
  206. close(1)                                = 0
  207. close(2)                                = 0
  208. exit_group(-1)                          = ?
  209. +++ exited with 255 +++
  210. [root@ftpit ~]#
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top