BIBO -- O
|
09-22-2020, 07:41 PM
Post: #31
|
|||
|
|||
RE: BIBO
测试了端口,runxun1能连接本地20050,runxun1能连接ada.zettadom.com:22242(g1b),g1b能连接本地62818。但是我不知道20050能否连到g1b:62818。
Code: [zhihao@barbarossa-35 ~]$ telnet localhost 20050 Code: [zhihao@g1b-2 zhihao]$ telnet localhost 62818 |
|||
09-22-2020, 07:42 PM
Post: #32
|
|||
|
|||
RE: BIBO
[quote='zhihao' pid='43428' dateline='1600768821']
limbo30-1上执行ncat,一段时间后还是没有返回值 Code: [zhihao@limbo30-1 processed]$ ( cat chendengchang-with-blank-line.json; sleep 18 ) | ncat trajan.d-thinker.org 20050 But when I use trajan to relay, it does not work. Code: [root@limbo30-1 processed]# telnet trajan.d-thinker.org 20050 simpleserv.log continues with the following. Code: for exit status 1, we recycle thinker |
|||
09-22-2020, 08:09 PM
Post: #33
|
|||
|
|||
RE: BIBO
看到g1b-2的simpleserv.sh后台显示Permission denied。
Code: /home/lingu/forest/prada/prada/procuratorate/talk2thinker.sh: line 44: /thinker/storage/udata/lingu/testy/procuratorate/tests/manytasks.ts: Permission denied g1b-2 上重新开启连接runxun1的通道 Code: [zhihao@g1b-2 zhihao]$ nohup ssh -t -t -N -o ExitOnForwardFailure=yes -o ServerAliveInterval=60 -R 211.154.134.173:20050:localhost:62818 -p532 zhihao@trajan.d-thinker.org limbo30-1提示Connection refused. Code: [zhihao@limbo30-1 processed]$ ( cat chendengchang-with-blank-line.json; sleep 18 ) | ncat trajan.d-thinker.org 20050 |
|||
09-22-2020, 08:22 PM
Post: #34
|
|||
|
|||
RE: BIBO
(09-22-2020 08:09 PM)zhihao Wrote: 看到g1b-2的simpleserv.sh后台显示Permission denied。 Perhaps that file was created by user lingu. You can delete this file manytasks.ts and try again. Quote:Quote:/home/lingu/forest/prada/prada/procuratorate/talk2thinker.sh: line 63: /tmp/grep404.out: Permission denied You do not need to input password? |
|||
09-22-2020, 08:29 PM
Post: #35
|
|||
|
|||
RE: BIBO
(09-22-2020 08:09 PM)zhihao Wrote: 看到g1b-2的simpleserv.sh后台显示Permission denied。 上面运行的simpleserv.sh为添加了插入逻辑后脚本 Code: [zhihao@g1b-2 procuratorate]$ pwd |
|||
09-22-2020, 08:38 PM
Post: #36
|
|||
|
|||
RE: BIBO
(09-22-2020 08:22 PM)lingu Wrote:(09-22-2020 08:09 PM)zhihao Wrote: 看到g1b-2的simpleserv.sh后台显示Permission denied。 之前没有输入密码就挂起了,这次有输密码,ssh有连通上。 Code: [zhihao@g1b-2 zhihao]$ nohup ssh -t -t -N -o ExitOnForwardFailure=yes -o ServerAliveInterval=60 -R 211.154.134.173:20050:localhost:62818 -p532 zhihao@trajan.d-thinker.org 删除manytasks.ts后尝试 ncat,返回404。 Code: [zhihao@g1b-2 zhihao]$ sudo rm /thinker/storage/udata/lingu/testy/procuratorate/tests/manytasks.ts Code: [zhihao@limbo30-1 processed]$ ( cat chendengchang-with-blank-line.json; sleep 18 ) | ncat trajan.d-thinker.org 20050 同时g1b-2内的simpleserve服务后台输出表示有权限问题。 Code: /home/lingu/forest/prada/prada/procuratorate/talk2thinker.sh: line 62: /thinker/storage/udata/lingu/testy/procuratorate/tests/manytasks.ts: Permission denied |
|||
09-22-2020, 08:56 PM
Post: #37
|
|||
|
|||
RE: BIBO
(09-22-2020 08:38 PM)zhihao Wrote: 同时g1b-2内的simpleserve服务后台输出表示有权限问题。 将文件夹设为777权限后,文件夹里面的文件没有权限。准备将涉及权限问题的文件newreq,newcase.txt重命名为其他,让其重新生成 Code: [zhihao@g1b-2 zhihao]$ sudo chmod 777 /thinker/storage/udata/lingu/testy/procuratorate/tests simpleserv.sh后台输出: Code: ... |
|||
09-22-2020, 09:21 PM
Post: #38
|
|||
|
|||
RE: BIBO
修改newcase、resprev权限为777后,使用/data/20200906.1/processed内的案例查询,能得到返回结果
Code: [zhihao@limbo30-1 processed]$ pwd Code: [zhihao@limbo30-1 processed]$ ( cat chendengchang-with-blank-line.json; sleep 18 ) | ncat trajan.d-thinker.org 20050 zengxingliang.json为插入请求,可以返回code 200 Code: [zhihao@limbo30-1 processed]$ ( cat zengxingliang.json; sleep 18 ) | ncat trajan.d-thinker.org 20050 |
|||
09-22-2020, 09:21 PM
(This post was last modified: 09-22-2020 09:21 PM by lingu.)
Post: #39
|
|||
|
|||
RE: BIBO
(09-03-2020 11:53 PM)lingu Wrote: talk2thinker.sh 对于伪代码来说,这又太模糊了。请改为如下形式: Code: 读取一个案例请求,保存到$toneroot/newreeq文件 Quote:... 尽快补齐省略部分。 Quote: /bin/cp $reqpfn $newcasepfn 作为伪代码,这个insert()很突兀,不知怎么理解。 Quote: # if "type":"insert" 在下次运行simpleserv时,casecnt会重置为10,这就错了。 我们得保存casecnt,可以暂时用pcf来保存一个变量,我等会具体提议。 |
|||
09-22-2020, 09:41 PM
(This post was last modified: 09-22-2020 09:51 PM by lingu.)
Post: #40
|
|||
|
|||
RE: BIBO
driver: we need handle case count well for the bibo system.
(09-03-2020 11:53 PM)lingu Wrote: talk2thinker.sh If we have vars in bibo-ext.pcf -- http://rar.shufangkeji.com:60380/showthr...4#pid43444 I suggest we read case count here. Code: casecnt = use the pcf program to read bibo_doc_cnt in $bibo_base/bibo-ext.pcf Quote: We need update the case count here. Code: use the pcf program to write bibo_doc_cnt as casecnt in $bibo_base/bibo-ext.pcf RR zhihao --- working proactively. I added the logic in cod://prada commit 7b8c391 A simple test of pcf shows the functionality of pcf works as expected. Code: 20:35:08 lingu@g1b-2:/home/lingu/forest/prada/prada> pcf --pcf /thinker/globe/soft/bibo/bibo-ext.pcf --get bibo_doc_cnt |
|||
« Next Oldest | Next Newest »
|
- View a Printable Version
- Send this Thread to a Friend
- Subscribe to this thread
- Show the subscribers of this thread:
- Add subscribers to this thread: