Hani böylesine zorla yapmak istemeyizde mecbur kalınca, niye olmasın ![]()
lsnrctl stop
komutuyla durmuyorsa.
#!/bin/bash
for ind in `ps -aef | grep tnslsnr | grep -v grep | cut -f4 -d ' '`
do
kill -9 $ind
echo "process $ind"
done
if [ $? -eq 0 ]; then
lsnrctl start
fi
exit
Tags: bash, force listener to restart, Linux, lsnrctl, oracle, tnslsnr
This entry was posted
on Monday, February 22nd, 2010 at 17:33 and is filed under Database, oracle.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
Cevap veya Yorum Yaz