PostgreSQL v8.0?
Posted: Thu Nov 10, 2005 11:00 pm
Are there any PGSQL 8 rpms available yet? If so, are they compatible with the plesk interface?
Do you know the best way to resolve this?error: Failed dependencies:
libpq.so.3 is needed by (installed) perl-DBD-Pg-1.21-2
libpq.so.3 is needed by (installed) php-pgsql-4.3.11-8.rhel3.art
Now, inside Plesk, it says that PGSQL is not installed and has removed the ability to create PGSQL databases from my control panel.warning: compat-postgresql-libs-3-2PGDG.i686.rpm: V3 DSA signature: NOKEY, key ID 748f7d0e
Preparing... ########################################### [100%]
1:postgresql-libs ########################################### [ 9%]
2:postgresql ########################################### [ 18%]
3:compat-postgresql-libs ########################################### [ 27%]
4:postgresql-server ########################################### [ 36%]
/sbin/ldconfig: /usr/lib/libpgtypes.so.1 is not a symbolic link
/sbin/ldconfig: /usr/lib/libecpg_compat.so.1 is not a symbolic link
/sbin/ldconfig: /usr/lib/libecpg.so.4 is not a symbolic link
/sbin/ldconfig: /usr/lib/libpq.so.3 is not a symbolic link
5:postgresql-contrib ########################################### [ 45%]
6:postgresql-devel ########################################### [ 55%]
7:postgresql-docs ########################################### [ 64%]
8:postgresql-jdbc ########################################### [ 73%]
9:postgresql-pl ########################################### [ 82%]
/sbin/ldconfig: /usr/lib/libpgtypes.so.1 is not a symbolic link
/sbin/ldconfig: /usr/lib/libecpg_compat.so.1 is not a symbolic link
/sbin/ldconfig: /usr/lib/libecpg.so.4 is not a symbolic link
/sbin/ldconfig: /usr/lib/libpq.so.3 is not a symbolic link
10:postgresql-python ########################################### [ 91%]
11:postgresql-test ########################################### [100%]
/sbin/ldconfig: /usr/lib/libpgtypes.so.1 is not a symbolic link
/sbin/ldconfig: /usr/lib/libecpg_compat.so.1 is not a symbolic link
/sbin/ldconfig: /usr/lib/libecpg.so.4 is not a symbolic link
/sbin/ldconfig: /usr/lib/libpq.so.3 is not a symbolic link
/sbin/ldconfig: /usr/lib/libpgtypes.so.1 is not a symbolic link
/sbin/ldconfig: /usr/lib/libecpg_compat.so.1 is not a symbolic link
/sbin/ldconfig: /usr/lib/libecpg.so.4 is not a symbolic link
/sbin/ldconfig: /usr/lib/libpq.so.3 is not a symbolic link
So I'm not sure if the server got installed ok or if it's just not syncing with my Plesk control panel.postgres does not know where to find the server configuration file.
You must specify the --config-file or -D invocation option or set the PGDATA environment variable.
How can this be true? From the Plesk website:Unfortunately Plesk does not work with PostgreSQL 8.x.
Plesk can work with PostgreSQL 7.x only. PgSQL 8.x has different paths to configuration files, different name of
start script, so it has difeerent infrastructure than PgSQL 7.x. That's why Plesk is not able to manage PgSQL 8.x.
Also some keys of PgSQL utilities were change. For example 'createuser' utility:
# createuser --help
createuser creates a new PostgreSQL user.
Usage:
createuser [OPTION]... [USERNAME]
Options:
-a, --adduser user can add new users
-A, --no-adduser user cannot add new users
-d, --createdb user can create new databases
-D, --no-createdb user cannot create databases
-P, --pwprompt assign a password to new user
-E, --encrypted encrypt stored password
-N, --unencrypted do no encrypt stored password
-i, --sysid=SYSID select sysid for new user
-e, --echo show the commands being sent to the server
-q, --quiet don't write any messages
--help show this help, then exit
--version output version information, then exit
for PgSQL 7.4.3
and
$createuser --help
createuser creates a new PostgreSQL role.
Usage:
createuser [OPTION]... [USERNAME]
Options:
-s, --superuser role will be superuser
-S, --no-superuser role will not be superuser
-d, --createdb role can create new databases
-D, --no-createdb role cannot create databases
-r, --createrole role can create new roles
-R, --no-createrole role cannot create roles
-l, --login role can login (default)
-L, --no-login role cannot login
-i, --inherit role inherits privileges of roles it is a
member of (default)
-I, --no-inherit role does not inherit privileges
-c, --connection-limit=N connection limit for role (default: no limit)
-P, --pwprompt assign a password to new role
-E, --encrypted ??????????? ??????????? ??????
-N, --unencrypted ?? ????????? ??????????? ??????
-e, --echo ?????????? ??????? ???????????? ???????
-q, --quiet ?? ???????? ??????? ?????????
--help ???????? ??? ??????? ? ?????
--version ???????? ?????? ? ?????
for PgSQL 8.1
PosgreSQL hasn't 'user' objects but it has 'role' objects. Also there are a lot of other changes from PgSQL 7.x to 8.x.
Anyway even if you are able to glue PgSQL 8.1 with Plesk we cannot guarantee fine work due to we have never tested PgSQL 8.1 with Plesk environment.
Feel free to contact us if something is unclear there or if you have any questions.
Thanks,
______________________________
Damir R. Islamov
Technical Support Engineer
SWsoft, Inc.
Additional features in Plesk 7.5.4:
* Subdomains with ‘.’ in names
* Several new command line interface utilities
* Coldfusion 7 support
* API to change hostname
* Extended server-wide disk usage information
* Ability to create multi-volume backups
* Improved domain usage statistics
* Additional archive types for Domain Skeletons
* PostgreSQL 8 support
* Now you can install Site Applications in the Document Root of your domain
So, I'll let you know if I make any progress, but right now the outlook isn't good.Unable to make action: Unable to manage service by pg_manage: Unable to start PostgreSQL. 1
0: /usr/local/psa/admin/htdocs/server/restart_services.php:28 psaerror(string "Unable to make action: Unable to manage service by pg_manage: Unable to start PostgreSQL. 1")