配SENDMAIL的OPENWEBMAIL时候出现问题(不断更新中)

由 longlei 在 07-22-2004 12:57 发表:

配SENDMAIL的OPENWEBMAIL时候出现问题(不断更新中)

[root@long openwebmail]# ./openwebmail-tool.pl --init

Please change './etc/dbm.conf' from

dbm_ext .db

dbmopen_ext none

dbmopen_haslock no

to

dbm_ext .db

dbmopen_ext .db

dbmopen_haslock yes

And execute './openwebmail-tool.pl --init' again!

ps: If you are running openwebmail in persistent mode,

don't forget to 'touch openwebmail*.pl', so speedycgi

will reload all scripts, modules and conf files in --init.

该怎么解决呢?没有DBM。CONF文件,只有DBM。CONF。DEAUFLT文件,我把它重命名为DBM。CONF并按提示改动了,可再进行编译的时候还是出错,这是为什么!?我现在想问的是,下面该怎么做!?请哪位好心人给个步骤,详细点,谢谢,不用写后面的,只要写这种情况了怎么办,我的环境是

REDHAT9。0+OPENWEBMAIL-2。35

我又查了资料,在/VAR/WWW/CGI-BIN/OPENWEBMAIL/ETC中修改了OPENWEBMAIL。CONF文件,资料上说,只要找到DBMOPEN_EXT NONE 把它的NONE换成%DBM_EXT%就可以了,可我在我的OPENWEBMAIL。CONF文件中找不到带DB的字样,这是为什么呢!?

我的APACHE还没有配置,是不是这个的缘故呢!?

我启动了APACHE了,还是不行,这是为什么呢?


由 longlei 在 07-22-2004 14:23 发表:


这到底是为什么呢!?我想了很久就是不知道!?


由 longlei 在 07-22-2004 14:46 发表:


哈哈哈,搞定了,唉为什么所有的资料上都没有说做完了要重起的说


由 longlei 在 07-22-2004 15:09 发表:


现在又有了新的问题了啦!

大家看看,有什么原因说是OPENWEBMAIL。PL有问题呢!?


由 longlei 在 07-22-2004 15:15 发表:


现在又有了新的问题了啦!

大家看看,有什么原因说是OPENWEBMAIL。PL有问题呢!?

????为什么我的图片传不上来的!?


由 longlei 在 07-22-2004 15:26 发表:


没办法了,我要手输!

我在另外一台机器通过IE浏览主机,我在APACHE中加了一段话:

ScriptAlias /webmail "/var/www/cgi-bin/openwebmail/openwebmail.pl"

也就是做了个脚本别名,

好了,现在可以从IE访问

域名是 http://www.sss.net/webmail

在网页中出现了这些信息:

Server error!

The server encountered an internal error and was unable to complete your request.

Error message:

Premature end of script headers: openwebmail.pl

Error 500

从这个IE上的页面上来说错误是在OPENWEBMAIL。PL,但是,你们看看我编译的。/openwebmail-tools --init

[root@long openwebmail]# ./openwebmail-tool.pl --init

Welcome to the Open WebMail!

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.4.20-8 i686

Perl: 5.008

WebMail: Open WebMail 2.32 20040525

Send the site report?(Y/n) y

sending report...

Thank you.

[root@long openwebmail]#

看看吧,一切正常吧!!!,可为什么会这样出错呢!?


由 longlei 在 07-22-2004 16:11 发表:


各位老大,给点提示吧!


由 longlei 在 07-22-2004 16:20 发表:


不会是OPENWEBMAIL。PL的脚本有问题了吧,如果有问题了,怎么解决呢!?而且我动都没有动过这个脚本,从我在网上查看的资料来看,这个脚本里的内容应该不用手动修改的,怎么办!?


由 longlei 在 07-22-2004 16:31 发表:


在线等待!


由 longlei 在 07-22-2004 17:01 发表:


我输入绝对路径

http://www.sss.net/var/www/cgi-bin/openmail/openmail.pl

更加离谱,居然说,Object not found,Error404的错误,怎么可能呢!?就在哪个地方有呀[root@long openwebmail]# pwd

/var/www/cgi-bin/openwebmail

[root@long openwebmail]# find . -name "openwebmail.pl" -print

./openwebmail.pl

[root@long openwebmail]#

看看,就是有嘛!这是怎么回事呢!?


由 longlei 在 07-22-2004 17:04 发表:


我发现了我的问题,在APACHE中没有对CGI进行配置

所以我在

 1<directory "="" cgi-bin"="" var="" www="">   
 2  
 3AllowOverride None   
 4  
 5options ExecCGI -Indexes 我改动了这行   
 6  
 7order allow,deny   
 8  
 9Allow from all   
10  
11</directory>

再把AddHandler cgi-script .cgi .pl写在后面

但是这样,不是有页面生成,而是直接的读取了脚本的内容怎么会这样呢!?


由 longlei 在 07-22-2004 17:22 发表:


倒霉哦!我刚才忍不住重新写过了一遍,可现在连脚本内容都不出现了,有回到了前面的情况了,大家说怎么回事呀,我现在对这个问题的判断就是CGI的问题!!!

Server error!

The server encountered an internal error and was unable to complete your request.

Error message:

Premature end of script headers: openwebmail.pl

Error 500

从这个IE上的页面上来说错误是在OPENWEBMAIL。PL,但是,你

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus