Results 1 to 2 of 2

Thread: PostgreSQL on NetHunter 3 Won't Start

  1. #1
    Join Date
    2016-Mar
    Posts
    4

    PostgreSQL on NetHunter 3 Won't Start

    I am hoping someone might be able to point me in the right direction with this:

    I have installed NetHunter on my Nexus 9 (v). I've actually been using it for a few weeks now without issue until I noticed that I can't start up PostgreSQL. Everything else seems to work fine except that service.

    I try:

    Code:
    service postgresql start
    And get back:

    Code:
    [....] Starting PostgreSQL 9.4 database server: main[....] The PostgreSQL server failed to start.
    Please check the log output: 2016-03-22 21:41:54 UTC [3019-1] FATAL: could not create shared memory
    segment: Function not implemented 2016-03-22 21:41:54 UTC [FAIL-2] DETAIL: Failed system call
    was shmget(key=5432001, seize=40, 03600). ... failed!
    Googling around I found a solution for a simlilar problem was to adjust my max shared memory (shmmax) settings, but that didn't fix my problem.

    Any ideas?

    Thank you

  2. #2
    Join Date
    2016-Mar
    Posts
    4
    Oh hey kill_chain, let me Google that for you. Derp.

    The Problem:
    From the first two Google results it looks like this is probably an issue with the kernel being flashed. Sure enough I checked Settings > System > About tablet and it listed the Google kernel under the kernel version. What happened was even though Kali seemed to install properly the kernel did not get flashed.

    The Solution:
    The fix is to go to the NetHunter builds here: https://idlekernel.com/nethunter/nightly/. Go into the latest version, then into kernel-only. Next, download the kernel and use TWRP to flash it.

    PostgreSQL now starts without issue.

Similar Threads

  1. Pb postgresql don't start
    By hamed5390 in forum TroubleShooting Archive
    Replies: 2
    Last Post: 2023-01-21, 21:04
  2. Unable to start Postgresql so I can run Metasploit
    By OldHackerWannabe in forum General Archive
    Replies: 4
    Last Post: 2018-02-05, 13:08
  3. Postgresql won't start
    By DrDinosaur in forum TroubleShooting Archive
    Replies: 3
    Last Post: 2015-07-20, 12:47
  4. postgresql wont start
    By iraq0wnz in forum General Archive
    Replies: 0
    Last Post: 2013-12-05, 21:11
  5. Failed #service postgresql start
    By Castor_Troy in forum TroubleShooting Archive
    Replies: 2
    Last Post: 2013-06-25, 00:39

Posting Permissions

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