|
[SOLVED] Change php to 5.2.10,then panel can`t visit report HTTP500
|
| Author |
Message |
freed1985
Junior Member

Posts: 16
Joined: Mar 2010
Reputation: 0
|
[SOLVED] Change php to 5.2.10,then panel can`t visit report HTTP500
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
(This post was last modified: 03-26-2010 07:09 PM by freed1985.)
|
|
| 03-19-2010 03:56 PM |
|
freed1985
Junior Member

Posts: 16
Joined: Mar 2010
Reputation: 0
|
RE: Change php to 5.2.10,then panel can`t visit report HTTP500
(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
|
|
| 03-21-2010 01:06 PM |
|
foxb
Junior Member

Posts: 36
Joined: Mar 2010
Reputation: 0
|
RE: Change php to 5.2.10,then panel can`t visit report HTTP500
|
|
| 03-22-2010 01:21 AM |
|
freed1985
Junior Member

Posts: 16
Joined: Mar 2010
Reputation: 0
|
RE: Change php to 5.2.10,then panel can`t visit report HTTP500
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.
|
|
| 03-22-2010 03:06 PM |
|
treuben
Posts: 3
Joined: Mar 2010
Reputation: 0
|
RE: Change php to 5.2.10,then panel can`t visit report HTTP500
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.
|
|
| 03-28-2010 11:36 PM |
|