解决了但是
现在它正在运行,但是在php索引中告诉我:
/sbin/ejabberdctl: line 279: /home/ejabberd/var/lock/ejabberdctl/ejabberdctl-99: Permission denied /sbin/ejabberdctl: line 279: /home/ejabberd/var/lock/ejabberdctl/ejabberdctl-100: Permission denied Ran out of connections to try. Your ejabberd processes may be stuck or this is a very busy server. For very busy servers, consider raising MAXCONNID in ejabberdctl None None
我该怎么办,泰恩。在
我尝试用php运行Python文件
在php文件中,我将:
^{pr2}$返回时出现以下错误:
Traceback (most recent call last): File "/home/register/register.py", line 46, in iplog = Writer("ip.txt") File "/home/register/register.py", line 35, in __init__ self.file = open(self.filename, "a") IOError: [Errno 13] Permission denied: 'ip.txt'
假设权限被拒绝,php的用户是:apache
我还尝试了:exec&shell\u exec和samething
我试试chmod 777和samething
我该怎么修呢,谢谢。在
我想这是关于ip.txt文件,您的python脚本没有访问权限ip.txt文件. 在
看起来问题出在python脚本中。我刚刚运行了以下内容:
网页显示“1”。你能试着从命令行运行
python register.py
并告诉我们错误是什么吗?另外,发布python文件的相关部分。在相关问题 更多 >
编程相关推荐