亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 5400 | 回復(fù): 9
打印 上一主題 下一主題

[Mail] 瀏覽器無法打開Openwebmail【已解決】 [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2008-07-24 23:33 |只看該作者 |倒序瀏覽
安裝 Openwebmail
# /usr/local/apache2/htdocs/cgi-bin/openwebmail/openwebmail-tool.pl --init
Creating UTF-8 locales...
langconv ar_AE.CP1256 -> ar_AE.UTF-8
langconv ar_AE.ISO8859-6 -> ar_AE.UTF-8
langconv bg_BG.CP1251 -> bg_BG.UTF-8
langconv ca_ES.ISO8859-1 -> ca_ES.UTF-8
langconv cs_CZ.ISO8859-2 -> cs_CZ.UTF-8
langconv da_DK.ISO8859-1 -> da_DK.UTF-8
langconv de_DE.ISO8859-1 -> de_DE.UTF-8
langconv el_GR.ISO8859-7 -> el_GR.UTF-8
langconv en_US.ISO8859-1 -> en_US.UTF-8
langconv es_AR.ISO8859-1 -> es_AR.UTF-8
langconv fi_FI.ISO8859-1 -> fi_FI.UTF-8
langconv fr_FR.ISO8859-1 -> fr_FR.UTF-8
langconv he_IL.CP1255 -> he_IL.UTF-8
langconv hr_HR.ISO8859-2 -> hr_HR.UTF-8
langconv hu_HU.ISO8859-2 -> hu_HU.UTF-8
langconv id_ID.ISO8859-1 -> id_ID.UTF-8
langconv it_IT.ISO8859-1 -> it_IT.UTF-8
langconv ko_KR.eucKR -> ko_KR.UTF-8
langconv lt_LT.CP1257 -> lt_LT.UTF-8
langconv nl_NL.ISO8859-1 -> nl_NL.UTF-8
langconv no_NO.ISO8859-1 -> no_NO.UTF-8
langconv pl_PL.ISO8859-2 -> pl_PL.UTF-8
langconv pt_BR.ISO8859-1 -> pt_BR.UTF-8
langconv pt_PT.ISO8859-1 -> pt_PT.UTF-8
langconv ro_RO.ISO8859-2 -> ro_RO.UTF-8
langconv ru_RU.KOI8-R -> ru_RU.UTF-8
langconv sk_SK.ISO8859-2 -> sk_SK.UTF-8
langconv sl_SI.CP1250 -> sl_SI.UTF-8
langconv sr_CS.ISO8859-2 -> sr_CS.UTF-8
langconv sv_SE.ISO8859-1 -> sv_SE.UTF-8
langconv th_TH.TIS-620 -> th_TH.UTF-8
langconv tr_TR.ISO8859-9 -> tr_TR.UTF-8
langconv uk_UA.KOI8-U -> uk_UA.UTF-8
...done.

Welcome to the OpenWebMail!

This program is going to send a short message back to the developer,
so we could have the idea that who is installing and how many sites are
using this software, the content to be sent is:

OS: Linux 2.6.18-8.el5xen x86_64
Perl: 5.008008
WebMail: OpenWebMail 2.53 20080123

Send the site report?(Y/n)
sending report...

Thank you.

瀏覽器輸入
http://xxx.xxx.com/cgi-bin/openwebmail/openwebmail.pl
返回
HTTP 404 Not Found

服務(wù)器PHP已經(jīng)安裝,不清楚哪里出了問題,請求幫助!謝謝!

[ 本帖最后由 adisonray 于 2008-7-27 02:04 編輯 ]

論壇徽章:
8
綜合交流區(qū)版塊每周發(fā)帖之星
日期:2015-12-02 15:03:53數(shù)據(jù)庫技術(shù)版塊每日發(fā)帖之星
日期:2015-10-02 06:20:00IT運維版塊每日發(fā)帖之星
日期:2015-10-02 06:20:00IT運維版塊每日發(fā)帖之星
日期:2015-09-14 06:20:00金牛座
日期:2014-10-10 11:23:34CU十二周年紀(jì)念徽章
日期:2013-10-24 15:41:34酉雞
日期:2013-10-19 10:17:1315-16賽季CBA聯(lián)賽之北京
日期:2017-03-06 15:12:44
2 [報告]
發(fā)表于 2008-07-25 08:07 |只看該作者
用ip地址試下
檢驗cgi的執(zhí)行權(quán)限

論壇徽章:
0
3 [報告]
發(fā)表于 2008-07-25 13:03 |只看該作者
原帖由 ruochen 于 2008-7-25 08:07 發(fā)表
用ip地址試下
檢驗cgi的執(zhí)行權(quán)限

DocumentRoot 里面其他比如postfixadmin是可以訪問到的。http://mail.xxx.com/postfixadmin

論壇徽章:
0
4 [報告]
發(fā)表于 2008-07-25 13:06 |只看該作者
已經(jīng)說了,not found 看看我的那個文章http://72891.cn/thread-1216700-1-1.html
,你要打開允許執(zhí)行CGI,及加到對pl mime文件類型的支持,你應(yīng)該看看日志,通常這些問題看日志可以解決問題!還有你的httpd.conf 文件是怎么配置的呢。有以下類似的選項嗎?

ScriptAlias /cgi-bin/ "/usr/local/apache2/cgi-bin/"

</IfModule>

<IfModule cgid_module>
    #
    # ScriptSock: On threaded servers, designate the path to the UNIX
    # socket used to communicate with the CGI daemon of mod_cgid.
    #
    #Scriptsock logs/cgisock
</IfModule>

#
# "/usr/local/apache2/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "/usr/local/apache2/cgi-bin">
    AllowOverride None
    Options ExecCGI
    Order allow,deny
    Allow from all
</Directory>

論壇徽章:
0
5 [報告]
發(fā)表于 2008-07-25 13:23 |只看該作者
原帖由 huzi1986 于 2008-7-25 13:06 發(fā)表
已經(jīng)說了,not found 看看我的那個文章http://72891.cn/thread-1216700-1-1.html
,你要打開允許執(zhí)行CGI,及加到對pl mime文件類型的支持,你應(yīng)該看看日志,通常這些問題看日志可以解決問題!還有你的 ...


1,perl-CGI-SpeedyCGI , perl 已經(jīng)安裝了。

2,webmail的日志是在maillog里面的嗎?如果是,有這么一段不知道有何幫助
Jul 24 23:17:34 mail postfix/smtpd[25170]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Jul 24 23:17:34 mail postfix/smtpd[25170]: connect from localhost.localdomain[127.0.0.1]
Jul 24 23:17:34 mail postfix/smtpd[25170]: 08C80126E04: client=localhost.localdomain[127.0.0.1]
Jul 24 23:17:34 mail postfix/cleanup[25172]: 08C80126E04: message-id=<20080724151734.M76852@mail.xxx.com>
Jul 24 23:17:34 mail postfix/qmgr[11792]: 08C80126E04: from=<root@mail.xxx.com>, size=632, nrcpt=1 (queue active)
Jul 24 23:17:34 mail postfix/smtpd[25170]: disconnect from localhost.localdomain[127.0.0.1]
Jul 24 23:17:44 mail postfix/smtp[25174]: 08C80126E04: to=<stats@openwebmail.acatysmoof.com>, relay=openwebmail.acatysmoof.com[24.205.1    41.134], delay=10, status=sent (250 2.0.0 m6OFHZNX010017 Message accepted for delivery)
   
openwebmail.log:
Thu Jul 24 21:54:28 2008 - [20588] (127.0.0.1) UNKNOWNUSER - send message - trying to connect to smtp server 127.0.0.1:25
Thu Jul 24 21:54:28 2008 - [20588] (127.0.0.1) UNKNOWNUSER - send message - connected to smtp server 127.0.0.1:25

3,我的httpd.conf里面有您所說的那一段。

4,不知道啟動openwebmail (# /usr/local/apache2/htdocs/cgi-bin/openwebmail/openwebmail-tool.pl --init)之后出現(xiàn)
...done.

Welcome to the OpenWebMail!

This program is going to send a short message back to the developer,
so we could have the idea that who is installing and how many sites are
using this software, the content to be sent is:

OS: Linux 2.6.18-8.el5xen x86_64
Perl: 5.008008
WebMail: OpenWebMail 2.53 20080123

Send the site report?(Y/n)
sending report...

Thank you.
之后,是不是說明openwebmail以及它的套件比如Compress-Zlib,CGI-SpeedyCGI,suidperl,Text-Iconv等都已經(jīng)安裝成功?
現(xiàn)在的問題是不是出在apache或者其它一些配置的問題上?

十分希望路過的朋友可以幫助我。謝謝!

[ 本帖最后由 adisonray 于 2008-7-25 15:12 編輯 ]

論壇徽章:
0
6 [報告]
發(fā)表于 2008-07-25 16:55 |只看該作者
原帖由 adisonray 于 2008-7-25 13:23 發(fā)表


1,perl-CGI-SpeedyCGI , perl 已經(jīng)安裝了。

2,webmail的日志是在maillog里面的嗎?如果是,有這么一段不知道有何幫助
Jul 24 23:17:34 mail postfix/smtpd[25170]: warning: dict_nis_init: NIS domain ...





第一,你在瀏覽器里面輸入

http://youip/cgi-bin/openwebmail/openwebmail.pl

如果顯示4.04 not found 錯誤,你要詳細(xì)查看你的httpd.conf文件中的cgi-bin目錄的地方。至于你的配置是怎么樣的情況

rpm包安裝的apache 在/var/www/cgi-bin目錄下面

openwebmail安裝后的位置在/var/www/cgi-bin/openwebmail 下面,你輸入
http://youip/cgi-bin/openwebmail/openwebmail.pl如果不出意外 的話應(yīng)該是可以訪問的,可能會說permision deny 之類的。那是應(yīng)該權(quán)限問題,如果404 not found ,你得看日志,把a(bǔ)pache的日志發(fā)上來,而且這個問題也很好解決。sendmail無法發(fā)送郵件,DNS有做嗎?最好做一下。不做也可以,直接發(fā)送給本機(jī)測試


echo "this is a test mail" |  mail -s "test mail"      root@localhost




如果做DNS,記得要做MX記錄!

論壇徽章:
0
7 [報告]
發(fā)表于 2008-07-26 04:04 |只看該作者
原帖由 huzi1986 于 2008-7-25 16:55 發(fā)表





第一,你在瀏覽器里面輸入

http://youip/cgi-bin/openwebmail/openwebmail.pl

如果顯示4.04 not found 錯誤,你要詳細(xì)查看你的httpd.conf文件中的cgi-bin目錄的地方。至于你的配置是怎么樣的情 ...

謝謝您的幫助!

1,我的apache不在/var/www/cgi-bin目錄下面,我的DocumentRoot 是 /usr/local/apache2/htdocs/

2,httpd.conf文件中的cgi-bin目錄的地方我沒有做過改動,有這么一段如您所說的:
ScriptAlias /cgi-bin/ "/usr/local/apache2/cgi-bin/"

</IfModule>

<IfModule cgid_module>
    #
    # ScriptSock: On threaded servers, designate the path to the UNIX
    # socket used to communicate with the CGI daemon of mod_cgid.
    #
    #Scriptsock logs/cgisock
</IfModule>

#
# "/usr/local/apache2/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "/usr/local/apache2/cgi-bin">
    AllowOverride None
    Options ExecCGI
    Order allow,deny
    Allow from all
</Directory>

3,在瀏覽器中輸入http://myip/cgi-bin/openwebmail/openwebmail.pl以后,依然返回HTTP 404 Not Found,error_log如下:
[Sat Jul 26 03:54:35 2008] [error] [client xxx.xxx.xxx.xxx] script not found or unable to stat: /usr/local/apache2/cgi-bin/openwebmail
[Sat Jul 26 03:54:35 2008] [error] [client xxx.xxx.xxx.xxx] File does not exist: /usr/local/apache2/htdocs/favicon.ico
我的 openwebmail 放在 /usr/local/apache2/htdocs/ 里。

4,我的服務(wù)器DNS和MX都已經(jīng)完成,并且通過 outlook express 可以正常收發(fā)信件。

[ 本帖最后由 adisonray 于 2008-7-26 23:34 編輯 ]

論壇徽章:
0
8 [報告]
發(fā)表于 2008-07-26 23:35 |只看該作者

論壇徽章:
0
9 [報告]
發(fā)表于 2008-07-27 02:03 |只看該作者
終于解決了。
根據(jù)error_log把缺失的文件cp就ok了。

論壇徽章:
0
10 [報告]
發(fā)表于 2008-07-27 10:13 |只看該作者
LOG很重要
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP