I want to know how to edit update-rc.d and add postgresql to whitelist and comment in blacklistI
-know that Postgresql won't work on a chroot environment without whitelisting it.
But how I do that
-never did figure out how to whitelist postgresql
Forum Thread: I Have a Postqresql Problem
- Hot
- Active
-
Forum Thread: How to Hack Android Phone Using Same Wifi 23 Replies
6 hrs ago -
Forum Thread: Changing IP Address 9 Replies
5 days ago -
Forum Thread: When My Kali Linux Finishes Installing (It Is Ready to Boot), and When I Try to Boot It All I Get Is a Black Screen. 8 Replies
1 wk ago -
Forum Thread: HACK ANDROID with KALI USING PORT FORWARDING(portmap.io) 12 Replies
2 wks ago -
Forum Thread: Hydra Syntax Issue Stops After 16 Attempts 2 Replies
1 mo ago -
Forum Thread: Hack Instagram Account Using BruteForce 208 Replies
1 mo ago -
Forum Thread: Metasploit reverse_tcp Handler Problem 47 Replies
3 mo ago -
Forum Thread: How to Train to Be an IT Security Professional (Ethical Hacker) 22 Replies
3 mo ago -
Metasploit Error: Handler Failed to Bind 41 Replies
3 mo ago -
How to: HACK Android Device with TermuX on Android | Part #1 - Over the Internet [Ultimate Guide] 177 Replies
3 mo ago -
How to: Crack Instagram Passwords Using Instainsane 36 Replies
3 mo ago -
Forum Thread: How to Hack an Android Device Remotely, to Gain Acces to Gmail, Facebook, Twitter and More 5 Replies
3 mo ago -
Forum Thread: How Many Hackers Have Played Watch_Dogs Game Before? 13 Replies
4 mo ago -
Forum Thread: How to Hack an Android Device with Only a Ip Adress 55 Replies
5 mo ago -
How to: Sign the APK File with Embedded Payload (The Ultimate Guide) 10 Replies
5 mo ago -
Forum Thread: How to Run and Install Kali Linux on a Chromebook 18 Replies
6 mo ago -
Forum Thread: How to Find Admin Panel Page of a Website? 13 Replies
6 mo ago -
Forum Thread: can i run kali lenux in windows 10 without reboting my computer 4 Replies
6 mo ago -
Forum Thread: How to Hack School Website 11 Replies
6 mo ago -
Forum Thread: Make a Phishing Page for Harvesting Credentials Yourself 8 Replies
7 mo ago
-
How To: Dox Anyone
-
How To: Find Identifying Information from a Phone Number Using OSINT Tools
-
How To: Brute-Force FTP Credentials & Get Server Access
-
How To: Scan for Vulnerabilities on Any Website Using Nikto
-
How To: Scan Websites for Interesting Directories & Files with Gobuster
-
How To: Use Burp & FoxyProxy to Easily Switch Between Proxy Settings
-
How To: Crack SSH Private Key Passwords with John the Ripper
-
How To: Check if Your Wireless Network Adapter Supports Monitor Mode & Packet Injection
-
How To: Crack Shadow Hashes After Getting Root on a Linux System
-
How To: Find Vulnerable Webcams Across the Globe Using Shodan
-
How To: Use John the Ripper in Metasploit to Quickly Crack Windows Hashes
-
How To: Run Kali Linux as a Windows Subsystem
-
How To: Use SQL Injection to Run OS Commands & Get a Shell
-
Tutorial: Create Wordlists with Crunch
-
How To: Find Passwords in Exposed Log Files with Google Dorks
-
Hack Like a Pro: How to Find Directories in Websites Using DirBuster
-
How To: Set Up a Headless Raspberry Pi Hacking Platform Running Kali Linux
-
Steganography: How to Hide Secret Data Inside an Image or Audio File in Seconds
-
How To: Get Root with Metasploit's Local Exploit Suggester
-
How to Hack Wi-Fi: Cracking WPA2-PSK Passwords Using Aircrack-Ng
20 Responses
Maybe you could be more specific on what you intend to do?
I have Kali Linux on a phone device and whatever I try to start postgresql ore I try apt-get upgrade I have in error message
Someone already tell me that I have to edit update-rc.d and add postgresql to whitelist and comment in blacklistl
root@kali:~# service postgresql stop
ok Stopping PostgreSQL 9.4 database server: main.
root@kali:~# service postgresql start
.... Starting PostgreSQL 9.4 database server: main.... The PostgreSQL server failed to start. Please check the log output: 2016-03-16 01:05:32 UTC 13645-1 FATAL: could not create shared memory segment: Function not implemented 2016-03-16 01:05:32 UTC 13645-2 DETAIFAILiled system call was shmget(key=5432001, size=40, 03600). ... failed!
failed!
root@kali:~#
But I never know how to white list a postgresql any help.
Was does the log file say?
I
I think are taking advice from someone who does not know what they are doing.
What are you using PostgreSQL for?
Is just not working when I type apt-get upgread
I find those info on the net and sorry for my bad English that's because I am not English
https://forums.kali.org/showthread.php?1950-postgresql-9-1-errors-after-installing-a-package/page2&highlight=postgresql%20problem
But even so I didn't get it to work
root@kali:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? Y/n y
Setting up postgresql-9.4 (9.4.6-0+deb8u1) ...*
.... Starting PostgreSQL 9.4 database server: main.... The PostgreSQL server failed to start. Please check the log output: 2016-03-16 01:51:19 UTC 18404-1 FATAL: could not create shared memory segment: Function not implemented 2016-03-16 01:51:19 UTC 18404-2 DETAIFAILiled system call was shmget(key=5432001, size=40, 03600). ... failed!
failed!
invoke-rc.d: initscript postgresql, action "start" failed.
dpkg: error processing package postgresql-9.4 (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
postgresql-9.4
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@kali:~#
First, check the log messages as the error says.
Second, you don't need postgresql to use Metasploit.
Sorry but i am new on the android so where I can check the log message on android
Why are you determined to have postgresql? You should have MySQL installed.
I have my SQL installed already
Then, use MySQL.
When I run msfconsol I get
root@kali:~# msfconsole
Is the server running on host "localhost" (::1) and accepting
TCP/IP connections on port 5432?
could not connect to server: Connection refused
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432
Metasploit runs fine without postgresql.
Yeah working but still having that error below. And look up for posgresql to work for armitage
msfconsole works great without postgresql. This is only a problem on the mobile version of Kali. Either use the x86 or x64 version or even easier, use msfconsole.
root@kali:~# service postgresql start
.... Starting PostgreSQL 9.4 database server: main.... The PostgreSQL server failed to start. Please check the log output: 2016-03-16 17:38:32 UTC 28437-1 FATAL: could not create shared memory segment: Function not implemented 2016-03-16 17:38:32 UTC 28437-2 DETAIFAILiled system call was shmget(key=5432001, size=40, 03600). ... failed!
failed!
root@kali:~#
I am using the nexus 6 marshmallow
And to be more specific running the Kali nethunter
Share Your Thoughts