Sunday 28 December 2003 1:31:09 am
During the setup process I am returned to the database intialization page with the following error message:
Please make sure that the username and the password is correct. Verify that your PostgreSQL database is configured correctly.
See the PHP documentation for more information about this. Remember to start postmaster with the -i option. Perhaps the core of the problem is that when I try to run pgcrypto.sql I get this interaction:
bash-2.05b$ psql -U gregory gregorybooks < /usr/share/pgsql/contrib/pgcrypto.sql
SET
SET
ERROR: permission denied for language c
ERROR: permission denied for language c
ERROR: permission denied for language c
ERROR: permission denied for language c
ERROR: permission denied for language c
ERROR: permission denied for language c
ERROR: permission denied for language c
ERROR: permission denied for language c
ERROR: permission denied for language c
ERROR: permission denied for language c
ERROR: permission denied for language c
ERROR: permission denied for language c
ERROR: permission denied for language c
ERROR: permission denied for language c
ERROR: permission denied for language c
ERROR: permission denied for language c
ERROR: permission denied for language c
ERROR: permission denied for language c
ERROR: permission denied for language c
ERROR: permission denied for language c
ERROR: permission denied for language c
ERROR: permission denied for language c
ERROR: permission denied for language c
ERROR: permission denied for language c
ERROR: permission denied for language c
ERROR: permission denied for language c
ERROR: permission denied for language c ERROR: permission denied for language c I actually had success with pgcrypto on the postgresql 7.3 that came with redhat 9, but I installed 7.4 to get the latest and now have this error.
I had followed the instructions on http://ez.no/developer/ez_publish_3/documentation/installation/normal_installation/installing_ez_publish_on_a_windows_based_system for my postgresql server. To the questions asked about create user (can they make users and databases) I answered yes On the Site Details page I entered the domain name I use (different from where ezPublish is located). I also changed the title and the database. Here's the relevant data from my /var/lib/pgsql/data/pg_hba.conf:
# TYPE DATABASE USER IP-ADDRESS IP-MASK METHOD
local all all trust
# IPv4-style local connections:
host all all 127.0.0.1 255.255.255.255 crypt
# IPv6-style local connections: host all all ::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff crypt Note also that I had postgresql 7.3 on my Redhat 9, and it's possible I've done something wrong when installing 7.4.
My questions:
1. What do I need to do to get pgcrypto to work?
2. Did I answer the questions regarding create user correctly, or too liberally?
3. Should I have created a password for it? The instructions don't say to. 4. What do I need to do to get a step further in the install process? Thank you. Greg
Granite Horizon, Certified Developer of eZ Publish Web Solutions
Provider of the SaaS Solution Granite Horizon In The Cloud | http://granitehorizon.com/cloud
http://granitehorizon.com | +1 916 647 6350 | California USA | @granitegreg
Blog: http://granitehorizon.com/blog
|