Hi,
lsws admin on my server has been crashed and it's only working if I restart lsws service from terminal
I found lots of error in stderr.log
This error repeated 20 times
I'm on latest centos 7 and lsws 1.6.12
lsws admin on my server has been crashed and it's only working if I restart lsws service from terminal
I found lots of error in stderr.log
Code:
020-04-19 04:28:12.944 [STDERR] *** stack smashing detected ***: openlitespeed (lshttpd - #04) terminated
2020-04-19 04:28:12.946 [STDERR] ======= Backtrace: =========
/lib64/libc.so.6(__fortify_fail+0x37)[0x7fdb33b02527]
/lib64/libc.so.6(+0x1184e2)[0x7fdb33b024e2]
openlitespeed (lshttpd - #04)[0x5614ae]
2020-04-19 04:28:12.949 [STDERR] openlitespeed (lshttpd - #04)(_ZNK11LsiApiHooks11runCallbackEiP11lsi_param_s+0x12a)[0x54ee5a]
openlitespeed (lshttpd - #04)(_ZN11HttpSession12runEventHkptEi8HSPState+0x48)[0x4ea728]
openlitespeed (lshttpd - #04)(_ZN11HttpSession12smProcessReqEv+0x3dd)[0x4f8d7d]
openlitespeed (lshttpd - #04)(_ZN11HttpSession8onReadExEv+0x200)[0x4fa450]
openlitespeed (lshttpd - #04)(_ZN10NtwkIOLink11onReadSSL_TEPS_+0x2a)[0x4ddcfa]
openlitespeed (lshttpd - #04)(_ZN10NtwkIOLink12handleEventsEs+0x62)[0x4db8c2]
openlitespeed (lshttpd - #04)(_ZN5epoll20waitAndProcessEventsEi+0x119)[0x54e299]
openlitespeed (lshttpd - #04)(_ZN15EventDispatcher3runEv+0x1cc)[0x4cbe0c]
openlitespeed (lshttpd - #04)(_ZN14HttpServerImpl5startEv+0xbe)[0x4a567e]
openlitespeed (lshttpd - #04)(_ZN11LshttpdMain4mainEiPPc+0xc6)[0x47cbc6]
openlitespeed (lshttpd - #04)(main+0x32)[0x47caa2]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7fdb33a0c505]
openlitespeed (lshttpd - #04)[0x47d501]
======= Memory map: ========
2020-04-19 04:28:12.956 [STDERR] 00400000-00add000 r-xp 00000000 fd:00 34750088 /usr/local/lsws/bin/openlitespeed
00cdc000-00cef000 r--p 006dc000 fd:00 34750088 /usr/local/lsws/bin/openlitespeed
00cef000-00cf4000 rw-p 006ef000 fd:00 34750088 /usr/local/lsws/bin/openlitespeed
00cf4000-00d3b000 rw-p 00000000 00:00 0
01dde000-01e45000 rw-p 00000000 00:00 0 [heap]
01e45000-05182000 rw-p 00000000 00:00 0 [heap]
05182000-05439000 rw-p 00000000 00:00 0 [heap]
7fdb31aea000-7fdb31aff000 r-xp 00000000 fd:00 67152175 /usr/lib64/libgcc_s-4.8.5-20150702.so.1
7fdb31aff000-7fdb31cfe000 ---p 00015000 fd:00 67152175 /usr/lib64/libgcc_s-4.8.5-20150702.so.1
7fdb31cfe000-7fdb31cff000 r--p 00014000 fd:00 67152175 /usr/lib64/libgcc_s-4.8.5-20150702.so.1
7fdb31cff000-7fdb31d00000 rw-p 00015000 fd:00 67152175 /usr/lib64/libgcc_s-4.8.5-20150702.so.1
7fdb31d00000-7fdb31d04000 rw-s 00000000 00:12 21361 /dev/shm/ols/adns_cache.shm
7fdb31d04000-7fdb31f00000 ---s 00004000 00:04 1160422 /dev/zero (deleted)
7fdb31f00000-7fdb31f0c000 rw-s 00000000 fd:00 68024200 /usr/local/lsws/cachedata/.cacheman.shm
7fdb31f0c000-7fdb32000000 ---s 000a1000 00:04 314134 /dev/zero (deleted)
7fdb3206b000-7fdb327a3000 r-xp 00000000 fd:00 100864573 /usr/local/lsws/modules/mod_security.so
7fdb327a3000-7fdb329a2000 ---p 00738000 fd:00 100864573 /usr/local/lsws/modules/mod_security.so
7fdb329a2000-7fdb329f1000 r--p 00737000 fd:00 100864573 /usr/local/lsws/modules/mod_security.so
7fdb329f1000-7fdb329f9000 rw-p 00786000 fd:00 100864573 /usr/local/lsws/modules/mod_security.so
7fdb329f9000-7fdb32a00000 rw-p 00000000 00:00 0
7fdb32a00000-7fdb32a04000 rw-s 00000000 00:12 22797 /dev/shm/.quicshmmap.shm
7fdb32a04000-7fdb32c00000 ---s 00004000 00:04 314133 /dev/zero (deleted)
7fdb32c00000-7fdb32e8c000 rw-s 00000000 00:12 22794 /dev/shm/.quicshmdata.shm
7fdb32e8c000-7fdb33000000 ---s 0028c000 00:04 314132 /dev/zero (deleted)
7fdb33000000-7fdb33010000 rw-s 00000000 00:12 19975 /dev/shm/ols/SSL.shm
7fdb33010000-7fdb33100000 ---s 00048000 00:04 314131 /dev/zero (deleted)
7fdb331c8000-7fdb331d4000 r-xp 00000000 fd:00 67151740 /usr/lib64/libnss_files-2.17.so
7fdb331d4000-7fdb333d3000 ---p 0000c000 fd:00 67151740 /usr/lib64/libnss_files-2.17.so
7fdb333d3000-7fdb333d4000 r--p 0000b000 fd:00 67151740 /usr/lib64/libnss_files-2.17.so
7fdb333d4000-7fdb333d5000 rw-p 0000c000 fd:00 67151740 /usr/lib64/libnss_files-2.17.so
7fdb333d5000-7fdb333db000 rw-p 00000000 00:00 0
7fdb333db000-7fdb333dd000 r-xp 00000000 fd:00 67149971 /usr/lib64/libfreebl3.so
7fdb333dd000-7fdb335dc000 ---p 00002000 fd:00 67149971 /usr/lib64/libfreebl3.so
7fdb335dc000-7fdb335dd000 r--p 00001000 fd:00 67149971 /usr/lib64/libfreebl3.so
7fdb335dd000-7fdb335de000 rw-p 00002000 fd:00 67149971 /usr/lib64/libfreebl3.so
7fdb335de000-7fdb335e0000 r-xp 00000000 fd:00 67150939 /usr/lib64/libdl-2.17.so
7fdb335e0000-7fdb337e0000 ---p 00002000 fd:00 67150939 /usr/lib64/libdl-2.17.so
7fdb337e0000-7fdb337e1000 r--p 00002000 fd:00 67150939 /usr/lib64/libdl-2.17.so
7fdb337e1000-7fdb337e2000 rw-p 00003000 fd:00 67150939 /usr/lib64/libdl-2.17.so
7fdb337e2000-7fdb337e9000 r-xp 00000000 fd:00 67151822 /usr/lib64/librt-2.17.so
7fdb337e9000-7fdb339e8000 ---p 00007000 fd:00 67151822 /usr/lib64/librt-2.17.so
7fdb339e8000-7fdb339e9000 r--p 00006000 fd:00 67151822 /usr/lib64/librt-2.17.so
7fdb339e9000-7fdb339ea000 rw-p 00007000 fd:00 67151822 /usr/lib64/librt-2.17.so
7fdb339ea000-7fdb33bad000 r-xp 00000000 fd:00 67150933 /usr/lib64/libc-2.17.so
7fdb33bad000-7fdb33dad000 ---p 001c3000 fd:00 67150933 /usr/lib64/libc-2.17.so
7fdb33dad000-7fdb33db1000 r--p 001c3000 fd:00 67150933 /usr/lib64/libc-2.17.so
7fdb33db1000-7fdb33db3000 rw-p 001c7000 fd:00 67150933 /usr/lib64/libc-2.17.so
7fdb33db3000-7fdb33db8000 rw-p 00000000 00:00 0
7fdb33db8000-7fdb33dc0000 r-xp 00000000 fd:00 67150937 /usr/lib64/libcrypt-2.17.so
7fdb33dc0000-7fdb33fbf000 ---p 00008000 fd:00 67150937 /usr/lib64/libcrypt-2.17.so
7fdb33fbf000-7fdb33fc0000 r--p 00007000 fd:00 67150937 /usr/lib64/libcrypt-2.17.so
7fdb33fc0000-7fdb33fc1000 rw-p 00008000 fd:00 67150937 /usr/lib64/libcrypt-2.17.so
7fdb33fc1000-7fdb33fef000 rw-p 00000000 00:00 0
7fdb33fef000-7fdb340f0000 r-xp 00000000 fd:00 67150941 /usr/lib64/libm-2.17.so
7fdb340f0000-7fdb342ef000 ---p 00101000 fd:00 67150941 /usr/lib64/libm-2.17.so
7fdb342ef000-7fdb342f0000 r--p 00100000 fd:00 67150941 /usr/lib64/libm-2.17.so
7fdb342f0000-7fdb342f1000 rw-p 00101000 fd:00 67150941 /usr/lib64/libm-2.17.so
7fdb342f1000-7fdb34308000 r-xp 00000000 fd:00 67151813 /usr/lib64/libpthread-2.17.so
7fdb34308000-7fdb34507000 ---p 00017000 fd:00 67151813 /usr/lib64/libpthread-2.17.so
7fdb34507000-7fdb34508000 r--p 00016000 fd:00 67151813 /usr/lib64/libpthread-2.17.so
7fdb34508000-7fdb34509000 rw-p 00017000 fd:00 67151813 /usr/lib64/libpthread-2.17.so
7fdb34509000-7fdb3450d000 rw-p 00000000 00:00 0
7fdb3450d000-7fdb3452f000 r-xp 00000000 fd:00 67150926 /usr/lib64/ld-2.17.so
7fdb346bc000-7fdb346fd000 rw-p 00000000 00:00 0
7fdb346fd000-7fdb34705000 rw-s 00000000 00:04 314153 /dev/zero (deleted)
7fdb34712000-7fdb34713000 rw-p 00000000 00:00 0
7fdb34713000-7fdb34715000 rw-s 00000000 00:04 1164780 /dev/zero (deleted)
7fdb34715000-7fdb34717000 rw-s 00000000 00:04 1159693 /dev/zero (deleted)
7fdb34717000-7fdb34719000 rw-s 00000000 00:04 1160431 /dev/zero (deleted)
7fdb34719000-7fdb3471b000 rw-s 00000000 00:04 1160428 /dev/zero (deleted)
7fdb3471b000-7fdb3471d000 rw-s 00000000 00:12 21362 /dev/shm/ols/adns_cache.lock
7fdb3471d000-7fdb34723000 rw-p 00000000 00:00 0
7fdb34723000-7fdb34724000 rw-p 00000000 00:00 0
7fdb34724000-7fdb34725000 rw-s 00000000 00:04 1736704 /SYSV0100e181 (deleted)
7fdb34725000-7fdb34727000 rw-s 00000000 fd:00 68024201 /usr/local/lsws/cachedata/.cacheman.lock
7fdb34727000-7fdb34729000 rw-s 00000000 00:12 22798 /dev/shm/.quicshmmap.lock
7fdb34729000-7fdb3472b000 rw-s 00000000 00:12 22795 /dev/shm/.quicshmdata.lock
7fdb3472b000-7fdb3472d000 rw-s 00000000 00:12 19976 /dev/shm/ols/SSL.lock
7fdb3472d000-7fdb3472e000 rw-p 00000000 00:00 0
7fdb3472e000-7fdb3472f000 r--p 00021000 fd:00 67150926 /usr/lib64/ld-2.17.so
7fdb3472f000-7fdb34730000 rw-p 00022000 fd:00 67150926 /usr/lib64/ld-2.17.so
7fdb34730000-7fdb34731000 rw-p 00000000 00:00 0
7ffe0f3fc000-7ffe0f443000 rw-p 00000000 00:00 0 [stack]
7ffe0f475000-7ffe0f477000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
This error repeated 20 times
I'm on latest centos 7 and lsws 1.6.12