Solved

Problem for use chkpass

Posted on 2012-04-09
3
970 Views
Last Modified: 2012-04-10
I have postgres 9.0  on Centos 6.2 64 bit , I  am trying create table using chkpass but give follow  error message

postgres=# create table test (p chkpass);
ERROR:  type "chkpass" does not exist
LINE 1: create table test (p chkpass);
                             ^

I have installed postgresql90-contrib the library chkpass was installed with sucess .

rpm -ql postgresql90-contrib |grep ch
/usr/pgsql-9.0/bin/pg_archivecleanup
/usr/pgsql-9.0/bin/pgbench
/usr/pgsql-9.0/lib/chkpass.so
/usr/pgsql-9.0/lib/fuzzystrmatch.so
/usr/pgsql-9.0/lib/passwordcheck.so
/usr/pgsql-9.0/lib/pg_buffercache.so
/usr/pgsql-9.0/share/contrib/chkpass.sql
/usr/pgsql-9.0/share/contrib/fuzzystrmatch.sql
/usr/pgsql-9.0/share/contrib/pg_buffercache.sql
/usr/pgsql-9.0/share/contrib/tsearch2.sql
/usr/pgsql-9.0/share/contrib/uninstall_chkpass.sql
/usr/pgsql-9.0/share/contrib/uninstall_fuzzystrmatch.sql
/usr/pgsql-9.0/share/contrib/uninstall_pg_buffercache.sql
/usr/pgsql-9.0/share/contrib/uninstall_tsearch2.sql


Thanks
0
Comment
Question by:aspenbr
  • 2
3 Comments
 
LVL 22

Accepted Solution

by:
earth man2 earned 355 total points
ID: 37827613
Have you run the chkpass.sql script?
0
 
LVL 1

Author Comment

by:aspenbr
ID: 37827914
No, why ?
0
 
LVL 1

Author Closing Comment

by:aspenbr
ID: 37829579
Thank very much earthman2,

I  follown the process in this http://wiki.postgresql.org/wiki/Module_Manager
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

Suggested Solutions

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now