Profile cover photo
Profile photo
Omar Issa
64 followers
64 followers
About
Posts

Post has attachment
Add a comment...

[FAIL] Postgresql must be started before Metasploit ... failed!

anybody find a solution yet? i have kali xfce4. 

Ok so I have a kali distros on my acer c720 using crouton. I just recently updated my chrome os, and for some reason xorg x11 servers are not supported by the new frecon dev terminal. So I went into crosh and tried starting it from there. (BTW, it was working fine before the update, I was using it before I updated it)


crosh> shell
chronos@localhost/ $ sudo startxfce4
Entering /mnt/stateful_partition/crouton/chroots/kali...
/usr/bin/startxfce4: Starting X server

ERROR: ld.so: object '/usr/local/lib/croutonfreon.so' from LD_PRELOAD cannot be preloaded: ignored.
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.

X.Org X Server 1.12.4
Release Date: 2012-08-27
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.16.0-4-amd64 x86_64 Debian
Current Operating System: Linux localhost 3.8.11 #1 SMP Tue Apr 14 18:57:27 PDT 2015 x86_64
Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 2506752 verity payload=PARTUUID=037bc89a-1a79-dd4c-908e-acf506a9c00b/PARTNROFF=1 hashtree=PARTUUID=037bc89a-1a79-dd4c-908e-acf506a9c00b/PARTNROFF=1 hashstart=2506752 alg=sha1 root_hexdigest=a066bff2dc004585fe2b5c44be0c33ce6314a3a4 salt=d9d62c9699d89416b72843e002fe7a0e273b0d9678a826be2a1517e0e06658ae" noinitrd vt.global_cursor_default=0 kern_guid=037bc89a-1a79-dd4c-908e-acf506a9c00b add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic iTCO_vendor_support.vendorsupport=3  
Build Date: 09 February 2015  09:46:52AM
xorg-server 2:1.12.4-6+deb7u6 (Julien Cristau <jcristau@debian.org>) 
Current version of pixman: 0.26.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/Xorg.crouton.1.log", Time: Thu Apr 30 12:18:25 2015
(==) Using system config directory "/usr/share/X11/xorg.conf.d"

Fatal server error:
xf86OpenConsole: Cannot open /dev/tty0 (No such file or directory)


Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
Please also check the log file at "/tmp/Xorg.crouton.1.log" for additional information.

Server terminated with error (1). Closing log file.
/usr/bin/xinit: giving up
/usr/bin/xinit: unable to connect to X server: Connection refused
/usr/bin/xinit: server error
Unmounting /mnt/stateful_partition/crouton/chroots/kali...



So I downloaded a new crouton, tried running running this "sudo sh ~/Downloads/crouton -u -n kali" and I got this.....

chronos@localhost/ $ sudo sh ~/Downloads/crouton -u -n kali
Downloading latest crouton installer...
######################################################################## 100.0%
/usr/local/chroots/kali already exists; updating it...
Preparing chroot environment...
Installing brightness into the chroot...
Installing croutonpowerd into the chroot...
Installing croutonversion into the chroot...
Installing host-dbus into the chroot...
Installing host-x11 into the chroot...
Installing pulseaudio-default.pa into the chroot...
Installing croutoncycle into the chroot...
Installing croutontriggerd into the chroot...
Installing croutonxinitrc-wrapper into the chroot...
Installing setres into the chroot...
Installing xinit into the chroot...
Installing xbindkeysrc.scm into the chroot...
Installing xorg-intel-sna.conf into the chroot...
Installing xserverrc into the chroot...
Installing xserverrc-xorg into the chroot...
Installing xserverrc-local.example into the chroot...
Installing startxfce4 into the host...
Installing crouton-noroot into the chroot...
Installing startxfce4 into the chroot...
Installing enter-chroot into the host...
Installing delete-chroot into the host...
Installing edit-chroot into the host...
Installing mount-chroot into the host...
Installing unmount-chroot into the host...
Installing crash_reporter_wrapper into the host...
Setting up metasploit (4.11.1-2015042001-1kali0) ...
skipping metasploit initialization: postgres not running
insserv: warning: current start runlevel(s) (empty) of script `metasploit' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `metasploit' overrides LSB defaults (0 1 6).
[FAIL] Postgresql must be started before Metasploit ... failed!
invoke-rc.d: initscript metasploit, action "start" failed.
dpkg: error processing metasploit (--configure):
 subprocess installed post-installation script returned error exit status 5
Errors were encountered while processing:
 metasploit
Failed to complete chroot setup.
Unmounting /mnt/stateful_partition/crouton/chroots/kali...




PLEASE HELP......

Post has attachment
Add a comment...

Post has attachment
<a class='ot-hashtag' href='https://plus.google.com/s/%23hangoutsonair'>#hangoutsonair</a>Ibrahim Issa and Daniel Rusin
Add a comment...

Post has attachment
<a class='ot-hashtag' href='https://plus.google.com/s/%23hangoutsonair'>#hangoutsonair</a>
Add a comment...

Post has attachment

Post has attachment
Add a comment...

Post has attachment
Minecraft
Photo
Add a comment...

Post has attachment
People read this and share
Photo
Add a comment...
Wait while more posts are being loaded