Skip to content

Instantly share code, notes, and snippets.

@viyatb
Created May 28, 2015 07:39
Show Gist options
  • Save viyatb/1096fdc1109931d08643 to your computer and use it in GitHub Desktop.
Save viyatb/1096fdc1109931d08643 to your computer and use it in GitHub Desktop.
OWTF error
Step 18 : RUN /bin/bash owtf/scripts/owtfinstall.sh
[+] PostgreSQL server is not running.
[+] Can I start db server for you? [Y/n]
Starting PostgreSQL 9.1 database server:
main
Removed stale pid file. The PostgreSQL server failed to start. Please check the log output: 2015-05-28 07:30:08 UTC LOG: database system was interrupted; last known up at 2015-05-28 07:20:16 UTC 2015-05-28 07:30:08 UTC LOG: incomplete startup packet 2015-05-28 07:30:08 UTC FATAL: could not open file "/etc/ssl/certs/ssl-cert-snakeoil.pem": Permission denied 2015-05-28 07:30:08 UTC LOG: startup process (PID 82) exited with exit code 1 2015-05-28 07:30:08 UTC LOG: aborting startup due to startup process failure ...
failed!
failed!
[+] Postgres running on :
[+] OWTF db config points towards 127.0.0.1:5432
[+] Do you want us to save the new settings for OWTF? [Y/n]
[+] New database configuration saved
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?

[+] The problem seems to be the user role and db mentioned in /root/.owtf/db.cfg. Do you want us to create them? [Y/n]
------------------------- OWTF Database Helper Script -------------------------
Helps in creation of user and database
-------------------------------------------------------------------------------
[+] Ensure that you have required values in /root/.owtf/db.cfg
Press Enter to continue
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?

psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment