Displaying 20 results from an estimated 800 matches similar to: "mongrel start oddities"
2006 Jun 13
1
log and pid file problems when using a config file w/ -C
Hi there,
I''m using Mongrel (0.3.13 prerelease, installed today) to serve up some
Rails apps in production. Everything works fine if I give all the
appropriate options on the command line, such as:
$ mongrel_rails start -c /home/mcornick/rails/mcornick.org/current -P log/mongrel.pid -l log/mongrel.log -e production -d -a 127.0.0.1 -p 6833
So, having accomplished that, I thought it
2007 Apr 06
0
Problem using a configuration file
Hi all,
I''m trying to start Mongrel using a configuration file, but Mongrel complains:
$ sudo mongrel_rails start --config
/usr/local/www/xltester.com/config/mongrel.yml
!!! Path to log file not valid: log/mongrel.log
mongrel::start reported an error. Use mongrel_rails mongrel::start -h
to get help.
I''m using sudo above to replicate monit, not because I run Mongrel as
root.
2006 Aug 11
1
mongrel still fails to write pid file when starting with config file
upgraded to 0.3.13.4 this morning in order to correct the above titled
problem but mongrel is still not writing the pid file when starting
with a config file
verified i am running 03.13.4 with --version
if i run this command:
mongrel_rails start -p 3000 -e production -d --user mongrel --group webdev
mongrel DOES create the pid file
if i run the same, and include -G config/mongrel.conf, the
2006 Jul 14
0
pid file info not working in config file
I''ve been trying to store the pid file option for Mongrel and it seems that I can only set it from the command line options, not from the configuration file. I''m using Mongrel gem version 0.3.13.3. Has anyone else experiend something like this?
Here''s an example of a config file I generated using the -G option. The address and port options work fine but the pid file
2007 Dec 18
0
Using mod_xsendfile and x_send_file with Mongrel
Can anyone tell me how to get x_send_file working with mongrel 1.1.1
and apache 2.2? I''ve installed the mod_xsendfile apache module from
http://tn123.ath.cx/mod_xsendfile/ and it works fine serving content
from a PHP script, but I can''t get it to work with my single Mongrel
instance and ProxyPass.
I''m using the following Apache configuration:
<VirtualHost *:80>
2006 Aug 07
0
some questions about mongrel
i posted some of these questions on the rails list, but thought that i
should probably post them here instead.
zed has already answered one of my questions, but i did have a couple more.
1) mongrel is not writing the pid file, which i have specified in the
config file
---
:cwd: /srv/www/railsapps/rftrack
:includes:
- mongrel
:log_file: log/mongrel.log
:config_script:
:pid_file: log/mongrel.pid
2006 Jun 22
5
changing user/group on port 80
I''m trying to run mongrel on port 80 and switch to a different
user/group from root. As root, this works:
mongrel_rails start -p 3000 -u rails --group rails
This:
mongrel_rails start -p 80 -u rails --group rails
dies with:
---------------------------
** Changing group to rails.
** Changing user to rails.
** Starting Mongrel listening at 0.0.0.0:80
2007 Feb 08
0
mongrel_rails man page
Hello!
hey, I''ve been writing this man page for mongrel_rails for some time and
now I wanted the list to take a look at it and see if it''s good.
After it''s ok, and if zed want to integrate it in mongrel (or any other
distribution wants it), the debian note can be removed :D
Manual Page:
.TH MONGREL_RAILS 1 "2006-11-17" "Mongrel Rails"
.SH NAME
2006 May 04
4
problem setting up mongrel_cluster 0.1.1
I posted this to the rails list before by mistake, and only later realized
that there is a specific mongrel list.
Uff, I got lost. I had mongrel_cluster 0.1working fine, even with capistrano
(my own hack). Then came mongrel_cluster 0.1.1 and I tried to set it up,
but somehow I messed up things and nothing worked anymore. So here is what I
did:
on production machine: (debian linux, rails 1.1)
2006 Aug 04
1
SOAP::Mapping::Object attribute access
I have written a Rails web service, which is working exactly as expected.
The service has a method which returns an object of type
ActionWebService::Struct. In my SOAP client, I create a SOAP rpc driver, and
execute the method, like this:
book = driver.ShowTitle(params[:isbn])
I then do a:
logger.info book.inspect
and find this in the log:
<SOAP::Mapping::Object:0x..ca7b389da
2006 Jun 27
0
using mongrel on port 80
Just so you know, I''ve read the manual :)
http://mongrel.rubyforge.org/docs/choosing_deployment.html
No php or ssl needed - that is me - simple. So I should be good to go
but thought I''d ask. BTW, sorry about the stupid subject. Listening to
BNL, you know ;)
On 6/27/06, mongrel-users-request at rubyforge.org
<mongrel-users-request at rubyforge.org> wrote:
> Send
2006 May 18
1
mime yaml
First off, apologies if this is addressed.. I didn''t find anyone
having the same problem (which usually means the problem is me!)
I''m running the standard command to start a Rails server, with
additional custom mime YAML:
mongrel_rails start -m /etc/mongrel_mime.yml
Content of the /etc/mongrel_mime.yml is only a single line:
.xml: text/xml
However, the custom mime
2006 Aug 02
2
Hiding Model Attribute
I have a model object for which I would like to effectively hide one
attribute (a password hash) so that it is never returned by a find_*
call. I have tried several unsuccessful means. Is there a simple way
to do this that I am overlooking?
Thanks,
Doug
2006 Dec 26
0
Using :config_script to set environment variables
I am using mongrel and mongrel_cluster to serve a rails site. The site
requires several environment variables to be set. I am thinking about
using the :config_script option and writing a script that sets the
required environment variables.
Is this a good solution or does anyone have any other suggestions?
Thanks for your help.
jeremy
2007 Oct 27
8
mongrel 1.0.3
Hello!
Run problems after upgrading to mongrel 1.0.3 from 1.0.1:
# uname -sr
FreeBSD 7.0-BETA1
# mongrel_rails start
** Starting Mongrel listening at :3000
** Starting Rails with development environment...
** Rails loaded.
** Loading any Rails specific GemPlugins
** Signals ready. TERM => stop. USR2 => restart. INT => stop (no restart).
** Rails signals registered. HUP => reload
2006 Sep 21
2
proxying and mongrel 0.3.13.4
I have been running a proxied mongrel-hosted app behind apache 2.0
(don''t need clustering) for several months, and loving it. In that
instance, I am proxying the root of the virtual host to mongrel.
I am now in a situation where I need to proxy a directory name to
mongrel for a new application, and not having any success. I saw Zed''s
mention of the --prefix option in 0.3.13.4,
2011 Oct 18
2
patch proposal: omindex library or daemon
Olly (looking at commit logs, I think this is your dept :-)
For apps which re/index files frequently and need format conversion, I'd
like to propose a patch for one of...
Omindex library (thread safe):
Omindex::init(options) // struct Omindex::options { ... }
initialize mime_map, store default options
session = new Omindex::Session(db_pathname)
user threads use different sessions
2009 Feb 03
1
PowerPoint 2007 filter
Hi,
I'm trying to write the PowerPoint2007 filter in the same manner that I
did for *.docx and *.xlsx but I'm getting the following error when I tru
an index.
The document is called:
Indexing "/Frisk in Power Point.pptx" as
application/vnd.openxmlformats-officedocument.presentationml.presentation ... caution: filename not matched: ppt/notesSlides/notesSlide*.xml
caution:
2007 Oct 30
1
Assorted oddities with --relative
I have discovered a few oddities with --relative in the latest
development rsync (from git, yay!):
#1. Junk in the middle of a source argument leads to duplicate entries
in the file list:
$ mkdir src src/D
$ rsync-dev -ni -rR ././src/.//.//.//.//.//.//.//./D/ dest/
cd+++++++++ src/
cd+++++++++ src/./
cd+++++++++ src/
cd+++++++++ src/./
cd+++++++++ src/
cd+++++++++ src/./
cd+++++++++ src/
2008 Jan 11
1
Oddities with RSiteSearch?
[If I knew who to report this to privately, I would. Sorry to embarrass
anyone who's just trying to contribute to the R-project.]
There seems to be some oddities with the RSiteSearch web page. When I
enter 'RSiteSearch("console")' I'm taken to
http://search.r-project.org/cgi-bin/namazu.cgi?query=console&max=20&resu