View Issue Details

IDProjectCategoryView StatusLast Update
0000395Kali LinuxKali Package Bugpublic2025-07-14 09:36
Reporterklashnikoff Assigned Torhertzog  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
PlatformGalaxy Note 2OSAndroidOS Version1.0
Summary0000395: postgresql installation/run error
Description

Setting up postgresql-9.1 (9.1.9-1) ...
[....] Starting PostgreSQL 9.1 database server: main[....] The PostgreSQL server failed to start. Please check the log output: 2013-06-10 14:13:20 BST LOG: could not create IPv6 socket: Permission denied 2013-06-10 14:13:20 BST LOG: could not create IPv4 socket: Permission denied 2013-06-10 14:13:20 BST WARNING: could not create listen socket for "localhost" 2013-06-10 14:13:20 BST FATAL: could no[FAILate any TCP/IP sockets ... failed!
failed!
invoke-rc.d: initscript postgresql, action "start" failed.
dpkg: error processing postgresql-9.1 (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of postgresql:
postgresql depends on postgresql-9.1; however:
Package postgresql-9.1 is not configured yet.

dpkg: error processing postgresql (--configure):
dependency problems - leaving unconfigured
Setting up libnspr4-0d:armel (2:4.9.2-1) ...
Setting up xulrunner-10.0 (10.0.12esr-1) ...
Setting up iceweasel (10.0.12esr-1) ...
update-alternatives: using /usr/bin/iceweasel to provide /usr/bin/x-www-browser (x-www-browser) in auto mode
update-alternatives: using /usr/bin/iceweasel to provide /usr/bin/gnome-www-browser (gnome-www-browser) in auto mode
Processing triggers for menu ...
Errors were encountered while processing:
postgresql-9.1
postgresql
E: Sub-process /usr/bin/dpkg returned an error code (1)

postgresql installation fails everytime, unable to use mestploit db tools, as per prev ticket raised whitelisted postgresql in update-rc.d script files to no prevail still not working

Steps To Reproduce

apt-get -f install postgresql
apt-get update

Activities

niflheim123

niflheim123

2013-06-17 12:54

reporter   ~0000564

http://bugs.kali.org/view.php?id=264 same issue
but
This is not bug. Postgresql wont install in a Linux Deploy chroot without first whitelisting it in update-rc.d.
muts (administrator)
but I did that and still no success

niflheim123

niflheim123

2013-06-17 13:07

reporter   ~0000565

also tried to add postgres user to adi_inet group but still nothing

niflheim123

niflheim123

2013-06-17 13:08

reporter   ~0000566

this bug affects metasploit framework

niflheim123

niflheim123

2013-06-18 08:08

reporter   ~0000574

I would recommend this issue to be updated to Severity: Major

niflheim123

niflheim123

2013-06-18 08:15

reporter   ~0000575

or even critical

niflheim123

niflheim123

2013-06-18 15:57

reporter   ~0000576

UPDATE: in android we need to add network permisions to postgres user:
usermod -a -G aid_inet postgres
and it runs ok :D. so this needs to be closed

niflheim123

niflheim123

2013-06-18 16:01

reporter   ~0000577

the install script for postgresql needs update, so that it detects KALI linux and the arm architecture and add the permision

rhertzog

rhertzog

2016-01-22 09:26

administrator   ~0004571

Closing as requested by the reporter.

Issue History

Date Modified Username Field Change
2013-06-10 13:31 klashnikoff New Issue
2013-06-17 12:54 niflheim123 Note Added: 0000564
2013-06-17 13:07 niflheim123 Note Added: 0000565
2013-06-17 13:08 niflheim123 Note Added: 0000566
2013-06-18 08:08 niflheim123 Note Added: 0000574
2013-06-18 08:15 niflheim123 Note Added: 0000575
2013-06-18 15:57 niflheim123 Note Added: 0000576
2013-06-18 16:01 niflheim123 Note Added: 0000577
2016-01-22 09:26 rhertzog Note Added: 0004571
2016-01-22 09:26 rhertzog Status new => closed
2016-01-22 09:26 rhertzog Assigned To => rhertzog
2016-01-22 09:26 rhertzog Resolution open => no change required
2025-07-14 09:36 g0tmi1k Priority high => normal