RE: Orion on Linux, Follow-up Question

2001-10-15 Thread Mike Cannon-Brookes

See http://kb.atlassian.com/content/orionsupport/articles/unixprocess.html

That describes how to run on Linux as a non-root user, how to set up your
groups for development, and how to setup IPChains so that to the external
world you're still using port 80!

Hope it helps - please add an annotation if you see any problems or
shortcomings with the doc.

Cheers,
Mike


Mike Cannon-Brookes :: [EMAIL PROTECTED]

Atlassian :: http://www.atlassian.com
 Supporting YOUR J2EE World



> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Wendell
> Nichols
> Sent: Tuesday, October 16, 2001 12:21 AM
> To: Orion-Interest
> Subject: Re: Orion on Linux, Follow-up Question
>
>
> I think this is because your user account is unable to run the server on
> reserved port 80.  Modify Orion's  default-website.xml file to use a
> port above the reserved range, (1000 or something like that).  I use 8000.
> wcn
>
> Jimbo Jones wrote:
>
> > My previous problem, starting Orion on linux, was due to the fact that
> > I was calling upon the wrong JVM (even though I thought I had my path
> > set correctly).  That is resolved.  Now I have another problem that
> > seems more linux-related than Orion-related, but perhaps some of you
> > know the solution.
> >
> > I have Orion running on linux, and from that machine I can access
> > Orion-served pages.  But I cannot do so from outside that machine.
> > What's more, I am unable to run it on a user account.  For now, I'm
> > running under root.  But like I said, I cannot connect to it from
> > another machine.  Upon doing some investigating, I have discoverd that
> > when I try to connect from another machine, Orion is sending the HTTP
> > headers only and then freezes without sending anything else.  The page
> > never loads, it just hangs indefinitely.  I strongly suspect this has
> > something to do with linux and not Orion.  I cannot run Orion on a
> > user account because it tells me I don't have permission to run an
> > HTTP server.  I don't get that message as root, but I wonder if there
> > is some linux mechanism at work blocking my attempts to transmit data
> > via HTTP.
> >
> > Your help in resolving this issue is greatly appreciated.
> >
> > -James
> >
> > _
> > Get your FREE download of MSN Explorer at
> > http://explorer.msn.com/intl.asp
> >
> >
> >
>
>
>
>
>





Re: Orion on Linux, Follow-up Question

2001-10-15 Thread Wendell Nichols

I think this is because your user account is unable to run the server on 
reserved port 80.  Modify Orion's  default-website.xml file to use a 
port above the reserved range, (1000 or something like that).  I use 8000.
wcn

Jimbo Jones wrote:

> My previous problem, starting Orion on linux, was due to the fact that 
> I was calling upon the wrong JVM (even though I thought I had my path 
> set correctly).  That is resolved.  Now I have another problem that 
> seems more linux-related than Orion-related, but perhaps some of you 
> know the solution.
>
> I have Orion running on linux, and from that machine I can access 
> Orion-served pages.  But I cannot do so from outside that machine.  
> What's more, I am unable to run it on a user account.  For now, I'm 
> running under root.  But like I said, I cannot connect to it from 
> another machine.  Upon doing some investigating, I have discoverd that 
> when I try to connect from another machine, Orion is sending the HTTP 
> headers only and then freezes without sending anything else.  The page 
> never loads, it just hangs indefinitely.  I strongly suspect this has 
> something to do with linux and not Orion.  I cannot run Orion on a 
> user account because it tells me I don't have permission to run an 
> HTTP server.  I don't get that message as root, but I wonder if there 
> is some linux mechanism at work blocking my attempts to transmit data 
> via HTTP.
>
> Your help in resolving this issue is greatly appreciated.
>
> -James
>
> _
> Get your FREE download of MSN Explorer at 
> http://explorer.msn.com/intl.asp
>
>
>







RE: Orion on Linux, Follow-up Question

2001-10-12 Thread Jimbo Jones

I've been to orionsupport, and actually their "ipchains" information is
outdated.  I used this to reroute packets from port 80 to 10080:

iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT
--to-port 10080

I am pretty sure this is working, because I am having Orion listen on port
10080, but I am not specifying that port in the browser--and it is working
from the linux machine, and also another machine on my network.  Some more
information:  I am on DSL right now, with a router configured so that my
linux box is a DMZ.  From another machine in my network, I can put in the
outside IP address and Orion works.  From anywhere else (outside my network)
I cannot connect, although curiously enough, I can get 404 and 400
errors--it will not load pages, however.  I wonder if this is a problem with
my iptables?  I know basically nothing about iptables, but I see that in my
filter table the following rules are there:

Chain INPUT (policy ACCEPT)
target - prot --- opt --- source - destination
DROP  all ... --  [my outside ip] .. 0.0.0.0/0

There are actually a couple lines, with some of my recent IP addresses (they
are dynamic).  I have no idea what this means, but I wonder if iptables is
only providing my local IPs with access. possibly?  I'm really at a loss
here, as I don't know linux very well.  Any insight would be appreciated.


>From: Montebove Luciano <[EMAIL PROTECTED]>
>Reply-To: Orion-Interest <[EMAIL PROTECTED]>
>To: Orion-Interest <[EMAIL PROTECTED]>
>Subject: RE: Orion on Linux, Follow-up Question
>Date: Thu, 11 Oct 2001 16:41:43 +0200
>
>Hi Jimbo,
>
>You can find some responses here
>http://www.orionsupport.com/articles/unixprocess.html
>
>Luciano
>
>-Original Message-
>From: Jimbo Jones [mailto:[EMAIL PROTECTED]]
>Sent: giovedì 11 ottobre 2001 15.34
>To: Orion-Interest
>Subject: Orion on Linux, Follow-up Question
>
>
>My previous problem, starting Orion on linux, was due to the fact that I
>was
>
>calling upon the wrong JVM (even though I thought I had my path set
>correctly).  That is resolved.  Now I have another problem that seems more
>linux-related than Orion-related, but perhaps some of you know the
>solution.
>
>I have Orion running on linux, and from that machine I can access
>Orion-served pages.  But I cannot do so from outside that machine.  What's
>more, I am unable to run it on a user account.  For now, I'm running under
>root.  But like I said, I cannot connect to it from another machine.  Upon
>doing some investigating, I have discoverd that when I try to connect from
>another machine, Orion is sending the HTTP headers only and then freezes
>without sending anything else.  The page never loads, it just hangs
>indefinitely.  I strongly suspect this has something to do with linux and
>not Orion.  I cannot run Orion on a user account because it tells me I
>don't
>
>have permission to run an HTTP server.  I don't get that message as root,
>but I wonder if there is some linux mechanism at work blocking my attempts
>to transmit data via HTTP.
>
>Your help in resolving this issue is greatly appreciated.
>
>-James
>
>_
>Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
>


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp





RE: Orion on Linux, Follow-up Question

2001-10-11 Thread Montebove Luciano

Hi Jimbo,

You can find some responses here
http://www.orionsupport.com/articles/unixprocess.html

Luciano

-Original Message-
From: Jimbo Jones [mailto:[EMAIL PROTECTED]]
Sent: giovedì 11 ottobre 2001 15.34
To: Orion-Interest
Subject: Orion on Linux, Follow-up Question


My previous problem, starting Orion on linux, was due to the fact that I was

calling upon the wrong JVM (even though I thought I had my path set 
correctly).  That is resolved.  Now I have another problem that seems more 
linux-related than Orion-related, but perhaps some of you know the solution.

I have Orion running on linux, and from that machine I can access 
Orion-served pages.  But I cannot do so from outside that machine.  What's 
more, I am unable to run it on a user account.  For now, I'm running under 
root.  But like I said, I cannot connect to it from another machine.  Upon 
doing some investigating, I have discoverd that when I try to connect from 
another machine, Orion is sending the HTTP headers only and then freezes 
without sending anything else.  The page never loads, it just hangs 
indefinitely.  I strongly suspect this has something to do with linux and 
not Orion.  I cannot run Orion on a user account because it tells me I don't

have permission to run an HTTP server.  I don't get that message as root, 
but I wonder if there is some linux mechanism at work blocking my attempts 
to transmit data via HTTP.

Your help in resolving this issue is greatly appreciated.

-James

_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp