RedhatAS3.0上安装Apache2+PHP5+MySQL+Resin+SSL+GD+webalizer
发表于:2007-07-04来源:作者:点击数:
标签:
Redhat Linux AS3.0上安装Apache2.0.50+MySQL+PHP5+Resin+SSL+GD以及日志分析工具(webalizer) 版权声明:本文可以任意转载,转载时请保持文章的完整性,并以超链接形式标明文章原始出处和作者信息及本声明。 原始出处: http://www.troyoo.com/article/04/07
Redhat
LinuxAS3.0上安装Apache2.0.50+MySQL+PHP5+Resin+SSL+GD以及日志分析工具(webalizer)
版权声明:本文可以任意转载,转载时请保持文章的完整性,并以超链接形式标明文章原始出处和作者信息及本声明。
原始出处:
http://www.troyoo.com/article/04/07/19/171145.shtml[color=red:f9cb90d4d4]
http://www.troyoo.com/article/04/07/19/171145.shtml[/color:f9cb90d4d4]作者:TROYOO超越(troyoo@troyoo.com) 初稿日期:2004-7-19 17:03
我们假设安装系统时没有选择任何系统自带的
服务器程序,例如Apache,MySQL。如果已经安装,请首先卸载。我们还假设已经安装了
开发工具。
第一部分:web服务器的配置
(一)
下载文件:(假设全部放在~/server下面)
httpd-2.0.50.tar.gz
http://apache.linuxforum.net/dist/httpd/httpd-2.0.50.tar.gz
mysql-standard-4.0.20-pc-linux-i686.tar.gz
http://dev.mysql.com/get/Downloads/MySQL-4.0/mysql-standard-4.0.20-pc-linux-i686.tar.gz/from/
http://mysql.ihostunit.com/php-5.0.0.tar.gz
http://cn.php.net/get/php-5.0.0.tar.gz/from/this/mirror
resin-3.0.8.tar.gz
http://www.caucho.com/download/resin-3.0.8.tar.gz
openssl-0.9.7d.tar.gz
ftp://ftp.openssl.org/source/openssl-0.9.7d.tar.gz
j2sdk-1_4_2_05-linux-i586-rpm.bin
http://192.18.97.74/ECom/EComTicketServlet/BEGINjsecom8b.sun.com-10d7%3A40faaebd%3A6ca521da7aa699f/-2147483648/452386287/1/489890/489674/452386287/2ts+/westCoastFSEND/j2sdk-1.4.2_05-oth-JPR/j2sdk-1.4.2_05-oth-JPR:3/j2sdk-1_4_2_05-linux-i586-rpm.bin
gd-2.0.27.tar.gz
http://www.boutell.com/gd/http/gd-2.0.27.tar.gz
(二) 安装
1、MySQL
# groupadd mysql
# useradd -g mysql mysql
# cd /usr/local
# gunzip < ~/server/mysql-standard-4.0.20-pc-linux-i686.tar.gz | tar xvf -
# ln -s mysql-standard-4.0.20-pc-linux-i686 mysql
# cd mysql
# scripts/mysql_install_db --user=mysql
# chown -R root .
# chown -R mysql data
# chgrp -R mysql .
# bin/mysqld_safe --user=mysql &
# ./mysqladmin -u root password ‘password’ #使用mysqladmin修
改root的口令为 'password’
系统启动时自动运行:
# cp support-files/mysql.server /etc/rc.d/init.d/mysqld
# chkconfig --add mysqld
用ntsysv设置使mysql每次启动都能自动运行。
至此mysql安装完毕,你可以这样起动你的mysql服务
# /etc/rc.d/init.d/mysqld start
2、安装openssl
cd ~/server
# tar -zxvf openssl-0.9.7d.tar.gz
# cd openssl-0.9.7d
# ./configure --prefix=/usr/local/openssl #设置安装路径
# make
# make install
3、配置Apache
# cd /usr/local/
# tar -zxvf ~sea/server/httpd-2.0.50.tar.gz
# ./configure --enable-so --enable-ssl --with-ssl=/usr/local/openssl --enable-rewrite
# make
# make install
生成 Apache 启动文件
# cd /etc/rc.d/init.d
# sed 's/sbin/atd/local/servers/apache/bin/httpd/g' atd > httpd
# sed 's/atd/httpd/g' httpd > /tmp/txt
# sed 's/at daemon/httpd daemon/g' /tmp/txt > httpd
# rm /tmp/txt
# chmod 755 httpd
# chkconfig --level 345 httpd on
# chkconfig --level 0126 httpd off
启动并测试Apache服务器
# /etc/rc.d/init.d/httpd start
如果出现:
Starting httpd daemon: [ OK ]
则证明 httpd 已经正确的安装并已经在后台运行,如果出现其它的提示,请检查您的安装步骤是否正确。
输入
http://localhost或
http://yourIP,可以看到apache的欢迎页面。
3、配置J2DK
# cd ~/server
# chmod 755 j2sdk-1_4_2_05-linux-i586-rpm.bin
# rpm -ivh j2sdk-1_4_2_05-linux-i586.rpm
vi ~/.bash_profile
把其改成如下:
JAVA_HOME=/usr/java/j2sdk1.4.2_05
CLASSPATH=$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/rt.jar
PATH=$PATH:$HOME/bin:$JAVA_HOME/bin:$JAVA_HOME/jre/bin
BASH_ENV=$HOME/.bashrc
USERNAME="root"
export USERNAME BASH_ENV PATH JAVA_NAME CLASSPATH
注销,然后重新登录,使环境变量起作用
# exit
# su -
# java
# javac
如果java 和javac运行了,说明java环境变量配置成功。
4、安装Resin
# cd /usr/local
# tar -zxvf ~/server/resin-3.0.8.tar.gz
# cd resin-3.0.8/
# ./configure --with-java-home=/usr/java/j2sdk1.4.2_05 --with-apxs=/usr/local/apache2/bin/apxs --with-apache=/usr/local/apache2
# make
# make install
使用vi在/usr/local/servers/apache/htdocs/创建一个名为test.jsp的文件,其内容包括:
<%
out.println("<H1>Hello, World!</H1>");
%>
存盘之后,使用浏览器查看
http://202.99.11.120/test.jsp 如果正确的话,可以看到"Hello, World!"字样。否则,请检查:Resin是否运行、Resin的参数修改是否正确、JAVA环境安装是否正确、Apche是否运行正常。
5、安装GD
# cd /usr/local
# tar -zxvf ~/server/gd-2.0.27.tar.gz
# cd gd-2.0.27/
# ./configure --prefix=/usr/local/gd2
# make
# make install
6、安装PHP
# cd /usr/local
# tar -zxvf ~/server/php-5.0.0.tar.gz
# mv php-5.0.0 php5
# cd php5/
# ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql --with-gd=/usr/local/gd2 --enable-track-vars --enable-ftp
# make
# make install
使用vi打开httpd.conf,在头部添加:
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
AddType application/x-httpd-php .php3
重新启动Apache以使修改生效
# /etc/rc.d/init.d/httpd restart
测试PHP
使用vi在/www/troyoo.com建立一个文件(info.php),内容包括:
<?
phpinfo();
?>
使用浏览器查看
http://yourIP/info.php数。如果出现错误,则请检查:Apache是否运行、参数修改是否正确。
第二部分:web服务器日志分析软件webalizer
webalizer-2.01-10-src.tgz
ftp://ftp.mrunix.net/pub/webalizer/webalizer-2.01-10-src.tgz
# tar zxf webalizer-2.01-10-src.tgz
# ./configure --with-language=simplified_chinese --with-gdlib=/usr/local/gd2 --with-gd=/usr/local/gd2
# perl /path/of/webalizer_patch.pl ./ #这里为了解决乱码问题,参看(
http://www.troyoo.com/article/04/07/18/115309.shtml)
# make
# make install
# mkdir /www/troyoo.com/usage
#cp webalizer /usr/bin/
#cd /etc
#ls webalizer*
webalizer.conf.sample
#cp webalizer.conf.sample webalizer.conf.troyoo
#vi webalizer.conf.troyoo
Edit the webalizer.conf.troyoo file(将里面的值改成下列):
LogFile /usr/local/apache2/log/a
clearcase/" target="_blank" >ccess_log
OutputDir /www/troyoo.com/usage
HostName www.troyoo.com
Incremental yes
PageType htm*
PageType cgi
PageType php
HideURL *.gif
HideURL *.GIF
HideURL *.jpg
HideURL *.JPG
HideURL *.ra
IgnoreURL /taskbar*
运行:
#/usr/bin/webalizer -c /etc/webalizer.conf.troyoo
正常信息:
Webalizer V2.01-10 (Linux 2.4.21-4.EL) Simplified Chinese
使用日志文件 /usr/local/apache2/logs/access_log (clf)
输出结果到 /www/troyoo.com/usage
产生报表的主机名是 'SEA'
正在读取历史信息文件... webalizer.hist
正在生成报表 ---- 为 七月 2004
正在生成综合报表
正在保存历史信息文件...
3273647 条记录 共用时 33.57 秒, 97517/sec
自动运行:
设定crontab 让webalizer每小时运行一次:
#crontab -e
0 * * * * /usr/bin/webalizer -c /etc/webalizer.conf.troyoo
查看结果:
http://www.troyoo.com/usage
至此, Redhat LinuxAS3.0上安装Apache2.0.50+MySQL+PHP5+Resin+SSL以及流量统计工具(webalizer)已经安装完毕,网站的根目录是/www/troyoo.com,您可以在这个系统上提供基于PHP和JAVA语言的站点服务。
作者:TROYOO超越(troyoo@troyoo.com) 初稿日期:2004-7-19 17:03
更多信息,欢迎光临:
http://www.troyoo.com
|
|
nozxb 回复于:2004-07-19 17:55:28 | 不错...
| chengxin119 回复于:2004-07-19 23:03:35 | 顶一下,
| cgweb 回复于:2004-07-20 08:19:58 | 不错!
| leaper 回复于:2004-07-20 08:39:38 | 不错不错
| ThunderFish 回复于:2004-07-20 09:26:47 | 真的不错!
| chengxin119 回复于:2004-07-20 09:31:49 | 谢谢,不过我的新题目求助: 如何对web服务器负荷进行测定并评定最大最优负荷
http://bbs.chinaunix.net/forum/4/20040720/370067.html
| linker_yxj 回复于:2004-07-21 00:17:05 | Resin和GD是何软件啊?
| chengxin119 回复于:2004-07-21 00:30:27 | Resin是APACHE用于支持JAVA的模块
GD是Graphics Library,动态建立图片,如PNG,JPG等
| dujing 回复于:2004-07-21 16:40:37 | 加入精华吧。
| ManFree 回复于:2004-07-21 16:52:27 | 呵呵,好!好!
| 不想发言 回复于:2004-07-21 21:54:21 | [quote:f7ac1cd09c="chengxin119"]Resin是APACHE用于支持JAVA的模块
GD是Graphics Library,动态建立图片,如PNG,JPG等[/quote:f7ac1cd09c]
no,Resin is a webserver too,But it can use with apache.Just like tomcat ……
| chengxin119 回复于:2004-07-21 22:42:11 | 应该你是对的: Resin's& high-performance application server features load balancing for increased reliability.
| zjs-1 回复于:2004-07-26 10:54:55 | 我按照你的方法安装apache时,运行到下面命令时出错 # cd /etc/rc.d/init.d # sed 's/sbin/atd/local/servers/apache/bin/httpd/g' atd > httpd # sed 's/atd/httpd/g' httpd > /tmp/txt # sed 's/at daemon/httpd daemon/g' /tmp/txt > httpd 出错信息为set附带的's'不合法,请问这是什么原因?
| anhui 回复于:2004-07-26 15:54:01 | me too!why?
| chengxin119 回复于:2004-07-27 10:39:44 | 那里是要使它开机时自动启动,你也可以采用这样的方法:
vi /etc/rc.local 在里面添加一行: /usr/local/apache2/bin/apachectl -k start 这样也可以让它在开机时自动启动
| anhui 回复于:2004-07-27 12:03:31 | tar -zxvf ~sea/server/httpd-2.0.50.tar.gz ????
[b:a6b6a8daec][color=darkred:a6b6a8daec][/color:a6b6a8daec][/b:a6b6a8daec]
| anhui 回复于:2004-07-27 12:09:33 | [root@anhui]chkconfig --level 345 httpd on service httpd does not support chkconfig
why?
| anhui 回复于:2004-07-27 12:39:11 | up!
| anhui 回复于:2004-07-27 12:39:43 | up!
| looklove 回复于:2004-08-02 15:41:12 | 楼主的sed 语句不匹配。建立httpd的服务进程可以用下面的脚本。
vi /etc/init.d/httpd
#!/bin/bash # # /etc/rc.d/init.d/httpd # # Starts the at daemon # # processname: httpd
# Source function library. . /etc/init.d/functions
test -x /usr/local/apache2/bin/httpd || exit 0
RETVAL=0
# # See how we were called. #
prog="httpd"
start() { # Check if httpd is already running if [ ! -f /var/lock/subsys/httpd ]; then echo -n $"Starting $prog: " daemon /usr/local/apache2/bin/httpd RETVAL=$? [ $RETVAL -eq 0 ] && touch /var/lock/subsys/httpd echo fi return $RETVAL }
stop() { echo -n $"Stopping $prog: " killproc /usr/local/apache2/bin/httpd RETVAL=$? [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/httpd echo return $RETVAL }
restart() { stop start }
reload() { restart }
status_at() { status /usr/local/apache2/bin/httpd }
case "$1" in start) start ;; stop) stop ;; reload|restart) restart ;; condrestart) if [ -f /var/lock/subsys/httpd ]; then restart fi ;; status) status_at ;; *) echo $"Usage: $0 {start|stop|restart|condrestart|status}" exit 1 esac
exit $? exit $RETVAL
vi:wq 就ok了
| looklove 回复于:2004-08-02 15:43:05 | 另外j2sdk的下载地址好像变了,要注册,我没下载成功。
| zwlfyl 回复于:2004-08-04 17:28:11 | sed 's/sbin\/atd/local\/servers\/apache\/bin\/httpd/g' atd > httpd
| zwlfyl 回复于:2004-08-04 17:28:14 | sed 's/sbin\/atd/local\/servers\/apache\/bin\/httpd/g' atd > httpd
| yuxujian 回复于:2004-08-28 10:55:18 | 用PHPINFO()查看,也有对 GD 支持,像PNG,GIF,JPEG都有 可是作出来的图像,显示不了。 老说 : the image "http://127.0.0.1/new_graphics message=……" does'nt display ,because it contains errors . thx
| MacOS 回复于:2004-11-03 19:38:37 | 装完Resin后,启动Resin时出现的提示??????????
Resin-3.0.s041002 (built Sat, 02 Oct 2004 04:47:31 PDT) Copyright(c) 1998-2004 Caucho Technology. All rights reserved.
Starting Resin on Wed, 03 Nov 2004 19:34:57 +0800 (CST)
[19:35:01.014] http listening to *:8080 [19:35:01.015] ServletServer[] starting [19:35:01.185] hmux listening to localhost.localdomain:6802 [19:35:01.529] Host[] starting [19:35:02.496] In-place class redefinition (HotSwap) is not available. [19:35:02.496] [u:fec6f6e171][b:fec6f6e171]java.lang.UnsatisfiedLinkError: no resin in java.library.path[/b:fec6f6e171][19:35:02.984] Application[/u:fec6f6e171][http://localhost:8080/resin-doc] starting [u:fec6f6e171][b:fec6f6e171][19:35:09.279] java.lang.InternalError: jzentry == 0,[/b:fec6f6e171][/u:fec6f6e171][19:35:09.279] jzfile = 1075555720, [19:35:09.279] total = 13265, [19:35:09.279] name = /usr/local/jdk1.5.0/jre/lib/rt.jar, [19:35:09.279] i = 11444, [19:35:09.279] message = invalid LOC header (bad signature) [19:35:09.279] at java.util.zip.ZipFile$3.nextElement(ZipFile.java:427) [19:35:09.279] at java.util.zip.ZipFile$3.nextElement(ZipFile.java:413) [19:35:09.279] at java.util.jar.JarFile$1.nextElement(JarFile.java:214) [19:35:09.279] at java.util.jar.JarFile$1.nextElement(JarFile.java:213) [19:35:09.279] at com.caucho.jsp.TldManager.loadJarTlds(TldManager.java:381) [19:35:09.279] at com.caucho.jsp.TldManager.init(TldManager.java:258) [19:35:09.279] at com.caucho.jsp.TldManager.create(TldManager.java:125) [19:35:09.279] at com.caucho.jsp.JspManager.<init>(JspManager.java:83) [19:35:09.279] at com.caucho.jsp.JspServlet.init(JspServlet.java:70) [19:35:09.279] at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:556) [19:35:09.279] at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:139) [19:35:09.279] at com.caucho.server.webapp.Application.start(Application.java:1537) [19:35:09.279] at com.caucho.server.deploy.Entry.startImpl(Entry.java:457) [19:35:09.279] at com.caucho.server.webapp.WebAppEntry.startImpl(WebAppEntry.java:85) [19:35:09.279] at com.caucho.server.deploy.Entry.redeployIfModifiedImpl(Entry.java:416) [19:35:09.279] at com.caucho.server.webapp.WebAppEntry.redeployIfModifiedImpl(WebAppEntry.java:85) [19:35:09.279] at com.caucho.server.deploy.Entry.startAutomatic(Entry.java:366) [19:35:09.279] at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:153) [19:35:09.279] at com.caucho.server.webapp.ApplicationContainer.start(ApplicationContainer.java:564) [19:35:09.279] at com.caucho.server.host.Host.start(Host.java:489) [19:35:09.279] at com.caucho.server.deploy.Entry.startImpl(Entry.java:457) [19:35:09.279] at com.caucho.server.host.HostEntry.startImpl(HostEntry.java:82) [19:35:09.279] at com.caucho.server.deploy.Entry.redeployIfModifiedImpl(Entry.java:416) [19:35:09.279] at com.caucho.server.host.HostEntry.redeployIfModifiedImpl(HostEntry.java:82) [19:35:09.279] at com.caucho.server.deploy.Entry.startAutomatic(Entry.java:366) [19:35:09.279] at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:153) [19:35:09.279] at com.caucho.server.host.HostContainer.start(HostContainer.java:464) [19:35:09.279] at com.caucho.server.resin.ServletServer.start(ServletServer.java:826) [19:35:09.279] at com.caucho.server.resin.ResinServer.start(ResinServer.java:416) [19:35:09.279] at com.caucho.server.resin.Resin.init(Resin.java:282) [19:35:09.279] at com.caucho.server.resin.Resin.main(Resin.java:477) [19:35:09.286] javax.servlet.ServletException: java.lang.InternalError: jzentry == 0, [19:35:09.286] jzfile = 1075555720, [19:35:09.286] total = 13265, [19:35:09.286] name = /usr/local/jdk1.5.0/jre/lib/rt.jar, [19:35:09.286] i = 11444, [19:35:09.286] message = invalid LOC header (bad signature) [19:35:09.286] at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:588) [19:35:09.286] at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:139) [19:35:09.286] at com.caucho.server.webapp.Application.start(Application.java:1537) [19:35:09.286] at com.caucho.server.deploy.Entry.startImpl(Entry.java:457) [19:35:09.286] at com.caucho.server.webapp.WebAppEntry.startImpl(WebAppEntry.java:85) [19:35:09.286] at com.caucho.server.deploy.Entry.redeployIfModifiedImpl(Entry.java:416) [19:35:09.286] at com.caucho.server.webapp.WebAppEntry.redeployIfModifiedImpl(WebAppEntry.java:85) [19:35:09.286] at com.caucho.server.deploy.Entry.startAutomatic(Entry.java:366) [19:35:09.286] at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:153) [19:35:09.286] at com.caucho.server.webapp.ApplicationContainer.start(ApplicationContainer.java:564) [19:35:09.286] at com.caucho.server.host.Host.start(Host.java:489) [19:35:09.286] at com.caucho.server.deploy.Entry.startImpl(Entry.java:457) [19:35:09.286] at com.caucho.server.host.HostEntry.startImpl(HostEntry.java:82) [19:35:09.286] at com.caucho.server.deploy.Entry.redeployIfModifiedImpl(Entry.java:416) [19:35:09.286] at com.caucho.server.host.HostEntry.redeployIfModifiedImpl(HostEntry.java:82) [19:35:09.286] at com.caucho.server.deploy.Entry.startAutomatic(Entry.java:366) [19:35:09.286] at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:153) [19:35:09.286] at com.caucho.server.host.HostContainer.start(HostContainer.java:464) [19:35:09.286] at com.caucho.server.resin.ServletServer.start(ServletServer.java:826) [19:35:09.286] at com.caucho.server.resin.ResinServer.start(ResinServer.java:416) [19:35:09.286] at com.caucho.server.resin.Resin.init(Resin.java:282) [19:35:09.286] at com.caucho.server.resin.Resin.main(Resin.java:477) [19:35:09.286] Caused by: java.lang.InternalError: jzentry == 0, [19:35:09.286] jzfile = 1075555720, [19:35:09.286] total = 13265, [19:35:09.286] name = /usr/local/jdk1.5.0/jre/lib/rt.jar, [19:35:09.286] i = 11444, [19:35:09.286] message = invalid LOC header (bad signature) [19:35:09.286] at java.util.zip.ZipFile$3.nextElement(ZipFile.java:427) [19:35:09.286] at java.util.zip.ZipFile$3.nextElement(ZipFile.java:413) [19:35:09.286] at java.util.jar.JarFile$1.nextElement(JarFile.java:214) [19:35:09.286] at java.util.jar.JarFile$1.nextElement(JarFile.java:213) [19:35:09.286] at com.caucho.jsp.TldManager.loadJarTlds(TldManager.java:381) [19:35:09.286] at com.caucho.jsp.TldManager.init(TldManager.java:258) [19:35:09.286] at com.caucho.jsp.TldManager.create(TldManager.java:125) [19:35:09.286] at com.caucho.jsp.JspManager.<init>(JspManager.java:83) [19:35:09.286] at com.caucho.jsp.JspServlet.init(JspServlet.java:70) [19:35:09.286] at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:556) [19:35:09.286] ... 21 more [19:35:09.291] javax.servlet.ServletException: java.lang.InternalError: jzentry == 0, [19:35:09.291] jzfile = 1075555720, [19:35:09.291] total = 13265, [19:35:09.291] name = /usr/local/jdk1.5.0/jre/lib/rt.jar, [19:35:09.291] i = 11444, [19:35:09.291] message = invalid LOC header (bad signature) [19:35:09.291] at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:588) [19:35:09.291] at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:139) [19:35:09.291] at com.caucho.server.webapp.Application.start(Application.java:1537) [19:35:09.291] at com.caucho.server.deploy.Entry.startImpl(Entry.java:457) [19:35:09.291] at com.caucho.server.webapp.WebAppEntry.startImpl(WebAppEntry.java:85) [19:35:09.291] at com.caucho.server.deploy.Entry.redeployIfModifiedImpl(Entry.java:416) [19:35:09.291] at com.caucho.server.webapp.WebAppEntry.redeployIfModifiedImpl(WebAppEntry.java:85) [19:35:09.291] at com.caucho.server.deploy.Entry.startAutomatic(Entry.java:366) [19:35:09.291] at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:153) [19:35:09.291] at com.caucho.server.webapp.ApplicationContainer.start(ApplicationContainer.java:564) [19:35:09.291] at com.caucho.server.host.Host.start(Host.java:489) [19:35:09.291] at com.caucho.server.deploy.Entry.startImpl(Entry.java:457) [19:35:09.291] at com.caucho.server.host.HostEntry.startImpl(HostEntry.java:82) [19:35:09.291] at com.caucho.server.deploy.Entry.redeployIfModifiedImpl(Entry.java:416) [19:35:09.291] at com.caucho.server.host.HostEntry.redeployIfModifiedImpl(HostEntry.java:82) [19:35:09.291] at com.caucho.server.deploy.Entry.startAutomatic(Entry.java:366) [19:35:09.291] at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:153) [19:35:09.291] at com.caucho.server.host.HostContainer.start(HostContainer.java:464) [19:35:09.291] at com.caucho.server.resin.ServletServer.start(ServletServer.java:826) [19:35:09.291] at com.caucho.server.resin.ResinServer.start(ResinServer.java:416) [19:35:09.291] at com.caucho.server.resin.Resin.init(Resin.java:282) [19:35:09.291] at com.caucho.server.resin.Resin.main(Resin.java:477) [19:35:09.291] Caused by: java.lang.InternalError: jzentry == 0, [19:35:09.291] jzfile = 1075555720, [19:35:09.291] total = 13265, [19:35:09.291] name = /usr/local/jdk1.5.0/jre/lib/rt.jar, [19:35:09.291] i = 11444, [19:35:09.291] message = invalid LOC header (bad signature) [19:35:09.291] at java.util.zip.ZipFile$3.nextElement(ZipFile.java:427) [19:35:09.291] at java.util.zip.ZipFile$3.nextElement(ZipFile.java:413) [19:35:09.291] at java.util.jar.JarFile$1.nextElement(JarFile.java:214) [19:35:09.291] at java.util.jar.JarFile$1.nextElement(JarFile.java:213) [19:35:09.291] at com.caucho.jsp.TldManager.loadJarTlds(TldManager.java:381) [19:35:09.291] at com.caucho.jsp.TldManager.init(TldManager.java:258) [19:35:09.291] at com.caucho.jsp.TldManager.create(TldManager.java:125) [19:35:09.291] at com.caucho.jsp.JspManager.<init>(JspManager.java:83) [19:35:09.291] at com.caucho.jsp.JspServlet.init(JspServlet.java:70) [19:35:09.291] at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:556) [19:35:09.291] ... 21 more [19:35:09.388] Application[http://localhost:8080] starting
无法显示test.jsp的内容
| 4485920 回复于:2005-03-31 12:59:32 | 我装的 PHP+MYSQL+APACHE+LINUX 怎么 不能运行PHP网页啊,一开PHP网页就提示下载,晕死掉了
| yangying 回复于:2005-04-19 20:29:14 | 劳驾搂主 你能把卸载的部分具体地说下么? 像安装那样具体 谢谢了
|
原文转自:http://www.ltesting.net
|
|
|
|