Results 1 to 12 of 12

Thread: Postgres will not start

  1. #1
    Join Date
    2015-Apr
    Posts
    3

    Postgres will not start

    Hi there! Excited about my new install on a Nexus 7 (2012). I've used the Windows based installer twice to install NetHunter on my Nexus and each time I have had a problem with the Postgres DB starting.

    Everytime I try to start postgres using "service postgresql start" I encounter an issue which says the following:

    could not create shared memory segment: Function not implemented
    Failed system call was shmget(key=5432001, size=39460864, 03600)


    If I enter "man shmget", I get a man page for the function.

    I would appreciate any help!

  2. #2
    Did you update your chroot through the Nethunter menu yet? Cuz i get a postgres error whenever i do my first upgrade and it tries to update metasploit. I need to go back to the menu after the update and enable apache and metasploit, update chroot again, get 1 more error, then go back to the menu and disable metasploit and update chroot a 3rd time and everything goes smooth from there.

    Not sure if this helps you at all, especially since i'm running a Nexus 5, but since i just recently got a Nexus so i could play with Nethunter and then once i had my phone stable, we got the Lollipop update, i've done quite a bit of flashing. I always have to do the those same 3 steps to update my chroot for the first time.

  3. #3
    Join Date
    2015-Apr
    Posts
    12
    I had to install NH about 4 times before I got it working.

  4. #4
    Join Date
    2015-Apr
    Posts
    3
    Hi i have the same problem that you wit thar service and the other to, please check if your kernel have google on his name, if is it like that yo have to flash the kernel, it seems to appear a bug when you install net hunter you can find the kernel here in the issue #196 of the proyect on github https://github.com/offensive-securit...ter/issues/196

    Regards

  5. The first step is to look at why it is not starting up by examining the logs.
    you can download play store for android here: https://chplaya.blogspot.com/
    Play Store for PC: https://chplaya.blogspot.com/2016/10...-xach-tay.html
    Last edited by thunguyethyc; 2017-03-22 at 16:16.

  6. #6
    Join Date
    2014-Sep
    Posts
    176
    There appears to be an issue with kernel in N7 2012 not flashing during install. I'm unsure if its related to installer or update zip. I haven't made any changes to the android install side so I'm curious on where the flashing error is occurring.

    I've been working on the N7 2012 lollipop update in the mean time so I hope to have something out soon.

    https://github.com/offensive-securit...ter/issues/196

  7. #7
    Join Date
    2015-Apr
    Posts
    3
    Awesome! Thanks for the replies! I will check out flashing the kernel over. I checked the logs, and they're all basically a repeat of the failed system call noted above.

  8. #8
    Join Date
    2015-Apr
    Posts
    3
    Yup. Replacing the kernel worked like a charm. Thanks!

  9. #9
    Join Date
    2015-Jul
    Posts
    2
    I have the same shared memory issue right now. Latest kernel, updated apt, updated chroot... Any ideas? I'll dig through the log...

  10. #10
    I had to install NH about 4 times before I got it working.

  11. #11
    Join Date
    2018-Aug
    Posts
    2
    Quote Originally Posted by kpoeticg View Post
    Did you update your chroot through the Nethunter menu yet? Cuz i get a postgres error whenever i do my first upgrade and it tries to update metasploit. I need to go back to the menu after the update and enable apache and metasploit, update chroot again, get 1 more error, then go back to the menu and disable metasploit and update chroot a 3rd time and everything goes smooth from there.

    Not sure if this helps you at all, especially since i'm running a Nexus 5, but since i just recently got a Nexus so i could play with Nethunter and then once i had my phone stable, we got the Lollipop update, i've done quite a bit of flashing. I always have to do the those same 3 steps to update my chroot for the first time.
    I am facing the same problem.
    Could u please list the steps to solve it.

  12. #12
    Join Date
    2018-Aug
    Posts
    2
    Hi could you pliz telk which kernel you flashed

Similar Threads

  1. Postgres issues in oneplus7-oos Q 2020.3
    By zjh24a in forum NetHunter Development
    Replies: 3
    Last Post: 2021-11-19, 08:21
  2. Issue with gvmd and postgres
    By hls in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2021-11-03, 18:06
  3. Create a new user using postgres/ please help needed
    By kalionline in forum ARM Archive
    Replies: 2
    Last Post: 2021-03-31, 10:37
  4. Replies: 0
    Last Post: 2014-02-25, 22:25

Tags for this Thread

Posting Permissions

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