源码包
2851

Centos下源码安装 Nginx+php 使用远程数据库后访问页面为空白页已解决 悬赏5积分

提问者chris xu 答案数1 阅读数5581 发表时间2015-06-08 15:52:39

操作如下:

1. 已经可以进入到install.php页面

2. 到配置数据库页面后,跳转至index.php为空白页


1. 安装的是目前最新的源码版禅道,安装在机器B上,需要连接机器A上的数据库

2. 经测试配置完数据数据之后,在机器A上的数据库已经可以正常访问,说明远程连接无问题。


php日志如下:tmp/log

15:38:52 session_start(): open(/var/lib/php/session/sess_4jrn1j3p30e7258v17ioosijo4, O_RDWR) failed: Permission denied (13) in /data/www/zentaopms/www/install.php on line 13 when visiting /install.php

15:38:52 Unknown: open(/var/lib/php/session/sess_4jrn1j3p30e7258v17ioosijo4, O_RDWR) failed: Permission denied (13) in Unknown on line 0 when visiting /install.php

15:38:52 Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0 when visiting /install.php

15:38:55 session_start(): open(/var/lib/php/session/sess_4jrn1j3p30e7258v17ioosijo4, O_RDWR) failed: Permission denied (13) in /data/www/zentaopms/www/install.php on line 13 when visiting /install.php?m=install&f=license

15:38:55 Unknown: open(/var/lib/php/session/sess_4jrn1j3p30e7258v17ioosijo4, O_RDWR) failed: Permission denied (13) in Unknown on line 0 when visiting /install.php?m=install&f=license

15:38:55 Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0 when visiting /install.php?m=install&f=license

15:38:57 session_start(): open(/var/lib/php/session/sess_4jrn1j3p30e7258v17ioosijo4, O_RDWR) failed: Permission denied (13) in /data/www/zentaopms/www/install.php on line 13 when visiting /install.php?m=install&f=step1

15:38:57 Unknown: open(/var/lib/php/session/sess_4jrn1j3p30e7258v17ioosijo4, O_RDWR) failed: Permission denied (13) in Unknown on line 0 when visiting /install.php?m=install&f=step1

15:38:57 Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0 when visiting /install.php?m=install&f=step1

15:38:58 session_start(): open(/var/lib/php/session/sess_4jrn1j3p30e7258v17ioosijo4, O_RDWR) failed: Permission denied (13) in /data/www/zentaopms/www/install.php on line 13 when visiting /install.php?m=install&f=step2

15:38:58 Unknown: open(/var/lib/php/session/sess_4jrn1j3p30e7258v17ioosijo4, O_RDWR) failed: Permission denied (13) in Unknown on line 0 when visiting /install.php?m=install&f=step2

15:38:58 Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0 when visiting /install.php?m=install&f=step2

15:39:20 session_start(): open(/var/lib/php/session/sess_4jrn1j3p30e7258v17ioosijo4, O_RDWR) failed: Permission denied (13) in /data/www/zentaopms/www/install.php on line 13 when visiting /install.php?m=install&f=step3

15:39:20 Unknown: open(/var/lib/php/session/sess_4jrn1j3p30e7258v17ioosijo4, O_RDWR) failed: Permission denied (13) in Unknown on line 0 when visiting /install.php?m=install&f=step3

15:39:20 Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0 when visiting /install.php?m=install&f=step3

15:39:23 session_start(): open(/var/lib/php/session/sess_4jrn1j3p30e7258v17ioosijo4, O_RDWR) failed: Permission denied (13) in /data/www/zentaopms/www/install.php on line 13 when visiting

15:39:23 Unknown: open(/var/lib/php/session/sess_4jrn1j3p30e7258v17ioosijo4, O_RDWR) failed: Permission denied (13) in Unknown on line 0 when visiting

15:39:23 Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0 when visiting

15:39:23 session_start(): open(/var/lib/php/session/sess_lankvs1arhh42vpd33jtv9hnp7, O_RDWR) failed: Permission denied (13) in /data/www/zentaopms/module/common/model.php on line 24 when visiting

15:39:23 ERROR: 您访问的域名 172.16.82.127 没有对应的公司。 in /data/www/zentaopms/module/common/model.php on line 58, last called by /data/www/zentaopms/module/common/control.php on line 25 through function setCompany.

 in /data/www/zentaopms/framework/router.class.php on line 1567 when visiting

禅道版本:7.2.stable

安装包类型:源码包

操作系统:CentOS

客户端浏览器:Chrome

设置备注
内容
答案列表
2015-06-08 16:31:49
提示 /var/lib/php/session 没有权限操作这个目录下面的文件,给这个权限分配一下777权限再试试。
联系我们
联系人
徐亚京/高级客户经理
电话(微信)
17663982076
QQ号码
2679672214
联系邮箱
xuyajing@chandao.com
返回顶部
徐亚京
高级客户经理
17663982076
2679672214
统一服务热线 4006-8899-23
我要提问提问有任何问题,您都可以在这里提问。 问题反馈反馈点击这里,让我们聆听您的建议与反馈。