Martin Simmons wrote:
All of those fail like this: [EMAIL PROTECTED] bacula]# psql -U bacula -d bacula psql: FATAL: Ident authentication failed for user "bacula" I did mess with the password for user bacula last night, the Webmin console reports that "Requires password?" is set to No for user postgres. There is no user postgresql, but the error was still the same. However, if I "su postgres" and immediately do "psql bacula" it happily drops to the terminal. bacula=# \dtOne of these should produce the PostgreSQL interactive terminal. If you get this, what do these commands print? \dt \dp \du select * from version; List of relations Schema | Name | Type | Owner --------+--------------+-------+------- public | basefiles | table | root public | cdimages | table | root public | client | table | root public | counters | table | root public | device | table | root public | file | table | root public | filename | table | root public | fileset | table | root public | job | table | root public | jobmedia | table | root public | media | table | root public | mediatype | table | root public | path | table | root public | pool | table | root public | status | table | root public | storage | table | root public | unsavedfiles | table | root public | version | table | root (18 rows) bacula=# \dp Access privileges for database "bacula" Schema | Name | Type | Access privileges --------+---------------------------+----------+----------------------------------------- public | basefiles | table | {root=arwdRxt/root,bacula=arwdRxt/root} public | basefiles_baseid_seq | sequence | {root=arwdRxt/root,bacula=rw/root} public | cdimages | table | {root=arwdRxt/root,bacula=arwdRxt/root} public | client | table | {root=arwdRxt/root,bacula=arwdRxt/root} public | client_clientid_seq | sequence | {root=arwdRxt/root,bacula=rw/root} public | counters | table | {root=arwdRxt/root,bacula=arwdRxt/root} public | device | table | {root=arwdRxt/root,bacula=arwdRxt/root} public | device_deviceid_seq | sequence | {root=arwdRxt/root,bacula=rw/root} public | file | table | {root=arwdRxt/root,bacula=arwdRxt/root} public | file_fileid_seq | sequence | {root=arwdRxt/root,bacula=rw/root} public | filename | table | {root=arwdRxt/root,bacula=arwdRxt/root} public | filename_filenameid_seq | sequence | {root=arwdRxt/root,bacula=rw/root} public | fileset | table | {root=arwdRxt/root,bacula=arwdRxt/root} public | fileset_filesetid_seq | sequence | {root=arwdRxt/root,bacula=rw/root} public | job | table | {root=arwdRxt/root,bacula=arwdRxt/root} public | job_jobid_seq | sequence | {root=arwdRxt/root,bacula=rw/root} public | jobmedia | table | {root=arwdRxt/root,bacula=arwdRxt/root} public | jobmedia_jobmediaid_seq | sequence | {root=arwdRxt/root,bacula=rw/root} public | media | table | {root=arwdRxt/root,bacula=arwdRxt/root} public | media_mediaid_seq | sequence | {root=arwdRxt/root,bacula=rw/root} public | mediatype | table | {root=arwdRxt/root,bacula=arwdRxt/root} public | mediatype_mediatypeid_seq | sequence | {root=arwdRxt/root,bacula=rw/root} public | path | table | {root=arwdRxt/root,bacula=arwdRxt/root} public | path_pathid_seq | sequence | {root=arwdRxt/root,bacula=rw/root} public | pool | table | {root=arwdRxt/root,bacula=arwdRxt/root} public | pool_poolid_seq | sequence | {root=arwdRxt/root,bacula=rw/root} public | status | table | {root=arwdRxt/root,bacula=arwdRxt/root} public | storage | table | {root=arwdRxt/root,bacula=arwdRxt/root} public | storage_storageid_seq | sequence | {root=arwdRxt/root,bacula=rw/root} public | unsavedfiles | table | {root=arwdRxt/root,bacula=arwdRxt/root} public | version | table | {root=arwdRxt/root,bacula=arwdRxt/root} (31 rows) bacula=# \du List of roles Role name | Superuser | Create role | Create DB | Connections | Member of -----------+-----------+-------------+-----------+-------------+----------- bacula | yes | no | yes | no limit | postgres | yes | yes | yes | no limit | root | yes | no | yes | no limit | (3 rows) bacula=# select * from version; versionid ----------- 9 9 (2 rows) -- ---------------------------------------------------------- Sign up now for Quotes of the Day, a handful of quotations on a theme delivered every morning. Enlightenment! Daily, for free! mailto:[EMAIL PROTECTED] For photography, web design, hosting, and maintenance, visit Van's home page: http://www.domainvanhorn.com/van/ ----------------------------------------------------------- |
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Bacula-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bacula-users
