WDlinux官方论坛's Archiver

eudyeudy 发表于 2012-7-4 10:13

RHEL6搭wdcp2.4LAMP环境创建站点,无法访问

1、在RHEL6上搭WDCP时,显示一切正常,是WDCP全程自动编译安装的。
2、安装完成后,访问*:8080,可进入wdcp的后台管理页面
3、在wdcp中创建一个default(用IP访问)站点,并相应开能一个考察账号

现象
重启web及pureftp服务
1、使用该ftp 账号无法访问该ftp服务器
2、在站点内创建一个页面文件index.htm,无法访问

admin 发表于 2012-7-4 10:26

无法访问提示什么???

eudyeudy 发表于 2012-7-4 10:37

把IE的友好提示去掉了

没有任何提示

另:
不小心把我自己的IP地址访问在wdcp的系统管理里面拒绝掉了,我的SCRT也连不上了:'(
如何恢复???

eudyeudy 发表于 2012-7-4 10:41

RHEL6  64bit

eudyeudy 发表于 2012-7-4 13:15

[root@testgroup /]# service httpd start
Starting httpd: Syntax error on line 6 of /www/wdlinux/httpd-2.2.22/conf/vhost/00000.default.conf:
Invalid command 'php_admin_value', perhaps misspelled or defined by a module not included in the server configuration
[FAILED]

eudyeudy 发表于 2012-7-4 13:19

系统信息
系统名称:WDlinux Control Panel (简称wdcp)
当前版本: wdcp_v2.4(20120622) 最新  更新
操作系统:Linux 2.6.32-71.el6.x86_64
主机 名:testgroup
CPU参数:1个8核 64位
CPU型号: Intel(R) Xeon(R) CPU E5405 @ 2.00GHz
系统时间:2012-07-04 21:13
运行时间:0天0小时9分
服务器IP:10.0.65.3
系统负载:0.37   0.34   0.20
内存使用:总:7870M   已用: 860M   剩余:7010M

eudyeudy 发表于 2012-7-4 13:20

CPU参数:1个8核 64位
CPU型号: Intel(R) Xeon(R) CPU E5405 @ 2.00GHz

这里WDCP显示错了,我的是2CPU 4核

eudyeudy 发表于 2012-7-4 16:17

在线等~~~~~~~~~~~:Q~~~

admin 发表于 2012-7-4 17:21

[quote][root@testgroup /]# service httpd start
Starting httpd: Syntax error on line 6 of /www/wdlinux/http ...
[size=2][color=#999999]eudyeudy 发表于 2012-7-4 13:15[/color] [url=http://www.wdlinux.cn/bbs/redirect.php?goto=findpost&pid=9427&ptid=2624][img]http://www.wdlinux.cn/bbs/images/common/back.gif[/img][/url][/size][/quote]


   没操作过什么?安装好就这样?

eudyeudy 发表于 2012-7-5 10:14

[quote]没操作过什么?安装好就这样?
[size=2][color=#999999]admin 发表于 2012-7-4 17:21[/color] [url=http://www.wdlinux.cn/bbs/redirect.php?goto=findpost&pid=9446&ptid=2624][img]http://www.wdlinux.cn/bbs/images/common/back.gif[/img][/url][/size][/quote]


    期间查看进程是有3个httpd的,两个ROOT用户的,一个WD什么的用户

然后想重启下这个进程,就把上述3个进程kill掉了。重启了下服务器。再检查就这样了~

eudyeudy 发表于 2012-7-5 10:17

现在*:8080的后台也打不开了~如何修复一下呢?大神

admin 发表于 2012-7-5 10:40

那个是明显的配置文件错误,只是KILL进程,是不会影响到配置的

你可以看下
/www/wdlinux/httpd-2.2.22/conf/vhost/00000.default.conf
这个配置文件内容

eudyeudy 发表于 2012-7-5 10:51

<VirtualHost *:80>
DocumentRoot /www/web/phpwind87/public_html
ErrorDocument 400 /errpage/400.html
ErrorDocument 403 /errpage/403.html
ErrorDocument 404 /errpage/404.html
php_admin_value open_basedir /www/web/phpwind87:/tmp
<IfModule mod_deflate.c>
DeflateCompressionLevel 7
AddOutputFilterByType DEFLATE text/html text/plain text/xml application/x-httpd-php
AddOutputFilter DEFLATE css js html htm gif jpg png bmp php
</IfModule>
</VirtualHost>
<Directory /www/web/phpwind87>
    Options FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
</Directory>
这里面的内容好像是正常的

eudyeudy 发表于 2012-7-5 14:59

把里面创建的站点删掉后再检查就OK了
[root@testgroup ~]# service httpd start
Starting httpd: [Thu Jul 05 14:54:54 2012] [warn] NameVirtualHost *:80 has no VirtualHosts
[  OK  ]

admin 发表于 2012-7-5 15:04

[quote]DocumentRoot /www/web/phpwind87/public_html
ErrorDocument 400 /errpage/400.html
ErrorDocument 40 ...
[size=2][color=#999999]eudyeudy 发表于 2012-7-5 10:51[/color] [url=http://www.wdlinux.cn/bbs/redirect.php?goto=findpost&pid=9486&ptid=2624][img]http://www.wdlinux.cn/bbs/images/common/back.gif[/img][/url][/size][/quote]

/www/wdlinux/httpd-2.2.22/conf/vhost/00000.default.conf 这个默认站点的配置文件,不可能是这样的


除非你自己手工修改

eudyeudy 发表于 2012-7-5 15:27

/www/wdlinux/wdapache/conf/httpd.conf这个有改过
在最后加了一个8090的端口
但你说的这个默认站点配置文件真心没有改过,是创建站点时生成的= =!

但现在的情况是
新增了2个端口 8090 9090
然后把之前的站点删了
重新建了一个站点
然后访问:
提示:it works......

eudyeudy 发表于 2012-7-5 15:28

还是无法访问自己的网站咯

admin 发表于 2012-7-5 16:05

[b]回复 [url=http://www.wdlinux.cn/bbs/redirect.php?goto=findpost&pid=9520&ptid=2624]16#[/url] [i]eudyeudy[/i] [/b]


   /www/wdlinux/wdapache/conf/httpd.conf这个是wdcp后台服务的apache,跟前台没有关系


那个显示It work
应该是没有设置站点的原因

eudyeudy 发表于 2012-7-5 16:47

现在情况是:
创建站点后,即显示上面的检查
Starting httpd: Syntax error on line 6 of /www/wdlinux/httpd-2.2.22/conf/vhost/00000.default.conf:
Invalid command 'php_admin_value', perhaps misspelled or defined by a module not included in the server configuration
[FAILED]
删掉站点后,就正常了,检查是成功的

eudyeudy 发表于 2012-7-5 17:28

是不是[attach]898[/attach][attach]899[/attach]我建站配置的不对呢?

admin 发表于 2012-7-5 22:00

/www/wdlinux/httpd-2.2.22/conf/vhost/00000.default.conf
再看下这个文件的内容或贴上来

eudyeudy 发表于 2012-7-6 13:26

<VirtualHost *:80>
DocumentRoot /www/web/default
</VirtualHost>
<Directory /www/web/default>
    Options FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

eudyeudy 发表于 2012-7-6 13:27

运行 ./tolamp.sh
到install php...时
报了下面这么个错误
checking for floorf... (cached) yes
configure: error: libjpeg.(a|so) not found.


----Install Error: php configure err -----------

admin 发表于 2012-7-6 16:49

[b]回复 [url=http://www.wdlinux.cn/bbs/redirect.php?goto=findpost&pid=9641&ptid=2624]22#[/url] [i]eudyeudy[/i] [/b]


真想不明白,你是怎么搞的
这样的内容,会有如下这样的提示?
Invalid command 'php_admin_value', perhaps misspelled or defined by a module not included in the server configuration

admin 发表于 2012-7-6 16:51

[b]回复 [url=http://www.wdlinux.cn/bbs/redirect.php?goto=findpost&pid=9642&ptid=2624]23#[/url] [i]eudyeudy[/i] [/b]

yum install -y libjpeg-devel libpng-devel

eudyeudy 发表于 2012-7-9 16:27

真的是这样的,大侠能不能帮我远程调一下。。。
小弟在此先行谢过了
我的Q276767466

youaicp 发表于 2014-1-18 12:53

这个问题解决没 我也遇到这样的问题

wang259797 发表于 2014-3-2 13:06

同样遇到这样错误Invalid command 'php_admin_value', perhaps misspelled or defined by a module not included in the server configuration

maniacxp 发表于 2014-5-9 19:00

[url]http://www.wdlinux.cn/bbs/thread-7167-1-1.html[/url]
这里解决

页: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.