ispCP - Board - Support
[SOLVED] Change php to 5.2.10,then panel can`t visit report HTTP500 - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: [SOLVED] Change php to 5.2.10,then panel can`t visit report HTTP500 (/thread-10077.html)

Pages: 1 2


[SOLVED] Change php to 5.2.10,then panel can`t visit report HTTP500 - freed1985 - 03-19-2010 03:56 PM

Today,I reinstall my php with version 5.2.10(old php is 5.3.2)

Then I can visit the page in vhosts.
But now I can`t visit my panel ,it reports HTTP500 error.
Why?

Code:
123.191.58.175 - - [19/Mar/2010:05:36:29 -0700] "GET / HTTP/1.1" 500 - "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; QQPinyin 689)"
123.191.58.175 - - [19/Mar/2010:05:36:29 -0700] "GET / HTTP/1.1" 500 - "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; QQPinyin 689)"
116.3.187.222 - - [19/Mar/2010:05:41:18 -0700] "GET / HTTP/1.1" 500 - "-" "Opera/9.80 (Windows NT 6.1; U; zh-cn) Presto/2.2.15 Version/10.10"
116.3.187.222 - - [19/Mar/2010:05:41:18 -0700] "GET / HTTP/1.1" 500 - "-" "Opera/9.80 (Windows NT 6.1; U; zh-cn) Presto/2.2.15 Version/10.10"
116.3.187.222 - - [19/Mar/2010:05:41:24 -0700] "GET / HTTP/1.1" 500 - "-" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)"
116.3.187.222 - - [19/Mar/2010:05:41:24 -0700] "GET / HTTP/1.1" 500 - "-" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)"

I use ispCP1.0.4 on CentOS5.4


RE: Change php to 5.2.10,then panel can`t visit report HTTP500 - BeNe - 03-19-2010 04:31 PM

This is the wrong Logfile.
Post the Error log oer the default.error

Greez BeNe


RE: Change php to 5.2.10,then panel can`t visit report HTTP500 - freed1985 - 03-21-2010 01:06 PM

(03-19-2010 04:31 PM)BeNe Wrote:  This is the wrong Logfile.
Post the Error log oer the default.error

Greez BeNe

this is the default.error
Code:
[root@AT16-7148 users]# cat default-error.log
[Sun Mar 21 02:45:04 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Mar 21 02:45:04 2010] [notice] Digest: generating secret for digest authentication ...
[Sun Mar 21 02:45:04 2010] [notice] Digest: done
[Sun Mar 21 02:45:05 2010] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.2.10 mod_ssl/2.2.15 OpenSSL/0.9.8e-fips-rhel5 configured -- resuming normal operations
[Sun Mar 21 02:50:01 2010] [error] [client 116.3.184.243] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: open(/var/www/ispcp/gui/phptmp//sess_ucub304615r5kkn4o59btm0270, O_RDWR) failed: Permission denied (13) in /var/www/ispcp/gui/include/ispcp-lib.php on line 43
[Sun Mar 21 02:50:01 2010] [error] [client 116.3.184.243] PHP Warning:  require_once(/var/www/ispcp/gui/include/ispcp-db-keys.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: Permission denied in /var/www/ispcp/gui/include/ispcp-lib.php on line 67
[Sun Mar 21 02:50:01 2010] [error] [client 116.3.184.243] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/var/www/ispcp/gui/include/ispcp-db-keys.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/ispcp/gui/include/ispcp-lib.php on line 67
[Sun Mar 21 02:50:01 2010] [error] [client 116.3.184.243] PHP Warning:  Unknown: open(/var/www/ispcp/gui/phptmp//sess_ucub304615r5kkn4o59btm0270, O_RDWR) failed: Permission denied (13) in Unknown on line 0
[Sun Mar 21 02:50:01 2010] [error] [client 116.3.184.243] PHP Warning:  Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/www/ispcp/gui/phptmp/) in Unknown on line 0
[Sun Mar 21 02:50:07 2010] [error] [client 116.3.184.243] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: open(/var/www/ispcp/gui/phptmp//sess_1ibp4f5fbpcmf6jdcd8qvvrdd6, O_RDWR) failed: Permission denied (13) in /var/www/ispcp/gui/include/ispcp-lib.php on line 43
[Sun Mar 21 02:50:07 2010] [error] [client 116.3.184.243] PHP Warning:  require_once(/var/www/ispcp/gui/include/ispcp-db-keys.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: Permission denied in /var/www/ispcp/gui/include/ispcp-lib.php on line 67
[Sun Mar 21 02:50:07 2010] [error] [client 116.3.184.243] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/var/www/ispcp/gui/include/ispcp-db-keys.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/ispcp/gui/include/ispcp-lib.php on line 67
[Sun Mar 21 02:50:07 2010] [error] [client 116.3.184.243] PHP Warning:  Unknown: open(/var/www/ispcp/gui/phptmp//sess_1ibp4f5fbpcmf6jdcd8qvvrdd6, O_RDWR) failed: Permission denied (13) in Unknown on line 0
[Sun Mar 21 02:50:07 2010] [error] [client 116.3.184.243] PHP Warning:  Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/www/ispcp/gui/phptmp/) in Unknown on line 0



RE: Change php to 5.2.10,then panel can`t visit report HTTP500 - Shin - 03-21-2010 07:09 PM

have you tried re-running set-gui-permission.sh ? Is in engine/setup folder


RE: Change php to 5.2.10,then panel can`t visit report HTTP500 - GioMac - 03-21-2010 07:22 PM

FC12
php5.3.12->php5.2.10/php5.2.12
didn't get same problem


RE: Change php to 5.2.10,then panel can`t visit report HTTP500 - foxb - 03-22-2010 01:21 AM

I did have the same problem.

CentOS 5.4

PHP5.3.1 -> 5.3.2 (ERROR500) -> Downgraded to 5.2.10 (Problem PERSISTED)

http://www.isp-control.net/forum/thread-9881.html


RE: Change php to 5.2.10,then panel can`t visit report HTTP500 - freed1985 - 03-22-2010 03:06 PM

I tried re-running set-gui-permission.sh .

But it`s also report http500 error.

At last,I delete all file and reinstall ispcp.
It`s running now.

Thanks to all friends upstairs.


RE: Change php to 5.2.10,then panel can`t visit report HTTP500 - treuben - 03-28-2010 11:36 PM

I have php 5.2.10 and centos also. same issue. seems a permissions problem (perhaps) and the scrips don't help. chmod 444 /var/www/ispcp/gui/include/ispcp-db-keys.php and chmod -R 777 /var/www/ispcp/gui/phptmp and perhaps even chmod -R 0777 /var/www/ispcp/gui/include/htmlpurifier/HTMLPurifier/DefinitionCache/Serializer
(don't quote me on that last one as I'm not sure it was necessary) seems to restore to working but these I think may compromise security.

If anyone else can share a better way to fix short of reinstall it would be nice! I imagine this may happen because of php upgrades or some such as I did use both 5.2.9 and 5.2.10 in the course of one ispcp install without reinstall.

Kind regards for great work! 8)


(03-22-2010 03:06 PM)freed1985 Wrote:  I tried re-running set-gui-permission.sh .

But it`s also report http500 error.

At last,I delete all file and reinstall ispcp.
It`s running now.

Thanks to all friends upstairs.



RE: [SOLVED] Change php to 5.2.10,then panel can`t visit report HTTP500 - mkreder - 02-02-2011 09:37 PM

Solved with:

chgrp apache /var/www/ispcp/gui/include/ispcp-db-keys.php
chmod g+r /var/www/ispcp/gui/include/ispcp-db-keys.php

apache, didn't have the permissions to read that php file, you may need to add that to set-gui-permissions.sh


Most excellently Tennis Rackets - #wilsontek[GXGXGGXGXGGA] - 10-15-2011 06:30 PM

If you are looking quest of Wilson Tennis as regards trading, divert detain reading this very vest-pocket article and you right-minded effect discover some dope that may be useful. Some people over that Wilson Tennis Online truly invented tennis, they receive been complex in the sport in search so long. Wretched to allege, that is not the case. There is a merest good reasoning that this obstinate has such an terrific reputation in tennis, which is they daily scheme and deliver some of the finest Wilson Tennis Rackets in the world. -http://www.wilsontennissale.com