Error after move from Share Host to VPS
kimsonvu
Joined: 2007-01-23
Posts: 21 |
Posted: Fri, 2012-05-18 12:35 |
Hi, I move from a Share Host to VPS. But after that, my gallery3 couldn't run as normal. I show this problem: Server error Could someone tell me what do i miss or wrong? Thanks you so much. |
|
Posts: 27300
I'd start by removing the .htaccess file.
Then see if you can get a phpinfo() link up working on that sub-domain.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 21
Hi Dave,
Thanks you for your tips. I already to remove .htaccess. I could run phpinfo. Let me know how to fix this issues?
Kim Son
Thanks!
Posts: 27300
http://gallery.kimson.vn/phpinfo.php does not exist.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 27300
FAQ: How do I create a phpinfo page?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 21
Hi,
I had been setup it:
http://gallery.kimson.vn/phpinfo.php
Could you tell me what was i miss?
Posts: 27300
Perhaps another community member can see what the issue is.
What does the Apache error logs say when you visit http://gallery.kimson.vn/index.php
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 21
Hi,
Thanks you for your help. But i only see:
Server error
The website encountered an error while retrieving http://gallery.kimson.vn/index.php. It may be down for maintenance or configured incorrectly.
Here are some suggestions:
Reload this webpage later.
HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.
What is missing now?
Kim Son
Thanks!
Posts: 27300
that is not the Apache error log.
Dave
_____________________________________________
[=http://gallery2.ca]Blog & G2[/url] || floridave - Gallery Team
Posts: 27300
FAQ: What is the webserver error log?
____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 21
Sirs,
I had been tried but i don't know where to fix this problem. Do you know how to detect this problem?
Kim Son
Thanks you.
Posts: 21
Anyone could help me on this matter? Thanks you!
Posts: 21
Anyone know where could i get Apache errors log with SSH Command? Thanks you so much.!
Posts: 27300
Your host should be able to help. Depending on the configuration it could be in a lot of different places.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 21
Hi Dave,
I am using a VPS but my hosting company manager VPS for me. I just need to install software. It seam they are busy. Could you tell me where could i found the error log file?
Kim Son
Posts: 21
Hi Dave,
I found this on Apache Error Log:
[Tue Jun 05 13:15:29 2012] [error] [client 60.191.218.38] client denied by server configuration: /home/handicra/public_html/gallery.kimson.vn/var/thumbs/Wallpaper/Custom-Shaving-Brush/IMG_1193.jpg, referer: http://support.kimson.vn/
[Tue Jun 05 13:15:29 2012] [error] [client 60.191.218.38] client denied by server configuration: /home/handicra/public_html/gallery.kimson.vn/403.shtml, referer: http://support.kimson.vn/
[Tue Jun 05 13:15:29 2012] [error] [client 60.191.218.38] client denied by server configuration: /home/handicra/public_html/gallery.kimson.vn/var/thumbs/Wallpaper/Custom-Shaving-Brush/IMG_1197.jpg, referer: http://support.kimson.vn/
[Tue Jun 05 13:15:29 2012] [error] [client 60.191.218.38] client denied by server configuration: /home/handicra/public_html/gallery.kimson.vn/403.shtml, referer: http://support.kimson.vn/
[Tue Jun 05 14:38:33 2012] [error] [client 89.186.183.183] File does not exist: /home/handicra/public_html/gallery.kimson.vn/favicon.ico
[Tue Jun 05 14:38:33 2012] [error] [client 89.186.183.183] File does not exist: /home/handicra/public_html/gallery.kimson.vn/home
Posts: 27300
I'm sure you can search just as well as I can:
http://www.cyberciti.biz/faq/httpd-client-denied-by-server-configuration/
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 21
Hi Dave,
I had been remove all of my blocked ip on .htaccess. But the errors still going on. I just found another bug on errors log:
[Wed Jun 06 17:04:42 2012] [error] [client 184.17.115.136] File does not exist: /home/handicra/public_html/gallery.kimson.vn/favicon.ico
[Wed Jun 06 17:04:42 2012] [error] [client 184.17.115.136] File does not exist: /home/handicra/public_html/gallery.kimson.vn/home
[Wed Jun 06 17:04:42 2012] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
[Wed Jun 06 17:04:42 2012] [error] [client 184.17.115.136] File does not exist: /home/handicra/public_html/gallery.kimson.vn/favicon.ico
[Wed Jun 06 17:04:42 2012] [error] [client 184.17.115.136] File does not exist: /home/handicra/public_html/gallery.kimson.vn/home
[Wed Jun 06 17:04:42 2012] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
[Wed Jun 06 17:04:42 2012] [error] [client 184.17.115.136] File does not exist: /home/handicra/public_html/gallery.kimson.vn/favicon.ico
[Wed Jun 06 17:04:42 2012] [error] [client 184.17.115.136] File does not exist: /home/handicra/public_html/gallery.kimson.vn/home
Posts: 27300
Does a php info file work in http://gallery.kimson.vn/ ?
FAQ: How do I create a phpinfo page?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 21
Hi,
Sorry for late to get back. I just uploaded phpinfo.php again on http://gallery.kimson.vn/phpinfo.php
What was wrong with my gallery?
Thanks you so much, Dave!
Posts: 27300
Whan you moved the install did you use the .htaccess file from the old server?
Are you sure the is nothing in the apache error logs? I get a blank screen now.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 21
Hi,
Yes! I had been check many time. I am sure that i use same .htaccess from old server. I didn't find another apache errors logs for gallery than above log.
Thanks you.
Posts: 27300
See if using the .htaccess file that ships with G3 works.
If not I don't have any more ideas. I'm not a server guy.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 21
Hi,
I just come back to this project. Could you tell me what is going with my .htaccess at:
[Tue Jul 03 18:50:48 2012] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
I want to setup my Gallery.KimSon.Vn work back. Thanks you so much for your help.
Kim Son
Posts: 21
Hi Dave,
I found another log on /var/log:
2012-07-29.log.php
PHP script text
<?php defined('SYSPATH') or die('No direct script access.'); ?>