similar to: writing pid file earlier

Displaying 20 results from an estimated 1000 matches similar to: "writing pid file earlier"

2007 Nov 14
4
scripts installed
On a debian production server and my os x development mcahine, there is a script at /usr/local/bin/mongrel_rails On an ubuntu 7.1 machine, this script appears at /var/lib/gems/1.8/bin/mongrel_rails mongrel was installed using gem in all cases. What is the cause of the discrepancy? Thanks, John -- John Joseph Bachir http://lyceum.ibiblio.org http://blog.johnjosephbachir.org
2008 Jan 21
14
properly restarting mongrel instances
Hi folks. Using mongrel_rails and the mongrel_cluster capistrano recipes, I often encounter a situation where some of the mongrel processes don''t die in time to be restarted. The output of capistrano will tell me something like "mongrel on port 8001 is already up", but that''s only because capistrano/mongrel_rails failed to take it down in the first place. The solution
2007 Nov 19
1
thanks for the mongrel_cluster fix!
Just as I was composing an elaborate email illustrating that capistrano version detection was broken, I realized that 1.0.5 fixed the problem :) While we''re on the topic of code changes-- where is the mongrel_cluster subversion repository? I looked all over the mongrel site, sorry if I''m missing something obvious. Thanks, John -- John Joseph Bachir http://lyceum.ibiblio.org
2011 Sep 30
3
Multiple rack applications on the same server with unicorn
If I''m running two rails apps on the same server using Unicorn, I have to run two instances of Unicorn, right? If so, then here''s a place where passenger might win in terms of memory use, as the rails code will be loaded into memory twice, right? I''m still probably going with Unicorn, but just exploring this first. Thanks, John
2007 Mar 31
5
DRb server & aaf gem
I''m having problems getting the DRb server running with the aaf gem. I tried it with the plugin installed in my application, and it worked. I suspect the problem has something to do with the startup scripts expecting certain files to be in certain relative file paths. Any insights are appreciated, and maybe if you have time you can update the wiki document :) Thanks for a great
2007 Sep 08
1
trouble with deliver in 1.0.4
Ok, here's one for the idiot file. I just installed dovecot-1.0.4 on my personal system for testing, a system which has to be the simplest dovecot configuration possible. deliver is barking about something with which version 1.0.3 has no problem. I looked over the wiki, googled, and see nothing wrong. The error: deliver(jjb): Sep 07 21:39:40 Fatal: Failed to create storage for
2007 Apr 09
5
IndexReader#terms for all fields?
Is it possible to query the index for a TermEnum for all fields in the index instead of just ? Thanks, John
2007 Mar 29
4
nil''s representation in the index?
How are ruby nil values represented in the index? Thanks, John
2007 Apr 01
10
indexing mostly-binary documents (.ppt)
Here''s an interesting problem: In my app, we are indexing various types of documents, including microsoft powerpoint. Powerpoint documents are mostly binary, but have a bunch of text (all of the text in the document?) as well. My thinking is that the binary will never get searched for, and the proper text will be indexed and queried as expected, so the indexed binary will never
2007 Apr 01
7
baffling sort problem
I had sort-by-date working almost perfectly with my app. It was behaving as expected for most data, but had a few hiccups with certain data. I investigated and discovered that the correct data was storing this in my ferret index: "1999-10-18 00:00:00" and the incorrect data was storing this: "Mon Oct 18 00:00:00 EDT 1999" (oops...) So I of course had to fix the
2007 May 31
5
complete index rebuild using AAF trunk
I am using AAF trunk, and I want a way to rebuild an index on a production site with little or no interruption to service. The Drb Server documentation* states that when an index is rebuilt, it is done in a separate location and then swapped into place when finished, and so to do a complete rebuild on a live site, one must take into consideration objects which have been created or
2007 Jun 16
2
more specific queries via IndexReader
We would like to show a list of "most recently added terms", meaning, the results of this query: Resource.aaf_index.ferret_index.reader.terms(:summary) BUT, only returning terms from a certain set of documents (in our case, we are going to filter by creation data). Is this possible? Thanks, John
2007 Jan 17
7
removing special/syntax characters
Is there any somewhat standard way to remove or otherwise handle special or syntax characters from a user''s search, such as a colon? I was thinking maybe there was something akin to Ferret::Analysis::FULL_ENGLISH_STOP_WORDS, like Ferret::Analysis::FERRET_SYNTAX_CHARS, but no such luck. How are other folks dealing with filtering user input? John
2007 Apr 01
9
Important issue with [AAF] and :select
This is important and may be affecting you if you use :select to minimize the columns you need on big queries. If you use :select to define which columns you need and you have not included all the columns you defined in the :acts_as_ferret field definitions you''ll clear the content of those fields on the ferret index. And that may corrupt your index. So, if you have in your model:
2016 Apr 27
2
Bourne shell deprecated?
Once upon a time, JJB <jack at internetguy.net> said: > Interesting. Back in 1980 we called /bin/sh the Mashey shell. It > did not have command substitution or other things we now take for > granted. Bourne did that for us. So there's a version or two > missing in history... Check the history here: https://github.com/dspinellis/unix-history-repo -- Chris Adams
2011 Jul 07
4
Changing Host Name
Thanks to all of you who are answering my dumb questions about my new CentOS instgallation. I modified /etc/hosts, as the hostname man page seemed to suggest, and rebooted. The hostname is still localhost. I want to change it to jjb-centos. I also want to change the domain name to abilitiessoft.com Thanks, John -- John J. Boyer; President, Chief Software Developer Abilitiessoft, Inc.
2007 May 30
3
A way to get all the words from an index?
Hi, I am just wondering if there''s a way to get all the words from an index. Basically, all the words that have been indexed (excluding the stopwords if I''m using the stopwords analyzer, etc.) The fields I''m putting in are not :stored in the index. The idea is to implement a "did you mean?" mecanism, which is based on the content of the index, not on a
2006 Dec 18
2
non-zero result set, but nil element
With AAF I am seeing a strange situation, where a result set has 1 element, but the element is nil, or perhaps sometimes an empty array. I realize this isn''t much to go by, but the rest of my system, and seemingly parallel queries, are working fine. Any suggestions are much appreciated. John
2016 Jun 18
1
Centos update 6.8 to 7
?I downloaded Centos 7 and i want to update from local usb i created using dd if=cenots7 of=/dev/sdc?i dont want to reinstall, i need just to update.What would be the best way to do so pleaseThanks muchBachir
2016 Jun 19
1
Centos 7 install on dual SSD disk Asus
?Dear all,I installed centos 7 on the second disk of my Asus laptop. The laptop i have has two SSD disks 240 G and 480G consecutively ? the fist? disk (240) has already windows 10 installed on , the second disk now has Centos 7 installed on.while insalling Centos 7 i let the bootloader part and because i can see only the centos disk not the windowsWhen i turn on my pc the windows part does not