List Info

Thread: Can't Get InstantRails Default Applications to Work




Can't Get InstantRails Default Applications to Work
user name
2006-08-04 05:05:30
I have a Windows XP Professional machine with Service
Pack 2 on it.  I've downloaded and installed the
latest InstantRails distro but I can't get either the
cookbook or typo applications to work.  When I try to
access them, they just time out.  Here's my entire
installation and troubleshooting process.  Does
anybody have any idea on what is wrong?

First I extracted InstantRails 1.3a to
C:\InstantRails.

Before I started InstantRails, I went to the Apache
directory and started Apache.  I got this message:

	Syntax error on line 74 of
c:/instantrails/apache/conf/httpd.conf:
	ServerRoot must be a valid directory

Then I started InstantRails and got this message in a
popup window:

	Apache port (80) is used by "" (inetinfo.exe)!

Next, I went to Configure > Apache and changed the
Port and Listen to 3000:

	Port 3000
	Listen 3000

I also went into the Windows Host file and added these
lines:

	127.0.0.1	localhost
	127.0.0.1	www.mycookbook.com
	127.0.0.1	typo

Now when I restarted IR and opened the Rails
Application window, I checked the checkbox next to
cookbook and clicked the "Start SCGI Server"
button. 
When I entered http://www.mycookbook.com, I got the
Internet site, not the local Rails application.

Next I entered http://127.0.0.1:3000/ and
the browser
displayed the message "coming soon!" which is
coming
from C:\InstantRails\www\index.html.

Now I opened up the Windows Hosts file again and
changed the ports for the RoR applications:

	127.0.0.1		localhost
	127.0.0.1:3000	www.mycookbook.com
	127.0.0.1:3000	typo

Then I restarted IR, went to Manage Rails
Applications, checked the cookbook application
checkbox, and clicked the "Start SCGI Server"
button.

This time when I started the cookbook application with
the URL http://www.mycookbook
.com:3000/, my Firefox
browser said "The connection has timed out."  I
also
tried it in IE but got the message, "The page cannot
be displayed" and "Cannot find server or DNS
Error".

Next I went to the Apache directory and started Apache
by hand.  There were no errors reported.

Next I stopped my Windows firewall and tried
http://www.mycookbook
.com:3000/ again in both Firefox
and IE and got the same messages as before.  There's
nothing in the Apache Error and Access logs and the
InstantRails log looks normal:

	03/08 21:00:22 Instant Rails: Servers starting
	03/08 21:00:23 Apache : Apache port (80) is used by
"" (inetinfo.exe) !
	03/08 21:00:23 MySql  : Configuration file changed
	03/08 21:00:23 Apache : Configuration file changed
	03/08 21:06:08 Apache : Configuration file changed
	03/08 21:06:20 Instant Rails: Stop the Servers
	03/08 21:06:31 Instant Rails: Servers starting
	03/08 21:16:54 Instant Rails: Stop the Servers
	03/08 21:17:17 Instant Rails: Servers starting
	03/08 21:19:44 Instant Rails: Stop the Servers
	03/08 21:19:49 Instant Rails: Servers starting
	03/08 21:28:27 Instant Rails: Stop the Servers
	03/08 21:31:08 Instant Rails: Servers starting

When I do a "netstat -a" this is what I see:


C:\InstantRails>netstat -a

	Active Connections

	  Proto  Local Address          Fore
	  TCP    LLC30-E00008034:smtp   LLC3
	  TCP    LLC30-E00008034:http   LLC3
	  TCP    LLC30-E00008034:epmap  LLC3
	  TCP    LLC30-E00008034:https  LLC3
	  TCP    LLC30-E00008034:microsoft-d
	TENING
	  TCP    LLC30-E00008034:1035   LLC3
	  TCP    LLC30-E00008034:1351   LLC3
	  TCP    LLC30-E00008034:1039   LLC3
	  TCP    LLC30-E00008034:1057   LLC3
	  TCP    LLC30-E00008034:1118   loca
	  TCP    LLC30-E00008034:1119   loca
	  TCP    LLC30-E00008034:1352   LLC3
	  TCP    LLC30-E00008034:ms-sql-s  L
	NG
	  TCP    LLC30-E00008034:62514  LLC3
	  TCP    LLC30-E00008034:netbios-ssn
	ENING
	  TCP    LLC30-E00008034:ms-sql-s  L
	NG	
	  TCP    LLC30-E00008034:52028  LLC3
	  UDP    LLC30-E00008034:407    *
	  UDP    LLC30-E00008034:microsoft-d
	  UDP    LLC30-E00008034:isakmp  *
	  UDP    LLC30-E00008034:1025   *
	  UDP    LLC30-E00008034:1026   *
	  UDP    LLC30-E00008034:1033   *
	  UDP    LLC30-E00008034:1079   *
	  UDP    LLC30-E00008034:2967   *
	  UDP    LLC30-E00008034:3456   *
	  UDP    LLC30-E00008034:4500   *
	  UDP    LLC30-E00008034:52311  *
	  UDP    LLC30-E00008034:ntp    *
	  UDP    LLC30-E00008034:1060   *
	  UDP    LLC30-E00008034:1159   *
	  UDP    LLC30-E00008034:1191   *
	  UDP    LLC30-E00008034:1900   *
	  UDP    LLC30-E00008034:62514  *
	  UDP    LLC30-E00008034:ntp    *
	  UDP    LLC30-E00008034:netbios-ns
	  UDP    LLC30-E00008034:netbios-dgm
	  UDP    LLC30-E00008034:1900   *
	  UDP    LLC30-E00008034:52029  *

I tried changing this file
C:\InstantRails\rails_apps\cookbook\config\scgi.yaml
from

	:host: 127.0.0.1

to

	:host: 127.0.0.1:3000

Even this didn't work!!!  HELP!!!  What's wrong????






__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection
around 
http://mail.yahoo.com 
_______________________________________________
Instantrails-users mailing list
Instantrails-usersrubyforge.org
http://rubyforge.org/mailman/listinfo/instantrails-users

Can't Get InstantRails Default Applications to Work
user name
2006-08-04 13:23:15
Is your browser configured to use a proxy server? If so, then the HOSTS definition of www.mycookbook.com will be igored and a real DNS lookup through the proxy server will result in the real internet site instead of your local machine.

This happens to me when I'm on my work machine. If so, just temporarily turn off the proxy server setting and it should start working as expected.

Curt

On 8/4/06, a friend <yahoo.com">desperado9yahoo.com> wrote:

I have a Windows XP Professional machine with Service
Pack 2 on it. &nbsp;I've downloaded and installed the
latest InstantRails distro but I can't get either the
cookbook or typo applications to work. ; When I try to
access them, they just time out.  Here's my entire
installation and troubleshooting process.&nbsp; Does
anybody have any idea on what is wrong?

First I extracted InstantRails 1.3a to
C:\InstantRails.

Before I started InstantRails, I went to the Apache
directory and started Apache.&nbsp; I got this message:

  ; &nbsp; &nbsp; &nbsp;Syntax error on line 74 of
c:/instantrails/apache/conf/httpd.conf:
  ; &nbsp; &nbsp; &nbsp;ServerRoot must be a valid directory

Then I started InstantRails and got this message in a
popup window:

&nbsp;   ; &nbsp; &nbsp;Apache port (80) is used by "&quot; (inetinfo.exe)!

Next, I went to Configure > Apache and changed the
Port and Listen to 3000:

&nbsp; &nbsp;   ; &nbsp;Port 3000
 ; &nbsp; &nbsp; &nbsp; Listen 3000

I also went into the Windows Host file and added these
lines:

 &nbsp;   ; &nbsp; 127.0.0.1  ; &nbsp; &nbsp; localhost
  ; &nbsp; &nbsp; &nbsp; 127.0.0.1 &nbsp; &nbsp; &nbsp; www.mycookbook.com
&nbsp;   ; &nbsp; &nbsp;127.0.0.1  ; &nbsp; &nbsp; typo

Now when I restarted IR and opened the Rails
Application window, I checked the checkbox next to
cookbook and clicked the "Start SCGI Server&quot; button.
When I entered http://www.mycookbook.com, I got the
Internet site, not the local Rails application.

Next I entered http://127.0.0.1:3000/ and the browser
displayed the message "coming soon!"; which is coming
from C:\InstantRails\www\index.html.

Now I opened up the Windows Hosts file again and
changed the ports for the RoR applications:

   ; &nbsp; &nbsp; 127.0.0.1  ; &nbsp; &nbsp; &nbsp; &nbsp;   ;  localhost
  ; &nbsp; &nbsp; &nbsp;127.0.0.1:3000   www.mycookbook.com
  ; &nbsp; &nbsp; &nbsp;127.0.0.1:3000  typo

Then I restarted IR, went to Manage Rails
Applications, checked the cookbook application
checkbox, and clicked the "Start SCGI Server&quot; button.

This time when I started the cookbook application with
the URL http://www.mycookbook.com:3000/, my Firefox
browser said "The connection has timed out."  ;I also
tried it in IE but got the message, "The page cannot
be displayed&quot; and "Cannot find server or DNS Error";.

Next I went to the Apache directory and started Apache
by hand. ; There were no errors reported.

Next I stopped my Windows firewall and tried
http://www.mycookbook.com:3000/ again in both Firefox
and IE and got the same messages as before.&nbsp; There's
nothing in the Apache Error and Access logs and the
InstantRails log looks normal:

&nbsp;   ; &nbsp; &nbsp;03/08 21:00:22 Instant Rails: Servers starting
&nbsp;   ; &nbsp; &nbsp;03/08 21:00:23 Apache : Apache port (80) is used by
"&quot; (inetinfo.exe) !
 &nbsp; &nbsp;   ; 03/08 21:00:23 MySql ; : Configuration file changed
&nbsp;   ; &nbsp; &nbsp;03/08 21:00:23 Apache : Configuration file changed
&nbsp; &nbsp;   ; &nbsp;03/08 21:06:08 Apache : Configuration file changed
&nbsp; &nbsp;   ; &nbsp;03/08 21:06:20 Instant Rails: Stop the Servers
&nbsp; &nbsp;   ; &nbsp;03/08 21:06:31 Instant Rails: Servers starting
  ; &nbsp; &nbsp; &nbsp;03/08 21:16:54 Instant Rails: Stop the Servers
&nbsp; &nbsp;   ; &nbsp;03/08 21:17:17 Instant Rails: Servers starting
&nbsp;   ; &nbsp; &nbsp;03/08 21:19:44 Instant Rails: Stop the Servers
&nbsp; &nbsp;   ; &nbsp;03/08 21:19:49 Instant Rails: Servers starting
  ; &nbsp; &nbsp; &nbsp;03/08 21:28:27 Instant Rails: Stop the Servers
&nbsp; &nbsp;   ; &nbsp;03/08 21:31:08 Instant Rails: Servers starting

When I do a "netstat -a" this is what I see:


C:\InstantRails>netstat -a

 ; &nbsp; &nbsp; &nbsp; Active Connections

 &nbsp; &nbsp;   ; &nbsp; Proto &nbsp;Local Address&nbsp; &nbsp; &nbsp;   ; &nbsp;Fore
&nbsp; &nbsp; &nbsp; &nbsp;   ;TCP &nbsp;  LLC30-E00008034:smtp &nbsp; LLC3
 ; &nbsp; &nbsp; &nbsp; &nbsp; TCP &nbsp; &nbsp;LLC30-E00008034:http &nbsp; LLC3
 ; &nbsp; &nbsp; &nbsp; &nbsp; TCP &nbsp; &nbsp;LLC30-E00008034:epmap &nbsp;LLC3
  ; &nbsp; &nbsp; &nbsp; &nbsp;TCP&nbsp; &nbsp; LLC30-E00008034:https&nbsp; LLC3
 &nbsp;   ; &nbsp; &nbsp; TCP &nbsp; &nbsp;LLC30-E00008034:microsoft-d
&nbsp; &nbsp;   ; &nbsp;TENING
&nbsp; &nbsp;   ; &nbsp; &nbsp;TCP ; &nbsp; LLC30-E00008034:1035 ;  LLC3
 ; &nbsp; &nbsp; &nbsp; &nbsp; TCP &nbsp; &nbsp;LLC30-E00008034:1351 &nbsp; LLC3
 ; &nbsp; &nbsp; &nbsp; &nbsp; TCP &nbsp; &nbsp;LLC30-E00008034:1039 &nbsp; LLC3
&nbsp; &nbsp; &nbsp; &nbsp;   ;TCP &nbsp;  LLC30-E00008034:1057 &nbsp; LLC3
 ; &nbsp; &nbsp; &nbsp; &nbsp; TCP &nbsp; &nbsp;LLC30-E00008034:1118 &nbsp; loca
 ; &nbsp; &nbsp; &nbsp; &nbsp; TCP &nbsp; &nbsp;LLC30-E00008034:1119 &nbsp; loca
 ; &nbsp; &nbsp; &nbsp; &nbsp; TCP &nbsp; &nbsp;LLC30-E00008034:1352 &nbsp; LLC3
 ; &nbsp; &nbsp; &nbsp; &nbsp; TCP &nbsp; &nbsp;LLC30-E00008034:ms-sql-s&nbsp; L
  ; &nbsp; &nbsp; &nbsp;NG
&nbsp; &nbsp; &nbsp; &nbsp;   ;TCP &nbsp;  LLC30-E00008034:62514  LLC3
  ; &nbsp; &nbsp; &nbsp; &nbsp;TCP&nbsp; &nbsp; LLC30-E00008034:netbios-ssn
   ; &nbsp; &nbsp; ENING
 &nbsp;   ; &nbsp; &nbsp; TCP &nbsp; &nbsp;LLC30-E00008034:ms-sql-s  L
&nbsp; &nbsp; &nbsp;   ;NG
 &nbsp;   ; &nbsp; &nbsp; TCP &nbsp; &nbsp;LLC30-E00008034:52028 &nbsp;LLC3
&nbsp; &nbsp;   ; &nbsp; &nbsp;UDP ; &nbsp; LLC30-E00008034:407   ; *
 &nbsp; &nbsp; &nbsp;   ; UDP&nbsp;   ;LLC30-E00008034:microsoft-d
&nbsp; &nbsp; &nbsp; &nbsp;   ;UDP &nbsp;  LLC30-E00008034:isakmp ; *
 &nbsp; &nbsp; &nbsp;   ; UDP&nbsp;   ;LLC30-E00008034:1025&nbsp;  *
 &nbsp; &nbsp; &nbsp;   ; UDP&nbsp;   ;LLC30-E00008034:1026&nbsp;  *
 &nbsp; &nbsp;   ; &nbsp; UDP  ; &nbsp;LLC30-E00008034:1033  ; *
 &nbsp; &nbsp; &nbsp;   ; UDP&nbsp;   ;LLC30-E00008034:1079&nbsp;  *
 &nbsp; &nbsp; &nbsp;   ; UDP&nbsp;   ;LLC30-E00008034:2967&nbsp;  *
 &nbsp; &nbsp; &nbsp;   ; UDP&nbsp;   ;LLC30-E00008034:3456&nbsp;  *
 &nbsp; &nbsp; &nbsp;   ; UDP&nbsp;   ;LLC30-E00008034:4500&nbsp;  *
 &nbsp; &nbsp;   ; &nbsp; UDP  ; &nbsp;LLC30-E00008034:52311 &nbsp;*
 &nbsp; &nbsp; &nbsp;   ; UDP&nbsp;   ;LLC30-E00008034:ntp&nbsp; &nbsp; *
 &nbsp; &nbsp; &nbsp;   ; UDP&nbsp;   ;LLC30-E00008034:1060&nbsp;  *
 &nbsp; &nbsp; &nbsp;   ; UDP&nbsp;   ;LLC30-E00008034:1159&nbsp;  *
 &nbsp; &nbsp; &nbsp;   ; UDP&nbsp;   ;LLC30-E00008034:1191&nbsp;  *
 &nbsp; &nbsp;   ; &nbsp; UDP  ; &nbsp;LLC30-E00008034:1900  ; *
 &nbsp; &nbsp; &nbsp;   ; UDP&nbsp;   ;LLC30-E00008034:62514  ;*
 &nbsp; &nbsp; &nbsp;   ; UDP&nbsp;   ;LLC30-E00008034:ntp&nbsp; &nbsp; *
 &nbsp; &nbsp; &nbsp;   ; UDP&nbsp;   ;LLC30-E00008034:netbios-ns
 ; &nbsp; &nbsp; &nbsp; &nbsp; UDP &nbsp; &nbsp;LLC30-E00008034:netbios-dgm
 &nbsp; &nbsp; &nbsp; &nbsp;  UDP&nbsp; &nbsp; LLC30-E00008034:1900&nbsp;  *
 &nbsp; &nbsp; &nbsp;   ; UDP&nbsp;   ;LLC30-E00008034:52029  ;*

I tried changing this file
C:\InstantRails\rails_apps\cookbook\config\scgi.yaml
from

&nbsp;   ; &nbsp; &nbsp;:host: 127.0.0.1

to

&nbsp; &nbsp; &nbsp; &nbsp; :host: 127.0.0.1:3000

Even this didn't work!!!&nbsp; HELP!!!  What's wrong????






__________________________________________________
Do You Yahoo!?
Tired of spam? ; Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Instantrails-users mailing list
rubyforge.org">Instantrails-usersrubyforge.org
http://rubyforge.org/mailman/listinfo/instantrails-users

Can I change "rails_apps" location?
user name
2006-08-05 00:00:45
Hi,

Question 1 - Anyone know how to change the
"rails_apps" location?  i.e.
so I can have it in a user data area (which gets backed up)
rather than
under the instantrails installation area?  

i.e. such that when one (a) goes "open ruby console
window" it opens
here and (b) when one goes "manage rails
applications" it is the new
directory that is scanned for rails apps.

Question 2 - How to add additional items to the path of a
console window
that is opened via instantrails via the "open ruby
console window"

thanks in advance
_______________________________________________
Instantrails-users mailing list
Instantrails-usersrubyforge.org
http://rubyforge.org/mailman/listinfo/instantrails-users

webrick & jetty
user name
2006-08-05 00:04:11
Hi all,

Are most instantrails developers using webbrick for DEV
testing on the
local PC?  Is anyone using Jetty? (I read this was better)

Any advice re how to swap out the InstantRails launching of
Webbrick and
replace this with Jetty?

Cheers
_______________________________________________
Instantrails-users mailing list
Instantrails-usersrubyforge.org
http://rubyforge.org/mailman/listinfo/instantrails-users

Can't Get InstantRails Default Applications to Work
user name
2006-08-05 11:44:29
It may be the problem I've experienced, somewhere in the
winsock layer.
Try entering the following whilst logged into a windows
accoutn with
ADMIN rights:

   netsh winsock reset

Run up webbrick after this and try again.  For me this would
fix it.  
Don't ask me what the problem really is or why the above
works  

Cheers
Greg


Quoting Curt Hibbs <curt.hibbsgmail.com>:

> Is your browser configured to use a proxy server? If
so, then the
> HOSTS
> definition of www.mycookbook.com will be igored and a
real DNS
> lookup
> through the proxy server will result in the real
internet site
> instead of
> your local machine.
> 
> This happens to me when I'm on my work machine. If so,
just
> temporarily turn
> off the proxy server setting and it should start
working as
> expected.
> 
> Curt
> 
> On 8/4/06, a friend <desperado9yahoo.com> wrote:
> >
> >
> > I have a Windows XP Professional machine with
Service
> > Pack 2 on it.  I've downloaded and installed the
> > latest InstantRails distro but I can't get either
the
> > cookbook or typo applications to work.  When I try
to
> > access them, they just time out.  Here's my
entire
> > installation and troubleshooting process.  Does
> > anybody have any idea on what is wrong?
> >
> > First I extracted InstantRails 1.3a to
> > C:\InstantRails.
> >
> > Before I started InstantRails, I went to the
Apache
> > directory and started Apache.  I got this message:
> >
> >         Syntax error on line 74 of
> > c:/instantrails/apache/conf/httpd.conf:
> >         ServerRoot must be a valid directory
> >
> > Then I started InstantRails and got this message
in a
> > popup window:
> >
> >         Apache port (80) is used by ""
(inetinfo.exe)!
> >
> > Next, I went to Configure > Apache and changed
the
> > Port and Listen to 3000:
> >
> >         Port 3000
> >         Listen 3000
> >
> > I also went into the Windows Host file and added
these
> > lines:
> >
> >         127.0.0.1       localhost
> >         127.0.0.1       www.mycookbook.com
> >         127.0.0.1       typo
> >
> > Now when I restarted IR and opened the Rails
> > Application window, I checked the checkbox next to
> > cookbook and clicked the "Start SCGI
Server" button.
> > When I entered http://www.mycookbook.com, I got the
> > Internet site, not the local Rails application.
> >
> > Next I entered http://127.0.0.1:3000/ and
the browser
> > displayed the message "coming soon!"
which is coming
> > from C:\InstantRails\www\index.html.
> >
> > Now I opened up the Windows Hosts file again and
> > changed the ports for the RoR applications:
> >
> >         127.0.0.1               localhost
> >         127.0.0.1:3000  www.mycookbook.com
> >         127.0.0.1:3000  typo
> >
> > Then I restarted IR, went to Manage Rails
> > Applications, checked the cookbook application
> > checkbox, and clicked the "Start SCGI
Server" button.
> >
> > This time when I started the cookbook application
with
> > the URL http://www.mycookbook
.com:3000/, my Firefox
> > browser said "The connection has timed
out."  I also
> > tried it in IE but got the message, "The
page cannot
> > be displayed" and "Cannot find server
or DNS Error".
> >
> > Next I went to the Apache directory and started
Apache
> > by hand.  There were no errors reported.
> >
> > Next I stopped my Windows firewall and tried
> > http://www.mycookbook
.com:3000/ again in both Firefox
> > and IE and got the same messages as before. 
There's
> > nothing in the Apache Error and Access logs and
the
> > InstantRails log looks normal:
> >
> >         03/08 21:00:22 Instant Rails: Servers
starting
> >         03/08 21:00:23 Apache : Apache port (80)
is used by
> > "" (inetinfo.exe) !
> >         03/08 21:00:23 MySql  : Configuration file
changed
> >         03/08 21:00:23 Apache : Configuration file
changed
> >         03/08 21:06:08 Apache : Configuration file
changed
> >         03/08 21:06:20 Instant Rails: Stop the
Servers
> >         03/08 21:06:31 Instant Rails: Servers
starting
> >         03/08 21:16:54 Instant Rails: Stop the
Servers
> >         03/08 21:17:17 Instant Rails: Servers
starting
> >         03/08 21:19:44 Instant Rails: Stop the
Servers
> >         03/08 21:19:49 Instant Rails: Servers
starting
> >         03/08 21:28:27 Instant Rails: Stop the
Servers
> >         03/08 21:31:08 Instant Rails: Servers
starting
> >
> > When I do a "netstat -a" this is what
I see:
> >
> >
> > C:\InstantRails>netstat -a
> >
> >         Active Connections
> >
> >           Proto  Local Address          Fore
> >           TCP    LLC30-E00008034:smtp   LLC3
> >           TCP    LLC30-E00008034:http   LLC3
> >           TCP    LLC30-E00008034:epmap  LLC3
> >           TCP    LLC30-E00008034:https  LLC3
> >           TCP    LLC30-E00008034:microsoft-d
> >         TENING
> >           TCP    LLC30-E00008034:1035   LLC3
> >           TCP    LLC30-E00008034:1351   LLC3
> >           TCP    LLC30-E00008034:1039   LLC3
> >           TCP    LLC30-E00008034:1057   LLC3
> >           TCP    LLC30-E00008034:1118   loca
> >           TCP    LLC30-E00008034:1119   loca
> >           TCP    LLC30-E00008034:1352   LLC3
> >           TCP    LLC30-E00008034:ms-sql-s  L
> >         NG
> >           TCP    LLC30-E00008034:62514  LLC3
> >           TCP    LLC30-E00008034:netbios-ssn
> >         ENING
> >           TCP    LLC30-E00008034:ms-sql-s  L
> >         NG
> >           TCP    LLC30-E00008034:52028  LLC3
> >           UDP    LLC30-E00008034:407    *
> >           UDP    LLC30-E00008034:microsoft-d
> >           UDP    LLC30-E00008034:isakmp  *
> >           UDP    LLC30-E00008034:1025   *
> >           UDP    LLC30-E00008034:1026   *
> >           UDP    LLC30-E00008034:1033   *
> >           UDP    LLC30-E00008034:1079   *
> >           UDP    LLC30-E00008034:2967   *
> >           UDP    LLC30-E00008034:3456   *
> >           UDP    LLC30-E00008034:4500   *
> >           UDP    LLC30-E00008034:52311  *
> >           UDP    LLC30-E00008034:ntp    *
> >           UDP    LLC30-E00008034:1060   *
> >           UDP    LLC30-E00008034:1159   *
> >           UDP    LLC30-E00008034:1191   *
> >           UDP    LLC30-E00008034:1900   *
> >           UDP    LLC30-E00008034:62514  *
> >           UDP    LLC30-E00008034:ntp    *
> >           UDP    LLC30-E00008034:netbios-ns
> >           UDP    LLC30-E00008034:netbios-dgm
> >           UDP    LLC30-E00008034:1900   *
> >           UDP    LLC30-E00008034:52029  *
> >
> > I tried changing this file
> >
C:\InstantRails\rails_apps\cookbook\config\scgi.yaml
> > from
> >
> >         :host: 127.0.0.1
> >
> > to
> >
> >         :host: 127.0.0.1:3000
> >
> > Even this didn't work!!!  HELP!!!  What's
wrong????
> >
> >
> >
> >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
protection around
> > http://mail.yahoo.com
> > _______________________________________________
> > Instantrails-users mailing list
> > Instantrails-usersrubyforge.org
> > http://rubyforge.org/mailman/listinfo/instantrails-users

> >
> 


_______________________________________________
Instantrails-users mailing list
Instantrails-usersrubyforge.org
http://rubyforge.org/mailman/listinfo/instantrails-users

webrick & jetty
user name
2006-08-05 22:25:40
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

gregsfmtpg.com.au wrote:
> Hi all,
> 
> Are most instantrails developers using webbrick for DEV
testing on the
> local PC?  Is anyone using Jetty? (I read this was
better)

I use mongrel.


- --
David Morton
Maia Mailguard                        - http://www.maiamailguard
.com
Morton Software Design and Consulting - http://www.dgrmm.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


iD8DBQFE1RrkUy30ODPkzl0RAsyCAJ9mbXjqbrA9Z3P7rTDCeBpKH3+v5wCg
kJQJ
iNttQDsrf6xj0T3jFhiUP30=
=TQgK
-----END PGP SIGNATURE-----
_______________________________________________
Instantrails-users mailing list
Instantrails-usersrubyforge.org
http://rubyforge.org/mailman/listinfo/instantrails-users

webrick & jetty
user name
2006-08-06 01:22:53
Sorry, I have no experienc with Jetty.&nbsp; But, mongrel works much better than Webrick.&nbsp; I believe it is now included in the latest IR release.&nbsp; If not it can be installed by:

gem install mongrel --include-dependencies

Then to run:

my project folder> mongrel_rails start --port=5800

"--port=xxxx&quot; is options. it defaults to 3000.
-cheers
-Larry

On 8/5/06, David Morton <dgrmm.net">mortondadgrmm.net> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

tpg.com.au">gregsfmtpg.com.au wrote:
>; Hi all,
>
> Are most instantrails developers using webbrick for DEV testing on the
> local PC? &nbsp;Is anyone using Jetty? (I read this was better)

I use mongrel.


- --
David Morton
Maia Mailguard&nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp; - http://www.maiamailguard.com
Morton Software Design and Consulting - http://www.dgrmm.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE1RrkUy30ODPkzl0RAsyCAJ9mbXjqbrA9Z3P7rTDCeBpKH3+v5wCgkJQJ
iNttQDsrf6xj0T3jFhiUP30=
=TQgK
-----END PGP SIGNATURE-----
_______________________________________________
Instantrails-users mailing list
rubyforge.org">Instantrails-usersrubyforge.org
http://rubyforge.org/mailman/listinfo/instantrails-users



--
Best Regards,
-Larry
";Work, work, work...there is no satisfactory alternative."
&nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp;--- E.Taft Benson
Can't Get InstantRails Default Applications to Work
user name
2006-08-06 21:19:46
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

a friend wrote:
> installation and troubleshooting process.  Does
> anybody have any idea on what is wrong?

I see a few things so far...

> 
> First I extracted InstantRails 1.3a to
> C:\InstantRails.
> 
> Before I started InstantRails, I went to the Apache
> directory and started Apache.  I got this message:

Um, why?  that's not the documented way to do it.  Running
the IR manager first
rewrites the document root, which is why you got the next
error...

> 
> 	Syntax error on line 74 of
> c:/instantrails/apache/conf/httpd.conf:
> 	ServerRoot must be a valid directory
> 
> Then I started InstantRails and got this message in a
> popup window:
> 
> 	Apache port (80) is used by ""
(inetinfo.exe)!

Ahh, you are running IIS, which interferes with apache. You
can only have one
web server on port 80.  So it looks like you changed the
port... good ....

> 
> Next, I went to Configure > Apache and changed the
> Port and Listen to 3000:
> 
> 	Port 3000
> 	Listen 3000

I think that looks right, but I haven't tested it. At this
point, apache needs
to be restarted...

> 
> I also went into the Windows Host file and added these
> lines:
> 
> 	127.0.0.1	localhost
> 	127.0.0.1	www.mycookbook.com
> 	127.0.0.1	typo
> 
> Now when I restarted IR and opened the Rails
> Application window, I checked the checkbox next to
> cookbook and clicked the "Start SCGI
Server" button. 
> When I entered http://www.mycookbook.com, I got the
> Internet site, not the local Rails application.

Sounds like some sort of proxy is interfering with dns
lookups, and ignoring the
hosts file...


> Next I entered http://127.0.0.1:3000/ and
the browser
> displayed the message "coming soon!" which
is coming
> from C:\InstantRails\www\index.html.
> 
> Now I opened up the Windows Hosts file again and
> changed the ports for the RoR applications:
> 
> 	127.0.0.1		localhost
> 	127.0.0.1:3000	www.mycookbook.com
> 	127.0.0.1:3000	typo

That's not a valid format for a hosts file.  The hosts file
has no bearing on
ports or services, only name to IP mappings.  I don't know
what happens when you
 put an invalid format like this in.

> Then I restarted IR, went to Manage Rails
> Applications, checked the cookbook application
> checkbox, and clicked the "Start SCGI
Server" button.

Did a command window come up and stay up?

> This time when I started the cookbook application with
> the URL http://www.mycookbook
.com:3000/, my Firefox
> browser said "The connection has timed
out."  I also
> tried it in IE but got the message, "The page
cannot
> be displayed" and "Cannot find server or
DNS Error".

We've got compounding errors at this point, so it's hard
to say what's going on.

> C:\InstantRails>netstat -a
> 
> 	Active Connections
> 
> 	  Proto  Local Address          Fore
> 	  TCP    LLC30-E00008034:smtp   LLC3
> 	  TCP    LLC30-E00008034:http   LLC3
> 	  TCP    LLC30-E00008034:epmap  LLC3
> 	  TCP    LLC30-E00008034:https  LLC3
> 	  TCP    LLC30-E00008034:microsoft-d
> 	TENING
> 	  TCP    LLC30-E00008034:1035   LLC3
> 	  TCP    LLC30-E00008034:1351   LLC3
> 	  TCP    LLC30-E00008034:1039   LLC3
> 	  TCP    LLC30-E00008034:1057   LLC3
> 	  TCP    LLC30-E00008034:1118   loca
> 	  TCP    LLC30-E00008034:1119   loca
> 	  TCP    LLC30-E00008034:1352   LLC3
> 	  TCP    LLC30-E00008034:ms-sql-s  L
> 	NG
> 	  TCP    LLC30-E00008034:62514  LLC3
> 	  TCP    LLC30-E00008034:netbios-ssn
> 	ENING
> 	  TCP    LLC30-E00008034:ms-sql-s  L
> 	NG	
> 	  TCP    LLC30-E00008034:52028  LLC3
> 	  UDP    LLC30-E00008034:407    *
> 	  UDP    LLC30-E00008034:microsoft-d
> 	  UDP    LLC30-E00008034:isakmp  *
> 	  UDP    LLC30-E00008034:1025   *
> 	  UDP    LLC30-E00008034:1026   *
> 	  UDP    LLC30-E00008034:1033   *
> 	  UDP    LLC30-E00008034:1079   *
> 	  UDP    LLC30-E00008034:2967   *
> 	  UDP    LLC30-E00008034:3456   *
> 	  UDP    LLC30-E00008034:4500   *
> 	  UDP    LLC30-E00008034:52311  *
> 	  UDP    LLC30-E00008034:ntp    *
> 	  UDP    LLC30-E00008034:1060   *
> 	  UDP    LLC30-E00008034:1159   *
> 	  UDP    LLC30-E00008034:1191   *
> 	  UDP    LLC30-E00008034:1900   *
> 	  UDP    LLC30-E00008034:62514  *
> 	  UDP    LLC30-E00008034:ntp    *
> 	  UDP    LLC30-E00008034:netbios-ns
> 	  UDP    LLC30-E00008034:netbios-dgm
> 	  UDP    LLC30-E00008034:1900   *
> 	  UDP    LLC30-E00008034:52029  *

I don't see 3000 on there, so I suspect there's something
wrong with apache.  Is
there anything in the apache logs in
InstantRails/apache/logs/  ?


> 
> I tried changing this file
>
C:\InstantRails\rails_apps\cookbook\config\scgi.yaml
> from
> 
> 	:host: 127.0.0.1
> 
> to
> 
> 	:host: 127.0.0.1:3000

That is invalid, it is expecting a hostname only.

Please revert your hosts file back to the original, delete
the IR tree and start
over.  This time, disable your IIS Server (Or if you can't,
then change the port
like above in the apache.conf file) and follow the online
instructions.






- --
David Morton
Maia Mailguard                        - http://www.maiamailguard
.com
Morton Software Design and Consulting - http://www.dgrmm.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


iD8DBQFE1lzyUy30ODPkzl0RAuHHAKDOpeSpOwmT9aIBR+aBZWY7YNq8WwCf
acWA
+s8Eq4O8cC48oswficl2x3M=
=hkL7
-----END PGP SIGNATURE-----
_______________________________________________
Instantrails-users mailing list
Instantrails-usersrubyforge.org
http://rubyforge.org/mailman/listinfo/instantrails-users

[1-8]

about | contact  Other archives ( Real Estate discussion Medical topics )