Displaying 20 results from an estimated 4000 matches similar to: ""mongrel_rails stop" leaving undeleted .pid files"
2007 Feb 21
3
Mongrel_Cluster PID File Creation Error.
Hello,
Thank you for your development of Mongrel, great job. :)
I am using mongrel_cluster, but I have a problem where my rails
application name includes a "." such as mydomain.com, which causes an
error when generating the PID file for mongrel.
I have attached below a diff of the current working copy in the trunk
and the changes I made to overcome this problem. I kept your
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 Jul 16
1
mongrel_rails start working mongrel_rails
Thanks Bill for the answer !
In fact, my application is working well with webrick and also with a
single mongrel instance lunched via
the command : mongrel_rails start
When I check what is the difference in the gem loaded in both cases
(mongrel_rails start and
mongrel_rails cluster::start) it seems that mongrel_rails
cluster::start does not load all the gems that the first command is
loading.
So
2007 Jul 16
2
mongrel_rails start working mongrel_rails cluster::start not working
Hi everybody,
I have installed mongrel and mongrel cluster in a new linux box .... at the
end of the day I was able to lunch mongrel (mongrel_rails start -e
production) and all is working fine with.
However, when I tried to set a mongrel cluster the command mongrel_rails
cluster::start get the following output :
starting port 8000
starting port 8001
starting port 8002
But when I lunched the
2009 Feb 18
1
ssh -f & pid
Hi,
Ssh -f forks itself in the background. Very usefull if you would like to
e.g. tunnel munin over ssh. Now it's tricky to terminate one process if
you have multiple running.
It seems that ssh currently (looked at 5.1p1) has no write-pid-to-file
functionality
So I implemented a patch which do so. Tested it a little and it seems to
work. Hopefully it is of any use in my form or inspires the
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 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
2007 Feb 24
3
Mongrel Cluster 1.0.1.1 Prerelease: Healing power of the pack!
Hello all...
I know its been a while since the last one, but a new prerelease is
available with a gratuitous increase in version numbers!
gem install mongrel_cluster --source http://mongrel.rubyforge.org/releases/
This one has some new features in it that need to be tested on all unix
platforms. Please run --clean and cluster::status on every *nix you can
find. I run linux so the rest are up
2001 Oct 29
0
signal messages
comments?
allows
% ssh host 'tail -f /var/log/messages | grep bla'
^C
Index: clientloop.c
===================================================================
RCS file: /cvs/src/usr.bin/ssh/clientloop.c,v
retrieving revision 1.86
diff -u -r1.86 clientloop.c
--- clientloop.c 24 Oct 2001 19:57:40 -0000 1.86
+++ clientloop.c 29 Oct 2001 19:08:37 -0000
@@ -103,6 +103,8 @@
*/
static
2006 Aug 27
2
Mongrel not creating pid file
Here''s my config:
:debug: false
:daemon: true
- mongrel
:log_file: log/mongrel.log
:pid_file: log/mongrel.pid
:environment: development
And I start Mongrel with:
mongrel_rails -C config/mongrel.yml
It starts up fine, and creates and logs to the log
file, but I haven''t seen it create a pid file yet. Any
idea why?
BTW, why does Mongrel generate a config with vars like
:var:
2007 Oct 05
2
Mongrel PID file permissions
Hi !
I''m using Mongrel 1.0.1 with --pid and --user/--group. The PID files
are correctly owned by the user/group, but their permissions is 0666.
Is that normal ? Shouldn''t it be something like 0664 ?
Just curious to know if I''m wrong.
Configurator has this (line 77):
# Writes the PID file but only if we''re on windows.
def write_pid_file
if
2007 Aug 26
1
monit not executing start/stop/restart mongrels
Alright, I have googles and read through the docs on monit
I get this error when adding -v starting monit
monit: Cannot connect to the monit daemon. Did you start it with http support?
monit: Cannot connect to the monit daemon. Did you start it with http support?
Am I missing something here?
set daemon 120
set logfile syslog facility log_daemon
set mailserver localhost
set httpd port 28212
2008 Jun 05
14
Why not ignore stale PID files?
Hi,
I have an application which is dying horrible deaths
(i.e. segmentation faults) in mid-flight, in production... And of
course, I should fix it. But while I find and fix the bugs, I found
something I think should be different - I can work on submitting a
patch, as it is quite simple, but I might be losing something on my
rationale.
When Mongrel segfaults, it does not -obviously- get to clean
2007 Apr 17
7
problem restarting mongrel_cluster outside RAILS_ROOT - patch and other option
Hey folks. Sorry for the SUPER long email but if you''ve been
experiencing the same problems with restarting your mongrel cluster with
Capistrano, then I have two solutions that have worked for me and I''m
pretty sure will for you as well.
THE PROBLEM
I was having trouble restarting my clusters using Capistrano. I''ve seen
this come up before on the mailing list and
2002 Jan 31
4
signal transmission in ssh2
does somebody like this?
Index: Makefile.inc
===================================================================
RCS file: /cvs/src/usr.bin/ssh/Makefile.inc,v
retrieving revision 1.21
diff -u -r1.21 Makefile.inc
--- Makefile.inc 30 Oct 2001 20:32:31 -0000 1.21
+++ Makefile.inc 16 Nov 2001 12:07:22 -0000
@@ -10,7 +10,7 @@
CDIAGFLAGS+= -Wmissing-prototypes
CDIAGFLAGS+= -Wunused
-#DEBUG=-g
2008 Jan 28
8
mongrel_rails not starting
Hi,
Im a newbie to ruby and rails. I installed mongrel using the command:
sudo gem install mongrel --include-dependencies
When i try to start mongrel with
mongrel_rails start -d, its throwing the same error as it did to you:
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
`gem_original_require'': no such file to load -- http11 (LoadError)
from
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.
2008 Jun 12
5
mongrel_rails cluster::stop not working
Hi
am a newbie to mongrel. am using mongrel cluster in my ruby application.
When i start mongrel cluster it is working fine and when i stop it it
says already stopped port 8000.
it is giving the error as follows
********* simple selection ********* ********* selection by list
*********
-A all processes -C by command name
-N negate selection -G by real
2016 Aug 04
3
[PATCH v2 1/2] firstboot: rename systemd and sysvinit
Currently we install a systemd service named firstboot.service and a
SysV service named virt-sysprep-firstboot. On systems where systemd is
the init system and runs with the SysV compatibility, the different
names make systemd handle them as different services, and thus trying to
run the firstboot script runner twice.
Rename both the systemd service and the SysV one to guestfs-firstboot:
the new
2006 Dec 07
8
Cluster restart leaving orphaned processes?
First off, a big thank you to Zed and the development team for
mongrel and mongrel cluster. I''ve deployed it for two apps (through
an apache 2.2 proxy) and it''s amazing how much snappier everything
is. Previously we were using lighttpd and lighttpd-fastcgi proxying
through apache 2.0, which was turning into a hassle for lots of
reasons, most notably the ruby fcgi