Displaying 20 results from an estimated 1000 matches similar to: "Fastcgi and mysql woes"
2005 Dec 18
0
OpenBSD 3.8, Apache 1.3, FastCGI, Chroot
Okay, well the OpenBSD install/chroot guide is a good starting point....
Anyhow, Can someone shed some light on these particular error messages?
[Sat Dec 17 18:42:34 2005] [notice] Initializing etag from
/var/www/logs/etag-state
[Sat Dec 17 18:42:34 2005] [notice] chrooted in /var/www
[Sat Dec 17 18:42:34 2005] [notice] changed to uid 1, gid 1
[Sat Dec 17 18:42:34 2005] [notice] Apache/1.3.29
2005 Dec 20
1
trouble with fastcgi and "undefined method `is_cgi?''"
I''m trying to get started with fastcgi on apache 2.0.54 on Fedora Core 4.
I''ve created a really simple Rails app that doesn''t do any database actions.
It works fine when I call it as CGI, but when I try to switch to fastCGI, I
have problems.
I get the following error in log/fastcgi.crash.log:
[20/Dec/2005:10:16:53 :: 26912] Dispatcher failed to catch: undefined
2005 Aug 31
0
FCGI Static server definition
Per the Ruby on Rails book you need something like this for a static
server definition:
<IfModule mod_fastcgi.c>
FastCGIIpcDir /tmp/fcgi_ipc
FastCGIServer /path/to/app/public/dispatch.fcgi -iniital-env
RAILS_ENV=production -processes 15 -idle-timeout 60
</IfModule>
So my question is if I have more than 1 app running via apache are these
settings applied to each app or do I put
2006 Mar 26
3
help with rails and apache
i just went through the tutorial on
http://wiki.rubyonrails.com/rails/pages/HowtoInstallAndRunRubyOnRailsOnCpanel
but i''m having some problems.
when i add:
<IfModule mod_fastcgi.c>
FastCgiIpcDir /tmp/fcgi_ipc/
AddHandler fastcgi-script .fcgi
</IfModule>
under the line that says:
LoadModule fastcgi_module libexec/mod_fastcgi.so
apache fails to restart.
i went on
2006 Feb 14
5
problem with apache
Hi!
I don''t know much about linux and apache configuration, so we''re using
cpanel on our server to manage accounts etc.
I was trying to install ror (according to this page:
http://wiki.rubyonrails.org/rails/pages/HowtoInstallAndRunRubyOnRailsOnCpanel)
on our server, but it didn''t worked.
If i enter "server.com/rails" i get "/testapp/index.html was not
2005 Jun 30
4
A Memoir on FastCGI and Apache
With the release of our filmfury.com project, I''ve been trying to
rise to the stature of a true system administrator in the last couple
of days (haha). I''m trying to understand how all of the pieces to
this apache/fastcgi deployment fit together.
Here''s what I''ve learned so far:
* You need a separate FastCGI server for each Rails application on
your
2006 Jan 11
3
FastCgi/OCI8 problem
Hi,
I''m having problems running my rails application in the following
setup Unix/Apache/FastCgi/Oracle10g.
I had my app running quite happy until I installed the OCI8 driver.
When I try to load the app I get in the apache logs the famous
"undefined method ''define_a_column'' for class OCI8:Cursor (NameError)"
I think the problem is with the fastcgi set up
2006 Mar 13
9
apache 1 fastcgi config correct???
I followed this tutorial on the rails wiki about how to get apache with
fastcgi working on a vps machine:
http://wiki.rubyonrails.com/rails/pages/HowtoInstallAndRunRubyOnRailsOnCpanel
In the tutorial it said to add this to the httpd.conf file to get fastcgi
working.
<IfModule mod_fastcgi.c>
FastCgiIpcDir /tmp/fcgi_ipc/
AddHandler fastcgi-script .fcgi
</IfModule>
However
2006 Jan 10
9
FastCGI cannot start; Rails doesn''t work
I have a problem deploying FastCGI for use with RoR.
OS: FreeBSD 5.4
Apache: 2.0.55
FastCGI: 2.4.2
######
I compiled a new mod_fastcgi.so and copied it to
/usr/lib/apache/mod_fastcgi.so
######
My httpd.conf looks like this:
LoadModule fastcgi_module /usr/lib/apache/mod_fastcgi.so
<IfModule mod_fastcgi.c>
AddHandler fastcgi-script .fcgi
</IfModule>
######
The testscript
2006 Jun 06
5
[OT] O''Reilly Cookbooks
Hi,
Has anyone gotten the "roughcuts" of the Ruby and Rails cookbooks? If you have the Pragmattic Rails Cookbook is the O''Reilly worth it? Also can you download PDF''s of their "roughcuts". The website is kind of vague, it just mentions online access (whatever that means).
Thanks in advance.
2014 Nov 10
3
backup incrementals on mysql
Hi all.
I usally make backups of databases mysql.
I make buckups of all datbase for example:
mysqldump -u user -ppassword name_db > backups.sql
also I make backups just its schema for example
mysqldump -u user -ppassword name_db --no-data > backups.sql
but now I need a backups incrementals, because the size of DB is very big
(500 mb)
How to make this?
regards
--
*Atte.
2006 Jul 21
3
ROR - Apache - FastCGI / Can''t see stylesheets or javascript
Folks ...
I have been porting my app from dev environment on Webrick to Apache
with FastCGI. I have the app responding and pulling up the data, but it
is ignoring the "images", "stylesheets", "javascripts" directories
located in the public directory.
I''m running Apache under Suse Linux 9.x. Here is the information that I
have in my vhosts.conf file:
2006 Jun 30
0
Production Mode in my Rails Application not responding
I also had a problem with our client''s site www.storkselect.com. When
working with up-dating coding...Everythng was fine until I changed the
coding from:
IfModule mod_fastcgi.c>
FastCgiServer /var/www/storkselect/public/dispatch.fcgi \
-initial-env RAILS_ENV=development \
-processes 2 \
-idle-timeout 60
</IfModule>
To
2006 Jun 30
1
running in production mode
I am running apache with mod_fastcgi on Linux - I would like to run my
app in production mode, but I could not. Following is what I have in my
httpd.conf. Can someone tell me why it does not recognize the env
variable for production? The app always runs under development mode i.e
ignores the RAILS_ENV directive.
thanks/ thila.
<IfModule mod_fastcgi.c>
FastCgiIpcDir /tmp/fcgi_ipc/
2007 Jan 16
1
system(mysql... Does not recognize < as passing an attribute (No HTML)
Hi,
This is my command line request: mysql -u root -ppassword -D quant
<c:/cline.txt
This line works from the command line in windows.
In R, when I try to use the system function, it does not work,
> system(paste('mysql -u root -ppassword -D quant
<c:/cline.txt'),show.output.on.console = TRUE)
ERROR 1102 (42000): Incorrect database name '<c:/cline.txt'
It seems
2007 Jan 16
1
system(mysql... Does not recognize < as passing an attribute
Hi,
This is my command line request: mysql -u root -ppassword -D quant
<c:/cline.txt
This line works from the command line in windows.
In R, when I try to use the system function, it does not work,
> system(paste('mysql -u root -ppassword -D quant
<c:/cline.txt'),show.output.on.console = TRUE)
ERROR 1102 (42000): Incorrect database name '<c:/cline.txt'
It seems
2006 Aug 09
0
Deployment: Best way to switch between test and prod envs.
All,
Not looking for advice on the relative wisdom of my actions :).
I have a Rails app. running under Apache 2/fastcgi that I would like to
switch from using the test environment (database) to using the
production environment (database).
I can do this by hand by modifying my xx_mod_fastcgi.conf file and
setting RAILS_ENV to be the appropriate value in the command that
initializes my
2006 Oct 06
0
Setting up apache for rails
I am a newbie to ruby rails and apache so i hope this is not a stupid
question but, have written an application which runs on webrick the
webserver that comes pre-packaged with locamotive. I am now trying to
get the application to run on my apache server but i am having a small
problem!
in my httpd.conf i have set the server to load fast cgi and where the
applications virtual host is to be
2006 Feb 16
4
Lost while trying to deploy rails app on apache
I need to graft some rails apps onto a website running apache 1.3 and
I must be missing something very obvious because I cannot get things
working properly. Here is what I need:
1) The server must be running apache 1.3. A very large body of PHP
content is currently vended by the server through 5 vhosts and I have
neither the time nor resources to replace apache1 with apache2 or
lighttpd. Maybe
2014 Nov 02
2
Re: KVM incremental backup using CBT
> > A quick google search found this:
> > http://callecalle.uach.cl/ovirt-engine/docs/manual/en_US/html/Technical_Gu
> > id e/QEMU_Guest_Agent_Overview.html
> >
> > Sadly, it didn't spell out the name of where you install hook scripts
> > into the guest. But this commit is pretty telling:
> >