LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > Ruby/Rails > [Solved] Error 503 after pushing code from SVN repository

Reply
 
Thread Tools Display Modes
  #1  
Old 09-05-2012, 12:14 PM
liporacci liporacci is offline
New Member
 
Join Date: Sep 2012
Posts: 2
Default [Solved] Error 503 after pushing code from SVN repository

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
Reply With Quote
  #2  
Old 09-06-2012, 11:06 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,390
Quote:
Originally Posted by liporacci View Post
...

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).
Reply With Quote
  #3  
Old 09-12-2012, 12:36 PM
liporacci liporacci is offline
New Member
 
Join Date: Sep 2012
Posts: 2
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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 09:59 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.