2010-12-15 62 views
3

我收到以下錯誤元組回調用時start_child/2意義打電話時start_child/2

{error, 
{{[],[]}, 
    {child,undefined,"i.file_man", 
     {sg_file_mgr,start_link, 
      ["i.file", 
      [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15, 
      7,568,569,570,571,572,573,574, 
      575,576,577,578,579,580,581,582,583,584, 
      585,586,587,588,589,590], 
      [{"129.16.165.241",6881}, 
      {"68.189.244.138",55109}, 
      {"68.10.136.204",51422}, 
      {"68.10.136.204",51416}, 
      {"67.174.189.28",6881}], 
      <0.400.0>]}, 
     permanent,2000,worker, 
     [sg_file_mgr]}}} 

那兩個空列表中第一個元組,如果消息,什麼是不確定的?

回答

1

undefined是因爲孩子還沒有開始插入主管。 {[], []}可能是一個潛在過程的術語。你可以手動啓動鏈接sg_file_mgr嗎?

運行erl -boot start_sasl並檢查SASL是否爲您提供了有趣的錯誤報告。

sg_file_mgr的init/1函數的外觀如何?