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 Track Who Is Sms Bombing Me . 4 Replies
2 mo ago -
Forum Thread: Removing Pay-as-You-Go Meter on Loan Phones. 1 Replies
2 mo ago -
Forum Thread: Hydra Syntax Issue Stops After 16 Attempts 3 Replies
2 mo ago -
Forum Thread: moab5.Sh Error While Running Metasploit 17 Replies
3 mo ago -
Forum Thread: Execute Reverse PHP Shell with Metasploit 1 Replies
4 mo ago -
Forum Thread: Install Metasploit Framework in Termux No Root Needed M-Wiz Tool 1 Replies
5 mo ago -
Forum Thread: Hack and Track People's Device Constantly Using TRAPE 35 Replies
5 mo 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
6 mo ago -
Forum Thread: HACK ANDROID with KALI USING PORT FORWARDING(portmap.io) 12 Replies
7 mo ago -
Forum Thread: Hack Instagram Account Using BruteForce 208 Replies
7 mo ago -
Forum Thread: Metasploit reverse_tcp Handler Problem 47 Replies
9 mo ago -
Forum Thread: How to Train to Be an IT Security Professional (Ethical Hacker) 22 Replies
9 mo ago -
Metasploit Error: Handler Failed to Bind 41 Replies
9 mo ago -
Forum Thread: How to Hack Android Phone Using Same Wifi 21 Replies
10 mo ago -
How to: HACK Android Device with TermuX on Android | Part #1 - Over the Internet [Ultimate Guide] 177 Replies
10 mo ago -
How to: Crack Instagram Passwords Using Instainsane 36 Replies
10 mo ago -
Forum Thread: How to Hack an Android Device Remotely, to Gain Acces to Gmail, Facebook, Twitter and More 5 Replies
10 mo ago -
Forum Thread: How Many Hackers Have Played Watch_Dogs Game Before? 13 Replies
10 mo ago -
Forum Thread: How to Hack an Android Device with Only a Ip Adress 55 Replies
11 mo ago -
How to: Sign the APK File with Embedded Payload (The Ultimate Guide) 10 Replies
11 mo ago
-
How To: Crack Password-Protected Microsoft Office Files, Including Word Docs & Excel Spreadsheets
-
How To: Find Vulnerable Webcams Across the Globe Using Shodan
-
How To: Clear the Logs & Bash History on Hacked Linux Systems to Cover Your Tracks & Remain Undetected
-
How To: Scan for Vulnerabilities on Any Website Using Nikto
-
How To: Use Burp & FoxyProxy to Easily Switch Between Proxy Settings
-
How To: Execute Code in a Microsoft Word Document Without Security Warnings
-
How To: Enumerate NetBIOS Shares with NBTScan & Nmap Scripting Engine
-
How to Hack Wi-Fi: Choosing a Wireless Adapter for Hacking
-
How To: Use Pupy, a Linux Remote Access Tool
-
How To: Find Identifying Information from a Phone Number Using OSINT Tools
-
How To: Dox Anyone
-
How To: Use Kismet to Watch Wi-Fi User Activity Through Walls
-
How To: Make Your Own Bad USB
-
How To: Perform Advanced Man-in-the-Middle Attacks with Xerosploit
-
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: Exploit Shellshock on a Web Server Using Metasploit
-
How To: Create Rainbow Tables for Hashing Algorithms Like MD5, SHA1 & NTLM
-
How To: Intercept Images from a Security Camera Using Wireshark
-
How To: Unlock Facial Detection & Recognition on the Inexpensive ESP32-Based Wi-Fi Spy Camera
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