Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
BIBO -- U
08-12-2021, 11:16 PM
Post: #5
RE: BIBO -- U
stop bibo failed
Code:
[root@wp289b-1 wsupport]#  /thinker/local/soft/bibo/util/stopbibo.sh
Sage failed to stop.
Refer to log file /home/sage/sage/stdout/sage.out on wp289b-6 to know the detail.

Following processes can not be killed by Sage. You may need to kill them manually.
143.64.64.145: ps aux
sage      7527  0.0  0.0 113172  1200 ?        S    21:44   0:00 sh -c export BIG_MSG_PORT=3257; /thinker/globe/.think/run/atpd    >/dev/null 2>&1
...
[root@wp289b-6 ~]# less /home/sage/sage/stdout/sage.out
...
[Thu Aug 12 21:22:01 CST 2021] stop sage
/home/sage/sage/bin/sage: line 257: dt: command not found
[Thu Aug 12 21:22:01 CST 2021] ps sage
[Thu Aug 12 21:22:05 CST 2021] ps sage
[Thu Aug 12 21:22:09 CST 2021] ps sage
[Thu Aug 12 21:22:13 CST 2021] ps sage
[Thu Aug 12 21:45:54 CST 2021] stop sage
/home/sage/sage/bin/sage: line 257: dt: command not found
[Thu Aug 12 21:45:54 CST 2021] ps sage
[Thu Aug 12 21:45:58 CST 2021] ps sage
[Thu Aug 12 21:46:02 CST 2021] ps sage
[Thu Aug 12 21:46:06 CST 2021] ps sage
...

I go to $sage_portal and stop manually
Code:
[sage@wp289b-6 ~]$ ~/sage/bin/sage stop
Sage is stopped.
[sage@wp289b-6 ~]$

simpleserv and ncat is not killed. Make stop script use "pkill -f" instead
Code:
[root@wp289b-1 wsupport]# ps aux | grep simpleserv
root      9947  0.0  0.0 112704   976 pts/9    S+   22:06   0:00 grep --color=auto simpleserv
root     16250  0.0  0.0 231792  3424 pts/2    S+   00:02   0:00 su sage /thinker/globe/soft/bibo/triage/simpleserv
sage     16252  0.0  0.0 113308  1780 pts/2    S+   00:02   0:00 bash /thinker/globe/soft/bibo/triage/simpleserv
[root@wp289b-1 wsupport]# ps aux | grep ncat
root     10106  0.0  0.0 112704   972 pts/9    R+   22:06   0:00 grep --color=auto ncat
sage     16388  0.0  0.0  44064  2172 pts/2    S+   00:02   0:00 ncat --listen 62818 --keep-open --idle-timeout 100s --sh-exec /thinker/local/soft/bibo/plug/talk2thinker2.sh
[root@wp289b-1 wsupport]#
[root@wp289b-1 wsupport]# ps aux | grep simpleserv
root     10419  0.0  0.0 112704   976 pts/9    S+   22:10   0:00 grep --color=auto simpleserv
root     16250  0.0  0.0 231792  3424 pts/2    S+   00:02   0:00 su sage /thinker/globe/soft/bibo/triage/simpleserv
sage     16252  0.0  0.0 113312  1812 pts/2    S+   00:02   0:00 bash /thinker/globe/soft/bibo/triage/simpleserv
[root@wp289b-1 wsupport]# pkill -f "simpleserv"
[root@wp289b-1 wsupport]# ps aux | grep simpleserv
root     10435  0.0  0.0 112704   976 pts/9    S+   22:10   0:00 grep --color=auto simpleserv
root     16250  0.0  0.0 189852  2908 pts/2    S+   00:02   0:00 su sage /thinker/globe/soft/bibo/triage/simpleserv
[root@wp289b-1 wsupport]# ps aux | grep simpleserv
root     10440  0.0  0.0 112704   976 pts/9    S+   22:10   0:00 grep --color=auto simpleserv
[root@wp289b-1 wsupport]# pkill -f "ncat"
[root@wp289b-1 wsupport]# ps au
Quote this message in a reply
Post Reply 


Messages In This Thread
BIBO -- U - zhihao - 08-12-2021, 02:42 PM
RE: BIBO -- U - zhihao - 08-12-2021, 02:59 PM
RE: BIBO -- U - lingu - 08-12-2021, 09:28 PM
RE: BIBO -- U - zhihao - 08-12-2021, 10:43 PM
RE: BIBO -- U - zhihao - 08-12-2021 11:16 PM
RE: BIBO -- U - zhihao - 08-13-2021, 07:45 AM
RE: BIBO -- U - zhihao - 08-16-2021, 01:30 PM
RE: BIBO -- U - zhihao - 08-23-2021, 06:28 PM
RE: BIBO -- U - lingu - 08-23-2021, 09:40 PM

Forum Jump: