Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2002
    Location
    Bremen, Germany
    Posts
    1

    Unanswered: Connecting to Postgres under Linux in VMWare from WindowsXP!!!

    Hi!

    I think, this is my last chance to get a solution form my problem. And this is the following:
    background:
    postgres running under linux as guest in VMWare.
    Windows XP as host. Trying to connect from pgadmin under Win XP.
    Now i can't connect to postgres!
    There's always the following error message:


    2002-12-18 22:44:59 - *************************************************
    2002-12-18 22:44:59 - Error(s)
    2002-12-18 22:44:59 - *************************************************
    2002-12-18 22:44:59 - Error in pgAdmin II:frmConnect.cmdConnect_Click: -2147467259 - Could not connect to the server;
    Could not connect to remote socket.

    2002-12-18 22:44:59 - Windows Version: Windows XP v5.1 build 2600
    2002-12-18 22:44:59 - pgSchema Version: 1.4.1
    2002-12-18 22:44:59 - MDAC Version: 2.7
    2002-12-18 22:44:59 - cnPostgreSQL.State = adStateClosed

    Where's the fault?
    I started Postgres with the -i option for tcp/ip sockets!
    Hope for answers!
    Thanx and Greets
    Bernd

  2. #2
    Join Date
    Sep 2001
    Location
    Vienna
    Posts
    400

    Error

    Don't know if this works

    But try the following?

    Write a small PHP script and that connects to the dbserver?

    throws this an error. If no the TCPIP is ok

    if yes look at the settings in pg_hba.conf

    Have you compiled ODBC in postgres?
    Last edited by eperich; 12-19-02 at 18:21.
    http://www.postgresql.org
    --Postgresql is the only kind of thing--

  3. #3
    Join Date
    Dec 2002
    Posts
    65

    Maybe a little more info would help...

    I'm currently running Win2000 with a VMWare linux guest (RH 7.2) with postgres. Can you provide a little more info? Is everything else working fine with your connections for the host and guest OSes with VMWare? Both have network connectivity, etc? Also did you try what eperich suggested, do normal PHP scripts work with PostGres? I'm just trying to get at the heart of the problem making sure that everything else works first so we can narrow down where we're supposed to be looking for a solution.

    -b

  4. #4
    Join Date
    Mar 2002
    Location
    Pilipinas
    Posts
    36
    try using another linux box if have one, then connect manually to your postgresql server or pgaccess if have it compiled...

    better check your network connectivity first...

    --- Hey! its me!!! the MaleMan ---

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •