Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
BIBO -- U
08-12-2021, 02:42 PM
Post: #1
BIBO -- U
Users' info for BIBO

===Ue===
BIBO系统运行需要启动simpleserv和sage
启动BIBO服务:
p1. 在$sage_portal即wp289b-6的sage用户下运行~/sage/bin/sage_restart
p2. 在$helper_portal即wp289b-1的root用户下执行/thinker/local/soft/bibo/util/startbibo.sh
注意:$helper_portal和$sage_portal为sage mic配置

停止BIBO服务
q1. root用户下执行/thinker/local/soft/bibo/util/stopbibo.sh
======

---
20210824/zhihao: link ue
20210812/zhihao: reverse bibo start steps
20210812/zhihao: add bibo start info
Quote this message in a reply
08-12-2021, 02:59 PM
Post: #2
RE: BIBO -- U
更新至首文:
---
BIBO系统运行需要启动simpleserv和sage
启动BIBO服务:
p1. root用户下执行/thinker/local/soft/bibo/util/startbibo.sh
p2. sage用户下运行~/sage/bin/sage start

停止BIBO系统服务
q1. root用户下执行/thinker/local/soft/bibo/util/stopbibo.sh
---
RR lingu
Quote this message in a reply
08-12-2021, 09:28 PM
Post: #3
RE: BIBO -- U
(08-12-2021 02:59 PM)zhihao Wrote:  更新至首文:
---
BIBO系统运行需要启动simpleserv和sage
启动BIBO服务:
p1. root用户下执行/thinker/local/soft/bibo/util/startbibo.sh

我记得这个命令需要在$helper_portal 运行

Quote:p2. sage用户下运行~/sage/bin/sage start

Run ~/sage/bin/sage_restart instead

Quote:停止BIBO系统服务
q1. root用户下执行/thinker/local/soft/bibo/util/stopbibo.sh
---
RR lingu

OK
Find all posts by this user
Quote this message in a reply
08-12-2021, 10:43 PM
Post: #4
RE: BIBO -- U
(08-12-2021 09:28 PM)lingu Wrote:  
(08-12-2021 02:59 PM)zhihao Wrote:  更新至首文:
---
BIBO系统运行需要启动simpleserv和sage
启动BIBO服务:
p1. root用户下执行/thinker/local/soft/bibo/util/startbibo.sh

我记得这个命令需要在$helper_portal 运行
已修改
---
p1. 在$helper_portal即wp289b-1的root用户下执行/thinker/local/soft/bibo/util/startbibo.sh

(08-12-2021 09:28 PM)lingu Wrote:  
Quote:p2. sage用户下运行~/sage/bin/sage start

Run ~/sage/bin/sage_restart instead
已更新
---
p2. 在$sage_portal即wp289b-6的sage用户下运行~/sage/bin/sage_restart
Quote this message in a reply
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
08-13-2021, 07:45 AM
Post: #6
RE: BIBO -- U
sage_restart can't stop tasks in wp289-1. It reports ncat is not killed in wp289b-1, updated stopbibo.sh to stop ncat first
Code:
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     15973  0.0  0.0  44068  2088 pts/9    S    22:27   0:00 ncat --listen 62818 --keep-open --idle-timeout 100s --sh-exec /thinker/local/soft/bibo/plug/talk2thinker2.sh
143.64.64.179: ps aux
143.64.64.180: ps aux
143.64.66.176: ps aux
143.64.66.189: ps aux
143.64.66.190: ps aux
Sage is irresponsive. Trying to stop it before start it again.
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     15973  0.0  0.0  44068  2088 pts/9    S    22:27   0:00 ncat --listen 62818 --keep-open --idle-timeout 100s --sh-exec /thinker/local/soft/bibo/plug/talk2thinker2.sh
143.64.64.179: ps aux
143.64.64.180: ps aux
143.64.66.176: ps aux
143.64.66.189: ps aux
143.64.66.190: ps aux

Starting Sage . Sage is started.
[sage@wp289b-6 ~]$
Quote this message in a reply
08-16-2021, 01:30 PM
Post: #7
RE: BIBO -- U
(08-12-2021 02:42 PM)zhihao Wrote:  启动BIBO服务:
p1. 在$helper_portal即wp289b-1的root用户下执行/thinker/local/soft/bibo/util/startbibo.sh
p2. 在$sage_portal即wp289b-6的sage用户下运行~/sage/bin/sage_restart
注意:$helper_portal和$sage_portal为sage mic配置

simpleserv will get stuck when sage is not started, so reverse step p1 and p2
Quote this message in a reply
08-23-2021, 06:28 PM
Post: #8
RE: BIBO -- U
(08-12-2021 02:42 PM)zhihao Wrote:  BIBO系统运行需要启动simpleserv和sage
启动BIBO服务:
p1. 在$sage_portal即wp289b-6的sage用户下运行~/sage/bin/sage_restart
p2. 在$helper_portal即wp289b-1的root用户下执行/thinker/local/soft/bibo/util/startbibo.sh
注意:$helper_portal和$sage_portal为sage mic配置

停止BIBO系统服务
q1. root用户下执行/thinker/local/soft/bibo/util/stopbibo.sh

suggest make info above ue
--
RR lingu
Quote this message in a reply
08-23-2021, 09:40 PM
Post: #9
RE: BIBO -- U
(08-23-2021 06:28 PM)zhihao Wrote:  
(08-12-2021 02:42 PM)zhihao Wrote:  BIBO系统运行需要启动simpleserv和sage
启动BIBO服务:
p1. 在$sage_portal即wp289b-6的sage用户下运行~/sage/bin/sage_restart
p2. 在$helper_portal即wp289b-1的root用户下执行/thinker/local/soft/bibo/util/startbibo.sh
注意:$helper_portal和$sage_portal为sage mic配置

停止BIBO系统服务
q1. root用户下执行/thinker/local/soft/bibo/util/stopbibo.sh

suggest make info above ue
--
RR lingu

OK
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: