在tomcat+apache+mysql整合过程中,安装路径如下 mysql-4.0.24:/usr/local/mysql httpd-2.0.50:/usr/local/apache2 tomcat-5.0.28:/usr/local/tomcat 每次都要手动在命令行下如下启动: /usr/local/mysql/bin/mysqld_safe --user=mysql & /usr/local/apache2/bin/apachectl start /usr/local/tomcat/./startup.sh 如何设置比如apache的启动只需要输入apachectl start就可以呢,就是说不要 输入路径 要设置成开机启动启动那...
我在linux下安装了apache,但是启动不了,我使用 apachectl graceful,但是显示httpd未启动,我在命令行下键入了httpd,但是老是显示httpd未启动,请问大家这是什么原因啊??
我编辑好了http.conf,然后在执行/usr/sbin/apachectl start 没任何反应, ps -ef |grep httpd 没找到任何冬冬 我执行/usr/sbin/apachectl configtest 显示是OK的 怎么回事啊? 还有,即使不启动,好歹给我个日志看看什么原因吧,连日志文件都找不到了,找偏了var目录也找不到,实在晕 各位老大帮忙指点一二,谢谢!
按照网上搜集的资料整合linux下的apache和tomcat, 目前为止,tomcat 和apache 都能独自运行, 然后我编译了连接器,mod_webapp.so,将其考到 /usr/lib/httpd/modules下, 文件的权限为 -rwxr-xr-x 1 root root 280062 Feb 15 10:35 mod_webapp.so httpd.conf文件中大概205行加入: LoadModule webapp_module modules/mod_webapp.so 然后测试 /usr/local/apache/bin/apachectl configtest 出现错误: Syntax erro...
按照网上搜集的资料整合linux下的apache和tomcat, 目前为止,tomcat 和apache 都能独自运行, 然后我编译了连接器,mod_webapp.so,将其考到 /usr/lib/httpd/modules下, 文件的权限为 -rwxr-xr-x 1 root root 280062 Feb 15 10:35 mod_webapp.so httpd.conf文件中大概205行加入: LoadModule webapp_module modules/mod_webapp.so 然后测试 /usr/local/apache/bin/apachectl configtest 出现错误: Syntax erro...
小弟,已经安装好了apache2并且手工启动成功,但是设定随系统一起启动失败 我是将httpd文件拷贝到/etc/rc.d/init.d目录中的,但是不行,将apachectl也拷贝到/etc/rc.d/init.d目录中还是不能启动。 用chkconfig --add httpd报错: service httpd does not support chkconfig 用chkconfig --add apachectl报错: service apachectl does not support chkconfig 改如何设置才能让apache2随系统一起启动???
重新启动linux时,apache可以正常使用,可当修改了httpd.conf文件后有如处错误: #apachectl stop httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName # apachectl restart httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName httpd not running, trying to start # apachectl restart httpd: Could not determine the...