Displaying 20 results from an estimated 10000 matches similar to: "Problem with lighttpd on mac"
2006 Jan 18
1
Problem with OCI in Apache
My Application runs fine when run on webrick, but throws up database
error when run from apache. this is the copy of the FULL TRACE i get
/usr/local/lib/ruby/site_ruby/1.8/oci8.rb:131:in `create''
/usr/local/lib/ruby/site_ruby/1.8/oci8.rb:131:in `initialize''
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/oci_adapter.rb:515:in
2006 Jan 28
3
App running fine on Webrick, ActiveRecord::ConnectionNotEstablished in lighttpd
My app runs fine on webrick, but I get a
ActiveRecord::ConnectionNotEstablished when I try to run it on
lighttpd. Here''s the app''s lighttpd config:
$HTTP["host"] =~ "(www\.)?mysite\.com" {
server.document-root = "/home/pergesuteore/public/"
server.error-handler-404 = "/dispatch.fcgi"
fastcgi.server = ( ".fcgi" =>
(
2006 Feb 25
0
neverending i2/lighttpd problems
So after recompiling ruby a few times to get ssl and readline working,
fighting with lighty for awhile, and learning a bit more about linux
in the process, I think I''m really close to getting i2 up and running.
However, when I try to access my wiki, I get either a blank page or
an error 500 and the stack trace below gets sent to the log. If I
can''t get this working soon
2006 Jan 05
2
Rails 1.0 Crashing: Errno::EPIPE (Broken pipe):
Since we upgraded to Rails 1.0 and lighty last week we''ve had the rails
application crash daily with the following error in the production.log
file:
Errno::EPIPE (Broken pipe):
/usr/local/lib/ruby/1.8/mysql.rb:1042:in `flush''
/usr/local/lib/ruby/1.8/mysql.rb:1042:in `write''
/usr/local/lib/ruby/1.8/mysql.rb:462:in `write''
2005 Dec 12
4
Rails crashes over night?
I''m
running Ruby on Rails on Fedora Core 4 with lighttpd and fastcgi. I
also used the login generator (don''t know if relevant). I have the
following problem: At day time I work on the server and create/modify
ruby files on the server, all pages work fine. Than the next day I want
to open de server I get the error at the end of this message (on all
pages, including non protected).
2006 Aug 07
0
deployment failures with sqlite3
Hello list,
I''m attempting to deploy my first rails app on textdrive and have run
into a problem. I currently have lighttpd running and I am able to
start my rails app. When I attempt to visit my site I get an:
Application Error (Rails)
Investigating my production.log it looks like the app isn''t finding
sqlite3, right? Do I need to pack that with the app? What about non
2006 Feb 09
2
postgres connection problems
Hello, I''m a newbie to rails and I am trying to do the Demo in the
November Issue of Linux Journal. Things go fine go fine until I try to
connect to my Postgres database (ver 8.1). At this point I get the
following error message
---- RoR error and trace back ----
PGError in Admin#index
could not connect to server: Permission denied
Is the server running on host "localhost"
2006 Feb 08
5
Mysql::Error: Lost connection to MySQL server during query:
Hi,
I am having Mysql connection problem for my first AddressBook
application (which I took it from
http://www-128.ibm.com/developerworks/linux/library/l-rubyrails/)
I have gem installed the latest ruby, rails, lighttpd, fastcgi,
mysql-4.1.14 on linux. Everything looks good. When I do:
mysql -h localhost -u test -ptest -D AddressBook
mysql> SELECT COUNT(*) FROM contacts;
+----------+
|
2006 Jan 04
3
Intermittent problem with link_to_remote()
Hi folks,
My page displays links for ''categories'' using the link_to_remote()
function. Clicking on one of these links goes to the controller and
returns any child categories. I''m finding that the page works ok but
after a number of clicks (average 5 or so), it crashes with an error:
==============================================
Processing Base#index (for
2005 Dec 19
5
using a local MS SQL Server
I would appreciate any tips/clues/advice very much.
I have started using ruby on rails and when the MS SQL Server database is on
a different box than my dev box (where the RoR app is located) I can connect
fine. However when I try to connect to a MS SQL Server database on the same
box as my RoR app I get an error. I have tried to use the IP address of the
dev box as the value of
2006 Jan 21
2
problems in moving an application database from a local to a remote mysql server
hi.
i''ve an application which is using a local mysql server (on
localhost). i then moved the mysql server to another machine (remote
host) and changed accordingly the "database.yml" file.
when i launch webrick from the "localhost", it can connect to the
database but as soon as i call a controller of the application (for
example
2006 Jan 10
5
Oracle 10g Express - generate scaffold gives error
Hello,
I have Oracle XE installed.
I have a table USERS.
When I try to generate a scaffold it gives me this error.
I tried also with Mysql and it worked.
E:\radrails\projects\MPS>ruby script\generate scaffold user
exists app/controllers/
exists app/helpers/
create app/views/user
exists test/functional/
dependency model
exists app/models/
exists
2006 Jan 22
2
a newbie doomed in the first introduction to rails.
Hello,
Thank you for the fast responses, I really appreciate. I really enjoy being
a part of such a great community.
I still could not solve my problem. To make sure that I can not connect
beacuse of access rights, I have started mysql server --skip-grant-tables
option. (I have read the part of the manual about access rights, which I was
to read in this list, but 4 AM in the morning, I had hard
2006 Aug 08
1
File upload into Mysql (using lighttpd) problem
Hello All,
I''ve run into a snag. (I apologize in advance. I''m not very good at
system administration.)
I''m building an app that allows users to upload files. Up until now I
have been storing the files on the file system, but tonight I decided to
change the app so the files are stored in the database as a longblob.
I thought everything was working great, until I
2006 Mar 14
4
ruby-postgres: can''t convert string to integer
Hi everybody,
I''m experiencing trouble when trying to use ruby-postgres with a legacy
database I need access to. To me it seems the problem is the VARCHAR
columns used there as primary keys. On a simple
me = User.find(''PS12345'')
I get a type error exception with the message ''can''t convert String into
Integer''. The trace is:
2006 Jan 13
1
ActiveRecord: using with multiple threads/DB connections
Hi,
I''m totally new to Ruby and Rails and I''m trying to set up a prototype
web site. Unfortunately, I''m having problems with ActiveRecord using
multiple threads.
What I want to do is fairly simple. I have a Controller that receives
and saves data from the web in the DB, but once that''s done I want to
process this data in another thread and then save the
2007 Jun 11
3
ActiveRecord::StatementInvalid error
Hi,
I have an application that is running fine on two different machines,
but when I ported the code to a third machine, it doesn''t seem to
work. More specifically, for users with a significant amount of info,
it seems to stop working. All the functionality seems to be working
properly on a small test set, but with a larger set I get the
following error:
AssociatedAp Load (0.000000)
2006 May 14
0
RJS Template not getting called
I have a shared account on Site5.com running Rails v1.0. I installed
the RJS template plugin within my project.
My controller function gets called, but my corresponding RJS template
does not get called. The following is output (any thoughts?):
ActionController::MissingTemplate (Missing template
./../config/../app/views//workout/addjournalentry.rhtml):
2006 Jul 24
0
apache proxy lighttpd
Hi, I''m trying to setup up a rails deploy environment. I get an error
when start lighty in production.log
undefined method `downcase'' for nil:NilClass
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/request.rb:17:in
`method''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/base.rb:902:in
`log_processing''
2006 Jan 24
1
Newbie: Cookbook Application problem with MYSQL
Hi everybody,
I''ve been reading lot of material about Ruby on Rails, and it looks like
really rocks.
I''ve downloaded the one-click version for Windows and started to build
the example cookbook app, found in:
http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html?page=1
Everything looks good, but when I''m trying to create a new Recipe