VPS侦探论坛

 找回密码
 注册
查看: 6562|回复: 7

升级到5.3.6,防跨站生效,但是出问题了

[复制链接]
发表于 2012-11-2 18:22:52 | 显示全部楼层 |阅读模式

出的第一个问题就是/root/lnmp restart这个没用了,一直停在




然后单独执行/etc/init.d/nginx  restart

提示:Restarting nginx daemon: nginx.
这个我不知道是否正常,我的nginx是 2.1.4的

以上这第一个问题咋修复


第二个问题是:

防跨站做了之后,xcache管理界面进不了,这是第一个,第二就是phpmyadmin无法打开,第三个就是PureFTPd的web界面打不开


这个要怎么处理呢,加:/proc探针显示正常


恳请军哥给答复下

[ 本帖最后由 edims 于 2012-11-2 18:39 编辑 ]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2012-11-2 19:32:23 | 显示全部楼层


哥们儿 看这里 https://bbs.vpser.net/thread-8784-1-1.html  一样的问题 大家都遇到了
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2012-11-2 19:55:37 | 显示全部楼层

https://bbs.vpser.net/thread-8784-1-1.html  一样的问题 大家都遇到了
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2012-11-3 08:18:19 | 显示全部楼层



经过修复,现在可以执行下去了,但是报错,错误如下

Stoping LNMP...
Nginx program is stop
Usage: php-fpm [-n] [-e] [-h] [-i] [-m] [-v] [-t] [-p <prefix>] [-g <pid>] [-c <                                                                                                                     file>] [-d foo[=bar]] [-y <file>] [-D] [-F]
  -c <path>|<file> Look for php.ini file in this directory
  -n               No php.ini file will be used
  -d foo[=bar]     Define INI entry foo with value 'bar'
  -e               Generate extended information for debugger/profiler
  -h               This help
  -i               PHP information
  -m               Show compiled in modules
  -v               Version number
  -p, --prefix <dir>
                   Specify alternative prefix path to FastCGI process manager
(d                                                                                                                     efault: /usr/local/php).
  -g, --pid <file>
                   Specify the PID file location.
  -y, --fpm-config <file>
                   Specify alternative path to FastCGI process manager config fi                                                                                                                     le.
  -t, --test       Test FPM configuration and exit
  -D, --daemonize  force to run in background, and ignore daemonize option from                                                                                                                      config file
  -F, --nodaemonize
                   force to stay in foreground, and ignore daemonize option from                                                                                                                      config file
  -R, --allow-to-run-as-root
                   Allow pool to run as root (disabled by default)
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2012-11-3 08:51:07 | 显示全部楼层

php 5.3.3 下的php-fpm 不再支持 php-fpm 以前具有的 /usr/local/php/sbin/php-fpm (start|stop|reload)等命令,需要使用信号控制:

master进程可以理解以下信号

INT, TERM 立刻终止
QUIT 平滑终止
USR1 重新打开日志文件
USR2 平滑重载所有worker进程并重新载入配置和二进制模块

示例:
php-fpm 关闭:
kill -INT `cat /usr/local/php/var/run/php-fpm.pid`
php-fpm 重启:
kill -USR2 `cat /usr/local/php/var/run/php-fpm.pid`

查看php-fpm进程数:

ps aux | grep -c php-fpm

军哥运维代购:http://shop63846532.taobao.com/

发表于 2012-11-3 09:45:57 | 显示全部楼层

不知会不会影响网站正常使用,
发表于 2012-11-3 11:15:55 | 显示全部楼层

恳请军哥有空麻烦看看怎么解决,谢谢了


恳请军哥有空麻烦看看怎么解决,谢谢了
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2012-11-3 16:53:24 | 显示全部楼层

第一个问题我得再测试看看

第二个问题如果需要读取设置的限制目录之外的目录都不能用,PureFTPd的web界面会读取/etc/下面的配置文件,xcache暂时不清楚,phpmyadmin应该是没影响
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-23 23:28 , Processed in 0.036378 second(s), 18 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表