Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 04-20-2014, 02:02 PM   #1
Registered: Oct 2013
Distribution: Slackware, Arch
Posts: 105

Rep: Reputation: Disabled
Postgres Process Restarts with New PID

This is ridiculous. I started installing metasploit last night but was extremely tired so I didn't finish. The last thing I did was run these two commands as instructed:
groupadd -g 209 postgres
useradd -u 209 -g 209 -d /var/lib/pgsql postgres
Today I realized that I didn't actually want to do this so I attempted to remove the user and group both names postgres. However, I can't remove the group because the user is using it, and I can't remove the user because the user is used by process 1919. Ok, so let's kill the process:
kill 1919
Then try to delete the user again. No such luck. Apparently the process is automatically restarted on a different PID. Fine:
kill -9 1963
Nope, process just restarts on a new PID. Herm...
ps aux | grep 1963
The processes name is: postgres msf3 msf3 I try killall with that whole process name.
No process found
I try killall postgres, killall msf3, killall postgres msf3 msf3. No processes found. How do I murder this process?

EDIT: WOW, my apologizes. I found it using pstree -p. The process was postgres.bin and I killed that using
Sorry for wasting forum space.

Last edited by slack_; 04-20-2014 at 02:05 PM.
Old 04-20-2014, 11:37 PM   #2
Richard Cranium
Senior Member
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.2
Posts: 2,788

Rep: Reputation: 1212Reputation: 1212Reputation: 1212Reputation: 1212Reputation: 1212Reputation: 1212Reputation: 1212Reputation: 1212Reputation: 1212
Please mark the thread as [SOLVED] so ninnyhammers like me won't try to help.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Gets to grub loading then restarts and loops this process. ras8761 Slackware 3 06-16-2013 10:58 PM
[SOLVED] How to save the pid of a process at the time of process startup jhonnappier2007 Linux - Newbie 13 11-21-2011 12:54 AM
how parent process again restarts killed child processes?? vflex Linux - Newbie 1 11-08-2011 04:09 PM
Multiple postgres process arunkeerthan Linux - Server 0 08-02-2010 06:30 AM
How to get the PID of the process giving kill signal to a process? hariprd Programming 2 11-27-2008 04:10 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:06 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration