Upgrading Postgresql

Feb 5, 2007

way to upgrade postgresql 7.4 to 8.1, i heard that V8 is less consuming

View 6 Replies


PostgreSQL 8+ And .NET 3.5

Oct 29, 2009

does anyone know about a windows web host with postgresql database (possibly running 8.4) and .net 3.5 ?

View 4 Replies View Related


May 26, 2008

I just bought a VPS to do some testing on.

I have cPanel installed, and I did the "/scripts/installpostgres" and the config/password in WHM.

Now when I login to a cPanel account, and create a user or database, it just simply doesn't show up on the page.

View 2 Replies View Related


Feb 19, 2007

i'm having isues with postgresql, 1 on 2 times i get this error:

Fatal error: Uncaught exception 'Exception' with message 'Unable to connect to database on localhost' in /home/lavals/public_html/auth1/wifidog-auth/wifidog/classes/AbstractDb.php:96 Stack trace: #0 /home/lavals/public_html/auth1/wifidog-auth/wifidog/classes/AbstractDb.php(321): AbstractDb->connect(NULL) #1 /home/lavals/public_html/auth1/wifidog-auth/wifidog/classes/Server.php(227): AbstractDb->execSqlUniqueRes('SELECT server_i...', NULL, false, true) #2 /home/lavals/public_html/auth1/wifidog-auth/wifidog/include/common.php(107): Server::getCurrentServer(true) #3 /home/lavals/public_html/auth1/wifidog-auth/wifidog/index.php(52): require_once('/home/lavals/pu...') #4 {main} thrown in /home/lavals/public_html/auth1/wifidog-auth/wifidog/classes/AbstractDb.php on line 96

the people of wifidog auth server told me to check Ulimit -a and to set it up a bit
but what should i change, here is my curent ulimit -a:

[/root]# ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
pending signals (-i) 1024
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
stack size (kbytes, -s) 10240
cpu time (seconds, -t) unlimited
max user processes (-u) 1000
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
what should i boost?

i'm using a VPS with 256Ram, 1meg burst, cpanel,virtuozzo

View 13 Replies View Related


Feb 12, 2007

i have a domain running a Wifi auth server, my problem is that i find it very slow when i try to connect to the site.

i know i'm using postgreSQL 7.4, is there a way to speed up the connection?
maybe tweak Postgresql or something,i'm new to this database system.

the link is [url]

i'm running this on a VPS with 256Ram, 1024 burst, cpanel, virtuozzo, OPTERON 246

View 5 Replies View Related


Jul 18, 2007

When I try add data I got this error

INSERT INTO night_prices (id_prices, id_data, id_services, price_oldi, price_weekend, type_prices) VALUES (DEFAULT, 8, 18, '33', '12', 2)

[nativecode=ERROR: permission denied for sequence night_prices_id_prices_seq]

How to fix that?

I have root access.

View 1 Replies View Related

Tomcat / Postgresql

Dec 3, 2008

I would like to install a tomcat application on my domain. Where do I upload the .war file and how can I manage the tomcat and access this application? I have root access to my Cpanel/WHM box. Also, I did apply a servlet already via WHM.

Also, I need to restore my postgres backup file as well but its too big to be done via pgmyadmin. How can I go about doing this via command line?

I'm aware of how to restore a mysql db via command line (1st create db in cpanel, 2nd run command in ssh). Never done so with a postgresql database.

View 2 Replies View Related

Support For PostgreSQL *and* ASP.NET

Apr 30, 2009

I am looking for a webhost with a package that supports both ASP.NET *and* Postgres. So far, I have been able to find ones that support one but not the other.

View 8 Replies View Related

PostgreSQL Or MySQL

Apr 7, 2008

I wanted to get a sense of the usage of Postgres versus MySQL. Does anyone here prefer Postgres over MySQL?

View 14 Replies View Related

PostgreSQL Performance

Oct 18, 2007

for running PostgreSQL on a VPS,

Take a look what moderator of MySource Matrix forums says (enterprise-CMS based on PHP4+pgSQL):


Yes, installing onto a virtual server is great, because its like you have an entire server to yourself. However, running PostgreSQL in a VM is not recommended for performance reasons. Obviously this isn't a concern on low-traffic sites. The ultimate solution would be a virtual server for Apache/PHP/MySource Matrix and a dedicated server for PostgreSQL. Though, I don't know of any virtual server providers that also provide dedicated database server access.


The problem with PostgreSQL (or any database) under virtualisation is that there is no IO prioritization given. So, the database just waits along with everything else for the hypervisor to deliver IO, with no consideration for priorities. This leads to a performance hit of about 70-80%. In testing, we've seen PostgreSQL under VMware ESX/GSX perform horribly, even with fibre-attached SAN storage. Though, sticking PostgreSQL on a Xen DomU seems better. The sysadmins have done some testing on this too.

If you run PostgreSQL across multiple virtual servers on the same hardware, you're just compounding the IO bottlenecks, so I can't recommend it at all.

Source: forums.matrix.squiz.net/index.php?showtopic=3929&st=15&start=15

Can anyone comment and share thoughts on using PostgreSQL on private virtual server?

View 3 Replies View Related

Postgresql Log File

Feb 7, 2007

i cant find Postgresql log file
can any1 tell where to find it (v. 7.3)

i have cpanel,virtuozzo installed

View 6 Replies View Related

Postgresql Database Gone After Transfer

Jan 9, 2008

Transferred a domain from one cpanel server to another using whm > copy account feature, but now this error arises

pg_connect() [function.pg-connect]: Unable to connect to PostgreSQL server: FATAL: database "udre" does not exist

Found this in the copy accounts log

Grabbing PostgreSQL databases............
could not change directory to "/root"
could not change directory to "/root"
could not change directory to "/root"
Grabbing PostgreSQL privileges...could not change directory to "/root"
could not change directory to "/root"
could not change directory to "/root"

View 4 Replies View Related

How To Create Postgresql Latin1

Mar 15, 2007

I need to create a postgresql database in latin1 encoding with database name "db" and owner "tobe" and the password I select.

I am using PG v8.x and on cpanel box.

Please kindly list simple, straightforward step by step instructions for ssh method. I've done this a long time ago, can't remember how though.

The db is already created too, just need to convert from utf8 to latin1

I tried this:

-bash-3.00$ createdb --encoding='LATIN1' db

However, how do I change owner to "tobe"

I see two, one owned by root and other was created by user tobe

-bash-3.00$ psql -l
List of databases
Name | Owner | Encoding
db | postgres | LATIN1
postgres | postgres | UTF8
template0 | postgres | UTF8
template1 | postgres | UTF8
tobe_db | tobe | UTF8
(5 rows)

View 6 Replies View Related

Error Install Postgresql

Dec 21, 2007

The postgresql not start on my server. Use REDHAT Enterprise 4, I tried to install the command:

/scripts /installpostgres

But I returned the following error:

[root@s2 backups]# /scripts/installpostgres
This script will install Postgres 7.3.x or later
If you have an older version installed you wil need to
Dump your databases to a file and then restore them
after the install as 7.3.x is not backwards compatible.
If you do not have any databases, you can just run:
mv /var/lib/pgsql /var/lib/pgsql.old
/sbin/service postgresql stop
/sbin/service postgresql start
to force creating a 7.3.x style setup. Do not do this if
you have databases that you wish to keep!

Are you sure you wish to proceed? y

Fetching Obsoletes list for channel: rhel-i386-es-4...

Fetching rpm headers...

Name Version Rel

The following packages you requested were not found:

The following packages you requested are already updated:
Stopping postgresql service: [FAILED]
postmaster: no process killed
postmaster: no process killed
Starting postgresql service: [FAILED]
You should now configure postgresql from WHM!
You should now configure postgresql from WHM!
You should now configure postgresql from WHM!
You should now configure postgresql from WHM!

View 3 Replies View Related

PostGreSQL GROWS Out Of Control By ITSELF

Jun 7, 2007

where pgsql keeps growing and eating up disk space on my vps.

my vps' disk space is at 4G on the directory:

What is causing pgsql to keep growing when I did not even add anything to the vps for days?

logs are not a big problem as they consume only less than 300mb.

View 5 Replies View Related

Looking For Adult And Proxy Hosting And PostgreSQL

Mar 2, 2008

Looking for dedicated server that allows adult and proxy hosting and comes with PostgreSQL. Really looking for a more established host and not some one that’s going to steal my money and run. am open for your ideas on what you think is the best.

View 5 Replies View Related

PostgreSQL, Big Disk, Modest Bandwidth

Aug 2, 2008

I saw the note about Request threads, but I've had no luck with the requester form or sponsors and my requirements are perhaps a little uncommon. I just opened an account with a certain host only to find that the inode thing will be an issue, so already searching for a new place. Recommendations?

I'm flexible on pricing.. up to $20 / month?

My sites:

3x domains
3x Gallery2 installs
20Gb total (~ 70k inodes)


PostgreSQL *
30Gb storage (and no harsh inode limit)
5-20Gb traffic (typically closer to 1Gb, if that)
SSH & rsync


PostgreSQL 8.x (many times faster than 7.x)
PHP 5.2.3+ (supports phpdoctrine)
Proper domain management (ability to add arbitrary records)

View 3 Replies View Related

Professional And Reliable PostgreSQL Hosting In The US

Apr 10, 2008

As the topic says, I need a host who knows what they are doing with PostgreSQL and is located in the US.

Budget is $40/month. 40GB+ bandwidth and 2GB+ HDD.

View 10 Replies View Related

Releasing External Access To PostgreSQL?

May 4, 2007

A customer is asking to open the port to access PostgreSQL on a shared server because he needs remote access to his database. Is it a good idea to grant remote access to PostgreSQL?

View 1 Replies View Related

MySQL/PostgreSQL Servers - Intel Vs AMD

Jun 29, 2007

Haven't seen much debate lately on what processors to use within dedicated database servers. We're currently considering Dell 2950s and 2970s with the following:

Two Dual Core AMD Opteron™ 2212
- 2.0GHz, 2X1MB Cache, 1Ghz HyperTransport
Two Quad Core Intel® Xeon® E5310
- 1.60GHz, 2x4MB Cache, 1066MHz FSB

8GB RAM, single SAS, 3.5-inch, 15K RPM Hard Drive for OS, single SAS, 3.5-inch, 15K RPM Hard Drive for SWAP, and four SAS, 3.5-inch, 15K RPM Hard Drives in a RAID10 array for database storage.

We'll be getting one server just for MySQL applications and one server for just PostgreSQL applications.

View 14 Replies View Related

Apache :: PHP Couldn't Access PostgreSQL

Jan 26, 2013

I have installed Apache 2.4.3, and PHP 5.4.5 64-bit, and I have installed PostgreSQL 9.2 64-bits under my new system windows 7 64 bits. Apache and PHP could work nicely, and PostgreSQL run fine too. However, PHP couldn't access the PostgreSQL. pg_connect(), and followed by echo select version(), didn't give any error. When PostgreSQL module was not loaded (because my php dir was d:php, but inside httpd.conf i type D:/PHP), I got message saying something like "undefined pg_connect()." I fixed it, but select version() or any other echo after pg_connect() didn't give any output.

View 5 Replies View Related

Upgrading To .NET 3.5

Jul 10, 2008

My .NET software requires version 3.5 of the framework. But the ISAPI module is 2.0 and I'm wondering how I can upgrade it to 3.5. Windows hosting is not my field so I am a bit lost here.

Anyone have pointers? So far I've been looking for an ISAPI module but haven't found any. The 3.5 framework is installed but I don't know where the .dll file is (if there is any for IIS).

View 4 Replies View Related

Upgrading Php From 5.0.4 To 5.1.4

Jul 22, 2008

Is there a way to update php from 5.0.4 to 5.1.4 quickly without using yum or up2date?

Can this be done with RPM? Or where can I find instructions on doing this?

View 5 Replies View Related

Upgrading PHP On A VPS

May 12, 2008

I am currently upgrading my PHP on my unmanaged VPS. From PHP4 to PHP 5. I have been following the following website tutorial at nix101.com/2007/09/22/setting-up-a-secure-and-fast-php-build-for-litespeed/ on how to do it for the litespeed server of which I have got installed.

But now I have come to the stage where it says Make, Make Install. And I keep on getting the following error messages coming up

Make: *** No targets specified and no makefile found. Stop.

Make Install: *** No rule to make target `install'. Stop.

I have got running on it Centos 4 and I have just installed Yum to see if that sorts out the problem. But it don't.

So any suggestions on how to sort out the make, and make install so that I can finish configing PHP.

View 6 Replies View Related

Upgrading PHP

Jun 8, 2008

to upgrade my server to PHP 5 from PHP 4.3.9

My server specs are;
Centos 4.2
Plesk 8.3.0
PHP 4.3.9-3.12.1.swsoft
Apache 2.0.52-28.ent.centos4.1.swsoft
MySQL 4.1.20-3.RHEL4.1.el4_6.1

I also have access to root SSH.

will "yum update php" do the trick? If so will I also keep the GD Library support?

View 0 Replies View Related

What Happens To You/someone Else When Upgrading

Sep 28, 2007

this may seem like a strange question but what happens to your and other VPS accounts when someone upgrades part of their account? This doesn't make much sense so I'll give you an example...

Your VPS host has a nice big server with 8Gb of RAM. Currently there are 16 users on the server each with 512Mb RAM (for simplicity) therefore all RAM is currently used. Now, say I decide to upgrade my RAM to 1Gb, what happens? Do they move me to a new server? Do they move someone else to a new server? Is there any down time during this move? Would I be notified of this move?

This question is more out of curiosity than anything else and I know that the above example is somewhat unrealistic as most servers which were hosting VPS would probably have some spare RAM but eventually it has to run out.

View 2 Replies View Related

Copyrights 2005-15 www.BigResource.com, All rights reserved