PostgreSQL Setup

Stewart's Avatar

Stewart

01 Jun, 2016 04:18 PM

When Setting up PostgreSQL on Kali 2 when running the database setup script it errors out.

root@dstg1p:/usr/share/arachni-1.4-0.5.10/bin# ./arachni_web_task db:setup

PG::InvalidParameterValue: ERROR:  new encoding (UTF8) is incompatible with the encoding of the template database (SQL_ASCII)
HINT:  Use the same encoding as in the template database, or use template0 as template.
: CREATE DATABASE "arachni_production" ENCODING = 'unicode'
/usr/share/arachni-1.4-0.5.10/system/gems/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:155:in `async_exec'
  1. Support Staff 1 Posted by Tasos Laskos on 01 Jun, 2016 04:38 PM

    Tasos Laskos's Avatar

    I haven't come across this before but this looks like a solution: http://stackoverflow.com/questions/16736891/pgerror-error-new-encod...

  2. Tasos Laskos closed this discussion on 03 Aug, 2016 02:27 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