Hello all, I''ve gone through a lot of extra effort trying to get Mongrel to place nice with Ubuntu. Since I''m at my wit''s end trying to get it to work on this distro, I was wondering if anyone could suggest a distribution that makes it easy to set up. Any thoughts? Thanks, Will --------------------------------- Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries for just 2?/min with Yahoo! Messenger with Voice. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20061107/07a4efd9/attachment.html
On 11/7/06, Will Gant <williamwgant at yahoo.com> wrote:> Hello all, > I''ve gone through a lot of extra effort trying to get Mongrel to place nice > with Ubuntu. Since I''m at my wit''s end trying to get it to work on this > distro, I was wondering if anyone could suggest a distribution that makes it > easy to set up. Any thoughts? >Arch and Gentoo are both worth looking at. It''s pretty straightforward on Ubuntu, though. How far have you gotten? I can help you get it going.
I''ve been pretty successful with CentOS, but to be honest, I usually install the dependencies for the ruby/rails/apache/mongrel stack from source on all my boxen, just so I know what I''m getting into. My current deployment scripts live here: http://svn.highgroove.com:8080/deployment/trunk install_rails.sh will install ruby, rails, apache2.2.2, mongrel and a few other gems to get you upto speed. It then sets you up nice to use a cap recipe file like the one in that repository as well to run multiple mongrel clusters on the same box. patches/suggestions/improvements/tests welcome.... -- Charles Brian Quinn self-promotion: www.seebq.com highgroove studios: www.highgroove.com slingshot hosting: www.slingshothosting.com On 11/7/06, Will Gant <williamwgant at yahoo.com> wrote:> Hello all, > I''ve gone through a lot of extra effort trying to get Mongrel to place nice > with Ubuntu. Since I''m at my wit''s end trying to get it to work on this > distro, I was wondering if anyone could suggest a distribution that makes it > easy to set up. Any thoughts? > > Thanks, > Will > > > ________________________________ > Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries for just 2?/min > with Yahoo! Messenger with Voice. > > > _______________________________________________ > Mongrel-users mailing list > Mongrel-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users > >
On 11/7/06, Will Gant <williamwgant at yahoo.com> wrote:> Hello all, > I''ve gone through a lot of extra effort trying to get Mongrel to place nice > with Ubuntu. Since I''m at my wit''s end trying to get it to work on this > distro, I was wondering if anyone could suggest a distribution that makes it > easy to set up. Any thoughts?What problems are you having? James
There''s a ''softball'' question. :) The easiest I''ve ever seen is Arch Linux. Of course, you''ll likely get as many different opinions as replies. On 11/7/06, Will Gant <williamwgant at yahoo.com> wrote:> Hello all, > I''ve gone through a lot of extra effort trying to get Mongrel to place nice > with Ubuntu. Since I''m at my wit''s end trying to get it to work on this > distro, I was wondering if anyone could suggest a distribution that makes it > easy to set up. Any thoughts? > > Thanks, > Will > > > ________________________________ > Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries for just 2?/min > with Yahoo! Messenger with Voice. > > > _______________________________________________ > Mongrel-users mailing list > Mongrel-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users > >-- Cheers, Kevin Williams http://www.almostserio.us/ "Any sufficiently advanced technology is indistinguishable from Magic." - Arthur C. Clarke
Will, I have several ubuntu servers running in production with Mongrel just fine. Where is your frustration at? I might be able to help. ~Wayne On Nov 07, 2006, at 09:30 , Will Gant wrote:> Hello all, > I''ve gone through a lot of extra effort trying to get Mongrel to > place nice with Ubuntu. Since I''m at my wit''s end trying to get it > to work on this distro, I was wondering if anyone could suggest a > distribution that makes it easy to set up. Any thoughts? > > Thanks, > Will > > Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries for > just 2?/min with Yahoo! Messenger with Voice. > _______________________________________________ > Mongrel-users mailing list > Mongrel-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users
I''ve installed Ruby, MySql, Rails, Apache, and Mongrel. I''m first trying to prove that Mongrel works by itself before attempting integration with Apache (since I don''t know jack about apache). I set up a site using the directions specified in the documentation (with the config file and all that), but the site doesn''t show up when I try to hit the appropriate port (8100) on that machine. Here''s my last post on the Rails list regarding this issue: ------- I tried creating the config file as you suggested. I think something else may be broken: wgant at sauron:/etc/mongrel/sites-enabled$ mongrel_rails start -G test.config -e production !!! Path to log file not valid: log/mongrel.log start reported an error. Use mongrel_rails start -h to get help. I then tried the following: wgant at sauron:/etc/mongrel/sites-enabled$ mongrel_rails start -G test.config -e production -l /home/wgant/mongrel.log !!! Path to pid file not valid: log/mongrel.pid start reported an error. Use mongrel_rails start -h to get help. wgant at sauron:/etc/mongrel/sites-enabled$ mongrel_rails start -G test.config -e production -l /home/wgant/mongrel.log -p /home/wgant/mongrel.pid !!! Path to pid file not valid: log/mongrel.pid start reported an error. Use mongrel_rails start -h to get help. wgant at sauron:/etc/mongrel/sites-enabled$ mongrel_rails start -G test.config -e production -l /home/wgant/mongrel.log -P /home/wgant/mongrel.pid !!! Path to docroot not valid: public start reported an error. Use mongrel_rails start -h to get help. Charles Brian Quinn <me at seebq.com> wrote: I''ve been pretty successful with CentOS, but to be honest, I usually install the dependencies for the ruby/rails/apache/mongrel stack from source on all my boxen, just so I know what I''m getting into. My current deployment scripts live here: http://svn.highgroove.com:8080/deployment/trunk install_rails.sh will install ruby, rails, apache2.2.2, mongrel and a few other gems to get you upto speed. It then sets you up nice to use a cap recipe file like the one in that repository as well to run multiple mongrel clusters on the same box. patches/suggestions/improvements/tests welcome.... -- Charles Brian Quinn self-promotion: www.seebq.com highgroove studios: www.highgroove.com slingshot hosting: www.slingshothosting.com On 11/7/06, Will Gant wrote:> Hello all, > I''ve gone through a lot of extra effort trying to get Mongrel to place nice > with Ubuntu. Since I''m at my wit''s end trying to get it to work on this > distro, I was wondering if anyone could suggest a distribution that makes it > easy to set up. Any thoughts? > > Thanks, > Will > > > ________________________________ > Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries for just 2?/min > with Yahoo! Messenger with Voice. > > > _______________________________________________ > Mongrel-users mailing list > Mongrel-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users > >_______________________________________________ Mongrel-users mailing list Mongrel-users at rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-users --------------------------------- How low will we go? Check out Yahoo! Messenger?s low PC-to-Phone call rates. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20061107/8cf3fadf/attachment.html
On Tue, 7 Nov 2006 06:30:22 -0800 (PST) Will Gant <williamwgant at yahoo.com> wrote:> Hello all, > I''ve gone through a lot of extra effort trying to get Mongrel to place nice with Ubuntu. Since I''m at my wit''s end trying to get it to work on this distro, I was wondering if anyone could suggest a distribution that makes it easy to set up. Any thoughts?I do my development on ArchLinux, and was doing original development on Ubuntu. Others use: * Solaris (with mkrf patch) * CentOS * FreeBSD * NetBSD * Win32 There are also Debian specific instructions on the site that should apply to Ubuntu: http://mongrel.rubyforge.org/docs/debian-sarge.html -- Zed A. Shaw, MUDCRAP-CE Master Black Belt Sifu http://www.zedshaw.com/ http://www.awprofessional.com/title/0321483502 -- The Mongrel Book http://mongrel.rubyforge.org/ http://www.lingr.com/room/3yXhqKbfPy8 -- Come get help.
On Tue Nov 07, 2006 at 06:30:22AM -0800, Will Gant wrote:> Hello all, > I''ve gone through a lot of extra effort trying to get Mongrel to place nice with Ubuntu. Since I''m at my wit''s end trying to get it to work on this distro, I was wondering if anyone could suggest a distribution that makes it easy to set up. Any thoughts?http://qualityhumans.com/images/tom_ezra_gentoo.mov
Will Gant wrote:> Hello all, > I''ve gone through a lot of extra effort trying to get Mongrel to place > nice with Ubuntu. Since I''m at my wit''s end trying to get it to work on > this distro, I was wondering if anyone could suggest a distribution that > makes it easy to set up. Any thoughts?FreeBSD 6.X # cd /usr/ports/www/rubygem-mongrel # make install clean And you will get Mongrel + all Rails/Ruby/Gem dependencies. Regards, Jonathan -- Jonathan Weiss http://blog.innerewut.de
On 11/7/06, Zed A. Shaw <zedshaw at zedshaw.com> wrote:> I do my development on ArchLinux, and was doing original development on Ubuntu. Others use: > > * Solaris (with mkrf patch) > * CentOS > * FreeBSD > * NetBSD > * Win32Adding to the list, I''ve been running in production for 3.5 months now with no trouble on Fedora Core 5. -- James
On 11/7/06, Will Gant <williamwgant at yahoo.com> wrote: <snip>> I then tried the following: > > wgant at sauron:/etc/mongrel/sites-enabled$ mongrel_rails start -G test.config > -e production -l /home/wgant/mongrel.log > !!! Path to pid file not valid: log/mongrel.pid > start reported an error. Use mongrel_rails start -h to get help. > wgant at sauron:/etc/mongrel/sites-enabled$ mongrel_rails start -G test.config > -e production -l /home/wgant/mongrel.log -p /home/wgant/mongrel.pid > !!! Path to pid file not valid: log/mongrel.pid > start reported an error. Use mongrel_rails start -h to get help. > wgant at sauron:/etc/mongrel/sites-enabled$ mongrel_rails start -G test.config > -e production -l /home/wgant/mongrel.log -P /home/wgant/mongrel.pid > !!! Path to docroot not valid: public > start reported an error. Use mongrel_rails start -h to get help.Hi, the paths mongrel is looking for (log and public) are generated automatically by the ''rails'' command. mongrel_rails expects to be started from the root of the file structure created by this command, eg: rails myapp cd myapp mongrel_rails start James
On 11/7/06, Will Gant <williamwgant at yahoo.com> wrote:> I''ve installed Ruby, MySql, Rails, Apache, and Mongrel. I''m first trying to > prove that Mongrel works by itself before attempting integration with Apache > (since I don''t know jack about apache). I set up a site using the directions > specified in the documentation (with the config file and all that), but the > site doesn''t show up when I try to hit the appropriate port (8100) on that > machine. > > Here''s my last post on the Rails list regarding this issue: > > ------- > I tried creating the config file as you suggested. I think something else > may be broken: > > wgant at sauron:/etc/mongrel/sites-enabled$ mongrel_rails start -G test.config > -e production > !!! Path to log file not valid: log/mongrel.log > start reported an error. Use mongrel_rails start -h to get help. > > I then tried the following: > > wgant at sauron:/etc/mongrel/sites-enabled$ mongrel_rails start -G test.config > -e production -l /home/wgant/mongrel.log > !!! Path to pid file not valid: log/mongrel.pid > start reported an error. Use mongrel_rails start -h to get help. > wgant at sauron:/etc/mongrel/sites-enabled$ mongrel_rails start -G test.config > -e production -l /home/wgant/mongrel.log -p /home/wgant/mongrel.pid > !!! Path to pid file not valid: log/mongrel.pid > start reported an error. Use mongrel_rails start -h to get help. > wgant at sauron:/etc/mongrel/sites-enabled$ mongrel_rails start -G test.config > -e production -l /home/wgant/mongrel.log -P /home/wgant/mongrel.pid > !!! Path to docroot not valid: public > start reported an error. Use mongrel_rails start -h to get help.Just a hint, I haven''t setup mongrel on ubuntu yet, although I''m planning to. (I''m running mongrel on windows) - Your problem seems to be that mongrel doesn''t find the site files. Try one of the following: Add -c /home/wgant (or wharever the path to your site''s root dir is) then all other switches might be redundant. Or, go directly where you site is, and start mongrel_rails from there to generate the config and to check that mongrel runs. After you''ve checked it make the paths absolute and start mongrel from wherever you want. - Don''t use config AND command line options (-G to generate the config is obviously fine). Choose either one but not both. - Use ''netstat -ant'' to see whether the port is open for listening when mongrel starts fine and the site doesn''t show up. - Read the logs to see what''s happening.
On 2006-11-07 06:30:22 -0800, Will Gant wrote:> Date: Tue, 7 Nov 2006 06:30:22 -0800 (PST) > From: Will Gant <williamwgant at yahoo.com> > Subject: [Mongrel] Best Distro for Mongrel > To: Mongrel List <mongrel-users at rubyforge.org> > > Hello all, > I''ve gone through a lot of extra effort trying to get Mongrel to place > nice with Ubuntu. Since I''m at my wit''s end trying to get it to work > on this distro, I was wondering if anyone could suggest a distribution > that makes it easy to set up. Any thoughts?suse 10.1 mongrel + rails + others can be found as packages here: http://en.opensuse.org/Ruby http://software.opensuse.org/download/ruby/ darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org
On 11/7/06, Zed A. Shaw <zedshaw at zedshaw.com> wrote:> On Tue, 7 Nov 2006 06:30:22 -0800 (PST) > Will Gant <williamwgant at yahoo.com> wrote: > > > Hello all, > > I''ve gone through a lot of extra effort trying to get Mongrel to place nice with Ubuntu. Since I''m at my wit''s end trying to get it to work on this distro, I was wondering if anyone could suggest a distribution that makes it easy to set up. Any thoughts? > > I do my development on ArchLinux, and was doing original development on Ubuntu. Others use: > > * Solaris (with mkrf patch) > * CentOS > * FreeBSD > * NetBSD > * Win32 >On Win32 I can comment: I create my own "small ruby distro for deployment" on Win32. It downloads ruby mswin32 binaries, apply patches (cgi.rb for now). Download zlib dll and ruby-zlib. OpenSSL, readline and Iconv. Then I package rubygems, patch the scripts and package it as 7zip archive. I plan to extend this with ruby source recompile, when I reinstall VC6 and my fresh license Intel Compiler license, aiming to boost a bit of performance on win32 side. For deployment I use a custom InnoSetup routines (like Windows Installer) so can''t comment on Apache deployment, most of my installations are intranet-ones.> There are also Debian specific instructions on the site that should apply to Ubuntu: > > http://mongrel.rubyforge.org/docs/debian-sarge.html > > -- > Zed A. Shaw, MUDCRAP-CE Master Black Belt Sifu > http://www.zedshaw.com/ > http://www.awprofessional.com/title/0321483502 -- The Mongrel Book > http://mongrel.rubyforge.org/ > http://www.lingr.com/room/3yXhqKbfPy8 -- Come get help. > _______________________________________________ > Mongrel-users mailing list > Mongrel-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users >-- Luis Lavena Multimedia systems - Leaders are made, they are not born. They are made by hard effort, which is the price which all of us must pay to achieve any goal that is worthwhile. Vince Lombardi
HA! I wasn''t invoking mongrel from the root of the site. In hindsight, I have no idea why that didn''t occur to me. That fixed it. I figured I was doing something wrong. Now I guess I need to figure out how to get Apache talking to it and how to use multiple mongrels. This morning was pretty crappy, but you have totally made my day. Will James Hughes <hughes.james at gmail.com> wrote: On 11/7/06, Will Gant wrote:> I then tried the following: > > wgant at sauron:/etc/mongrel/sites-enabled$ mongrel_rails start -G test.config > -e production -l /home/wgant/mongrel.log > !!! Path to pid file not valid: log/mongrel.pid > start reported an error. Use mongrel_rails start -h to get help. > wgant at sauron:/etc/mongrel/sites-enabled$ mongrel_rails start -G test.config > -e production -l /home/wgant/mongrel.log -p /home/wgant/mongrel.pid > !!! Path to pid file not valid: log/mongrel.pid > start reported an error. Use mongrel_rails start -h to get help. > wgant at sauron:/etc/mongrel/sites-enabled$ mongrel_rails start -G test.config > -e production -l /home/wgant/mongrel.log -P /home/wgant/mongrel.pid > !!! Path to docroot not valid: public > start reported an error. Use mongrel_rails start -h to get help.Hi, the paths mongrel is looking for (log and public) are generated automatically by the ''rails'' command. mongrel_rails expects to be started from the root of the file structure created by this command, eg: rails myapp cd myapp mongrel_rails start James _______________________________________________ Mongrel-users mailing list Mongrel-users at rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-users --------------------------------- Sponsored Link Try Netflix today! With plans starting at only $5.99 a month what are you waiting for? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20061107/7c59cdf3/attachment-0001.html