similar to: Anyway to Force a start even if the .pid file exists?

Displaying 20 results from an estimated 4000 matches similar to: "Anyway to Force a start even if the .pid file exists?"

2006 Dec 14
1
Does send_file act differently with Mongrel than withWebrick?
I tried the mime thing but it did not help. I didn''t think it was that because I can get the mp3 served OK hitting the URL in a browser. I just noticed that I am getting an error in Mongrel when WinAmp make the request for the mp3 file: BAD CLIENT (127.0.0.1): Invalid HTTP format, parsing fails. I don''t think Mongrel has a problem with the URL itself because if a browser
2006 Sep 26
3
Clustering - Avoiding "dead" processes?
I have Mongrel Cluster setup with Apache a mod_proxy_balancer. I''ve seen (from time to time) mongrel instances become non-responsive. Is there anyway to configure the balancer so that it "knows" which processes are no longer good and stops trying to use them? _______________________________________________________ The FREE service that prevents junk email
2006 Dec 14
1
Does send_file act differently with Mongrel than with Webrick?
Mongrel 0.3.13.3 Windows XP Rails 1.1.6 I have a rails app that serves up mp3 files via the send_file command. We create a playlist (M3U) with URLs to the mp3s. These play just fine using Windows Media Player. However using WinAmp we get an error "error syncing to stream" when it tries to request the mp3. After playing around I found that if I am running Rails under Webrick WinAmp
2006 Sep 26
4
Mongrel Processes Dying
We are seeing mongrel processes dying in our mongrel cluster. What is the best way to troubleshoot this? We have ruby 1.8.4, Rails 1.1.0 (upgrading soon), MySql 4.1 running on Red Hat Enterprise Linux ES release 4, Apache 2.2, mongrel-0.3.13.3, mongrel_cluster-0.2.0 I saw the following messages in the mongrel.log but not sure if theay are related to the processes dying. It would be nice if
2007 Feb 15
2
Multiple Processes Spawned from mongrel_rails start ?
Hello, I have mongrel 1.0.1, rails 1.2.2 ruby 1.8.5 running on Centos 4.4. When I execute the mongrel_rails start -d I see that 3 processes are spawned. See below: [root at ccc aaa]# mongrel_rails start -d [root at ccc aaa]# ps -def |grep mong root 2743 1 9 07:14 ? 00:00:01 /usr/bin/ruby /usr/bin/mongrel_rails start -d root 2744 2743 0 07:14 ? 00:00:00
2007 Jul 31
1
anyway to exclude logging for a given IP address?
Hi, im not sure if this is a mongrel or rails question, so im sorry if I got the wrong list. Is there anyway to turn off logging (in production.log) if a request comes from a given IP address. I use monit to watch everything, and I get tons of this in my log file: Processing AccountController#login (for 127.0.0.1 at 2007-07-31 14:06:28) [GET] Session ID: XXXXXXXXXXXXXXXXXX
2007 Oct 09
3
Monit reporting that pid changed
Hi, I was wondering if this is normal or if it something i need to wonder about. I get Monit alerts that my mongrels PID files have changed. Changed Service MONGREL_2 Date: Tue, 09 Oct 2007 14:19:38 +0000 Action: alert Host: sa.greenling.com Description: ''MONGREL_2'' process PID changed to 18368 Your faithful employee, monit
2006 Aug 08
3
How Create New Parameter set at Start Time?
I would like to be able to set a paramter during start up like: ruby script\server -nodename testNode_1 ... and would like to have access to this setting from models and/or controllers. Can someone point me in the right direction to get this working? Regards -- Posted via http://www.ruby-forum.com/.
2009 Sep 08
1
variables on files
I have this configuration: class monit { # Installing packages. package { "monit": ensure => latest; } file { "/etc/default/monit": owner => "root", group => "root", mode => "0644", source => "puppet:///monit/etc/default/monit", } file { "/etc/monit/monitrc": owner => "root", group =>
2008 Sep 21
3
Monit; BackgroundRB; environment variables
I started emailing monit mailing list because I started getting this problem where I couldn''t start backgroundrb with monit anymore, thinking it was a monit problem. However, I back tracked a bit since I had added code to my project, and monit was able to start backgroundrb again. I seem to have zeroed in on the problem. I''m not sure where the problem lies - maybe monit or
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
2010 Jun 11
2
Service monitoring/"Monit"?
Has anybody here tried the "Monit" utility (http://mmonit.com/monit/)? I need to set up some kind of "watchdog" functionality for a custom service otherwise started via init (i.e. via a script in /etc/init.d + rc*.d links managed by chkconfig) and it seems like this system may give me nearly what I want. However, something that concerns me about it, is that it appears to
2011 Mar 19
2
httpd cannot serve web page on port 2812 (for Monit)
Might there be anything CentOS related on why I cannot access the Monit GUI system on http://box-running-monit.com:2812 ? I am using a very basic /etc/monit.conf config, but I cannot get it serve the web page on my box The service start and stops fine (e.g. "/etc/init.d/monit start"), and I have it set to listen to port 2812 in the "/etc/monit.conf file" (so far, kept the
2008 Jan 09
9
mongrel, monit, and the many, many messages
Monit 4.9, Mongrel 1.0.1, Rails 1.2.6, Mac OS X 10.4.11 (PPC) I don''t know whether this is a mongrel issue or a monit issue. I''m trying to poke my way around a system set up by someone else. I have no more experience w/ mongrel that local Rails dev at this point, and a conceptual understanding of how monit is working. I have the Deploying Rails beta book, and I''m
2006 Mar 16
3
Drag Drop problem with Div using overflow:auto
There seems to be a problem with dragging an object outside a div if using overflow:auto on the div style. My problem is the same as the one described in the following thread but the responder''s "fix" did not work for me. Is there a fix for this problem? http://wrath.rubyonrails.org/pipermail/rails-spinoffs/2006-February/002599.html Regards
2012 Feb 16
4
Could not set present on ensure: Read-only file system
Hi, I try install python-psycopg2 with other packages, when run apt-get -y update returns the errors: err: /Stage[main]/Etc/Package[build-essential]/ensure: change from purged to present failed: Could not set ''present on ensure: Read-only file system - /tmp/puppet20120216-1063-18q7lsz-0 at /tmp/vagrant-puppet/manifests/vagrant.pp:15 err:
2006 Nov 05
2
logrotate, mongrel cluster and monit
While I could figure this out, I''m asking here first to see if anyone has already dealt with/created this. I''m running a mongrel cluster, running 4 mongrels on ports 8001-4. I''m using capistrano to deploy. And I''d like to use monit to check to make sure everything is running nice. I''d like to have monit restart only single mongrels if they fail, and
2007 Nov 07
8
mongrel - monit issue
Hi, was wondering if anyone else had a similar problem and knows why or a solution. basically my mongrels seems to work fine. i am running three clusters all which are monitored by monit. monit has the ability to restart a mongrel if it doesn''t pass a port connection test. so the problem is that after some time. aprox. 6hrs. to 20hrs. after clusters are started, the mongrels get
2008 Dec 24
3
Conditionals allowed within types?
Hello, I''m trying to do this: service { monit: ensure => running, enable => true, hasrestart => true, if ($operatingsystem == ''centos'') { hasstatus => true, }, require => Package[''monit''], subscribe => File[''monit.conf''], } And it doesn''t work in
2004 Jan 12
1
Samba 2.2.8a: Deleting all files
I have a directory on Unix exposed as a Samba share. All the filenames are greater than 8.3 format. When I go to this directory from a DOS prompt and do 'del *.*', I get a bunch of errors 'Unable to find file ...'.. But, if the directory contained 500 files, after the 'del *.*' it contains 400 files. I repeat the del *.*, get a few more errors Unable to find file ...