Re: Rev On Rockets On Dreamhost - Does it work there?

2008-12-07 Thread Andre Garzia
Stephen,

Sorry for being late on this thread. And thanks for your support of
Rev On Rockets initiative.

The error you're having is a permission error. You must be sure you
set the correct permissions on the file and also the correct user and
group with chown command.

chown user:group filename

suEXEC needs the correct user and group. Just log in by SSH to your
dreamhost account and do a ls -l to see which user and group is being
used on your account (they are not standard, they are unique to each
dreamhost account). You can enable Shell Access on your Dreamhost
account by going into the accounts setup in the control panel. They
have something like: Full access which you need to enable so you can
use shell access.

There you'll see the user and group for your given www user. Then you
need to set the rest of the files to the same user and group or
Dreamhost suEXEC will complain and refuse to run.

Try that and get back to me.

Cheers
andre

On Sat, Dec 6, 2008 at 3:47 PM, Stephen Barncard
[EMAIL PROTECTED] wrote:
 Thanks Richard. That's good to know.

 Yes, I've been looking at the logs and I always get this error:

 suexec policy violation: see suexec log for more details, referer:
 http://cms3.mitchmarcusmusic.com/

 I have no suexec log.

 the only other error is the error for not having the error page!
 I've sent a support ticket to the Dreamhost techs, they're pretty good about
 things.

 You're idea for the send script to and return logs is a good one. I'll
 incorporate that into my future cgi sandbox.

 By the way, doesn't FTP in Rev send passwords in plain text? How do you work
 around that?

 sqb

 I run Rev CGIs on Dreamhost daily.  Once you find the culprit you'll have
 a great time.

 Have you checked your error.log from the server's logs folder?

 I write my CGIs in a simple stack I made for doing so, which has a button
 to upload the script so I take care of several small steps in one click.

 A few weeks ago I had trouble debugging a script's execution on the
 server, and added another button that downloads my error.log file and
 displays its contents - total time-saver, well worth the five minutes to set
 it up.


 The truth is out there - you just need to find where it's being reported.
 :)

 --
  Richard Gaskin

 --


 stephen barncard
 s a n  f r a n c i s c o
 - - -  - - - - - - - - -



 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution




-- 
http://www.andregarzia.com All We Do Is Code.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Rev On Rockets On Dreamhost - Does it work there?

2008-12-06 Thread Neal Campbell
Just make sure you set the execute bits (chmod +xxx .) so that it
can be a program!

Best wishes
Neal Campbell
Abroham Neal Software
Programming Services for Windows, OS X and Linux
(540) 242 0911
-
Try Spot for OS X, the intelligent DXCluster Client at
www.abrohamnealsoftware.com -  $15.99
-
For a great dog book, visit www.abrohamneal.com
-
See the FlexRadio Systems Flex-5000a in
action at www.flex-videos.com




On Fri, Dec 5, 2008 at 11:47 PM, Stephen Barncard
[EMAIL PROTECTED] wrote:
 Hi Mark,

 No, ROR doesn't require RevHTTP. I'm not using that part of the
 demonstration. I've seen and tried that, and wanted to get it into the
 Apache world.

 I'm strictly following Andre's instructions and can't even get hello world
 to work. He did it in front of people and video at the last RevCon. Thanks
 for the thumbs up on the 3.0 engine. Perhaps I made a mistake in engine.
 I'll try again.
 thanks

 sqb

 Stephen, I've not run RoR, but I am having no problems running the 3.0
 engine (Linux of course) for cgi on Dreamhost. Does RoR act as web-server?
 Would that mean disabling Apache?

 Best,

 Mark

 --


 stephen barncard
 s a n  f r a n c i s c o
 - - -  - - - - - - - - -



 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Rev On Rockets On Dreamhost - Does it work there?

2008-12-06 Thread Stephen Barncard

thanks, Neal and everyone else who responded,
I couldn't forget the permissions after Andre said on the Revcon 
video I almost had a t-shirt made with  chmod 755  in big letters 
so you won't forget!


I still can't get a rise out of the executable, except errors.

echo.mt (from Jacque's site, changed to echo.cgi) doesn't seem to 
respond as well as ROR not responding. I've tried the 2.9, 3.0 and 
3.5 Linux 86 engines. I'll be sure to let everyone know what it is if 
I find it. This is basic stuff, it should work. I'm still blaming the 
operator here.



This is the only clue in the logs:
suexec policy violation: see suexec log for more details, referer: 
http://cms3.mitchmarcusmusic.com/



There doesn't appear to be any such suexec log, at least at my 
security level. That kinda looks like a permission problem..


Once I get it to say hello I'm on my way.

sqb


Just make sure you set the execute bits (chmod +xxx .) so that it
can be a program!

Best wishes
Neal Campbell
Abroham Neal Software
Programming Services for Windows, OS X and Linux
(540) 242 0911


--


stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Rev On Rockets On Dreamhost - Does it work there?

2008-12-06 Thread Neal Campbell
Sulinux is the secure kernel for your instance of Linux. You  might
want to google around and see if you can learn more about it and what
you can do around it! If all else fails, contact your ISP!

Neal Campbell
Abroham Neal Software
Programming Services for Windows, OS X and Linux
(540) 242 0911
-
Try Spot for OS X, the intelligent DXCluster Client at
www.abrohamnealsoftware.com -  $15.99
-
For a great dog book, visit www.abrohamneal.com
-
See the FlexRadio Systems Flex-5000a in
action at www.flex-videos.com




On Sat, Dec 6, 2008 at 11:40 AM, Stephen Barncard
[EMAIL PROTECTED] wrote:
 thanks, Neal and everyone else who responded,
 I couldn't forget the permissions after Andre said on the Revcon video I
 almost had a t-shirt made with  chmod 755  in big letters so you won't
 forget!

 I still can't get a rise out of the executable, except errors.

 echo.mt (from Jacque's site, changed to echo.cgi) doesn't seem to respond as
 well as ROR not responding. I've tried the 2.9, 3.0 and 3.5 Linux 86
 engines. I'll be sure to let everyone know what it is if I find it. This is
 basic stuff, it should work. I'm still blaming the operator here.

 This is the only clue in the logs:
 suexec policy violation: see suexec log for more details, referer:
 http://cms3.mitchmarcusmusic.com/


 There doesn't appear to be any such suexec log, at least at my security
 level. That kinda looks like a permission problem..

 Once I get it to say hello I'm on my way.

 sqb

 Just make sure you set the execute bits (chmod +xxx .) so that it
 can be a program!

 Best wishes
 Neal Campbell
 Abroham Neal Software
 Programming Services for Windows, OS X and Linux
 (540) 242 0911

 --


 stephen barncard
 s a n  f r a n c i s c o
 - - -  - - - - - - - - -



 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Rev On Rockets On Dreamhost - Does it work there?

2008-12-06 Thread Jim Sims


On Dec 6, 2008, at 5:40 PM, Stephen Barncard wrote:


thanks, Neal and everyone else who responded,
I couldn't forget the permissions after Andre said on the Revcon  
video I almost had a t-shirt made with  chmod 755  in big letters  
so you won't forget!


I had a nightmare of getting a tattoo with 755   ;-)




I still can't get a rise out of the executable, except errors.



Does it need-ui

Like the following?

#!XhoutOut -ui

on startup
library makealert.rev
end startup

sims
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Rev On Rockets On Dreamhost - Does it work there?

2008-12-06 Thread Stephen Barncard

Thanks Jim,

yes I checked and of course ROR has it everywhere.   I did add it to 
the old  echo.mc script ( and changed the suffix to .cgi ).


I'm writing a report to DH support.   I'll let everyone know how it went.

sqb



On Dec 6, 2008, at 5:40 PM, Stephen Barncard wrote:


thanks, Neal and everyone else who responded,
I couldn't forget the permissions after Andre said on the Revcon 
video I almost had a t-shirt made with  chmod 755  in big 
letters so you won't forget!


I had a nightmare of getting a tattoo with 755   ;-)




I still can't get a rise out of the executable, except errors.



Does it need-ui

Like the following?

#!XhoutOut -ui

on startup
library makealert.rev
end startup

sims


--


stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Rev On Rockets On Dreamhost - Does it work there?

2008-12-06 Thread Richard Gaskin
I run Rev CGIs on Dreamhost daily.  Once you find the culprit you'll 
have a great time.


Have you checked your error.log from the server's logs folder?

I write my CGIs in a simple stack I made for doing so, which has a 
button to upload the script so I take care of several small steps in one 
click.


A few weeks ago I had trouble debugging a script's execution on the 
server, and added another button that downloads my error.log file and 
displays its contents - total time-saver, well worth the five minutes to 
set it up.



The truth is out there - you just need to find where it's being reported. :)

--
 Richard Gaskin
 Fourth World
 Revolution training and consulting: http://www.fourthworld.com
 Webzine for Rev developers: http://www.revjournal.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Rev On Rockets On Dreamhost - Does it work there?

2008-12-06 Thread Stephen Barncard

Thanks Richard. That's good to know.

Yes, I've been looking at the logs and I always get this error:

suexec policy violation: see suexec log for more details, referer: 
http://cms3.mitchmarcusmusic.com/


I have no suexec log.

the only other error is the error for not having the error page!
I've sent a support ticket to the Dreamhost techs, they're pretty 
good about things.


You're idea for the send script to and return logs is a good one. 
I'll incorporate that into my future cgi sandbox.


By the way, doesn't FTP in Rev send passwords in plain text? How do 
you work around that?


sqb

I run Rev CGIs on Dreamhost daily.  Once you find the culprit you'll 
have a great time.


Have you checked your error.log from the server's logs folder?

I write my CGIs in a simple stack I made for doing so, which has a 
button to upload the script so I take care of several small steps in 
one click.


A few weeks ago I had trouble debugging a script's execution on the 
server, and added another button that downloads my error.log file 
and displays its contents - total time-saver, well worth the five 
minutes to set it up.



The truth is out there - you just need to find where it's being reported. :)

--
 Richard Gaskin


--


stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Rev On Rockets On Dreamhost - Does it work there?

2008-12-06 Thread Richard Gaskin

Stephen Barncard wrote:
By the way, doesn't FTP in Rev send passwords in plain text? How do 
you work around that?


Until Rev supports secure FTP there is no preventative solution.  So I
handle it as I do when using many other tools that don't provide secure
FTP: I change my site's password weekly, and monitor the site for
changed files daily.

Of course the best answer would be to support secure FTP:

http://quality.runrev.com/qacenter/show_bug.cgi?id=6405

This wouldn't affect just those of us who make little tools for
ourselves, but our customers as well, so overall we're looking at the
security of tens of thousands of people hanging on this.

I understand that it's challenging to implement, and not the sort of
thing likely to be personally satisfying to work on.  But I'd pay extra
for it to see it in the engine and I'll be others would too.

With 108 votes thus far, if we each chipped in US$100 for this that
would be $10,800 in supplemental revenue.  It'd be well worth a hundred
bucks to me to be able to offer good security to my customers and clients.

In the meantime, I've been considering ways to use POST as an
alternative, but there are so many limitations with it that I don't
imagine it'll be much of a substitute except for a few limited
circumstances.

--
 Richard Gaskin
 Fourth World
 Revolution training and consulting: http://www.fourthworld.com
 Webzine for Rev developers: http://www.revjournal.com


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Rev On Rockets On Dreamhost - Does it work there?

2008-12-05 Thread Stephen Barncard

Hello Rev Nation,

I was watching Andre's discussion of Rev On Rockets from the Vegas 
conferences, and got inspired to give it a go. It seemed so simple. 
It works great locally on the Mac.


The hosting for me and my friends is Dreamhost, and I was certain 
that I heard that someone had successfully made it work there. I had 
saved the earliest ROR code that Andre put out a while ago, and which 
I tried to unsuccessfully get to work.


Read the docs, placed the 2.9 x86 Linux standalone engine into the 
cgi-bin folder (after installing the www part of ROR into cgi-bin), 
set the permissions to 755, renamed Standalone to revolution (lower 
case), and brought up a browser looking at a subdomain I created for 
RevHTTP on the web.


I zipped everything and used Terminal to expand  in situ. Also just 
downloaded the newest version of Andre's code. Same thing.


Errors, errors. It's obvious Rev is not being executed. Did anyone 
really get it to work at Dreamhost and what were the incantations? 
Did the aforementioned engine ever work? Will the 3.5 engine work? 
Should I try to go back in history and get a really old engine?  I 
thought Rev had fixed this. Searches on the net of old list posts 
reveal Dan Shafer giving up in desperation and not many success 
stories.


I'm sure it's me or my something about Dreamhost one or the other. 
I'm not sure they could help me unless I have some idea of what to do.


This is one of two major gaps I have with rev. The other is getting 
SQLLite to do anything. (I work with SQL Fat every day) .. I'm 
off to watch Trevor's VEGAS 08 talk on just that topic.


thanks,

sqb

--


stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Rev On Rockets On Dreamhost - Does it work there?

2008-12-05 Thread Mark Smith
Stephen, I've not run RoR, but I am having no problems running the  
3.0 engine (Linux of course) for cgi on Dreamhost. Does RoR act as  
web-server? Would that mean disabling Apache?


Best,

Mark

On 6 Dec 2008, at 02:05, Stephen Barncard wrote:


Hello Rev Nation,

I was watching Andre's discussion of Rev On Rockets from the Vegas  
conferences, and got inspired to give it a go. It seemed so simple.  
It works great locally on the Mac.


The hosting for me and my friends is Dreamhost, and I was certain  
that I heard that someone had successfully made it work there. I  
had saved the earliest ROR code that Andre put out a while ago, and  
which I tried to unsuccessfully get to work.


Read the docs, placed the 2.9 x86 Linux standalone engine into the  
cgi-bin folder (after installing the www part of ROR into cgi-bin),  
set the permissions to 755, renamed Standalone to revolution (lower  
case), and brought up a browser looking at a subdomain I created  
for RevHTTP on the web.


I zipped everything and used Terminal to expand  in situ. Also just  
downloaded the newest version of Andre's code. Same thing.


Errors, errors. It's obvious Rev is not being executed. Did anyone  
really get it to work at Dreamhost and what were the incantations?  
Did the aforementioned engine ever work? Will the 3.5 engine work?  
Should I try to go back in history and get a really old engine?  I  
thought Rev had fixed this. Searches on the net of old list posts  
reveal Dan Shafer giving up in desperation and not many success  
stories.


I'm sure it's me or my something about Dreamhost one or the other.  
I'm not sure they could help me unless I have some idea of what to do.


This is one of two major gaps I have with rev. The other is getting  
SQLLite to do anything. (I work with SQL Fat every day) .. I'm  
off to watch Trevor's VEGAS 08 talk on just that topic.


thanks,

sqb

--


stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Rev On Rockets On Dreamhost - Does it work there?

2008-12-05 Thread Stephen Barncard

Hi Mark,

No, ROR doesn't require RevHTTP. I'm not using that part of the 
demonstration. I've seen and tried that, and wanted to get it into 
the Apache world.


I'm strictly following Andre's instructions and can't even get hello 
world to work. He did it in front of people and video at the last 
RevCon. Thanks for the thumbs up on the 3.0 engine. Perhaps I made a 
mistake in engine. I'll try again.

thanks

sqb

Stephen, I've not run RoR, but I am having no problems running the 
3.0 engine (Linux of course) for cgi on Dreamhost. Does RoR act as 
web-server? Would that mean disabling Apache?


Best,

Mark


--


stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution