From: Francisco L. <fl...@ya...> - 2011-03-16 21:25:14
|
Hello Jamie I figured it out, postgres 9.0.3 is not using "/var/run/postgresql/.s.PGSQL.5432 but /tmp/.s.PGSQL.5432 I changed the postgres configuration to point to /var/run/postgres and DBD:Pg and Webmin connected OK -> my Perl applications finally run! There is a problem with the startup run provided, it points to /tmp so I will have to do some editing. Thank you for your help. --- On Fri, 3/11/11, Jamie Cameron <jca...@we...> wrote: From: Jamie Cameron <jca...@we...> Subject: Re: [webmin-l] postgres 9.0.3 unable to access from Webmin To: "Webmin users list" <web...@li...> Date: Friday, March 11, 2011, 3:23 AM Hi Francisco, Where are you installing PostgreSQL 9.0.3 from? I'd like to test this myself .. but I don't see 9.0.3 packages for Ubuntu 10.10. On 10/Mar/2011 14:35 Francisco Leovey <fl...@ya...> wrote .. Hello Jamie The password for user postgres was not changed and is "postgres", as in all my Linux servers. I have no idea why psql is going to /temp to read a password to a .webmin _index? And it looks for it in a different named .cgi? I wrote the password in the module configuration after webmin complained about it. But now I cannot see the Postgres module config any more, as soon as I click on the Postgres Elephant icon I get the error. And all stops there. >From the Webmin bootup module I can start and stop Postgres OK and I can load data using the PgAdmin. I feel something got messed up within the webmin module. Have you tried it in Ubuntu 10.10 with Postgres 9.0.3? The only change was removing Postgres 8.3 and installing the new Postgres. Thank you --- On Thu, 3/10/11, Jamie Cameron <jca...@we...> wrote: From: Jamie Cameron <jca...@we...> Subject: Re: [webmin-l] postgres 9.0.3 unable to access from Webmin To: "Webmin users list" <web...@li...> Date: Thursday, March 10, 2011, 5:14 PM Are you sure you've configured Webmin to login to PostgreSQL with the correct password? It is unclear from this error if the password is wrong, or if the psql command doesn't like reading it from a temp file .. On 10/Mar/2011 06:53 Francisco Leovey <fl...@ya...> wrote .. Hello I was using postgres 8.4 on an Ubuntu newly installed server and Webmin had no problem to connect. Now I switched to postgres 9.0.3 and Webmin cannot connect The full PostgreSQL error message was : psql: FATAL: password authentication failed for user "postgres" password retrieved from file "/tmp/.webmin/278516_2_index.cgi/.pgpass" /tmp/.webmin exists but only contains 161177_1_index.cgi CONTENTS of 161177_1_index.cgi : os_type='debian-linux' os_version='5.0' real_os_type='Ubuntu Linux' real_os_version='10.10' Postgres is running OK and can be accessed via PGAdmin with no problem -----Inline Attachment Follows----- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -----Inline Attachment Follows----- - Forwarded by the Webmin mailing list at web...@li... To remove yourself from this list, go to http://lists.sourceforge.net/lists/listinfo/webadmin-list -----Inline Attachment Follows----- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -----Inline Attachment Follows----- - Forwarded by the Webmin mailing list at web...@li... To remove yourself from this list, go to http://lists.sourceforge.net/lists/listinfo/webadmin-list |