|
From: suresh d. <dss...@ma...> - 2005-03-31 09:30:43
|
Hi all,
I'm using smartmontools-5.32 on cygwin-1.5.12 on win2000. I'm using bash s=
hell in the cygwin. After I run smartd, then I try to quit cygwin by "exit"=
command, I'm unable to exit out of cygwin. In other words, whenever smartd=
is running, I'm not able to exit out of the cygwin/bash window. So, I forc=
ibly kill the cygwin/bash window which kills the smartd also. smartd is a d=
aemon; once it is put into the background as a daemon, why should it get ki=
lled when I try to exit cygwin?
So, the two questions I'm asking are:
1) When smartd is running (which was started thro' cygwin/bash), why I'm un=
able to exit cygwin?
2) When I focribly exit cygwin, why it kills smartd also?
3) Why this doesn't get logged? (Normally all the log stuff related to smar=
td in cygwin is logged in the event log in windows).
I've just given below a screen capture on the cygwin.
---------------------------------------------------------------------------=
-------------------------------------------
Administrator@IND-suresh ~
$ smartd
Administrator@IND-suresh ~
$ ps -ef
UID PID PPID TTY STIME COMMAND
Administ 1568 1 con 14:31:46 /usr/bin/bash
Administ 2244 1 ? 14:31:49 /usr/sbin/smartd
Administ 1060 1568 con 14:31:53 /usr/bin/ps
Administrator@IND-suresh ~
$ exit
logout
_
---------------------------------------------------------------------------=
-------------------------------------------
The "_" below the logout message, is the cursor; the cygwin window just han=
gs at this point; When I forcibly kill it by clicking the close button icon=
on the top right corner of the cygwin window, Win2000 pops up a message bo=
x, saying the operation may need more time to to complete. But the point is=
, I've waited for many, many minutes and it never gets killed ie. I'm never=
able to exit out of cygwin. This happens only when smartd is running and n=
ot with any other commands.
At the base, I have win2000. Above that , cygwin. Bash is the shell on the =
cygwin. And smartd is invoked from bash. So, there are 4 layers, win2000, c=
ywin, bash, smartd. Out of these, which is responsible for this problem? I =
don't know....
Has anyone experienced similar problem when running smartd in cygwin?
Experts... I need help.
thanks
suresh
--=20
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm
|