Error after move from Share Host to VPS

kimsonvu
kimsonvu's picture

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
The website encountered an error while retrieving http://gallery.kimson.vn/. 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.

Could someone tell me what do i miss or wrong?

Thanks you so much.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2012-05-18 14:23

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

 
kimsonvu
kimsonvu's picture

Joined: 2007-01-23
Posts: 21
Posted: Sat, 2012-05-19 02:39

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!

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sat, 2012-05-19 03:28

http://gallery.kimson.vn/phpinfo.php does not exist.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sat, 2012-05-19 03:28

FAQ: How do I create a phpinfo page?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
kimsonvu
kimsonvu's picture

Joined: 2007-01-23
Posts: 21
Posted: Mon, 2012-05-21 09:39

Hi,

I had been setup it:

http://gallery.kimson.vn/phpinfo.php

Could you tell me what was i miss?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2012-05-21 18:08

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

 
kimsonvu
kimsonvu's picture

Joined: 2007-01-23
Posts: 21
Posted: Tue, 2012-05-22 01:42

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!

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2012-05-22 04:04

that is not the Apache error log.

Dave
_____________________________________________
[=http://gallery2.ca]Blog & G2[/url] || floridave - Gallery Team

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2012-05-22 04:06

FAQ: What is the webserver error log?

____________________________________________
Blog & G2 || floridave - Gallery Team

 
kimsonvu
kimsonvu's picture

Joined: 2007-01-23
Posts: 21
Posted: Sat, 2012-06-23 05:09

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.

 
kimsonvu
kimsonvu's picture

Joined: 2007-01-23
Posts: 21
Posted: Mon, 2012-06-25 03:36

Anyone could help me on this matter? Thanks you!

 
kimsonvu
kimsonvu's picture

Joined: 2007-01-23
Posts: 21
Posted: Mon, 2012-06-25 05:54

Anyone know where could i get Apache errors log with SSH Command? Thanks you so much.!

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2012-06-25 13:21

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

 
kimsonvu
kimsonvu's picture

Joined: 2007-01-23
Posts: 21
Posted: Tue, 2012-06-26 02:53

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

 
kimsonvu
kimsonvu's picture

Joined: 2007-01-23
Posts: 21
Posted: Tue, 2012-06-26 03:09

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

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2012-06-26 03:50

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

 
kimsonvu
kimsonvu's picture

Joined: 2007-01-23
Posts: 21
Posted: Tue, 2012-06-26 06:33

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

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2012-06-26 13:24

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

 
kimsonvu
kimsonvu's picture

Joined: 2007-01-23
Posts: 21
Posted: Fri, 2012-06-29 09:52

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!

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sat, 2012-06-30 00:33

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

 
kimsonvu
kimsonvu's picture

Joined: 2007-01-23
Posts: 21
Posted: Sat, 2012-06-30 03:05

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.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sat, 2012-06-30 21:02

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

 
kimsonvu
kimsonvu's picture

Joined: 2007-01-23
Posts: 21
Posted: Sun, 2012-07-29 16:23

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

 
kimsonvu
kimsonvu's picture

Joined: 2007-01-23
Posts: 21
Posted: Sun, 2012-07-29 16:48

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.'); ?>