Page 6 of 6 FirstFirst ... 456
Results 51 to 54 of 54

Thread: Metasploit db_autopwn using PostgreSQL

  1. #51
    Just burned his ISO Jaylong's Avatar
    Join Date
    Dec 2010
    Location
    China
    Posts
    15

    Question 回复: Re: i cannot start server:(

    Quote Originally Posted by sickness View Post
    @HaVaNa7 the tutorial was made for BT 4 and also I don't think you have postgresql turned on.
    @Jaylong I suggest a quick postgresql reinstall, it might solve it.
    something wrong
    Code:
    apt-get remove --purge postgresql-8.3
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages were automatically installed and are no longer required:
      sg3-utils libts-0.0-0 libdnet-raw libarchive1 libv4l-0 libgstreamer0.10-0 python-debian libcaca0 obex-data-server
      app-install-data python-gdata python-libxml2 liblircclient0 libxcb-xv0 libcamel1.2-14 libtrackerclient0 libgnome2-perl
      apt-xapian-index libfftw3-3 libsgutils1 libgvfscommon0 libsoup2.4-1 libwavpack1 libcdio7 python-gtkhtml2 libcdio-cdda0
      libgnome2-vfs-perl python-bittorrent python-sexy libxcb-shape0 python-xapian libwxbase2.8-0 freepats libaa1
      libedataserver1.2-11 libgtkhtml2-0 libshout3 libdv4 python-launchpad-integration libcdio-paranoia0 synaptic gnome-icon-theme
      libxvmc1 libmodplug0c2 liboil0.3 gvfs gvfs-backends libvisual-0.4-0 libnautilus-extension1 libxcb-shm0 librsvg2-common
      libcucul0 libgnome2-canvas-perl libvisual-0.4-plugins python-rdflib
    Use 'apt-get autoremove' to remove them.
    The following packages will be REMOVED:
      postgresql* postgresql-8.3* unicornscan*
    0 upgraded, 0 newly installed, 3 to remove and 1 not upgraded.
    After this operation, 16.2MB disk space will be freed.
    Do you want to continue [Y/n]? y
    (Reading database ... 255192 files and directories currently installed.)
    Removing unicornscan ...
    Removing postgresql ...
    Removing postgresql-8.3 ...
    Stopping PostgreSQL 8.3 database server: main* Error: The cluster is owned by user id 118 which does not exist any more
     failed!
    invoke-rc.d: initscript postgresql-8.3, action "stop" failed.
    dpkg: error processing postgresql-8.3 (--purge):
     subprocess pre-removal script returned error exit status 1
    install: invalid user `postgres'
    invoke-rc.d: initscript postgresql-8.3, action "start" failed.
    dpkg: error while cleaning up:
     subprocess post-installation script returned error exit status 1
    Processing triggers for man-db ...
    Errors were encountered while processing:
     postgresql-8.3
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    and then
    Code:
      apt-get install postgresql-8.3
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    postgresql-8.3 is already the newest version.
    The following packages were automatically installed and are no longer required:
      sg3-utils libts-0.0-0 libdnet-raw libarchive1 libv4l-0 libgstreamer0.10-0 python-debian libcaca0 obex-data-server
      app-install-data python-gdata python-libxml2 liblircclient0 libxcb-xv0 libcamel1.2-14 libtrackerclient0 libgnome2-perl
      apt-xapian-index libfftw3-3 libsgutils1 libgvfscommon0 libsoup2.4-1 libwavpack1 libcdio7 python-gtkhtml2 libcdio-cdda0
      libgnome2-vfs-perl python-bittorrent python-sexy libxcb-shape0 python-xapian libwxbase2.8-0 freepats libaa1
      libedataserver1.2-11 libgtkhtml2-0 libshout3 libdv4 python-launchpad-integration libcdio-paranoia0 synaptic gnome-icon-theme
      libxvmc1 libmodplug0c2 liboil0.3 gvfs gvfs-backends libvisual-0.4-0 libnautilus-extension1 libxcb-shm0 librsvg2-common
      libcucul0 libgnome2-canvas-perl libvisual-0.4-plugins python-rdflib
    Use 'apt-get autoremove' to remove them.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    1 not fully installed or removed.
    After this operation, 0B of additional disk space will be used.
    Setting up postgresql-8.3 (8.3.8-0ubuntu8.10) ...
    install: invalid user `postgres'
    invoke-rc.d: initscript postgresql-8.3, action "start" failed.
    dpkg: error processing postgresql-8.3 (--configure):
     subprocess post-installation script returned error exit status 1
    Errors were encountered while processing:
     postgresql-8.3
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    do you have any idea?
    斯须九重真龙出,一洗万古凡马空

  2. #52
    Administrator sickness's Avatar
    Join Date
    Jan 2010
    Location
    Behind the screen.
    Posts
    2,921

    Default Re: 回复: Re: i cannot start server:(

    It doesn't remove postgresql, I suspect that you deleted the postgres user from the default postgresql.
    Back|track giving machine guns to monkeys since 2007 !

    Do not read the Wiki, most your questions will not be answered there !
    Do not take a look at the: Forum Rules !

  3. #53
    Just burned his ISO Jaylong's Avatar
    Join Date
    Dec 2010
    Location
    China
    Posts
    15

    Default 回复: Re: 回复: Re: i cannot start server:(

    Quote Originally Posted by sickness View Post
    It doesn't remove postgresql, I suspect that you deleted the postgres user from the default postgresql.
    i have figured it out thank you
    斯须九重真龙出,一洗万古凡马空

  4. #54
    Just burned his ISO
    Join Date
    Feb 2011
    Posts
    7

    Default Re: Metasploit db_autopwn using PostgreSQL

    Great help thanks man.

Page 6 of 6 FirstFirst ... 456

Similar Threads

  1. Nexpose Postgresql error
    By WolverineOD in forum Beginners Forum
    Replies: 1
    Last Post: 05-02-2010, 04:45 PM
  2. apt-get upgrade: Fehler bzgl postgresql-8.3
    By cleguevara in forum Software support
    Replies: 4
    Last Post: 01-13-2010, 08:55 AM
  3. errore: postgresql-8.3
    By xanders in forum Supporto Software
    Replies: 10
    Last Post: 11-21-2009, 09:34 AM
  4. Error with Postgresql after recent dist-upgrade
    By imported_davehardy20 in forum OLD BackTrack 4 Bugs and Fixes
    Replies: 15
    Last Post: 11-20-2009, 10:23 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •