2012-07-11 111 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將其發送到腳本輸出。