Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <20020125130925.48847.qmail@web10108.mail.yahoo.com> Date: Fri, 25 Jan 2002 14:09:25 +0100 (CET) From: =?iso-8859-1?q?Sylvain=20Petreolle?= Subject: BASH: kill: (388067) - Not owner To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi, I installed a few days ago mysql server 3.23.25 for Windows (i'm running latest cygwin with Windows ME). I want to let mysqld server be running by cygwin. I wrote a script and forgot the "&" to put the task in background. /etc/profile.d/S01mysqld.sh: if [ "`ps | grep -i mysqld-opt`" = '' ] then echo -n Starting mysqld... rm -f /var/run/mysqld.pid /usr/sbin/mysqld if [ ps -ef |grep mysqld-opt ] ; then ps -ef |grep mysqld-opt | awk '{print $1}' >/var/run/mysqld.pid echo [OK] fi else echo mysqld is already running... [FAILED] fi So when i wanted to kill it, made also ps -f: $ ps -f UID PID PPID TTY STIME COMMAND syl 341143 1 con 11:11:09 /usr/bin/BASH syl 145963 341143 con 11:17:19 /usr/bin/SH syl 388067 145963 con Jan 1 /cygdrive/c/mysql/bin/mysqld-opt syl 517055 1 con 11:17:31 /usr/bin/BASH syl 496595 517055 con 13:04:57 /usr/bin/PS and do kill 388067, i was then told i am not the owner of the process ! The only way to kill it (i tried before with -9 option) was to use WinMySQLadmin. What could I do to solve the problem ? Sylvain + Future will be better tomorrow + ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.fr -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/