全文检索数据库使用xunsearch技术方案。跑服务时,总是碰到这个错误:
- ./bin/xs-ctl.sh: line 71: 5676 段错误 bin/xs-searchd -l tmp/searchd.log -b $bsearch -k $cmd
昨天不知道自己怎么弄的,又弄好了。今天再启动还是这样。突然想到自己现在使用的是XAMPP for Linux,于是:
- [root@sm xunsearch]# ./bin/xs-ctl.sh restart
- INFO: stopping server[xs-indexd] (BIND:127.0.0.1:8383) .... [OK]
- INFO: re-starting server[xs-indexd] ... (BIND:127.0.0.1:8383)
- INFO: stopping server[xs-searchd] (BIND:127.0.0.1:8384) .... [OK]
- INFO: re-starting server[xs-searchd] ... (BIND:127.0.0.1:8384)
- ./bin/xs-ctl.sh: line 71: 5676 段错误 bin/xs-searchd -l tmp/searchd.log -b $bsearch -k $cmd
- [root@sm xunsearch]# /opt/lampp/lampp start
- Starting XAMPP for Linux 1.7.7...
- XAMPP: Starting Apache with SSL (and PHP5)...
- XAMPP: Starting MySQL...
- XAMPP: Starting ProFTPD...
- XAMPP for Linux started.
- [root@sm xunsearch]# ./bin/xs-ctl.sh restart
- INFO: stopping server[xs-indexd] (BIND:127.0.0.1:8383) .... [OK]
- INFO: re-starting server[xs-indexd] ... (BIND:127.0.0.1:8383)
- INFO: stopping server[xs-searchd] (BIND:127.0.0.1:8384) .... [OK]
- INFO: re-starting server[xs-searchd] ... (BIND:127.0.0.1:8384)
- [root@sm xunsearch]#