Git Product home page Git Product logo

Comments (4)

gearcapitan avatar gearcapitan commented on August 23, 2024 1

Finish by completely installing the postgre, :P

from venom.

gearcapitan avatar gearcapitan commented on August 23, 2024 1

no te llega a suceder que cuando reinicias, el problema regresa?, como que el problema viene y se va, viene y se va

from venom.

r00t-3xp10it avatar r00t-3xp10it commented on August 23, 2024

yap ..
I've have came up with a soluction for this strange metasploit bug ..
Save next document with the bash extension (msfix.sh)

#!/bin/sh
service postgresql start
    echo "[☆] Checking msfdb connection status .."
    ih=`msfconsole -q -x 'db_status; exit -y' | awk {'print $3'}`
      if [ "$ih" != "connected" ]; then
        echo "[x] postgresql selected, no connection .."
        echo "[☆] Please wait, rebuilding msf database .."
        #
        # Rebuild msf database (database.yml)
        # 
        msfdb reinit | zenity --progress --pulsate --title "☠ PLEASE WAIT ☠" --text="Rebuild metasploit database" --percentage=0 --auto-close --width 300 > /dev/null 2>&1
        echo "[✔] postgresql connected to msf .."
        sleep 2
      else
        echo "[✔] postgresql connected to msf .."
        sleep 2
      fi

NOTE: This code has allready implemented in all my projects ..

from venom.

gearcapitan avatar gearcapitan commented on August 23, 2024

hola amigo, sonara estupido pero ya desde hace mucho tiempo atras, encontre mi error particular con el servicio de postgresql , resulta que habia editado el archivo /etc/systemd/system.conf y en los paremetros #DefaultTimeoutStartSec=90s
#DefaultTimeoutStopSec=90s
les habia puesto 3 segundos, y ya, eso era todo lo que me causaba problemas

from venom.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.