Error when running arachni web task db setup

Karlos Kremlim's Avatar

Karlos Kremlim

23 Jul, 2015 05:52 AM

Hi,

I am new on arachni using a postres DB. before I was using the standrd sql. I am now trying to install the arachni using the postgresql but when i tried to run the command " ./bin/arachni_web_task db:setup i got error with this one FATAL: Ident authentication failed for user "arachni" I already added a trust to all users in postgres pg_hba.conf but still the same error. I can login to psql using command psql -U arachni -W.

Is there any configuration i am missing here?

Thanks

Karlos

  1. Support Staff 1 Posted by Tasos Laskos on 24 Jul, 2015 08:29 AM

    Tasos Laskos's Avatar

    I'm not really familiar with PG configurations, the instructions in the Wiki work for me with the default PG config.

    I'll look around but if Google didn't help you I'm not sure if I'll be able to.

    Cheers

  2. Support Staff 2 Posted by Tasos Laskos on 29 Jul, 2015 02:15 AM

    Tasos Laskos's Avatar

    Unfortunately I couldn't find anything helpful.
    Sorry man, I'm at a loss.

  3. Tasos Laskos closed this discussion on 29 Jul, 2015 02:15 AM.

  4. Tasos Laskos re-opened this discussion on 25 Aug, 2015 05:12 PM

  5. Support Staff 3 Posted by Tasos Laskos on 25 Aug, 2015 05:12 PM

    Tasos Laskos's Avatar

    From: http://support.arachni-scanner.com/discussions/problems/3873-re-err...


    I also had a problem with PostgreSQL authentication and made the following modification to /var/lib/pgsql/data/pg_hba.conf which resolved it.

    Changed:
    host all 127.0.0.1/32 ident to
    host all 127.0.0.1/32 md5

    Ref: https://www.treshna.com/psql-fatal-ident-authentication-failed-for-...

  6. Tasos Laskos closed this discussion on 25 Aug, 2015 05:13 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac