Displaying 20 results from an estimated 1000 matches similar to: "Rails 2.2.2 - Mysql::Error: MySQL server has gone away"
2008 Sep 26
2
Preventing Mongrel/Mysql Errno::EPIPE exceptions
I have a rails app serving up XML on an infrequent basis. This is being
run with mongrel and mysql. I''ve found that if the app does not get
exercised for longer than a few hours it goes dead ("Lost Connection to
MySQL") and starts throwing Errno::EPIPE errors. It seems that the mysql
connection gets timed out for inactivity or something like that.
It can be restarted with
2007 Sep 21
2
mysql storeconfigs needs mysql gem
Recently I started noticing that after running for a while
puppetmaster would freeze after a client called `freshness` which
would eventually result in the client getting a timeout and the client
dyeing. I tracked the freeze down to the call to
ActiveRecord::Base.verify_active_connections! in rails.rb on line 26.
After scouring the nets I finally found:
2006 May 25
5
Application stops working over night: (Errno::EPIPE (Broken pipe)) is the error
I know this question gets asked a lot but I can''t seem to find the
answer when I search through the mailing list. First off here''s my set
up.
Cent OS 4.3
Apache 2.0
Fast CGI 2.4.0
Rails 1.1
Mysql 5.0
The app starts up fine, but every morning it refuses to start and gives
me the dreaded Application error untill I reload Apache. I thought my
database was timing out so I added
2007 Sep 03
11
MySQL has gone away
Hi,
in a production environment we are running into "MySQL server has gone
away" errors (see below) when we call rebuild_index in aaf. This happens
sporadically.
Any suggestions for what might be wrong or workarounds? I guess we try a
reconnect before we call rebuild_index?
Matthew
ActiveRecord::StatementInvalid (Mysql::Error: MySQL server has gone
away: SELECT count(*) AS
2006 Jul 05
2
Serialized object behaves weird
Hi!
I got a class named EinsatzFilter which I serialized to session. Before
saving to session it works afterwards I keep getting the message:
"undefined method `to_s'' for #<Person:0x38c6ab8>". "Person" is a from
ActiveRecord::Base inherited class.
Code:
class EinsatzFilter
include ApplicationHelper
attr_reader :personen, :monat, :projekte, :kunde
2008 Jan 29
8
Sending file from mobile phone to Rails app
Hi guys,
So I''m trying to add the ability to send files (pictures) from mobile
phones to my Rails app using an SMS number, NOT an email address.
Can anyone share how this is done?
Thanks,
Adeel
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2007 Nov 07
3
Weird freeze problem
Hello,
I am running mongrel 1.1 in production mode behind a lighttpd with mod_proxy.
At first everything works fine, however, after a few days, the mongrel servers stop answering at all, even if I try to connect to them directly.
I have checked logs but there is no sign of anything at all, and even when there was not a single request for a few days, it did freeze, and
that on repeated occasions.
2013 Sep 16
4
Executing command via puppet !
Hi,
Is it possible to get response of a command from puppet ?
For example if I run "nginx -t" it would give some details about the
configurations i.e. if configuration has some error then which file has the
error !
Regards
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving
2013 Feb 26
4
Sieve filters on folders, different from INBOX
Hi all
Is it possible to configure Dovecot's sieve plugin to act on message
arrival to folders, other than INBOX?
I wish to move messages fetched by pop3 fetcher to special folder, or sort
outgoing mail to folders, specific
to their recipients.
Thanhs in advance,
WBR,
valery
2005 Jul 02
3
What to use h323 or oh323 ???
I m new to asterisk n i've got an IP phone that supports h323 protocol.... but i dont know how to configure asterisk to use it... i m comfortable in using sip & iax softphones.... but there is no h323.conf in /etc/asterisk/ .... i read that i've to compile some files but i m confused regarding h323 & oh323 ...... which one should i use.. plz tell me or atleast give some helpful
2006 Mar 17
1
omega crawler: ht://dig or wget?
At wiki page: http://wiki.xapian.org/Omega
I added a comment that ht://Dig looks like dead.
Does anybody really use it?
>From brief glance at docs I had a feeling it is not easy to configure.
Maybe better crawler is GNU wget? Mature, stable, maintained?
--
Peter Masiar
2009 Feb 10
3
scaffold macro problem
Hello,
I am using Komodo Edit 5.0 for ROR. I have made the database by using
the macros in it. But when I make model using sacffold, I get error. The
details are given below:
C:/Ruby/lib/ruby/1.8/yaml.rb:133:in `load'': syntax error on line 22, col
2: ` password:'' (ArgumentError)
from C:/Ruby/lib/ruby/1.8/yaml.rb:133:in `load''
from
2006 Nov 16
3
Monrel Woes on Solaris x86
Greetings,
I need some help... please be gentle :-)
MY SETUP:
Solaris-X86, ruby-1.8.4, Apache-2.2.0, Mongrel-0.3.13.4, MySql-4.1.10a
I am using the typical setup with apache proxying request to mongrel
with mod_proxy_balancer. Currently, I am only running a single
instance of mongrel behind the proxy.
I am also using the following gems with this app:
capistrano (1.2.0)
daemons (1.0.2)
2013 May 02
3
R issue with unequal large data frames with multiple columns
I'm a bit of an amateur R programmer. I can do simple R scenarios but my
handle on complex grammatical issues isn't steady.
I have 12 CSV files that I've read into dataframes. Each has 8 columns and
over 2000000 rows. Each dataframe has data associated by time component
and a date component in the format of:
X.DATE and then X.TIME
X.DATE is in the format of MMDDYYYY and X.TIME is
2006 Jul 05
3
mongrel - server pooping out..
i am using the following comman to fire up mongrel:
[sergio@vb_workstation chatlogger]$ mongrel_rails start -d -p 8088
** You have sendfile installed, will use that to serve files.
and everything works fine until some point at night.. i think it is
pooping out some time in the middle of the night.. if i try to hit the
app in the morning, it just stalls out..
if i restart it, it''s
2009 Apr 20
2
Dovecot -> Gmail (via POP Mail Fetcher)
I'm trying to move my entire email store from my Dovecot installation (which
I normally access via IMAP) into Gmail using Gmail's Mail Fetcher (which
functions over POP); and I'm running into two problems:
1. Gmail only imported 78 out of 1000+ mails in my inbox, which I'm taking
to mean that Dovecot is reporting only those 78 as new. How can I get
Dovecot to send all mail over as
2009 Apr 23
2
BackgrounDRb start error
Hi,
I''ve got a Rails 2.2.2 app and I''m trying to get BackgrounDRb running.
I''m just following the simple example in Advanced Rails Recipes.
I installed BackgrounDRb from Git,
installed the packet and chronic gems,
ran ''rake backgroundrb:setup'',
generated a worker,
and then tried to run ''script/backgroundrb start''
but I get:
2009 Nov 14
1
Filmon HDI Player
Hello,
wonder if anyone can help here - perhaps a winetrick (tried DIVX - doesn't help, and slight problems with Ubuntu 9.10, like some other Linux programs have). I have tried to install a MS Windows program to watch TV, films etc. over the Internet from filmon.com. The program gives a "network problem" message after trying to authenticate the log-in name and password.
There is no
2005 Jul 01
2
How to Configure a H323 Phone (newbie here)
i read that asterisk supports iax,sip and h323 protocols.... i've used sip & iax softphones ... now i've a hardphone... an IP phone (Netphone) that supports h323 ..... i've compiled pwlib ,oh323 and asterisk -oh323 successfully ... but i m unable to place calls to/by my phone... i m confused whether to use h323.conf or oh323.conf and how ? i think it's different from iax.conf
2007 Mar 18
2
mongrel timing out
I am not sure when it exactly occurred but I have 2 servers I am about to
migrate to apache+mongrel from lighty+fastcgi
oddly, both my servers seemed to have died at the same time everytime I
restart within a 24 hr period ( I don''t know when, my logs don''t show it ).
Can someone please point me in the direction of what I need to do to trace
the cause of this. Or what you would