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: 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 day ago -
Forum Thread: HACK ANDROID with KALI USING PORT FORWARDING(portmap.io) 12 Replies
1 wk ago -
Forum Thread: Hydra Syntax Issue Stops After 16 Attempts 2 Replies
4 wks ago -
Forum Thread: Hack Instagram Account Using BruteForce 208 Replies
4 wks ago -
Forum Thread: Metasploit reverse_tcp Handler Problem 47 Replies
2 mo ago -
Forum Thread: How to Train to Be an IT Security Professional (Ethical Hacker) 22 Replies
2 mo ago -
Metasploit Error: Handler Failed to Bind 41 Replies
3 mo ago -
Forum Thread: How to Hack Android Phone Using Same Wifi 21 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
3 mo ago -
Forum Thread: How to Hack an Android Device with Only a Ip Adress 55 Replies
4 mo ago -
How to: Sign the APK File with Embedded Payload (The Ultimate Guide) 10 Replies
4 mo ago -
Forum Thread: How to Run and Install Kali Linux on a Chromebook 18 Replies
5 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
6 mo ago -
Forum Thread: Creating an Completely Undetectable Executable in Under 15 Minutes! 38 Replies
7 mo ago
-
How To: Find Vulnerable Webcams Across the Globe Using Shodan
-
BT Recon: How to Snoop on Bluetooth Devices Using Kali Linux
-
How To: Enumerate SMB with Enum4linux & Smbclient
-
Hacking Windows 10: How to Dump NTLM Hashes & Crack Windows Passwords
-
How To: Scan for Vulnerabilities on Any Website Using Nikto
-
How To: Check if Your Wireless Network Adapter Supports Monitor Mode & Packet Injection
-
Hack Like a Pro: How to Find Directories in Websites Using DirBuster
-
How To: Find Identifying Information from a Phone Number Using OSINT Tools
-
How to Hack Wi-Fi: Cracking WPA2 Passwords Using the New PMKID Hashcat Attack
-
How To: Find Passwords in Exposed Log Files with Google Dorks
-
How To: Use Ettercap to Intercept Passwords with ARP Spoofing
-
How To: Scrape Target Email Addresses with TheHarvester
-
How To: The Essential Skills to Becoming a Master Hacker
-
How To: Target Bluetooth Devices with Bettercap
-
How To: Exploit Java Remote Method Invocation to Get Root
-
How To: Build a Man-in-the-Middle Tool with Scapy and Python
-
How To: Dox Anyone
-
How To: Crack SSH Private Key Passwords with John the Ripper
-
How To: Exploit EternalBlue on Windows Server with Metasploit
-
How To: Crack Shadow Hashes After Getting Root on a Linux System
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