2012-07-11 108 views

回答

1

这里是代码,从searchd.cpp采取:

<?php 
/// known status return codes 
enum SearchdStatus_e 
{ 
     SEARCHD_OK    = 0, ///< general success, command-specific reply follows 
     SEARCHD_ERROR = 1, ///< general failure, error message follows 
     SEARCHD_RETRY = 2, ///< temporary failure, error message follows, client should retry later 
     SEARCHD_WARNING = 3    ///< general success, warning message and command-specific reply follow 
}; 
?> 

你的问题很模糊,我不知道这是什么,你正在寻找

+1

这是searchd退出码,不是索引器 – Ris90 2012-07-19 09:43:35

0

退出代码1表示致命错误。您需要从索引器的stdout中读取准确的错误。 PHP passthru将其发送到脚本输出。