[root@p5host bin]# ./xs-ctl.sh faststop WARNING: no server[xs-indexd] is running (BIND:127.0.0.1:8383) WARNING: no server[xs-searchd] is running (BIND:127.0.0.1:8384) [root@p5host bin]# ps -ef|grep xs- root 17577 1 0 09:23 ? 00:00:00 xs-indexd: server ...
程序中调用:$xs = new XS('demo');时出错如下: [XSErrorException] lib/XS.php(2210): stream_set_blocking(): supplied argument is not a valid stream resource(2) #0 /usr/local/xunsearch/sdk/php/lib/XS.php(2210): xs_error_handler(2, 'stream_set_bloc...', '/usr/local/xuns...', 2210, Array) #1 ...
...xer.php --source=csv --clean demo Object id #9 #0 lib/XS.php(2080): XSServer->read(8) #1 lib/XS.php(2065): XSServer->getRespond() #2 lib/XS.php(2042): XSServer->execCommand(Array, 201) #3 lib/XS.php(2003): XSServer->setProject('demo') #4 lib/XS.php(1986): XSServer->open('838...
我使用 /usr/local/xunsearch/bin/xs-ctl.sh stop 后提示 INFO: stopping server[xs-indexd] (BIND:127.0.0.1:8383) .... [OK] INFO: stopping server[xs-searchd] (BIND:127.0.0.1:8384) .... [OK] 但是输入 [root@localhost ~]# ps -ef | grep xs root 8781 1 0 03:36 ? 00:00:12 ...
确认问题是出在包含xs.php那段代码里。 使用自动生成的搜索骨架代码,访问search.php出现页面载入出错 。连接被重置 载入页面时到服务器的连接被重置。 // 加载 XS 入口文件 require_once '/home/who/xunsearch/sdk/php/lib/XS.php'; 这段包...
...st.php -p demo -c gbk -q 桌面 --limit=2 返回 Object id #10 0 ../lib/XS.php(2246): XSServer->read(8) 1 ../lib/XS.php(2231): XSServer->getRespond() 2 ../lib/XS.php(2208): XSServer->execCommand(Array, 201) 3 ../lib/XS.php(2169): XSServer->setProject('cms_51cto') 4 ../lib/XS.php(1312): XSServ...
...st.php -p demo -c gbk -q 桌面 --limit=2 返回 Object id #10 0 ../lib/XS.php(2246): XSServer->read(8) 1 ../lib/XS.php(2231): XSServer->getRespond() 2 ../lib/XS.php(2208): XSServer->execCommand(Array, 201) 3 ../lib/XS.php(2169): XSServer->setProject('cms_51cto') 4 ../lib/XS.php(1312): XSServ...
chmod 777 data tmp 后,依然出现问题 ps aux|grep xs root 12649 0.0 0.0 14808 656 ? S 14:42 0:00 xs-indexd: server root 12652 0.1 0.1 67620 2456 ? S 14:42 0:00 xs-searchd: master root 12653 0.0 0.1 116796 2516 ? Sl 14:42 0:00 xs...
# /usr/local/xunsearch/bin/xs-searchd -l /usr/local/xunsearch/tmp/searchd.log -b 192.168.5.180:8384 -k start WARNING: server[xs-searchd] is running (BIND:192.168.5.180:8384, PID:3938) # /usr/local/xunsearch/bin/xs-searchd -l /usr/local/xunsearch/tmp/searchd.log -b 192.168.5.180:8384 -k stop INFO: st...
...Notice: Uninitialized string offset: 0 in /www/xunsearch/run/sdk/php/lib/XS.php on line 367 PHP Notice: Uninitialized string offset: 0 in /www/xunsearch/run/sdk/php/lib/XS.php on line 367 PHP Notice: Uninitialized string offset: 0 in /www/xunsearch/run/sdk/php/lib/XS.php on line 367 PHP Not...