Displaying 20 results from an estimated 40000 matches similar to: "Stunnel and postgres?"
2006 Jul 31
3
PostgreSQL, postgres gem, rails2.pdf, http://ruby.scripting.ca/postgres/ confusion...
Hello people...
In the rails2.pdf Dave T says:
Rails works with the DB2, MySQL, Oracle, Postgres,...
The database drivers are all written in C and are primarily distributed in
source form.
Then he lists this site:
http://ruby.scripting.ca/postgres/
Then he says,
There is a pure-Ruby version of the Postgres adapter available. Download
postgres-pr from the Ruby-DBI page at
2005 Oct 29
0
postgres 8.0, PQsetdbLogin() in -lpq... no
People,
I got rails talking to PostgreSQL 8.0 on my Mac!
Once upon a time:
I''m on a Mac.
I want to use postqreSQL 8.0 to backend my rails.
I tried a gem install...
zmac11:/cd/rubythings/ruby-postgres oracle$
zmac11:/cd/rubythings/ruby-postgres oracle$
zmac11:/cd/rubythings/ruby-postgres oracle$
zmac11:/cd/rubythings/ruby-postgres oracle$ gem install postgres
ERROR: While executing
2009 Jul 06
1
[PATCH server] add ipv6 postgres trust
If management server has ipv6 enabled and postgres is not configured to allow localhost access via ::1 the postgres service will fail.
---
installer/modules/ovirt/manifests/postgres.pp | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/installer/modules/ovirt/manifests/postgres.pp b/installer/modules/ovirt/manifests/postgres.pp
index 36bcdc0..12b7764 100644
---
2008 Apr 07
2
CentOS, Postgres init and puppet
Me again!
I have a recipe that looks like:
class postgresql {
file { pg_hba_conf:
name => "/var/lib/pgsql/data/pg_hba.conf",
source =>
"puppet://puppetmaster/files/workstations/common/var/lib/pgsql/data/pg_hba.conf",
owner => postgres,
group => postgres,
mode => 600,
subscribe => [ Package[postgresql] ],
2007 Jun 14
0
Samba with pdbsql (postgres) as backend - Machines can't join/login domain
Hey guys,
I'm trying to setup a centralized network authentication with postgresql
and I already have almost the services authenticating via postgresql.
Right now I'm trying to setup samba to also authenticate my users
against postgres database and I can successfully authenticate a user on
a windows desktop to lookup a share by example, but I can't do login on
the domain or even join
2007 May 11
1
postgres erros on RHEL 4
Hi All,
I set up posgresql on RedHat El4. Below are rpms I installed.
[root at LinuxBox etc]# rpm -qa |grep postgres
postgresql-libs-7.4.16-1.RHEL4.1
postgresql-devel-7.4.16-1.RHEL4.1
postgresql-7.4.16-1.RHEL4.1
postgresql-python-7.4.16-1.RHEL4.1
postgresql-server-7.4.16-1.RHEL4.1
Then, I did below commands to create a user and a database.
[root at box root]# su postgres
bash-3.1$ createuser
2009 Feb 07
2
installing ruby-postgres gem
I''m starting to look at postgres because I''m going to need it for its
GIS extensions. But I run in into a problem when trying to install the
ruby-postgres gem. I get this error
Building native extensions. This could take a while...
ERROR: Error installing ruby-postgres:
ERROR: Failed to build gem native extension.
blah
blah
blah etc
postgres.c:31: error: conflicting types
2009 Jun 19
0
[PATCH server] make postgres wait for starting to complete before creating databases
---
installer/modules/ovirt/manifests/postgres.pp | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/installer/modules/ovirt/manifests/postgres.pp b/installer/modules/ovirt/manifests/postgres.pp
index 6620a88..a711e32 100644
--- a/installer/modules/ovirt/manifests/postgres.pp
+++ b/installer/modules/ovirt/manifests/postgres.pp
@@ -38,10 +38,15 @@ class
2006 Oct 31
0
Rsync hangs on large files over stunnel
Greetings.
Here's my setup:
On the server -
rsync 2.5.6 protocol version 26
stunnel 4.04 on i686-suse-linux-gnu PTHREAD with OpenSSL 0.9.7b
On the client -
rsync version 2.6.6 protocol version 29
stunnel 4.14 on i686-suse-linux-gnu UCONTEXT+POLL+IPv4+LIBWRAP with OpenSSL 0.9.8a
Both ends run rsync as root
The rsync daemon listens on a non-default port that is only bound to 127.0.01.
2006 Apr 20
1
Unable to connect to postgres on Fedora Core 5
I have been struggling for hours trying to connect Rails to postgresql.
I have trawled google results - all to no avail! I have installed the
postgres gem but it doesn''t appear to install properly:
# gem install postgres
Attempting local installation of ''postgres''
Local gem file not found: postgres*.gem
Attempting remote installation of ''postgres''
2009 Jun 05
0
[PATCH server] update postgres for ipv6 support, or db:migrate will fail
If the ::1 ipv6 loopback entry is missing in pg_hba.conf rake db:migrate will fail
rake aborted!
FATAL: no pg_hba.conf entry for host "::1", user "ovirt", database "ovirt_development", SSL off
---
installer/modules/ovirt/manifests/postgres.pp | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git
2004 Jun 23
0
UPDATE Patch for postgres enabled app_voicemail.c
I forgot to take out the portion that would read in the voicemail boxes from
the text file. If you want to leave it in then you could have some voicemail
boxes defined in the text voicemail.conf. I do not, so I have removed it.
Below is the new patch:
*** app_voicemail.c 2004-06-23 07:55:54.000000000 -0600
--- app_voicemail.c.new 2004-06-23 07:55:47.000000000 -0600
***************
*** 49,61 ****
2007 Jun 03
1
postgres gem -- LoadError
I''m at a loss to explain why the postgres gem will not work on my new
server. I''ve gotten it working on several other servers in the past.
The major difference between then and now is that I''m using a newer
version of PostgreSQL. 8.x as opposed to 7.x.
=== Server setup
OS: Fedora Core 6
(Commands shown with "$" are performed as the same user that mongrel
2004 Jun 23
0
Patch for postgres enabled app_voicemail.c
Hello all,
I am just getting going on building my system, but I thought I'd send you
all a patch that I wrote so the command:
show voicemail users
issued from the CLI works properly when there is a postgres backend for the
voicemail. The current version of the app does not display the voicemail
boxes found in a database.
It is called in the load_config function. I haven't done
2006 Jun 28
9
Scaffold Issue with Postgres
Hi guys,
I''ve been able to successfully install the postgres adapter for a remote
database machine to get rails up. My machine is running on Fedora 2.
Rails version 1.1.2. Is my yml config correct? I am getting this error
when I execute script/generate scaffold service_contents content :
exists app/controllers/
exists app/helpers/
create app/views/spiel
exists
2009 Jun 23
1
[PATCH server] add postgres permissions requires prior to starting service
Give this one a try which will require the user/hosts permissions to be setup prior to starting postgres
---
installer/modules/ovirt/manifests/postgres.pp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/installer/modules/ovirt/manifests/postgres.pp b/installer/modules/ovirt/manifests/postgres.pp
index c46b360..381d67c 100644
---
2006 May 16
3
Installing the Postgres gem on Ubuntu
Hi,
I''m having difficulty installing the "postgres" gem. postgres-pr
installed fine, but whenever I run:
sudo gem install postgres
I get:
ERROR: While executing gem ... (RuntimeError)
ERROR: Failed to build gem native extension.
Gem files will remain installed in
/usr/lib/ruby/gems/1.8/gems/postgres-0.7.1 for inspection.
I''ve had a bit of a poke around, and
2010 Aug 19
4
Postgres, concurrency, and rails
I work on a fairly large website that uses Ruby 1.8.6 and Rails 1.2.3.
We cannot upgrade as it will hopelessly break our code. We are working
on a new version in Java but for the next year at least we are stuck
with the legacy system. We use the latest version of Postgresql for the
database using the postgres-pr gem.
I am attempting to implement cron tasks within the system using Rufus
Scheduler,
2006 Jan 20
3
postgres db setup
All of the tutorials and the Agile book use MySQL and I''ve got that
working. I am now trying to use PostgreSQL and can''t seem to get going.
Is my problem the db setup in postgresql?
I have installed postgres-pr
The error message when I try to access http://localhost:3000/clients
when using PostgreSQL (MySQL works fine)
ActiveRecord::StatementInvalid (RuntimeError:
ERROR
2007 May 05
1
Asterisk 1.4.4 and Custom Postgres 8.2.4 (checking for PQexec in -lpq... no)
Dear All,
Why does my configure fail like so:
checking for pg_config... /usr/local/pgsql/8.2.4/bin/pg_config
checking for PQexec in -lpq... no
configure: ***
configure: *** The PostgreSQL installation on this system appears to be broken.
configure: *** Either correct the installation, or run configure
configure: *** including --without-postgres
Configure options are:
env CC=/usr/local/bin/gcc