Why dont you su to root and kill the process?
On Thu, 27 Jan 2005 11:14:25 -0800, John Michael Zorko <email@hidden> wrote:
>
> Hello, all ...
>
> OK, i'm confused. What is up with this?
>
> mranenlt:~ jmzorko$ ps -aux|grep post
> root 262 0.0 0.0 18056 80 ?? Ss Wed08AM 0:00.00
> /usr/sbin/postfix-watch
> postgres 415 0.0 0.1 33844 724 p2- S Wed08AM 0:05.29
> /sw/bin/postmaster-7.4 -D /sw/var/postgresql-7.4/data/
> postgres 418 0.0 0.0 31096 220 p2- S Wed08AM 0:00.37
> postgres: stats buffer process
> postgres 419 0.0 0.0 30108 228 p2- S Wed08AM 0:02.74
> postgres: stats collector process
> postgres 2213 0.0 0.1 33844 480 p2- U 9:35AM 0:00.02
> postgres: checkpoint subprocess
> root 4509 0.0 0.1 27908 800 p2- S 11:03AM 0:00.03
> sudo -u postgres psql issp
> root 4585 0.0 0.1 27908 800 p2- S 11:06AM 0:00.02
> sudo -u postgres psql issp
> jmzorko 4646 0.0 0.0 18644 100 std R+ 11:08AM 0:00.00
> grep post
> mranenlt:~ jmzorko$ sudo kill -9 4509
> Password:
>
> (hangs here)
>
> ^C^C^C^C
> ^Z
> [1]+ Stopped sudo kill -9 4509
> mranenlt:~ jmzorko$ ps -aux|grep post
> root 262 0.0 0.0 18056 80 ?? Ss Wed08AM 0:00.00
> /usr/sbin/postfix-watch
> postgres 415 0.0 0.1 33844 724 p2- S Wed08AM 0:05.30
> /sw/bin/postmaster-7.4 -D /sw/var/postgresql-7.4/data/
> postgres 418 0.0 0.0 31096 220 p2- S Wed08AM 0:00.37
> postgres: stats buffer process
> postgres 419 0.0 0.0 30108 228 p2- S Wed08AM 0:02.74
> postgres: stats collector process
> postgres 2213 0.0 0.1 33844 480 p2- U 9:35AM 0:00.02
> postgres: checkpoint subprocess
> root 4509 0.0 0.1 27908 800 p2- S 11:03AM 0:00.03
> sudo -u postgres psql issp
> root 4585 0.0 0.1 27908 800 p2- S 11:06AM 0:00.02
> sudo -u postgres psql issp
> jmzorko 4694 0.0 0.0 18644 100 std R+ 11:09AM 0:00.00
> grep post
> mranenlt:~ jmzorko$ sudo kill -9 4509
> Password:
>
> (hangs here)
>
> ^C^C^C^C^Z
> [2]+ Stopped sudo kill -9 4509
> mranenlt:~ jmzorko$
>
> I seem to have gotten OSX 10.3.7 in a weird state where I can't sudo to
> kill a process that is trying to sudo to start another ... I just want
> to start the PostgreSQL interactive shell, but I can't seem to ... nor
> can I kill the other processes trying to start it ... am I not
> understanding something?
>
> Regards,
>
> John
>
> Falling You - exploring the beauty of voice and sound
> New album, "Touch", available now
> http://www.magnatune.com/artists/falling_you
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Darwinos-users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/darwinos-users/email@hidden
>
> This email sent to email@hidden
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwinos-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwinos-users/email@hidden
This email sent to email@hidden