AFP548 Changing the world one server at a time.

Gallery2 and PostgreSQL

Home › Forums › OS X Server and Client Discussion › Web › Gallery2 and PostgreSQL

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #365671
    Anonymous
    Guest

    Hi all,

    I was doing an install of Gallery2 on 10.4.5 server with postgres and php5 packages from entropy.ch. I’m using the default Apache 1.3. Quicksilver 733 with built-in ethernet.

    During the gallery install during database setup, I get an error that “host ::1” is not authorized in the pg_hba.conf. My concern is that it is trying to use IPv6 rather than v4.
    I can connect to the databases just fine with psql and pgAdmin.
    I’ve tried turning off IPv6 in the Network prefs, and I have IPv6 disabled in the pg_hba.conf file (I’d rather not be using it as I don’t have a use for it). I’ve rebooted now and still the same message from gallery. Where would it be picking up that IPv6 should be used?

    Thanks!
    —
    Ian

    #365699
    Anonymous
    Guest

    Ok, well I solved my own problem… figured I’d say so in case it helps someone else some day.

    I ended up removing the line

    ::1    localhost
    
    

    from the end of my /etc/hosts file. Don’t know if that should still be there after disabling IPv6, but in my case it was. Removing it made the error change right away from ::1 to 127.0.0.1

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.