关于apache+mod_ssl+mod_perl的问题,谁有这方面的经验呢?

vcbear 2002-09-27 04:18:49
现象:访问静态html和普通cgi没有问题,但是访问配置成mod_perl的CGI脚本就有错误,apache的error_log记录为:
[Fri Sep 27 15:41:07 2002] [alert] httpd: Could not determine the server's fully qualified domain name, using 10.1.3.246 for ServerName
[Fri Sep 27 15:41:07 2002] [notice] Apache/1.3.26 (Unix) mod_perl/1.27 mod_ssl/2.8.10 OpenSSL/0.9.6g
configured -- resuming normal operations
[Fri Sep 27 15:41:07 2002] [notice] Accept mutex: fcntl (Default: fcntl)
[Fri Sep 27 15:41:18 2002] [notice] child pid 21170 exit signal Segmentation fault (11)
怀疑是mod_perl配置有问题!

我用的是apache-1.3.26,openssl-0.9.6g,mod_ssl-2.8.10-1.3.26,mod_perl-1.27,按照http://www.fanqiang.com/a6/b8/20010419/170446.html介绍的方法顺利编译和安装,但是运行有误:( (是不是因为我没有照上面说的安装rsaref ,我听说openssl-0.9.6g不需要这个)





附我对mod_perl和mod_ssl的配置选项,openssl用的是默认的config

mod_perl

perl Makefile.PL APACHE_PREFIX=/opt/apache APACHE_SRC=../apache_1.3.26/src USE_APACI=1


mod_ssl
configure --prefix=/opt/apache --with-apache=../apache_1.3.26 --with-ssl=/usr/local/ssl --enable-module=rewrite --activate-module=src/modules/perl/libperl.a

...全文
67 11 打赏 收藏 转发到动态 举报
写回复
用AI写文章
11 条回复
切换为时间正序
请发表友善的回复…
发表回复
vcbear 2002-10-08
  • 打赏
  • 举报
回复
我到google上找关于apache+mod_ssl+mod_perl+exit signal Segmentation fault (11)的主题,结果是基本上无解,faint!
要是谁有在HPUX下编译通过的apache + mod_ssl +mod_perl,能不能给我一份呀,重谢!以个人信誉担保。
D_Q 2002-10-08
  • 打赏
  • 举报
回复
如果成功把方法贴上来 技术共享呀!
vcbear 2002-10-08
  • 打赏
  • 举报
回复

通过一个上午的全面搜索资料,眼睛看花得花掉,已经大概搞定并且配置运行,正在进行压力测试。谢谢各位和google。
D_Q 2002-10-08
  • 打赏
  • 举报
回复
国外的资料说!好象不能同时安装.我再帮你找找!你应该多找点人一起找 这样才可能找到,而且国内没有这方面的资料呀!
D_Q 2002-09-30
  • 打赏
  • 举报
回复
成功了吗?
vcbear 2002-09-29
  • 打赏
  • 举报
回复
我已经常试了N种编译方法,至今未成功。
vcbear 2002-09-29
  • 打赏
  • 举报
回复
苦笑,如果我解包和编译能够搞定,那也不用问了。
D_Q 2002-09-28
  • 打赏
  • 举报
回复
解包+编译
vcbear 2002-09-28
  • 打赏
  • 举报
回复
楼上和楼上的楼上,实在感谢。
但是我不是很明白这一段:

3. Compile Apache using Makefile system

NOTE: It is assumed that you have the following files in the same
directory as "Makefile":

* apache_1.3.26.tar.gz
* mod_perl-1.27.tar.gz
* mod_ssl-2.8.10-1.3.26.tar.gz

To build:

cd Apache-Perl-SSL && \
make build


请解释的详细一点吗,不会是就是建一个叫Makefile的目录然后把这几个文件放进去make build就可以吧。如果有一个Makefile文件,这么文件要怎么写呢?谢谢了。
D_Q 2002-09-27
  • 打赏
  • 举报
回复
1. Compile and Install Perl

* Uncompress source file: perl-5.6.1.tar.gz
* Issue build commands:

cd perl-5.6.1 && \
rm -f config.sh Policy.sh && \
sh Configure -de && \
make && \
make test && \
make install


2. Compile and Install OpenSSL

* Uncompress source file: openssl-0.9.6c.tar.gz
* Issue build commands:

cd openssl-0.9.6c && \
./config --prefix=/usr/local --openssldir=/usr/local/openssl && \
make && \
make test && \
make install


3. Compile Apache using Makefile system

NOTE: It is assumed that you have the following files in the same
directory as "Makefile":

* apache_1.3.26.tar.gz
* mod_perl-1.27.tar.gz
* mod_ssl-2.8.10-1.3.26.tar.gz

To build:

cd Apache-Perl-SSL && \
make build


4. Configure and Install Apache and Perl components

* Install contents of perl_parts/ to site_perl and man directories.
* Install contents of apache/ to /usr/local/apache/ (assuming that
is where you want to put apache).
* Edit Apache's "httpd.conf" file for your environment.
Banz 2002-09-27
  • 打赏
  • 举报
回复
modperl modssl 我都没接触过……

不知道这两篇文章对你有没有用。
http://www.faqts.com/knowledge_base/view.phtml/aid/8223/fid/30
http://www.geocrawler.com/lists/3/web/182/0/9690536/

37,720

社区成员

发帖
与我相关
我的任务
社区描述
JavaScript,VBScript,AngleScript,ActionScript,Shell,Perl,Ruby,Lua,Tcl,Scala,MaxScript 等脚本语言交流。
社区管理员
  • 脚本语言(Perl/Python)社区
  • IT.BOB
加入社区
  • 近7日
  • 近30日
  • 至今

试试用AI创作助手写篇文章吧