[問題] 安裝openwebmail的問題

看板Linux作者 (浩南哥5566)時間14年前 (2012/03/20 22:37), 編輯推噓0(001)
留言1則, 1人參與, 最新討論串1/1
在執行./openwebmail-tool.pl --init時出現下面的錯誤訊息 Creating UTF-8 locales... langconv ar_AE.CP1256 -> ar_AE.UTF-8 /usr/bin/suidperl: symbol lookup error: /usr/local/lib64/perl5/auto/Text/Iconv/ Iconv.so: undefined symbol: libiconv_open google有人說是Text-Iconv跟libiconv的問題 但可是我都重新移除安裝了還是同樣的錯誤 var/log/openwebmail.log裡也沒有錯誤訊息 不知道該如何解 有人能幫幫忙嗎... -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 124.11.209.80

03/21 09:51, , 1F
你要先檢查Iconv.so到底在那裡
03/21 09:51, 1F
太好了 我解決了 重新安裝Text-Iconv就可以正常執行 但另一個問題出現了 執行openwebmail網頁時出現 /var/www/cgi-bin/openwebmail/openwebmail.pl must be setuid to root to read the mail spools 但該檔案已經設定為root權限啦..... 之後又將重設所有openwebmail*.pl的權限 chmod 4755 /var/www/cgi-bin/openwebmail/openwebmail*.pl 終於可以正常開啟 但是登入時又出現錯誤 Couldn't create File /var/log/openwebmail.log! (Permission denied) google一下 touch /var/log/openwebmail.log chcon -u system_u /var/log/openwebmail.log chcon -t httpd_sys_script_rw_t /var/log/openwebmail.log chcon -t httpd_unconfined_script_exec_t /var/www/cgi-bin/openwebmail/ openwebmail*(跟上一行連在一起喔) 終於可以正常登入 感動 不知道這樣做法有沒有錯 ※ 編輯: Kurosagi5566 來自: 220.130.225.44 (03/21 11:48)
文章代碼(AID): #1FQ9OaGf (Linux)
文章代碼(AID): #1FQ9OaGf (Linux)