top is gone (PLUS sshd logs)
Forgot to change the subject line Original Message Subject: Re: cygwin Digest 20 Jun 2003 09:53:42 - Issue 2902 Date: Fri, 20 Jun 2003 06:54:15 -0400 From: Fred Ma <[EMAIL PROTECTED]> To: Carlo Florendo <[EMAIL PROTECTED]> > Date: Fri, 20 Jun 2003 15:28:26 +0800 > From: "Carlo Florendo" <[EMAIL PROTECTED]> > > Hi Fred, > > Try running "cygcheck -svr | grep procps" and if it gives you nothing, that means > that top is not installed. By the way, you may > want click the "Packages" link under http://cygwin.com and try to look for the > utility you're missing. For example, you may type > "top.exe" (without the double-quotes, of course) at the search box.I got these > results: > > Found 4 matches for top.exe. > > procps/procps-010801-1 Utilities for monitoring your system and processes on your > system. > procps/procps-010801-2 Utilities for monitoring your system and processes on your > system. > proftpd/proftpd-1.2.9rc1-2 A flexible, stable and highly-configurable FTP Server > proftpd/proftpd-20030513-2 A flexible, stable and highly-configurable FTP Server > > It appears to me that top is not gone. It seems that it was not installed in the > first place. And FYI, you wouldn't find any hints > by reading the bash man page since the top is a different package from bash. > > > What path is top suppose to be in? > It's supposed to be in /bin (if you installed it). > > Best Regards, > > Carlo > - > Carlo Florendo > Astra Philippines., Inc. > URL: www.astra.ph www.astra.co.jp Carlo, Thanks for the pointer to the package search. The cygcheck comes up with procps, but that's only because I installed it. You may be right, perhaps the package wasn't there before. It was a combination of coincidences (misbehaving xterm, firewall warning of someone wanting to connect to sshd) that made me suspect something was wrong. I'm going to catch a few snores and take another look at those event logs. Fred -- Fred Ma, [EMAIL PROTECTED] Carleton University, Dept. of Electronics 1125 Colonel By Drive, Ottawa, Ontario Canada, K1S 5B6 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: top is gone (PLUS sshd logs)
They are a little raw but the important stuff is there. the log in /var/log/sshd.log is the error log useful for stroubleshooting if sshd wont start. > -Original Message- > From: Fred Ma [mailto:[EMAIL PROTECTED] > Sent: 20 June 2003 10:48 > To: Vince Hoffman > Cc: [EMAIL PROTECTED] > Subject: Re: top is gone (PLUS sshd logs) > > > > > Original Message ---- > Subject: Re: top is gone (PLUS sshd logs) > Date: Fri, 20 Jun 2003 05:47:06 -0400 > From: Fred Ma <[EMAIL PROTECTED]> > To: Vince Hoffman <[EMAIL PROTECTED]> > References: <[EMAIL PROTECTED]> > > Vince Hoffman wrote: > > > > Hi, > > sshd stores its logs in the windows event log. > > Vince > > > Hi, Vince, I just took a look at them. They are > certainly quite raw. I also found a log file in > /c/var/log/sshd.log. The message being that > it can't load the host keys, even though the > files it specifies are indeed present and > readable by user "Administ", group "mkpasswd". > Hmm, maybe that's the reason. I've taken > the administrator out of /etc/passwd, leaving > only users and "system". Still trying to get > my environment back to normal. > > Thanks, Vince. > > Fred > -- > Fred Ma, [EMAIL PROTECTED] > Carleton University, Dept. of Electronics > 1125 Colonel By Drive, Ottawa, Ontario > Canada, K1S 5B6 > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: top is gone (PLUS sshd logs)
Original Message Subject: Re: top is gone (PLUS sshd logs) Date: Fri, 20 Jun 2003 05:47:06 -0400 From: Fred Ma <[EMAIL PROTECTED]> To: Vince Hoffman <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> Vince Hoffman wrote: > > Hi, > sshd stores its logs in the windows event log. > Vince Hi, Vince, I just took a look at them. They are certainly quite raw. I also found a log file in /c/var/log/sshd.log. The message being that it can't load the host keys, even though the files it specifies are indeed present and readable by user "Administ", group "mkpasswd". Hmm, maybe that's the reason. I've taken the administrator out of /etc/passwd, leaving only users and "system". Still trying to get my environment back to normal. Thanks, Vince. Fred -- Fred Ma, [EMAIL PROTECTED] Carleton University, Dept. of Electronics 1125 Colonel By Drive, Ottawa, Ontario Canada, K1S 5B6 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: top is gone (PLUS sshd logs)
Hi, sshd stores its logs in the windows event log. Vince > -Original Message- > From: Fred Ma [mailto:[EMAIL PROTECTED] > Sent: 20 June 2003 08:30 > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: top is gone (PLUS sshd logs) > > > [EMAIL PROTECTED] wrote: > > > > Fred, > > > > I think top is part of the procps package. Try installing that. > > > > Regards, > > > > Jurgen > > > Thanks, Jurgen. It turns out to be in /usr/bin, which > I checked. > > It's amazing. I wonder how it disappeared the first > time (before I wiped away c:\Cygwin). Right now, > xterms are behaving properly again, and I will see > if they remain doing so when I've recustomized the > window manager the way it was before. I wish I knew > what caused that, if only to avoid recustomizing my > environment again. > > Thanks a bunch. > > Fred > > P.S. I looked at the man pages for where sshd > records its log of accesses, but couldn't find > info about this. Nothing in the default config > file either. Is this a cygwin specific location? > I would have liked to check for external accesses > today (or yesterday, by now). > -- > Fred Ma, [EMAIL PROTECTED] > Carleton University, Dept. of Electronics > 1125 Colonel By Drive, Ottawa, Ontario > Canada, K1S 5B6 > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Problem reports: http://cygwin.com/problems.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: top is gone (PLUS sshd logs)
[EMAIL PROTECTED] wrote: > > Fred, > > I think top is part of the procps package. Try installing that. > > Regards, > > Jurgen Thanks, Jurgen. It turns out to be in /usr/bin, which I checked. It's amazing. I wonder how it disappeared the first time (before I wiped away c:\Cygwin). Right now, xterms are behaving properly again, and I will see if they remain doing so when I've recustomized the window manager the way it was before. I wish I knew what caused that, if only to avoid recustomizing my environment again. Thanks a bunch. Fred P.S. I looked at the man pages for where sshd records its log of accesses, but couldn't find info about this. Nothing in the default config file either. Is this a cygwin specific location? I would have liked to check for external accesses today (or yesterday, by now). -- Fred Ma, [EMAIL PROTECTED] Carleton University, Dept. of Electronics 1125 Colonel By Drive, Ottawa, Ontario Canada, K1S 5B6 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: top is gone
Hi Fred, Try running "cygcheck -svr | grep procps" and if it gives you nothing, that means that top is not installed. By the way, you may want click the "Packages" link under http://cygwin.com and try to look for the utility you're missing. For example, you may type "top.exe" (without the double-quotes, of course) at the search box.I got these results: Found 4 matches for top.exe. procps/procps-010801-1 Utilities for monitoring your system and processes on your system. procps/procps-010801-2 Utilities for monitoring your system and processes on your system. proftpd/proftpd-1.2.9rc1-2 A flexible, stable and highly-configurable FTP Server proftpd/proftpd-20030513-2 A flexible, stable and highly-configurable FTP Server > But the missing "top" was strange enough that I > wiped out the entire c:\cygwin tree and reinstalled > it from scratch. Just to be safe. For some reason, > top is still unrecognized, even after "hash -r". > There is no top in /usr/bin, and nothing in > /usr/local/bin. There is no top to select in the > cygwin setup table. There is no top command in > the bash man page. And there is no other posting > about the missing top command in the mailing list > archive. A file search for top starting from > c:\cygwin turns up nothing relevant. It appears to me that top is not gone. It seems that it was not installed in the first place. And FYI, you wouldn't find any hints by reading the bash man page since the top is a different package from bash. > What path is top suppose to be in? It's supposed to be in /bin (if you installed it). Best Regards, Carlo - Carlo Florendo Astra Philippines., Inc. URL: www.astra.ph www.astra.co.jp -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: top is gone
Fred, I think top is part of the procps package. Try installing that. Regards, Jurgen Fred Ma <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 06/20/2003 08:53 AM To: [EMAIL PROTECTED] cc: (bcc: Jurgen Defurne/BRG/CE/PHILIPS) Subject: top is gone Classification: Hello, Today, I came in and found a Kerio firewall warning that someone from Australia (other side of world) tried to connect the the sshd process (part of cygwin). No problem, just deny access. Then I tried to run "top" and the command was not recognized. That's weird. xterms don't give me the expected popup menus when I control-click. I checked the task manager, and no weird processes except maybe crypserv and regsvc, both of which can be disabled according Black Viper (I'll do that as soon as I figure out how). But the missing "top" was strange enough that I wiped out the entire c:\cygwin tree and reinstalled it from scratch. Just to be safe. For some reason, top is still unrecognized, even after "hash -r". There is no top in /usr/bin, and nothing in /usr/local/bin. There is no top to select in the cygwin setup table. There is no top command in the bash man page. And there is no other posting about the missing top command in the mailing list archive. A file search for top starting from c:\cygwin turns up nothing relevant. What path is top suppose to be in? Are there any known reasons why it would just disappear like that? I just spent the whole night trying to get my environment back (not finished yet), and I wonder if it might have been something simple I'm overlooking. Fred -- Fred Ma, [EMAIL PROTECTED] Carleton University, Dept. of Electronics 1125 Colonel By Drive, Ottawa, Ontario Canada, K1S 5B6 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
top is gone
Hello, Today, I came in and found a Kerio firewall warning that someone from Australia (other side of world) tried to connect the the sshd process (part of cygwin). No problem, just deny access. Then I tried to run "top" and the command was not recognized. That's weird. xterms don't give me the expected popup menus when I control-click. I checked the task manager, and no weird processes except maybe crypserv and regsvc, both of which can be disabled according Black Viper (I'll do that as soon as I figure out how). But the missing "top" was strange enough that I wiped out the entire c:\cygwin tree and reinstalled it from scratch. Just to be safe. For some reason, top is still unrecognized, even after "hash -r". There is no top in /usr/bin, and nothing in /usr/local/bin. There is no top to select in the cygwin setup table. There is no top command in the bash man page. And there is no other posting about the missing top command in the mailing list archive. A file search for top starting from c:\cygwin turns up nothing relevant. What path is top suppose to be in? Are there any known reasons why it would just disappear like that? I just spent the whole night trying to get my environment back (not finished yet), and I wonder if it might have been something simple I'm overlooking. Fred -- Fred Ma, [EMAIL PROTECTED] Carleton University, Dept. of Electronics 1125 Colonel By Drive, Ottawa, Ontario Canada, K1S 5B6 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/