[Solved] Error 503 after pushing code from SVN repository

#1
Hello... I received (I had nothing to do with the development) a Ruby on Rails application which is running on production mode in a LightSpeed web Server v3.3.22.The application is using SVN version control.
I wanted to display a message in the site's homepage, so I changed the '..app/vies/layout/*.html.erb' that corresponded to the homepage.
I deployed the updated/commited version from the SVN repository using Capistrano. The website was running fine, but after I deployed the code, I was getting the 503 Service Unavailable - The server is temporarily busy, try again later!.

I checked the error.log/stderr.log files and there are no ERRORS. Here's what the server log from the lightspeed admin console shows:
Code:
2012-09-05 18:56:42.563	NOTICE	[142.104.83.67:49561-0#_AdminVHost] Content len: 0, Request line:
GET /service/serviceMgr.php?vl=1 HTTP/1.1
2012-09-05 18:57:54.064	NOTICE	[142.104.83.67:49563-0#_AdminVHost] Content len: 0, Request line:
GET /service/serviceMgr.php?vl=1&sel_level=N&searchFrom=0&searchSize=20&begin.x=35&begin.y=11 HTTP/1.1
2012-09-05 18:58:00.940	NOTICE	[142.104.83.67:49564-0#_AdminVHost] Content len: 0, Request line:
GET /service/serviceMgr.php?vl=1&sel_level=N&searchFrom=0&searchSize=20&next.x=18&next.y=15 HTTP/1.1
2012-09-05 18:58:12.140	NOTICE	[142.104.83.67:49565-0#_AdminVHost] Content len: 0, Request line:
GET /service/serviceMgr.php?vl=1&sel_level=N&searchFrom=20&searchSize=20&refresh.x=23&refresh.y=7 HTTP/1.1
2012-09-05 18:58:18.859	NOTICE	[142.104.83.67:49566-0#_AdminVHost] Content len: 0, Request line:
GET /service/serviceMgr.php?vl=1&sel_level=I&searchFrom=20&searchSize=20&refresh.x=42&refresh.y=11 HTTP/1.1
2012-09-05 18:59:07.014	NOTICE	[142.104.83.67:49569-0#_AdminVHost] Content len: 0, Request line:
GET /service/serviceMgr.php?vl=1&sel_level=I&searchFrom=20&searchSize=20&refresh.x=27&refresh.y=8 HTTP/1.1
2012-09-05 18:59:12.089	NOTICE	[142.104.83.67:49569-1#_AdminVHost] Content len: 0, Request line:
GET /service/serviceMgr.php?vl=1&sel_level=I&searchFrom=20&searchSize=20&end.x=33&end.y=15 HTTP/1.1
I'm have little knowledge of web development so I'm lost on what could possibly be happening. Reading on some forums' posts they say it could be an issue with a PHP file, but I'm not sure how to check/fix it.

Does the gems, ruby and rails versions being different in the development machine than in the server has an effect?

Thanks for your replies
 

webizen

Well-Known Member
#2
...

I checked the error.log/stderr.log files and there are no ERRORS. Here's what the server log from the lightspeed admin console shows:
Code:
2012-09-05 18:56:42.563	NOTICE	[142.104.83.67:49561-0#_AdminVHost] Content len: 0, Request line:
GET /service/serviceMgr.php?vl=1 HTTP/1.1
2012-09-05 18:57:54.064	NOTICE	[142.104.83.67:49563-0#_AdminVHost] Content len: 0, Request line:
GET /service/serviceMgr.php?vl=1&sel_level=N&searchFrom=0&searchSize=20&begin.x=35&begin.y=11 HTTP/1.1
2012-09-05 18:58:00.940	NOTICE	[142.104.83.67:49564-0#_AdminVHost] Content len: 0, Request line:
GET /service/serviceMgr.php?vl=1&sel_level=N&searchFrom=0&searchSize=20&next.x=18&next.y=15 HTTP/1.1
2012-09-05 18:58:12.140	NOTICE	[142.104.83.67:49565-0#_AdminVHost] Content len: 0, Request line:
GET /service/serviceMgr.php?vl=1&sel_level=N&searchFrom=20&searchSize=20&refresh.x=23&refresh.y=7 HTTP/1.1
2012-09-05 18:58:18.859	NOTICE	[142.104.83.67:49566-0#_AdminVHost] Content len: 0, Request line:
GET /service/serviceMgr.php?vl=1&sel_level=I&searchFrom=20&searchSize=20&refresh.x=42&refresh.y=11 HTTP/1.1
2012-09-05 18:59:07.014	NOTICE	[142.104.83.67:49569-0#_AdminVHost] Content len: 0, Request line:
GET /service/serviceMgr.php?vl=1&sel_level=I&searchFrom=20&searchSize=20&refresh.x=27&refresh.y=8 HTTP/1.1
2012-09-05 18:59:12.089	NOTICE	[142.104.83.67:49569-1#_AdminVHost] Content len: 0, Request line:
GET /service/serviceMgr.php?vl=1&sel_level=I&searchFrom=20&searchSize=20&end.x=33&end.y=15 HTTP/1.1
I'm have little knowledge of web development so I'm lost on what could possibly be happening. Reading on some forums' posts they say it could be an issue with a PHP file, but I'm not sure how to check/fix it.

Does the gems, ruby and rails versions being different in the development machine than in the server has an effect?

Thanks for your replies
The error message is for admin console vhost. You should check server error.log (i.e., /usr/local/lsws/logs/error.log|stderr.log).
 
#3
Thanks webizen... it turns out that when I check out the SVN repository, a file "database.yml" in the path 'my-rails-app/config/' isn't transferred. Once I copied it from a previous revision it worked just fine.
 
Top