Thanks Ben, that worked.

The script editing was pretty straight forward. I just changed the following
line "ps ax --width=1000 | grep "[j]ava -server com.stevie.ChatServer.Start"
| awk '{ system("kill " $1) }'" and added the -9 after the kill in awk.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Benjamin J. Weiss
Sent: 08 September 2003 14:27
To: [EMAIL PROTECTED]
Subject: Re: Service script not killing process.


> talk2UtimeHi all,
>
> I have the following script to run a service under linux redhat 9.0 and it
> worked when I was editing it initially. However, i've left the box on for
a
> few weeks now and I can't restart the services any more.
>
> I tried killing the process manually using "kill procid" at the terminal
> interface and that didn't kill it either. The process is definately
running.
>
> What can I do to make sure that this process is killed?

I won't try to help you with the script part, but you should be able to
manually kill the process with:

kill -9 `cat /var/run/talk2Utime-chatserver.pid`

Ben


--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to