From lepera@us.ibm.com Mon Jun 3 06:09:40 2002 Received: from e1.ny.us.ibm.com (e1.ny.us.ibm.com [32.97.182.101]) by underdog.stansell.org (8.12.2/8.12.2) with ESMTP id g53D9djq019877 for ; Mon, 3 Jun 2002 06:09:40 -0700 (PDT) Received: from northrelay02.pok.ibm.com (northrelay02.pok.ibm.com [9.56.224.150]) by e1.ny.us.ibm.com (8.12.2/8.12.2) with ESMTP id g53D9Ug5144634 for ; Mon, 3 Jun 2002 09:09:31 -0400 Received: from d01ml251.pok.ibm.com (d01ml251.pok.ibm.com [9.56.224.79]) by northrelay02.pok.ibm.com (8.11.1m3/NCO/VER6.1) with ESMTP id g53D9Sd51474 for ; Mon, 3 Jun 2002 09:09:29 -0400 Subject: /var/run/conserver.pid behavior To: users@conserver.com X-Mailer: Lotus Notes Release 5.0.7 March 21, 2001 Message-ID: From: "William P LePera" Date: Mon, 3 Jun 2002 09:09:27 -0400 X-MIMETrack: Serialize by Router on D01ML251/01/M/IBM(Release 5.0.10 |March 22, 2002) at 06/03/2002 09:09:28 AM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Sender: users-admin@conserver.com Errors-To: users-admin@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Conserver Users List-Unsubscribe: , List-Archive: Hi Everyone. I may have found two small bugs in the way conserver handles the conserver.pid file. First, the file is not removed when the daemon is stopped. Second, and slightly more troubling, is the file gets updated with a new pid if an attempt is made to start conserver when it is already running. The new process aborts as expected, but it leaves it's pid in conserver.pid, not the pid of the original process that's still running. This is in version 7.2.1. Bill LePera IBM Server Group Poughkeepsie, NY From woods@proven.weird.com Tue Jun 4 19:35:03 2002 Received: from most.weird.com (IDENT:G3tIMmlSltTPqopzugBuUNwkiRnkIe8WTiIPJDx34p30Ma88feuA1O/59ssCU2uuZmpt3cyXIkg@most.weird.com [204.92.254.2]) by underdog.stansell.org (8.12.4/8.12.4) with ESMTP id g552Z2Mb014565 for ; Tue, 4 Jun 2002 19:35:02 -0700 (PDT) Received: from proven.weird.com([204.92.254.15]) (5714 bytes) by most.weird.com via smail with P:esmtp/R:bind_hosts/T:inet_zone_bind_smtp (sender: ) (ident <[WqCorgYRTJNHv6i3SXkH/09HnUtKHMvU2nFULbDpkWoYM4Ai5Pv1rgZSpk/1OzgJ1NP/O7D4A3pjMBCw42dfsQ==]> using rfc1413) id for ; Tue, 4 Jun 2002 22:35:00 -0400 (EDT) (Smail-3.2.0.115-Pre 2001-Aug-6 #9 built 2002-May-28) Received: by proven.weird.com (Postfix, from userid 1000) id 507A7AC; Tue, 4 Jun 2002 22:34:59 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Face: ;j3Eth2XV8h1Yfu*uL{<:dQ$#E[DB0gemGZJ"J#4fH*][ lz;@-iwMv_u\6uIEKR0KY"=MzoQH#CrqBN`nG_5B@rrM8,f~Gr&h5a\= References: <20020523204542.34C49AC@proven.weird.com> <20020526001006.A10610@underdog.stansell.org> <20020528221056.73984AC@proven.weird.com> <20020528180618.W10610@underdog.stansell.org> <20020529164029.F4230AC@proven.weird.com> <20020529115943.A10610@underdog.stansell.org> X-Mailer: VM 7.03 under Emacs 21.2.1 Reply-To: users@conserver.com (ConServer Users Mailing List) Organization: Planix, Inc.; Toronto, Ontario; Canada Message-Id: <20020605023459.507A7AC@proven.weird.com> Date: Tue, 4 Jun 2002 22:34:59 -0400 (EDT) Sender: users-admin@conserver.com Errors-To: users-admin@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Conserver Users List-Unsubscribe: , List-Archive: [ On Wednesday, May 29, 2002 at 11:59:43 (-0700), Bryan Stansell wrote: ] > Subject: Re: conserver eventually goes catatonic after SIGPIPE (on NetBSD) > > well, that's true, it does only initialize things one at a time, but in > the case of '|' syntax consoles, all that requires is a fork of a > process. could a similar mode of thinking could be used for the > chat-based consoles? So far I've only looked at the "chat" feature as something done immediately after the "port" (TTY, TELNET or other TCP, pipe, etc.) connection has been opened, and which is in some way necessary for the sucessful ongoing functioning of the console connection. It's only done once at initialisation time, and presumably the connection should be closed and reopened at some later time if the chat fails. Anything beyond that, such as periodic commands, response to certain output at any time, etc., should be handled externally, which is what I'm doing now to collect data from the serial ports of my UPS systems: (printf "format\r"; sleep 2) | console -f best-ups-1 | process > > BTW, nobody should be afraid of having one process per console port > > either, even if they have a thousand console ports to manage. This is > > unix, after all! (even if some implementations are a bit stupid about > > fork(), it's not as if this application would be constantly re-forking > > processes continuously) > > well, actually, maybe they should. well, no, they shouldn't have to be afraid of one process per connection..... > in the past, i've seen multi-gig > systems run low on vm because of conserver's footprint. (hmmm.... I wonder if this could have been part of the problem I was seeing too.....) Normally my conserver processes run at only 100 killobytes or so or so when they first start, but they seem to grow.... The other day I spotted one that was 21 megabytes. Here's proof in that the child is now over five times as big as its parent and it's done nothing but handle bunches of "console" client connections (and this is with sixteen ports, one for a remote conserver and the rest doing telnet connections): $ ps -auxc | sed -n -e '1p' -e '/conserver/p' USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND root 27231 0.0 0.2 492 104 ?? Is 4:42PM 0:22.80 conserver root 27232 0.0 0.2 2548 104 ?? I 4:42PM 2:14.83 conserver Running a few more manual client connections repeatedly, and then disconnecting again, leaves it nearly 100KB larger already! $ ps -auxc | sed -n -e '1p' -e '/conserver/p' USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND root 27231 0.0 0.2 492 104 ?? Ss 4:42PM 0:23.82 conserver root 27232 0.8 0.2 2640 104 ?? R 4:42PM 2:19.62 conserver Once this leak is fixed for good there's no issue with running a thousand or more such processes on a properly provisioned server -- remember that all modern Unix systems will share the code segment (and most page it from the original executable too, not from swap). (Note, I haven't started to look for this leak yet.....) > i personally > like the idea of being able to use a relatively low-end machine as a > console server (i can't count the number of times i've heard of > infrastructure machines like this left out of budgets or seen as > unimportant by management or just added to an already loaded admin > box). Sure, but in this case the solution I pose will actually reduce total resource requirements, not increase them, at least not until you get into thousands of connections at which point you've gone way beyond the capabilities of your low-end machine (eg. old SS2 w/32MB) anyway. It's probably best to split the port process out into a separate binary though -- that way the overhead of the master isn't replicated for every connection. Also, think about all the advantages w.r.t. configuration reloads and long-running connections. No more need to kill clients when all you're doing is adding or chaning only one console connection..... -- Greg A. Woods +1 416 218-0098; ; ; Planix, Inc. ; VE3TCP; Secrets of the Weird From woods@proven.weird.com Tue Jun 4 19:37:06 2002 Received: from most.weird.com (IDENT:SoU4EbRxDF6MT05a7B7KfpqwiQZFSHPBIecZc10B3wSBK7zWSekm0OSyFPRVS2BKoc44rOw6QXY@most.weird.com [204.92.254.2]) by underdog.stansell.org (8.12.4/8.12.4) with ESMTP id g552b5Mb014621 for ; Tue, 4 Jun 2002 19:37:06 -0700 (PDT) Received: from proven.weird.com([204.92.254.15]) (2362 bytes) by most.weird.com via smail with P:esmtp/R:bind_hosts/T:inet_zone_bind_smtp (sender: ) (ident <[/Ip58Vul4LrF2zl6UOKahvJMNB2vz9E3arApUzBA7FQejeqOpXjGlEOkB2bg0REHuueH5LulzZpsHoTUyuDuxQ==]> using rfc1413) id for ; Tue, 4 Jun 2002 22:37:04 -0400 (EDT) (Smail-3.2.0.115-Pre 2001-Aug-6 #9 built 2002-May-28) Received: by proven.weird.com (Postfix, from userid 1000) id ABA80AC; Tue, 4 Jun 2002 22:37:03 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Face: ;j3Eth2XV8h1Yfu*uL{<:dQ$#E[DB0gemGZJ"J#4fH*][ lz;@-iwMv_u\6uIEKR0KY"=MzoQH#CrqBN`nG_5B@rrM8,f~Gr&h5a\= References: <20020523204542.34C49AC@proven.weird.com> <20020526001006.A10610@underdog.stansell.org> <20020528221056.73984AC@proven.weird.com> <20020528180618.W10610@underdog.stansell.org> X-Mailer: VM 7.03 under Emacs 21.2.1 Reply-To: users@conserver.com (ConServer Users Mailing List) Organization: Planix, Inc.; Toronto, Ontario; Canada Message-Id: <20020605023703.ABA80AC@proven.weird.com> Date: Tue, 4 Jun 2002 22:37:03 -0400 (EDT) Sender: users-admin@conserver.com Errors-To: users-admin@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Conserver Users List-Unsubscribe: , List-Archive: [ On Tuesday, May 28, 2002 at 18:06:18 (-0700), Bryan Stansell wrote: ] > Subject: Re: conserver eventually goes catatonic after SIGPIPE (on NetBSD) > > On Tue, May 28, 2002 at 06:10:56PM -0400, Greg A. Woods wrote: > yep. guess it's just never come up before 'cause it's mostly > processing a read() when it notices broken things (a client would have > to be sending data at just the right time). i didn't even look for a > SIGPIPE handler until this came up, actually. regardless, yes, this > needs to be added. So far I've been doing well with just setting SIGPIPE to SIG_IGN, though there's not a lot of error checking on write() calls, and that's necessary to clean up properly (EPIPE should be returned on a write() to a closed socket when SIGPIPE has been ignored). -- Greg A. Woods +1 416 218-0098; ; ; Planix, Inc. ; VE3TCP; Secrets of the Weird From woods@proven.weird.com Tue Jun 4 19:55:13 2002 Received: from most.weird.com (IDENT:pup3AU5MzXAJt5f4EKf5AVvJgSTH4F4JsRr+kI64mN0MWFI0P4duwFc6EP1SGG60Rb2HTd4oQh8@most.weird.com [204.92.254.2]) by underdog.stansell.org (8.12.4/8.12.4) with ESMTP id g552tDMb015823 for ; Tue, 4 Jun 2002 19:55:13 -0700 (PDT) Received: from proven.weird.com([204.92.254.15]) (3133 bytes) by most.weird.com via smail with P:esmtp/R:bind_hosts/T:inet_zone_bind_smtp (sender: ) (ident <[rZpnMiZAUmMINU9xmiZiuCJSVIbqbHKzv6z5XlJypmqfR1wy0MA+TdMd5uDPEU/VIJNfwbUdXHMp+EQiTgdmLA==]> using rfc1413) id for ; Tue, 4 Jun 2002 22:55:11 -0400 (EDT) (Smail-3.2.0.115-Pre 2001-Aug-6 #9 built 2002-May-28) Received: by proven.weird.com (Postfix, from userid 1000) id D7C64AC; Tue, 4 Jun 2002 22:55:10 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Face: ;j3Eth2XV8h1Yfu*uL{<:dQ$#E[DB0gemGZJ"J#4fH*][ lz;@-iwMv_u\6uIEKR0KY"=MzoQH#CrqBN`nG_5B@rrM8,f~Gr&h5a\= References: <20020523204542.34C49AC@proven.weird.com> <20020526001006.A10610@underdog.stansell.org> X-Mailer: VM 7.03 under Emacs 21.2.1 Reply-To: users@conserver.com (ConServer Users Mailing List) Organization: Planix, Inc.; Toronto, Ontario; Canada Message-Id: <20020605025510.D7C64AC@proven.weird.com> Date: Tue, 4 Jun 2002 22:55:10 -0400 (EDT) Sender: users-admin@conserver.com Errors-To: users-admin@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Conserver Users List-Unsubscribe: , List-Archive: [ On Sunday, May 26, 2002 at 00:10:06 (-0700), Bryan Stansell wrote: ] > Subject: Re: conserver eventually goes catatonic after SIGPIPE (on NetBSD) > > looking at #2, you see it's calling waitpid() from ConsChat(). > ConsChat() is part of your patch. the problem, i'm guessing, is that > the waitpid() inside the while loop has a little bad logic. > specifically, what happens when the waitpid() returns an error that > isn't EINTR? it'll come around for another waitpid() and, i suppose, > lock up like this. at least, that's my guess - i haven't done any real > testing - just scanned the code quickly. Hmmm... but there's never been any errno value other than EINTR -- there would be a "ConsChat: error waiting for chat process:" message in my log if there had..... I've done a whole lot of more careful error checking, including blocking SIGCHLD before calling waitpid(), setting an alarm(), checking that the process still exists when the alarm expires and EINTR is returned. I've also added a break out of the loop if ECHILD is returned. I don't know what to do if either of EFAULT or EINVAL are returned -- something's drastically wrong in that case and it should probably abort().... So far the deadlock hasn't occured again, though perhaps the blocking of SIGCHLD has prevented it. The problem without the blocking (or ignoring) of SIGCHLD is that the delivery (and catch) caused waitpid() to be interrupted and for it to return EINTR. I don't know why the second call didn't work though -- perhaps there's a race condition in my kernel that loses the status information if it's waitpid() itself that is interrupted.... -- Greg A. Woods +1 416 218-0098; ; ; Planix, Inc. ; VE3TCP; Secrets of the Weird From bryan@stansell.org Wed Jun 5 15:50:44 2002 Received: from underdog.stansell.org (localhost [127.0.0.1]) by underdog.stansell.org (8.12.4/8.12.4) with ESMTP id g55MohMb010560; Wed, 5 Jun 2002 15:50:43 -0700 (PDT) Received: (from bryan@localhost) by underdog.stansell.org (8.12.4/8.12.4/Submit) id g55Moh8S010559; Wed, 5 Jun 2002 15:50:43 -0700 (PDT) Date: Wed, 5 Jun 2002 15:50:43 -0700 From: Bryan Stansell To: users@conserver.com, announce@conserver.com Subject: conserver 7.2.2 is available Message-ID: <20020605155043.W10610@underdog.stansell.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: users-admin@conserver.com Errors-To: users-admin@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Conserver Users List-Unsubscribe: , List-Archive: This release is mainly made up of bug fixes. I hope everyone finds this the most stable version yet. version 7.2.2 (Jun 05, 2002): - added 'n' as token for no-parity - patch by Greg A. Woods - extra timestamps occur when consoles come back up after being down longer than their timestamp period - reported by Dave Stuit - AIX 5.1 psuedo-terminal support broken - patch by William P LePera - PID file overwritten and not unlinked on exit - reported by William P LePera - signals cleaned up in master, child, and sub-proc sections - SIGPIPE now ignored - reported by Greg A. Woods Bryan Stansell From gdsmarshall@hushmail.com Thu Jun 6 02:57:52 2002 Received: from smtp3.hushmail.com (smtp3.hushmail.com [64.40.111.33]) by underdog.stansell.org (8.12.4/8.12.4) with ESMTP id g569vpMb019410 for ; Thu, 6 Jun 2002 02:57:52 -0700 (PDT) Received: from mailserver2.hushmail.com (mailserver2.hushmail.com [64.40.111.21]) by smtp3.hushmail.com (Postfix) with ESMTP id 21EA3596F for ; Thu, 6 Jun 2002 02:57:46 -0700 (PDT) Received: (from nobody@localhost) by mailserver2.hushmail.com (8.11.6/8.11.3) id g569vkS64968; Thu, 6 Jun 2002 02:57:46 -0700 (PDT) (envelope-from gdsmarshall@hushmail.com) Message-Id: <200206060957.g569vkS64968@mailserver2.hushmail.com> From: gdsmarshall@hushmail.com To: users@conserver.com Subject: remote modem with conserver? Date: Thu, 6 Jun 2002 02:57:46 -0700 Sender: users-admin@conserver.com Errors-To: users-admin@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Conserver Users List-Unsubscribe: , List-Archive: I have installed conserver client and server on two separate Linux (x86) machines (A and B respectively), the B has a modem on /dev/modem, the A does not. I would like to run a program on A (say minicom) which talks to the modem on B, but thinks it is talking to /dev/modem on A, will conserver do the job? if so, what should the start up parameters be please? I have run conserver client and server and typed AT commands in on A, and the modem reacts on B. Nice program, I like it. However, I do not understand if or how I can talk to /dev/modem (using say minicom) on A and using conserver client and server be actually talking to the modem on B. Any help will be much appreciated. Many thanks, Spencer Communicate in total privacy. Get your free encrypted email at https://www.hushmail.com/?l=2 Looking for a good deal on a domain name? http://www.hush.com/partners/offers.cgi?id=domainpeople From bryan@stansell.org Thu Jun 6 10:33:55 2002 Received: from underdog.stansell.org (localhost [127.0.0.1]) by underdog.stansell.org (8.12.4/8.12.4) with ESMTP id g56HXtMb022898 for ; Thu, 6 Jun 2002 10:33:55 -0700 (PDT) Received: (from bryan@localhost) by underdog.stansell.org (8.12.4/8.12.4/Submit) id g56HXtbg022897 for users@conserver.com; Thu, 6 Jun 2002 10:33:55 -0700 (PDT) Date: Thu, 6 Jun 2002 10:33:55 -0700 From: Bryan Stansell To: users@conserver.com Subject: Re: remote modem with conserver? Message-ID: <20020606103355.B10610@underdog.stansell.org> References: <200206060957.g569vkS64968@mailserver2.hushmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200206060957.g569vkS64968@mailserver2.hushmail.com>; from gdsmarshall@hushmail.com on Thu, Jun 06, 2002 at 02:57:46AM -0700 Sender: users-admin@conserver.com Errors-To: users-admin@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Conserver Users List-Unsubscribe: , List-Archive: i'm sorry to say that, nope, conserver isn't the right tool for that. if you wanted to briefly interact with the serial port, you could use things like: (echo "AT"; sleep 5) | console -f remconsole and you'd be able to see the response to the AT command, but it doesn't provide a non-interactive two-way communication (although i've put some thought into the client code required for that - unfortunately, it's not as straightforward as you might think). i remember that livingston (the portmaster folks) had an app that would allow pseudo-serial ports (local devices) access to the serial ports on their terminal servers. that kind of thing sounds like what you'd need. obviously, their particular app won't work for you, since it's made for livingston products, but maybe this will trigger something in someone's mind about an app that would do what you want, in a similar way. sorry i couldn't really help, but i've got to believe that something like what you're looking for exists. Bryan On Thu, Jun 06, 2002 at 02:57:46AM -0700, gdsmarshall@hushmail.com wrote: > I have installed conserver client and server on two separate Linux > (x86) machines (A and B respectively), the B has a modem on /dev/modem, > the A does not. > > I would like to run a program on A (say minicom) which talks to the > modem on B, but thinks it is talking to /dev/modem on A, will conserver > do the job? if so, what should the start up parameters be please? I > have run conserver client and server and typed AT commands in on A, and > the modem reacts on B. Nice program, I like it. However, I do not > understand if or how I can talk to /dev/modem (using say minicom) on A > and using conserver client and server be actually talking to the modem > on B. > > Any help will be much appreciated. > > Many thanks, > > Spencer From woods@proven.weird.com Thu Jun 6 14:33:24 2002 Received: from most.weird.com (mail.weird.com [204.92.254.2]) by underdog.stansell.org (8.12.4/8.12.4) with ESMTP id g56LXNMb024914 for ; Thu, 6 Jun 2002 14:33:23 -0700 (PDT) Received: from proven.weird.com([204.92.254.15]) (3830 bytes) by most.weird.com via smail with P:esmtp/R:bind_hosts/T:inet_zone_bind_smtp (sender: ) (ident <[OmJ26A5sTFHbE9Pyz3cMptrDTO8JaZIGew6TiPSD5VGgs6IUcTB/yNddyfU4GqEz2dJPYkkGcnafR0ckAP7VSQ==]> using rfc1413) id for ; Thu, 6 Jun 2002 17:33:17 -0400 (EDT) (Smail-3.2.0.115-Pre 2001-Aug-6 #9 built 2002-May-28) Received: by proven.weird.com (Postfix, from userid 1000) id 19AFFAC; Thu, 6 Jun 2002 17:33:15 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Face: ;j3Eth2XV8h1Yfu*uL{<:dQ$#E[DB0gemGZJ"J#4fH*][ lz;@-iwMv_u\6uIEKR0KY"=MzoQH#CrqBN`nG_5B@rrM8,f~Gr&h5a\= References: <200206060957.g569vkS64968@mailserver2.hushmail.com> <20020606103355.B10610@underdog.stansell.org> X-Mailer: VM 7.03 under Emacs 21.2.1 Reply-To: users@conserver.com (ConServer Users Mailing List) Organization: Planix, Inc.; Toronto, Ontario; Canada Message-Id: <20020606213315.19AFFAC@proven.weird.com> Date: Thu, 6 Jun 2002 17:33:15 -0400 (EDT) Sender: users-admin@conserver.com Errors-To: users-admin@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Conserver Users List-Unsubscribe: , List-Archive: [ On Thursday, June 6, 2002 at 10:33:55 (-0700), Bryan Stansell wrote: ] > Subject: Re: remote modem with conserver? > > sorry i couldn't really help, but i've got to believe that something > like what you're looking for exists. One half of the solution is a daemon that allocate a local pty and connects via telnet to a remote TCP server port. If the remote machine were a terminal server which supports "reverse telnet" (most do), then this would be what you'd run on the client host where you wanted to use a program which would normally want to access a serial port tty. These programs all do something like this: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/bsd/comserv-1.4.2.tar.gz http://rnoc.urc.ac.ru/~anton/projects/pr/PR.html http://support.digi.com/pub/shareware/unix/rtty/rttysource.txt http://www.stallion.com/html/download/es2-utilities.html http://www.lantronix.com/support/utils/rtel/ The other end needs something that accepts TCP connections (preferrably using at least some subset of the TELENT protocol), and connects them to the real TTY port (eg. /dev/tty00). A really simple hack just listens for a TCP connection, forks when one arrives, attaches (dups) the accepted socket to stdin/stdout/stderr, and then execs "cu -l ttyname". If I'm not totally mistaken The Linux Terminal Server Project offers a more complete solution: http://www.ltsp.org/ A hacked telnetd, running on some other port such as 2001, that starts something like 'cu' instead of 'login' might work OK, though maybe even setting a user up with a .profile which exec's "cu" should work too -- then you could have a password on it too. Heck you could even hack telnetd to open a device directly "telnetd -T /dev/tty00".... Note that unless you invent a new protocol between the client(s) and the "reverse telnet server" that goes beyond what TELNET offers there are several things which will never work quite the same. The major difference between a real serial port and the pseudo-tty which provides a reverse TELNET connection is that hardware-related characteristics such as baud rate, number of bits per character, hardware flow control, etc. cannot be set by the application program using the normal UNIX tty device API (ioctl). These characteristics must be configured in whatever you use on the machine hosting the real hardware. -- Greg A. Woods +1 416 218-0098; ; ; Planix, Inc. ; VE3TCP; Secrets of the Weird From woods@proven.weird.com Thu Jun 6 15:10:38 2002 Received: from most.weird.com (IDENT:x+4m1iFkyEXn7fOPGCgMnwNvqtGbiEUFndR12zVjdWT6W9LhDc29llLIF1Dh5chxJmHqNcuyKHQ@mail.weird.com [204.92.254.2]) by underdog.stansell.org (8.12.4/8.12.4) with ESMTP id g56MAbMb025221 for ; Thu, 6 Jun 2002 15:10:37 -0700 (PDT) Received: from proven.weird.com([204.92.254.15]) (1975 bytes) by most.weird.com via smail with P:esmtp/R:bind_hosts/T:inet_zone_bind_smtp (sender: ) (ident <[77PY2WHlQ/tBLuHxTPkeg1dnDJaMqvE8rjVPcoGL/2ayuWr8uKfzmZe2qQ1g0Rw9ypQBdTd/2TNfQ6ml6t4NYQ==]> using rfc1413) id for ; Thu, 6 Jun 2002 18:10:36 -0400 (EDT) (Smail-3.2.0.115-Pre 2001-Aug-6 #9 built 2002-May-28) Received: by proven.weird.com (Postfix, from userid 1000) id 5969FAC; Thu, 6 Jun 2002 18:10:35 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Face: ;j3Eth2XV8h1Yfu*uL{<:dQ$#E[DB0gemGZJ"J#4fH*][ lz;@-iwMv_u\6uIEKR0KY"=MzoQH#CrqBN`nG_5B@rrM8,f~Gr&h5a\= References: <200206060957.g569vkS64968@mailserver2.hushmail.com> <20020606103355.B10610@underdog.stansell.org> <20020606213315.19AFFAC@proven.weird.com> X-Mailer: VM 7.03 under Emacs 21.2.1 Reply-To: users@conserver.com (ConServer Users Mailing List) Organization: Planix, Inc.; Toronto, Ontario; Canada Message-Id: <20020606221035.5969FAC@proven.weird.com> Date: Thu, 6 Jun 2002 18:10:35 -0400 (EDT) Sender: users-admin@conserver.com Errors-To: users-admin@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Conserver Users List-Unsubscribe: , List-Archive: [ On Thursday, June 6, 2002 at 17:33:15 (-0400), Greg A. Woods wrote: ] > Subject: Re: remote modem with conserver? > > If I'm not totally mistaken The Linux Terminal Server Project offers a > more complete solution: > > http://www.ltsp.org/ Looking deeper at that thing, I'm not sure it's what it claims to be. However this is a real terminal server package for Unix, and it includes "ttyd", the client side program too: http://www.linuxlots.com/~termpkg/ -- Greg A. Woods +1 416 218-0098; ; ; Planix, Inc. ; VE3TCP; Secrets of the Weird From AMorris@providence.org Thu Jun 6 15:26:46 2002 Received: from phsorcon02.phsor.org ([170.220.2.13]) by underdog.stansell.org (8.12.4/8.12.4) with ESMTP id g56MQkMb025368 for ; Thu, 6 Jun 2002 15:26:46 -0700 (PDT) Received: by phsorcon02.phsor.org with Internet Mail Service (5.5.2653.19) id ; Thu, 6 Jun 2002 15:26:40 -0700 Message-ID: From: "Morris, Adam" To: "'users@conserver.com'" Subject: RE: remote modem with conserver? Date: Thu, 6 Jun 2002 15:26:06 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: users-admin@conserver.com Errors-To: users-admin@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Conserver Users List-Unsubscribe: , List-Archive: "This is not the terminal server you are looking for"... LTSP is what it claims to be, but it's not a traditional "terminal server". It's aiming to be a competitor-ish to Windows Terminal Servers (aka Citrix). It's a way of running X based thin clients on diskless workstations, not a way of connecting multiple serial devices to a network. I hope that this helps, Adam -----Original Message----- From: woods@weird.com [mailto:woods@weird.com] Sent: Thursday, June 06, 2002 3:11 PM To: users@conserver.com Subject: Re: remote modem with conserver? [ On Thursday, June 6, 2002 at 17:33:15 (-0400), Greg A. Woods wrote: ] > Subject: Re: remote modem with conserver? > > If I'm not totally mistaken The Linux Terminal Server Project offers a > more complete solution: > > http://www.ltsp.org/ Looking deeper at that thing, I'm not sure it's what it claims to be. However this is a real terminal server package for Unix, and it includes "ttyd", the client side program too: http://www.linuxlots.com/~termpkg/ -- Greg A. Woods +1 416 218-0098; ; ; Planix, Inc. ; VE3TCP; Secrets of the Weird _______________________________________________ users mailing list users@conserver.com https://www.conserver.com/mailman/listinfo/users **************************************************************************** This message is intended for the sole use of the individual and entity to whom it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended addressee, nor authorized to receive for the intended addressee, you are hereby notified that you may not use, copy, disclose or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email and delete the message. Thank you very much. From anders@totem.fix.no Fri Jun 7 05:14:45 2002 Received: from totem.fix.no (postfix@totem.fix.no [80.91.32.29]) by underdog.stansell.org (8.12.4/8.12.4) with ESMTP id g57CEiMb004824 for ; Fri, 7 Jun 2002 05:14:45 -0700 (PDT) Received: by totem.fix.no (Postfix, from userid 1000) id 49AEB20324; Fri, 7 Jun 2002 14:15:51 +0200 (CEST) Date: Fri, 7 Jun 2002 14:15:51 +0200 From: Anders Nordby To: users@conserver.com Subject: How many consoles? Message-ID: <20020607121551.GA74819@totem.fix.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.99i X-PGP-Key: http://anders.fix.no/pgp/ X-PGP-Key-FingerPrint: 1E0F C53C D8DF 6A8F EAAD 19C5 D12A BC9F 0083 5956 X-message-flag: Outlook : A program to spread viri, but it can do mail too. Sender: users-admin@conserver.com Errors-To: users-admin@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Conserver Users List-Unsubscribe: , List-Archive: Hello, I wonder how many consoles people have managed to get working with a single conserver server. I've got 46 working fine now (using direct connections from conserver, no piped telnet). My server is an Ultra1 running Solaris 8 in 64-bit mode. It's important for me that I can scale quite a lot further, I may reach up to 1-200 consoles or so.. Cheers, -- Anders. From zonker@jeffk.com Fri Jun 7 08:53:30 2002 Received: from jeffk.com (jeffk.com [209.182.207.81]) by underdog.stansell.org (8.12.4/8.12.4) with ESMTP id g57FrTMb006456 for ; Fri, 7 Jun 2002 08:53:29 -0700 (PDT) Received: from jeffk.com (localhost [127.0.0.1]) by jeffk.com (8.12.2/8.12.2) with ESMTP id g57FrV3g007904; Fri, 7 Jun 2002 08:53:31 -0700 Received: (from zonker@localhost) by jeffk.com (8.12.2/8.12.1/Submit) id g57FrVIp007903; Fri, 7 Jun 2002 08:53:31 -0700 Date: Fri, 7 Jun 2002 08:53:31 -0700 From: "David K. Z. Harris" To: Anders Nordby , users@conserver.com Subject: Re: How many consoles? Message-ID: <20020607085331.K18566@jeffk.com> References: <20020607121551.GA74819@totem.fix.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020607121551.GA74819@totem.fix.no>; from anders@fix.no on Fri, Jun 07, 2002 at 02:15:51PM +0200 X-Spam-Status: No, hits=-100.0 required=5.0 tests=USER_IN_WHITELIST version=2.20 Sender: users-admin@conserver.com Errors-To: users-admin@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Conserver Users List-Unsubscribe: , List-Archive: On Fri, Jun 07, 2002 at 02:15:51PM +0200, Anders Nordby wrote: > I wonder how many consoles people have managed to get working with a > single conserver server. I've got 46 working fine now (using direct > connections from conserver, no piped telnet). My server is an Ultra1 > running Solaris 8 in 64-bit mode. It's important for me that I can scale > quite a lot further, I may reach up to 1-200 consoles or so.. Only 46!?! ;-) At one site I'm working on, the conserver.cf file is nearly 2500 line, for a 3-server, distributed mode installation, controlling more than 2000 console ports, across 25 terminal servers, and one conserver host has close to 70 child processes under the main process. (Just remember the math in your configuration file (cons.h) before you do the build...we're using maxgrp=96, but just make sure that you can spawn enough processes to cover all of the ports that you want to connect to, and make sure your host has enough RAM for all of the processes.) -Z- From woods@proven.weird.com Fri Jun 7 09:02:37 2002 Received: from most.weird.com (IDENT:Kfb5h7IfQiArkAnqWMvi2OfAxc8jBWwXIdNrwQj7iGbsUW5EXIqYR+nAEGT+wsX/S1HnAuKrirQ@most.weird.com [204.92.254.2]) by underdog.stansell.org (8.12.4/8.12.4) with ESMTP id g57G2aMb006552 for ; Fri, 7 Jun 2002 09:02:37 -0700 (PDT) Received: from proven.weird.com([204.92.254.15]) (3490 bytes) by most.weird.com via smail with P:esmtp/R:bind_hosts/T:inet_zone_bind_smtp (sender: ) (ident <[Jccuv7XxRCrKueQVLrHG0E6JGxRstqRkxvvVGHij0ty7Y2pJyGsVijg+YqQT5H0e+s9Rp8jubnupZonMz02TVA==]> using rfc1413) id for ; Fri, 7 Jun 2002 12:02:34 -0400 (EDT) (Smail-3.2.0.115-Pre 2001-Aug-6 #9 built 2002-May-28) Received: by proven.weird.com (Postfix, from userid 1000) id 9C22FAC; Fri, 7 Jun 2002 12:02:29 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Face: ;j3Eth2XV8h1Yfu*uL{<:dQ$#E[DB0gemGZJ"J#4fH*][ lz;@-iwMv_u\6uIEKR0KY"=MzoQH#CrqBN`nG_5B@rrM8,f~Gr&h5a\= Cc: users@conserver.com Subject: Re: How many consoles? In-Reply-To: <20020607121551.GA74819@totem.fix.no> References: <20020607121551.GA74819@totem.fix.no> X-Mailer: VM 7.03 under Emacs 21.2.1 Reply-To: woods@weird.com (Greg A. Woods) Organization: Planix, Inc.; Toronto, Ontario; Canada Message-Id: <20020607160229.9C22FAC@proven.weird.com> Date: Fri, 7 Jun 2002 12:02:29 -0400 (EDT) Sender: users-admin@conserver.com Errors-To: users-admin@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Conserver Users List-Unsubscribe: , List-Archive: [ On Friday, June 7, 2002 at 14:15:51 (+0200), Anders Nordby wrote: ] > Subject: How many consoles? > > I wonder how many consoles people have managed to get working with a > single conserver server. I've got 46 working fine now (using direct > connections from conserver, no piped telnet). My server is an Ultra1 > running Solaris 8 in 64-bit mode. It's important for me that I can scale > quite a lot further, I may reach up to 1-200 consoles or so.. You should already have all the information at your disposal that you need to calculate the resource consumption of your conserver as it scales up. Every sixteen consoles requires a new conserver process (and of course there's the one master), and every process requires additional memory equal to the sum of the data and BSS section sizes, plus stack and heap space allocation. You can estimate the stack and heap sizes by $ ps -auxc | sed -n -e 1p -e /cons/p USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND root 4597 0.0 0.1 492 88 ?? Is Tue10PM 4:07.38 conserver root 4598 0.0 0.6 22480 360 ?? S Tue10PM 21:12.25 conserver Let's ignore the second process for now -- more about it later. The first process, the master should be a good estimate of the ideal memory use of each process. $ file /usr/local/sbin/conserver /usr/local/sbin/conserver: NetBSD/sparc demand paged dynamically linked executable $ size /usr/local/sbin/conserver text data bss dec hex 81920 8192 0 90112 16000 So, there's 8KB data allocated immediately per process. However the virtual size of the running master is 492KB. That suggests there was an additional 484KB allocated for stack and heap space. That said, as you can see above there's still a very serious memory leak somewhere, and that'll drastically affect scalability in any production system.... The second conserver process is allocating an additional 1.2KB or so with every client connection (I have a cron job that makes console client connections to collect data from my three UPS units once every minute). -- Greg A. Woods +1 416 218-0098; ; ; Planix, Inc. ; VE3TCP; Secrets of the Weird From bryan@stansell.org Fri Jun 7 10:40:25 2002 Received: from underdog.stansell.org (localhost [127.0.0.1]) by underdog.stansell.org (8.12.4/8.12.4) with ESMTP id g57HePMb013233 for ; Fri, 7 Jun 2002 10:40:25 -0700 (PDT) Received: (from bryan@localhost) by underdog.stansell.org (8.12.4/8.12.4/Submit) id g57HeP1x013232 for users@conserver.com; Fri, 7 Jun 2002 10:40:25 -0700 (PDT) Date: Fri, 7 Jun 2002 10:40:25 -0700 From: Bryan Stansell To: users@conserver.com Subject: consoles and memory leaks (was Re: How many consoles?) Message-ID: <20020607104025.G10610@underdog.stansell.org> References: <20020607121551.GA74819@totem.fix.no> <20020607160229.9C22FAC@proven.weird.com> <20020607121551.GA74819@totem.fix.no> <20020607085331.K18566@jeffk.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020607085331.K18566@jeffk.com>; from zonker@jeffk.com on Fri, Jun 07, 2002 at 08:53:31AM -0700 Sender: users-admin@conserver.com Errors-To: users-admin@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Conserver Users List-Unsubscribe: , List-Archive: On Fri, Jun 07, 2002 at 08:53:31AM -0700, David K. Z. Harris wrote: > (Just remember the math in your configuration file (cons.h) before > you do the build...we're using maxgrp=96, but just make sure that > you can spawn enough processes to cover all of the ports that you > want to connect to, and make sure your host has enough RAM for > all of the processes.) if you're using pre-7.2.X code, this is true. hopefully everyone's upgraded to 7.2.2, which ignores the concept of maxgrp and just forks processes while it can. if you have more processes than you care for, you can have each process manage more consoles by using the -m flag (default is 16). On Fri, Jun 07, 2002 at 12:02:29PM -0400, Greg A. Woods wrote: > That said, as you can see above there's still a very serious memory > leak somewhere, and that'll drastically affect scalability in any > production system.... The second conserver process is allocating an > additional 1.2KB or so with every client connection (I have a cron job > that makes console client connections to collect data from my three UPS > units once every minute). hmmm...i just did a test with 7.2.2 (and i don't know why it would be different with 7.2.1) by having conserver manage five consoles. i then did: i=1; while true; do (echo "echo $1"; sleep 1) | \ ~/./conserver/playpen/conserver-7.2.2/console/console bash; \ i=$((i + 1)); done it's currently spewing: underdog (root) 288:# [Enter `^Ec?' for help] echo 287 287 underdog (root) 289:# and still going. the memory size hasn't grown at all (using both pmap and ps to check sizes - solaris here). i also have a redhat 7.3 system running the same test - just started it up. it's up to 109 connections and there hasn't been a change in memory usage, according to ps. well, we're up to 983 on the solaris test - still no change in memory usage. i don't know if it's a netbsd library leak, or maybe the solaris and linux libraries are more forgiving about something, but i can't reproduce the problem. if you or anyone can pin things down, i'd love to hear about it. at 307 and 1130 now - still no change. if, for some reason, the clients aren't getting disconnected, you'd have a constant memory increase. but, you should either have a whole lot of console binaries running, or if you do a 'console -w', you'd see a list of clients on the console. i kinda doubt that's what's going on, but i wanted to mention it. Bryan From cfowler@outpostsentinel.com Thu Jun 13 05:13:59 2002 Received: from skylab.outpostsentinel.com (dsl-64-129-133-253.telocity.com [64.129.133.253]) by underdog.stansell.org (8.12.4/8.12.4) with ESMTP id g5DCDwMb015764 for ; Thu, 13 Jun 2002 05:13:58 -0700 (PDT) Received: from outpostsentinel.com (moses [192.168.2.5]) by skylab.outpostsentinel.com (8.11.2/8.11.2) with ESMTP id g5DCDvx29261 for ; Thu, 13 Jun 2002 08:13:57 -0400 Subject: Detect DCD drop From: cfowler To: users@conserver.com Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.3 Date: 13 Jun 2002 08:21:23 -0400 Message-Id: <1023970883.28123.6.camel@moses.outpostsentinel.com> Mime-Version: 1.0 Sender: users-admin@conserver.com Errors-To: users-admin@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Conserver Users List-Unsubscribe: , List-Archive: I have wired my consoles DTR to DCD on the machine runnning conserver. Is there a way to detect a drop in DCD a.k.a HUP. Thanks, Chris From eldrik@logrus.com Tue Jun 18 14:53:41 2002 Received: from maelstrom.logrus.com (IDENT:root@maelstrom.logrus.com [209.157.143.163]) by underdog.stansell.org (8.12.4/8.12.4) with ESMTP id g5ILreMb018380 for ; Tue, 18 Jun 2002 14:53:40 -0700 (PDT) Received: from [10.6.34.42] (avfw.sv.av.com [209.73.174.251]) (authenticated) by maelstrom.logrus.com (8.11.0/8.11.0) with ESMTP id g5ILreF30419 for ; Tue, 18 Jun 2002 14:53:40 -0700 Date: Tue, 18 Jun 2002 14:51:57 -0700 From: "Bruce Z. Lysik" Reply-To: "Bruce Z. Lysik" To: users@conserver.com Subject: conserver.cf and colons Message-ID: <111015211.1024411917@[10.6.34.42]> X-Mailer: Mulberry/2.2.1 (Win32) X-URL: http://www.logrus.com/~eldrik X-Attribution: BZL MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: users-admin@conserver.com Errors-To: users-admin@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Conserver Users List-Unsubscribe: , List-Archive: (Sent accidently previously with wrong account. Sending again with correct one.) Hi guys, I'm trying to enter a line like this in conserver.cf: test8:|ssh -l conuser:7001 cyclades1::&: The command obviously being "|ssh -l conuser:7001 cyclades1". Unfortunately since colons are delimeters on this file, I'm having problems. I've tried backslashing the colon, and even quoting the entire line, but it doesn't help. Is there any way I can do this? -- Bruce Z. Lysik http://www.logrus.com/~eldrik From bryan@stansell.org Wed Jun 19 01:55:02 2002 Received: from underdog.stansell.org (localhost [127.0.0.1]) by underdog.stansell.org (8.12.4/8.12.4) with ESMTP id g5J8t2Ds000569 for ; Wed, 19 Jun 2002 01:55:02 -0700 (PDT) Received: (from bryan@localhost) by underdog.stansell.org (8.12.4/8.12.4/Submit) id g5J8t2dn000568 for users@conserver.com; Wed, 19 Jun 2002 01:55:02 -0700 (PDT) Date: Wed, 19 Jun 2002 01:55:02 -0700 From: Bryan Stansell To: users@conserver.com Subject: Re: conserver.cf and colons Message-ID: <20020619015502.A394@underdog.stansell.org> References: <111015211.1024411917@[10.6.34.42]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <111015211.1024411917@[10.6.34.42]>; from eldrik@logrus.com on Tue, Jun 18, 2002 at 02:51:57PM -0700 Sender: users-admin@conserver.com Errors-To: users-admin@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Conserver Users List-Unsubscribe: , List-Archive: unfortunately, there really isn't a way to make it work (directly, anyway). the code uses a simple search for colons, so backslashes and quotes just don't hide them. what you can do in this case (although it's slightly ugly) is to write a wrapper that would accept something like "conuser 7001 cyclades1" as arguments and then pass them to ssh with the colon and approprate flags. yeah, not ideal, but it should work. Bryan On Tue, Jun 18, 2002 at 02:51:57PM -0700, Bruce Z. Lysik wrote: > (Sent accidently previously with wrong account. Sending again with correct > one.) > > Hi guys, > > I'm trying to enter a line like this in conserver.cf: > > test8:|ssh -l conuser:7001 cyclades1::&: > > The command obviously being "|ssh -l conuser:7001 cyclades1". Unfortunately > since colons are delimeters on this file, I'm having problems. I've tried > backslashing the colon, and even quoting the entire line, but it doesn't > help. > > Is there any way I can do this? > > -- > Bruce Z. Lysik http://www.logrus.com/~eldrik > > _______________________________________________ > users mailing list > users@conserver.com > https://www.conserver.com/mailman/listinfo/users From Nicholas.Penney@uk.ing.com Thu Jun 20 00:19:56 2002 Received: from relay3.bt.net (relay3.bt.net [194.72.6.50]) by underdog.stansell.org (8.12.4/8.12.4) with ESMTP id g5K7JtDs021486 for ; Thu, 20 Jun 2002 00:19:56 -0700 (PDT) Received: from [194.72.41.183] (helo=LWMR26.ing-barings.com) by relay3.bt.net with esmtp (Exim 3.22 #1) id 17KwEQ-0005u6-00 for users@conserver.com; Thu, 20 Jun 2002 08:19:50 +0100 Message-ID: <9510EFB9F969D4119BFB00508B694DAF03725853@LDNXCH07> From: Nicholas.Penney@uk.ing.com To: users@conserver.com Subject: break sequence not working CS9000 -> Sun's Date: Thu, 20 Jun 2002 08:19:48 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: users-admin@conserver.com Errors-To: users-admin@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Conserver Users List-Unsubscribe: , List-Archive: Hi, I am new to this mail list so please excuse me if there is an FAQ that answers this somewhere - I couldn't find one. I have the conserver software version 7.2.2 running on three servers as I have one for development, one for acceptance testing and one for production; we like to keep all three environments separate. They are all configured to connect to the same 6 x Perle CS9000 terminal servers, so that I can access any host using the console client from any of the three environments (this provides resiliency in case any of the hosts running conserver are "down"). The CS9000's are connected to 100+ sun servers (everything from Sparc 5's to E10K's). All of the Sun servers are set to use the alternate-break sequence of \r~b. I have set the conserver.cf lines for each server like this: HOST_NNN:!TERMSERVER_NNN@CONSERVER_NNN.uk.ing.com:10001:&:10ma:2 However no matter what I do I cannot get the servers to drop to the OK prompt when connecting through the console software. Issuing ctrl-e,c,l0 and/or ctrl-e,c,l2 both display the "[halt sent]" message and display ~^B on the screen but the server just carries on in full multi-user mode. Has anybody got these CS9000's working with this software? Can you offer any suggestions as to how I can proceed to get this working? -- Nicholas Penney, UNIX Support ING Bank n.v. UK Region, 60 London Wall, London EC2M 5TQ Telephone: +44 (0)20 7767 6608 Email: nicholas.penney@uk.ing.com ------------------------------------------------------------------------------ The information in this Internet email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this Internet email by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. When addressed to our clients any opinions or advice contained in this Internet email are subject to the terms and conditions expressed in any applicable governing ING terms of business or client engagement letter. Visit us at www.ing.com ------------------------------------------------------------------------------ From bryan@stansell.org Thu Jun 20 02:15:38 2002 Received: from underdog.stansell.org (localhost [127.0.0.1]) by underdog.stansell.org (8.12.4/8.12.4) with ESMTP id g5K9FcDs025536 for ; Thu, 20 Jun 2002 02:15:38 -0700 (PDT) Received: (from bryan@localhost) by underdog.stansell.org (8.12.4/8.12.4/Submit) id g5K9FcKM025535 for users@conserver.com; Thu, 20 Jun 2002 02:15:38 -0700 (PDT) Date: Thu, 20 Jun 2002 02:15:38 -0700 From: Bryan Stansell To: users@conserver.com Subject: Re: break sequence not working CS9000 -> Sun's Message-ID: <20020620021538.F394@underdog.stansell.org> References: <9510EFB9F969D4119BFB00508B694DAF03725853@LDNXCH07> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <9510EFB9F969D4119BFB00508B694DAF03725853@LDNXCH07>; from Nicholas.Penney@uk.ing.com on Thu, Jun 20, 2002 at 08:19:48AM +0100 Sender: users-admin@conserver.com Errors-To: users-admin@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Conserver Users List-Unsubscribe: , List-Archive: On Thu, Jun 20, 2002 at 08:19:48AM +0100, Nicholas.Penney@uk.ing.com wrote: > However no matter what I do I cannot get the servers to drop to the OK > prompt when connecting through the console software. Issuing ctrl-e,c,l0 > and/or ctrl-e,c,l2 both display the "[halt sent]" message and display ~^B on > the screen but the server just carries on in full multi-user mode. > > Has anybody got these CS9000's working with this software? Can you offer > any suggestions as to how I can proceed to get this working? i doubt the cs9000's are the problem. i personally don't have an alt-break setup to test with, but my best guess is that there needs to be a 0.5 second delay between each character for this to work. at least, that's the info i'm seeing at sunsolve. there is no delay in the code. so, the big test is, can you type ,~, by hand during a console session and get a machine to halt? if so, it's probably the delay issue. unfortunately, there is no way to fix this without some code changes. but, if typing the sequence by hand doesn't work either, something else is going on. lemme know how it goes with the test (it'll prove we *really* need that delay capability). Bryan From doug@gblx.net Thu Jun 20 06:21:27 2002 Received: from smtp1.phx.gblx.net (smtp1.phx.gblx.net [64.208.25.103]) by underdog.stansell.org (8.12.4/8.12.4) with ESMTP id g5KDLQDs027315; Thu, 20 Jun 2002 06:21:26 -0700 (PDT) Received: (from daemon@localhost) by smtp1.phx.gblx.net (8.11.2/8.11.2) id g5KDKZx10524; Thu, 20 Jun 2002 06:20:35 -0700 (MST) Received: from UNKNOWN(64.208.25.102), claiming to be "shell1.phx.gblx.net" via SMTP by smtp1, id smtpdAAADfa4Hu; Thu Jun 20 06:20:28 2002 Received: from localhost (doug@localhost) by shell1.phx.gblx.net (8.9.3+Sun/8.9.3) with ESMTP id GAA19394; Thu, 20 Jun 2002 06:21:18 -0700 (MST) X-Authentication-Warning: shell1.phx.gblx.net: doug owned process doing -bs Date: Thu, 20 Jun 2002 06:21:18 -0700 (MST) From: Doug Hughes X-X-Sender: doug@shell1.phx.gblx.net To: Bryan Stansell cc: users@conserver.com Subject: Re: break sequence not working CS9000 -> Sun's In-Reply-To: <20020620021538.F394@underdog.stansell.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: users-admin@conserver.com Errors-To: users-admin@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Conserver Users List-Unsubscribe: , List-Archive: On Thu, 20 Jun 2002, Bryan Stansell wrote: > On Thu, Jun 20, 2002 at 08:19:48AM +0100, Nicholas.Penney@uk.ing.com wrote: > > However no matter what I do I cannot get the servers to drop to the OK > > prompt when connecting through the console software. Issuing ctrl-e,c,l0 > > and/or ctrl-e,c,l2 both display the "[halt sent]" message and display ~^B on > > the screen but the server just carries on in full multi-user mode. > > > > Has anybody got these CS9000's working with this software? Can you offer > > any suggestions as to how I can proceed to get this working? > > i doubt the cs9000's are the problem. i personally don't have an > alt-break setup to test with, but my best guess is that there needs to > be a 0.5 second delay between each character for this to work. at > least, that's the info i'm seeing at sunsolve. there is no delay in > the code. so, the big test is, can you type ,~, by hand > during a console session and get a machine to halt? if so, it's > probably the delay issue. unfortunately, there is no way to fix this > without some code changes. but, if typing the sequence by hand doesn't > work either, something else is going on. lemme know how it goes with > the test (it'll prove we *really* need that delay capability). > expect has some really good code for doing delay if you feel like 'borrowing'. There's one part, send_human, that will even simulate a human typing at the keyboard (with all the inherent variability therein). Most of it is C. You'd have to replace some of the Tcl buffer translation, but it doesn't look too hard on the surface. (You may even have already thought of this. :) Doug From jrj@gandalf.cc.purdue.edu Thu Jun 20 10:57:06 2002 Received: from gandalf.cc.purdue.edu (root@gandalf.cc.purdue.edu [128.210.135.25]) by underdog.stansell.org (8.12.4/8.12.4) with ESMTP id g5KHv5Ds029573 for ; Thu, 20 Jun 2002 10:57:05 -0700 (PDT) Received: from gandalf.cc.purdue.edu (jrj@localhost [127.0.0.1]) by gandalf.cc.purdue.edu (8.12.1/8.12.1) with ESMTP id g5KHv1an029410 for ; Thu, 20 Jun 2002 12:57:03 -0500 (EST) Message-Id: <200206201757.g5KHv1an029410@gandalf.cc.purdue.edu> To: users@conserver.com Subject: Console server probes from outside Reply-to: jrj@purdue.edu Date: Thu, 20 Jun 2002 12:57:01 -0500 From: "John R. Jackson" Sender: users-admin@conserver.com Errors-To: users-admin@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Conserver Users List-Unsubscribe: , List-Archive: My console server is TCP wrappered (duh) and I've noticed several of these in the past couple of days (all from the same host): conserver attempt from H-135-104-26-223.research.bell-labs.com I don't know if it's just a port scan or if they are probing a potential console server security hole. Not to start a panic. Just a head's up in case something bad is floating around out there. Sigh. John R. Jackson, Technical Software Specialist, jrj@purdue.edu From bryan@stansell.org Thu Jun 20 12:33:52 2002 Received: from underdog.stansell.org (localhost [127.0.0.1]) by underdog.stansell.org (8.12.4/8.12.4) with ESMTP id g5KJXqDs000608 for ; Thu, 20 Jun 2002 12:33:52 -0700 (PDT) Received: (from bryan@localhost) by underdog.stansell.org (8.12.4/8.12.4/Submit) id g5KJXqDm000607 for users@conserver.com; Thu, 20 Jun 2002 12:33:52 -0700 (PDT) Date: Thu, 20 Jun 2002 12:33:52 -0700 From: Bryan Stansell To: users@conserver.com Subject: Re: Console server probes from outside Message-ID: <20020620123352.I394@underdog.stansell.org> References: <200206201757.g5KHv1an029410@gandalf.cc.purdue.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200206201757.g5KHv1an029410@gandalf.cc.purdue.edu>; from jrj@gandalf.cc.purdue.edu on Thu, Jun 20, 2002 at 12:57:01PM -0500 Sender: users-admin@conserver.com Errors-To: users-admin@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Conserver Users List-Unsubscribe: , List-Archive: On Thu, Jun 20, 2002 at 12:57:01PM -0500, John R. Jackson wrote: > I don't know if it's just a port scan or if they are probing a potential > console server security hole. > > Not to start a panic. Just a head's up in case something bad is floating > around out there. figured i'd throw in my 2 cents... i want to *strongly* suggest that if you have conserver accessible from *any* non-trusted network (no matter how small that lack of trust is), that you use tcp wrappers to protect yourself. yes, via the conserver.cf file you can list access restrictions and it works just fine, however, i can't promise that someone would not be able to break that code or break the code before it and gain access (i really hope that's not the case, but you have to be cautious). with tcp wrappers, there's a much higher level of confidence since that package is the front-line defense of so many things and it's code is always under scrutiny. i'm sure there are nasty holes in the code that would allow folks to do bad things. where they are, i don't know, but it would be silly of me to think that they didn't exist. if anyone gets the urge to check the code for stuff like this, i'd suggest looking at the access restriction stuff so that tcp wrappers weren't a requirement, but just a nice integration into an existing environment. Bryan From iainr@dcs.ed.ac.uk Thu Jun 20 12:39:18 2002 Received: from muck.dcs.ed.ac.uk (muck.dcs.ed.ac.uk [129.215.216.15]) by underdog.stansell.org (8.12.4/8.12.4) with ESMTP id g5KJdHDs000677 for ; Thu, 20 Jun 2002 12:39:17 -0700 (PDT) Received: from dcs.ed.ac.uk (iainr@testnode2.inf.ed.ac.uk [129.215.212.124]) by muck.dcs.ed.ac.uk with ESMTP id UAA27041; Thu, 20 Jun 2002 20:39:14 +0100 (BST) Message-ID: <3D122F61.5010700@dcs.ed.ac.uk> Date: Thu, 20 Jun 2002 20:39:13 +0100 From: Iain Rae User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020617 X-Accept-Language: en-us, en MIME-Version: 1.0 To: jrj@purdue.edu CC: users@conserver.com Subject: Re: Console server probes from outside References: <200206201757.g5KHv1an029410@gandalf.cc.purdue.edu> X-Enigmail-Version: 0.62.3.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: users-admin@conserver.com Errors-To: users-admin@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Conserver Users List-Unsubscribe: , List-Archive: John R. Jackson wrote: > My console server is TCP wrappered (duh) and I've noticed several of > these in the past couple of days (all from the same host): > > conserver attempt from H-135-104-26-223.research.bell-labs.com > > I don't know if it's just a port scan or if they are probing a potential > console server security hole. > I take it you've emailed whoevers in charge of security at bell-labs? of course it could just be a badly configured conserver.cf but it's not very friendly. -- Iain Rae Tel:01316505202 Computing Officer JCMB:2148 Division of Informatics The University of Edinburgh From jrj@gandalf.cc.purdue.edu Thu Jun 20 13:16:06 2002 Received: from gandalf.cc.purdue.edu (root@gandalf.cc.purdue.edu [128.210.135.25]) by underdog.stansell.org (8.12.4/8.12.4) with ESMTP id g5KKG2Ds001016 for ; Thu, 20 Jun 2002 13:16:05 -0700 (PDT) Received: from gandalf.cc.purdue.edu (jrj@localhost [127.0.0.1]) by gandalf.cc.purdue.edu (8.12.1/8.12.1) with ESMTP id g5KKFwan001284; Thu, 20 Jun 2002 15:15:58 -0500 (EST) Message-Id: <200206202015.g5KKFwan001284@gandalf.cc.purdue.edu> To: Iain Rae cc: users@conserver.com Subject: Re: Console server probes from outside In-reply-to: Your message of "Thu, 20 Jun 2002 20:39:13 +0100." <3D122F61.5010700@dcs.ed.ac.uk> Reply-to: jrj@purdue.edu Date: Thu, 20 Jun 2002 15:15:58 -0500 From: "John R. Jackson" Sender: users-admin@conserver.com Errors-To: users-admin@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Conserver Users List-Unsubscribe: , List-Archive: >I take it you've emailed whoevers in charge of security at bell-labs? Nope. I wouldn't have the faintest idea who to contact. >Iain Rae John R. Jackson, Technical Software Specialist, jrj@purdue.edu From lepera@us.ibm.com Thu Jun 20 13:53:51 2002 Received: from e2.ny.us.ibm.com (e2.ny.us.ibm.com [32.97.182.102]) by underdog.stansell.org (8.12.4/8.12.4) with ESMTP id g5KKrpDs001377 for ; Thu, 20 Jun 2002 13:53:51 -0700 (PDT) Received: from northrelay02.pok.ibm.com (northrelay02.pok.ibm.com [9.56.224.150]) by e2.ny.us.ibm.com (8.12.2/8.12.2) with ESMTP id g5KKrhe8132708 for ; Thu, 20 Jun 2002 16:53:44 -0400 Received: from d01ml251.pok.ibm.com (d01ml251.pok.ibm.com [9.56.224.79]) by northrelay02.pok.ibm.com (8.11.1m3/NCO/VER6.1) with ESMTP id g5KKrfL113000 for ; Thu, 20 Jun 2002 16:53:41 -0400 Subject: console error message To: users@conserver.com X-Mailer: Lotus Notes Release 5.0.7 March 21, 2001 Message-ID: From: "William P LePera" Date: Thu, 20 Jun 2002 16:53:40 -0400 X-MIMETrack: Serialize by Router on D01ML251/01/M/IBM(Release 5.0.10 |March 22, 2002) at 06/20/2002 04:53:41 PM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Sender: users-admin@conserver.com Errors-To: users-admin@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Conserver Users List-Unsubscribe: , List-Archive: Has anyone ever seen this error message from the console command? "No environment-specified terminal type." This error repeats over and over again until I kill the command. Happens again after restarting it. I need to stop the conserver daemon and then restart it to clear it up. >From the conserver error log: conserver (18280): host15@ibm.com: login root@server3@ibm.com [Thu Jun 20 16:34:40 2002] conserver (18280): lost carrier on host15@ibm.com (/dev/pts/1)! [Thu Jun 20 16:34:42 2002] conserver (18280): host15@ibm.com: automatic reinitialization [Thu Jun 20 16:34:42 2002] conserver (18280): lost carrier on host15@ibm.com (/dev/pts/1)! [Thu Jun 20 16:34:44 2002] conserver (18280): host15@ibm.com: automatic reinitialization [Thu Jun 20 16:34:44 2002] conserver (18280): lost carrier on host15@ibm.com (/dev/pts/1)! [Thu Jun 20 16:34:46 2002] conserver (18280): host15@ibm.com: automatic reinitialization [Thu Jun 20 16:34:46 2002] conserver (18280): lost carrier on host15@ibm.com (/dev/pts/1)! [Thu Jun 20 16:34:49 2002] conserver (18280): host15@ibm.com: automatic reinitialization [Thu Jun 20 16:34:49 2002] conserver (18280): lost carrier on host15@ibm.com (/dev/pts/1)! [Thu Jun 20 16:34:50 2002] conserver (18280): host15@ibm.com: automatic reinitialization [Thu Jun 20 16:34:50 2002] conserver (18280): lost carrier on host15@ibm.com (/dev/pts/1)! [Thu Jun 20 16:34:50 2002] conserver (18280): host15@ibm.com: automatic reinitialization [Thu Jun 20 16:34:50 2002] conserver (18280): lost carrier on host15@ibm.com (/dev/pts/1)! [Thu Jun 20 16:34:52 2002] conserver (18280): host15@ibm.com: automatic reinitialization [Thu Jun 20 16:34:52 2002] conserver (18280): lost carrier on host15@ibm.com (/dev/pts/1)! [Thu Jun 20 16:34:54 2002] conserver (18280): host15@ibm.com: automatic reinitialization [Thu Jun 20 16:34:54 2002] conserver (18280): host15@ibm.com: logout root@server3@ibm.com [Thu Jun 20 16:34:54 2002] conserver (12840): host15@ibm.com: fd sync error conserver (18582): Stopped at Thu Jun 20 16:43:23 2002 conserver (18584): conserver.com version 7.2.2 conserver (18584): Started as `root' by `root' at Thu Jun 20 16:43:26 2002 conserver (17146): host15@ibm.com: login root@server3@ibm.com [Thu Jun 20 16:44:31 2002] Any ideas? Thanks, Bill LePera IBM Server Group Poughkeepsie, NY From gmilder@cats.ucsc.edu Fri Jun 21 14:11:53 2002 Received: from kzin.ucsc.edu (kzin.ucsc.edu [128.114.2.122]) by underdog.stansell.org (8.12.4/8.12.4) with ESMTP id g5LLBqDs016289 for ; Fri, 21 Jun 2002 14:11:52 -0700 (PDT) Received: from cats.ucsc.edu (taurus.ucsc.edu [128.114.2.19]) by kzin.ucsc.edu (8.11.6/8.11.6) with ESMTP id g5LLBWN02059 for ; Fri, 21 Jun 2002 14:11:32 -0700 Message-ID: <3D139679.13C3B69A@cats.ucsc.edu> Date: Fri, 21 Jun 2002 14:11:21 -0700 From: George Milder X-Mailer: Mozilla 4.79 [en] (X11; U; SunOS 5.7 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: users@conserver.com Subject: Whats this error Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-UCSC-CATS-MailScanner: Found to be clean X-UCSC-CATS-MailScanner-SpamCheck: not spam, SpamAssassin (score=0, required 5) Sender: users-admin@conserver.com Errors-To: users-admin@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Conserver Users List-Unsubscribe: , List-Archive: I just built the conserver 7.2.2 and when I run console I get console: connect: 782@console: Connection refused Can someone tell me where I went wrong. Thanks in advance, George From cfowler@outpostsentinel.com Fri Jun 21 14:36:47 2002 Received: from cfowler.linuxiceberg.com (dsl-64-129-131-125.telocity.com [64.129.131.125]) by underdog.stansell.org (8.12.4/8.12.4) with ESMTP id g5LLalDs016638 for ; Fri, 21 Jun 2002 14:36:47 -0700 (PDT) Received: from [192.168.1.7] ([192.168.1.7]) by cfowler.linuxiceberg.com (8.11.6/8.11.6) with ESMTP id g5LLbCc01709 for ; Fri, 21 Jun 2002 17:37:13 -0400 Subject: Win32 From: Christopher Fowler To: users@conserver.com Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.3 (1.0.3-4) Date: 21 Jun 2002 17:43:24 -0400 Message-Id: <1024695804.27542.10.camel@devel> Mime-Version: 1.0 Sender: users-admin@conserver.com Errors-To: users-admin@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Conserver Users List-Unsubscribe: , List-Archive: Is there a Win32 port of console? I'm using cygwin but it is giving me some problems. From bryan@stansell.org Fri Jun 21 14:46:18 2002 Received: from underdog.stansell.org (localhost [127.0.0.1]) by underdog.stansell.org (8.12.4/8.12.4) with ESMTP id g5LLkIDs016816 for ; Fri, 21 Jun 2002 14:46:18 -0700 (PDT) Received: (from bryan@localhost) by underdog.stansell.org (8.12.4/8.12.4/Submit) id g5LLkIRn016815 for users@conserver.com; Fri, 21 Jun 2002 14:46:18 -0700 (PDT) Date: Fri, 21 Jun 2002 14:46:18 -0700 From: Bryan Stansell To: users@conserver.com Subject: Re: Win32 Message-ID: <20020621144618.U394@underdog.stansell.org> References: <1024695804.27542.10.camel@devel> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <1024695804.27542.10.camel@devel>; from cfowler@outpostsentinel.com on Fri, Jun 21, 2002 at 05:43:24PM -0400 Sender: users-admin@conserver.com Errors-To: users-admin@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Conserver Users List-Unsubscribe: , List-Archive: On Fri, Jun 21, 2002 at 05:43:24PM -0400, Christopher Fowler wrote: > Is there a Win32 port of console? I'm using cygwin but it is giving me > some problems. nope...not that i know of, anyway. by problems, do you mean cygwin is promblematic or conserver within it? ;-) i had a friend test 7.2.0 or 7.2.1 (can't remember) under cygwin and linux and have them talk to each other (server and client on both) - worked fine. but, it wasn't an extensive test. so, as far as i know, running the client or server under cygwin should work. if it doesn't, i'd love to know what the problems are so we can fix it - it's an environment i want to make sure works. Bryan From bryan@stansell.org Fri Jun 21 14:49:30 2002 Received: from underdog.stansell.org (localhost [127.0.0.1]) by underdog.stansell.org (8.12.4/8.12.4) with ESMTP id g5LLnUDs016896 for ; Fri, 21 Jun 2002 14:49:30 -0700 (PDT) Received: (from bryan@localhost) by underdog.stansell.org (8.12.4/8.12.4/Submit) id g5LLnU8r016895 for users@conserver.com; Fri, 21 Jun 2002 14:49:30 -0700 (PDT) Date: Fri, 21 Jun 2002 14:49:30 -0700 From: Bryan Stansell To: users@conserver.com Subject: Re: Whats this error Message-ID: <20020621144930.V394@underdog.stansell.org> References: <3D139679.13C3B69A@cats.ucsc.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3D139679.13C3B69A@cats.ucsc.edu>; from gmilder@cats.ucsc.edu on Fri, Jun 21, 2002 at 02:11:21PM -0700 Sender: users-admin@conserver.com Errors-To: users-admin@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Conserver Users List-Unsubscribe: , List-Archive: On Fri, Jun 21, 2002 at 02:11:21PM -0700, George Milder wrote: > I just built the conserver 7.2.2 and when I run console I get > > console: connect: 782@console: Connection refused > > Can someone tell me where I went wrong. the client is trying to connect to port 782 of the host named 'console'. the server isn't up and listening on that port on that host. so, either 'console' isn't the host you expect, or the server didn't start properly (check the logs), or you have other issues (like filters). anyway, there's a few things to check and look out for...hopefully that'll get you going. Bryan From Nicholas.Penney@uk.ing.com Mon Jun 24 00:53:23 2002 Received: from relay1.bt.net (relay1.bt.net [194.72.6.100]) by underdog.stansell.org (8.12.4/8.12.4) with ESMTP id g5O7rMDs024726; Mon, 24 Jun 2002 00:53:23 -0700 (PDT) Received: from [194.72.41.183] (helo=LWMR26.ing-barings.com) by relay1.bt.net with esmtp (Exim 3.22 #1) id 17MOez-0001O1-00; Mon, 24 Jun 2002 08:53:17 +0100 Message-ID: <9510EFB9F969D4119BFB00508B694DAF03725871@LDNXCH07> From: Nicholas.Penney@uk.ing.com To: users@conserver.com Cc: bryan@conserver.com Subject: RE: break sequence not working CS9000 -> Sun's Date: Mon, 24 Jun 2002 08:48:14 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: users-admin@conserver.com Errors-To: users-admin@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Conserver Users List-Unsubscribe: , List-Archive: I have tried and tried but cannot get the \r~^b key sequence to cause a break whilst connected to any of my servers using the CS9000's, however they DO respond when I attach direct using a vt100 console! The servers I tested (Netra's) do respond to a #. sequence to cause them to drop to the LOM prompt, and from there I can do a reset but it's "just not right". Even though I haven't got the "alternate break sequence" for Sun's working yet, could you look at introducing the 0.5 second delays in the sequence as, as I read it, they are needed. -----Original Message----- From: Bryan Stansell [mailto:bryan@conserver.com] Sent: Thursday, June 20, 2002 10:16 AM To: users@conserver.com Subject: Re: break sequence not working CS9000 -> Sun's On Thu, Jun 20, 2002 at 08:19:48AM +0100, Nicholas.Penney@uk.ing.com wrote: > However no matter what I do I cannot get the servers to drop to the OK > prompt when connecting through the console software. Issuing ctrl-e,c,l0 > and/or ctrl-e,c,l2 both display the "[halt sent]" message and display ~^B on > the screen but the server just carries on in full multi-user mode. > > Has anybody got these CS9000's working with this software? Can you offer > any suggestions as to how I can proceed to get this working? i doubt the cs9000's are the problem. i personally don't have an alt-break setup to test with, but my best guess is that there needs to be a 0.5 second delay between each character for this to work. at least, that's the info i'm seeing at sunsolve. there is no delay in the code. so, the big test is, can you type ,~, by hand during a console session and get a machine to halt? if so, it's probably the delay issue. unfortunately, there is no way to fix this without some code changes. but, if typing the sequence by hand doesn't work either, something else is going on. lemme know how it goes with the test (it'll prove we *really* need that delay capability). Bryan ------------------------------------------------------------------------------ The information in this Internet email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this Internet email by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. When addressed to our clients any opinions or advice contained in this Internet email are subject to the terms and conditions expressed in any applicable governing ING terms of business or client engagement letter. Visit us at www.ing.com ------------------------------------------------------------------------------ From bryan@stansell.org Mon Jun 24 02:55:23 2002 Received: from underdog.stansell.org (localhost [127.0.0.1]) by underdog.stansell.org (8.12.4/8.12.4) with ESMTP id g5O9tMDs026548 for ; Mon, 24 Jun 2002 02:55:22 -0700 (PDT) Received: (from bryan@localhost) by underdog.stansell.org (8.12.4/8.12.4/Submit) id g5O9tMlr026547 for users@conserver.com; Mon, 24 Jun 2002 02:55:22 -0700 (PDT) Date: Mon, 24 Jun 2002 02:55:22 -0700 From: Bryan Stansell To: users@conserver.com Subject: Re: break sequence not working CS9000 -> Sun's Message-ID: <20020624025522.Z394@underdog.stansell.org> References: <9510EFB9F969D4119BFB00508B694DAF03725871@LDNXCH07> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <9510EFB9F969D4119BFB00508B694DAF03725871@LDNXCH07>; from Nicholas.Penney@uk.ing.com on Mon, Jun 24, 2002 at 08:48:14AM +0100 Sender: users-admin@conserver.com Errors-To: users-admin@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Conserver Users List-Unsubscribe: , List-Archive: On Mon, Jun 24, 2002 at 08:48:14AM +0100, Nicholas.Penney@uk.ing.com wrote: > I have tried and tried but cannot get the \r~^b key sequence to cause a > break whilst connected to any of my servers using the CS9000's, however they > DO respond when I attach direct using a vt100 console! i was curious, so i took a quick peek at the cs9000 docs that are online. i couldn't find anything except for the 'set telnet' command. there's a 'mapnl' option that looks interesting. a 'show telnet line 1' should show if it's on for line 1. i'd bet it shouldn't be. the 'mode' option probably should be off as well. i'm thinking that either the CR is being mapped to NL or a NL is being inserted or some other such manipulation is being done and therefore the sun isn't seeing the right sequence. at least, that's my theory - based on no real idea of what those options are supposed to do since they aren't documented well. > The servers I tested (Netra's) do respond to a #. sequence to cause them to > drop to the LOM prompt, and from there I can do a reset but it's "just not > right". i agree, but it's at least a fallback position. > Even though I haven't got the "alternate break sequence" for Sun's working > yet, could you look at introducing the 0.5 second delays in the sequence as, > as I read it, they are needed. yeah, i'm looking into it no matter what. just not sure how to deal with the code yet. Bryan From ernie.oporto@viragelogic.com Mon Jun 24 08:34:16 2002 Received: from viragelogic.com ([209.172.126.250]) by underdog.stansell.org (8.12.4/8.12.4) with ESMTP id g5OFXiDs029172; Mon, 24 Jun 2002 08:33:48 -0700 (PDT) Received: by viragelogic.com; id LAA24493; Mon, 24 Jun 2002 11:36:12 -0400 (EDT) Received: from nodnsquery(129.200.11.20) by webshield.viragelogic.com via smap (V1.0) id xma024487; Mon, 24 Jun 02 11:35:45 -0400 From: "Ernie Oporto" To: "Bryan Stansell" , Subject: RE: Win32 Date: Mon, 24 Jun 2002 11:33:04 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <20020621144618.U394@underdog.stansell.org> Sender: users-admin@conserver.com Errors-To: users-admin@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Conserver Users List-Unsubscribe: , List-Archive: I have compiled the console client under Cygwin, but the daemons themselves will not work. Since all I needed was the console that was good enough for me. This was done a few versions back though and I have not compiled it with Cygwin since then. Ernie -----Original Message----- From: users-admin@conserver.com [mailto:users-admin@conserver.com]On Behalf Of Bryan Stansell Sent: Friday, June 21, 2002 5:46 PM To: users@conserver.com Subject: Re: Win32 On Fri, Jun 21, 2002 at 05:43:24PM -0400, Christopher Fowler wrote: > Is there a Win32 port of console? I'm using cygwin but it is giving me > some problems. nope...not that i know of, anyway. by problems, do you mean cygwin is promblematic or conserver within it? ;-) i had a friend test 7.2.0 or 7.2.1 (can't remember) under cygwin and linux and have them talk to each other (server and client on both) - worked fine. but, it wasn't an extensive test. so, as far as i know, running the client or server under cygwin should work. if it doesn't, i'd love to know what the problems are so we can fix it - it's an environment i want to make sure works. Bryan _______________________________________________ users mailing list users@conserver.com https://www.conserver.com/mailman/listinfo/users From gmilder@cats.ucsc.edu Tue Jun 25 13:34:18 2002 Received: from kzin.ucsc.edu (kzin.ucsc.edu [128.114.2.122]) by underdog.stansell.org (8.12.4/8.12.4) with ESMTP id g5PKYIRc000684 for ; Tue, 25 Jun 2002 13:34:18 -0700 (PDT) Received: from cats.ucsc.edu (taurus.ucsc.edu [128.114.2.19]) by kzin.ucsc.edu (8.11.6/8.11.6) with ESMTP id g5PKXwN32345 for ; Tue, 25 Jun 2002 13:33:58 -0700 Message-ID: <3D18D3A7.90F91FEE@cats.ucsc.edu> Date: Tue, 25 Jun 2002 13:33:43 -0700 From: George Milder X-Mailer: Mozilla 4.79 [en] (X11; U; SunOS 5.7 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: users@conserver.com Subject: [Fwd: Whats this error] Content-Type: multipart/mixed; boundary="------------9977D624DDB8BBDE456882C7" X-UCSC-CATS-MailScanner: Found to be clean X-UCSC-CATS-MailScanner-SpamCheck: not spam, SpamAssassin (score=0, required 5) Sender: users-admin@conserver.com Errors-To: users-admin@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Conserver Users List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. --------------9977D624DDB8BBDE456882C7 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Well, I have turned off whatever filters I thought I had enabled. Turned back on most of the inet daemons I had turned off, rebuilt conserver-7.2.2 and receive the same error message - Connection refused. nsswitch has files as the lookup method for hosts, and the etc/hosts has the address, fqdn and console on the line. /etc/services has console 782/tcp conserver # console server in it. So, I am not sure what else needs to be changed. I know I must be shooting myself in the foot somewhere, 'cause this can't be that difficult to run. The only other thing I can think of is that this system has dual nets. 1 on the public side and a private side that has the actual console servers. Any other suggestions would be appreciated. --------------9977D624DDB8BBDE456882C7 Content-Type: message/rfc822 Content-Transfer-Encoding: 7bit Content-Disposition: inline Received: from kzin.ucsc.edu (kzin.ucsc.edu [128.114.2.122]) by cats-po-1.ucsc.edu (8.10.1/8.10.1) with ESMTP id g5LLoXB07486 for ; Fri, 21 Jun 2002 14:50:33 -0700 (PDT) Received: from cats.ucsc.edu (cats-mx2.ucsc.edu [128.114.129.35]) by kzin.ucsc.edu (8.11.6/8.11.6) with ESMTP id g5LLo7N02506 for ; Fri, 21 Jun 2002 14:50:07 -0700 Received: from underdog.stansell.org (underdog.stansell.org [209.182.207.130]) by cats.ucsc.edu (8.10.1/8.10.1) with ESMTP id g5LLo5C29363 for ; Fri, 21 Jun 2002 14:50:05 -0700 (PDT) Received: from underdog.stansell.org (localhost [127.0.0.1]) by underdog.stansell.org (8.12.4/8.12.4) with ESMTP id g5LLo4Ds016915; Fri, 21 Jun 2002 14:50:04 -0700 (PDT) Received: from underdog.stansell.org (localhost [127.0.0.1]) by underdog.stansell.org (8.12.4/8.12.4) with ESMTP id g5LLnUDs016896 for ; Fri, 21 Jun 2002 14:49:30 -0700 (PDT) Received: (from bryan@localhost) by underdog.stansell.org (8.12.4/8.12.4/Submit) id g5LLnU8r016895 for users@conserver.com; Fri, 21 Jun 2002 14:49:30 -0700 (PDT) From: Bryan Stansell To: users@conserver.com Subject: Re: Whats this error Message-ID: <20020621144930.V394@underdog.stansell.org> References: <3D139679.13C3B69A@cats.ucsc.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3D139679.13C3B69A@cats.ucsc.edu>; from gmilder@cats.ucsc.edu on Fri, Jun 21, 2002 at 02:11:21PM -0700 Sender: users-admin@conserver.com Errors-To: users-admin@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Conserver Users List-Unsubscribe: , List-Archive: Date: Fri, 21 Jun 2002 14:49:30 -0700 X-UCSC-CATS-MailScanner: Found to be clean X-UCSC-CATS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-4.4, required 5, IN_REP_TO) X-arrival-time: 1024696233 X-Mozilla-Status2: 00000000 On Fri, Jun 21, 2002 at 02:11:21PM -0700, George Milder wrote: > I just built the conserver 7.2.2 and when I run console I get > > console: connect: 782@console: Connection refused > > Can someone tell me where I went wrong. the client is trying to connect to port 782 of the host named 'console'. the server isn't up and listening on that port on that host. so, either 'console' isn't the host you expect, or the server didn't start properly (check the logs), or you have other issues (like filters). anyway, there's a few things to check and look out for...hopefully that'll get you going. Bryan _______________________________________________ users mailing list users@conserver.com https://www.conserver.com/mailman/listinfo/users --------------9977D624DDB8BBDE456882C7-- From cfowler@outpostsentinel.com Tue Jun 25 13:38:27 2002 Received: from cfowler.linuxiceberg.com (dsl-64-129-131-125.telocity.com [64.129.131.125]) by underdog.stansell.org (8.12.4/8.12.4) with ESMTP id g5PKcQRc000747 for ; Tue, 25 Jun 2002 13:38:26 -0700 (PDT) Received: from [192.168.1.7] ([192.168.1.7]) by cfowler.linuxiceberg.com (8.11.6/8.11.6) with ESMTP id g5PKdNc12114; Tue, 25 Jun 2002 16:39:24 -0400 Subject: Re: [Fwd: Whats this error] From: Christopher Fowler To: George Milder Cc: users@conserver.com In-Reply-To: <3D18D3A7.90F91FEE@cats.ucsc.edu> References: <3D18D3A7.90F91FEE@cats.ucsc.edu> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.3 (1.0.3-4) Date: 25 Jun 2002 16:44:05 -0400 Message-Id: <1025037846.2750.8.camel@devel> Mime-Version: 1.0 Sender: users-admin@conserver.com Errors-To: users-admin@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Conserver Users List-Unsubscribe: , List-Archive: When all else fails, use strace to trace the system calls. You'll know where this is failing and how to fix it. On Tue, 2002-06-25 at 16:33, George Milder wrote: > Well, I have turned off whatever filters I thought I had enabled. Turned > back on most of the inet daemons I had turned > off, rebuilt conserver-7.2.2 and receive the same error message - > Connection refused. > > nsswitch has files as the lookup method for hosts, and the etc/hosts has > the address, fqdn and console on the line. > > /etc/services has > > console 782/tcp conserver # console server > > in it. > > So, I am not sure what else needs to be changed. I know I must be > shooting myself in the foot somewhere, 'cause this can't > be that difficult to run. > > The only other thing I can think of is that this system has dual nets. 1 > on the public side and a private side that has the actual console > servers. > > Any other suggestions would be appreciated. > ---- > > From: Bryan Stansell > To: users@conserver.com > Subject: Re: Whats this error > Date: 21 Jun 2002 14:49:30 -0700 > > On Fri, Jun 21, 2002 at 02:11:21PM -0700, George Milder wrote: > > I just built the conserver 7.2.2 and when I run console I get > > > > console: connect: 782@console: Connection refused > > > > Can someone tell me where I went wrong. > > the client is trying to connect to port 782 of the host named > 'console'. the server isn't up and listening on that port on that > host. so, either 'console' isn't the host you expect, or the server > didn't start properly (check the logs), or you have other issues (like > filters). anyway, there's a few things to check and look out > for...hopefully that'll get you going. > > Bryan > _______________________________________________ > users mailing list > users@conserver.com > https://www.conserver.com/mailman/listinfo/users > From mtdolan@twinight.org Tue Jun 25 13:44:06 2002 Received: from dawn.twinight.org (IDENT:postfix@dawn.twinight.org [65.39.69.132]) by underdog.stansell.org (8.12.4/8.12.4) with ESMTP id g5PKi5Rc000824 for ; Tue, 25 Jun 2002 13:44:06 -0700 (PDT) Received: by dawn.twinight.org (Postfix, from userid 2016) id 0FEDA4AD7; Tue, 25 Jun 2002 16:43:58 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by dawn.twinight.org (Postfix) with SMTP id F1D242E1C8 for ; Tue, 25 Jun 2002 16:43:57 -0400 (EDT) Date: Tue, 25 Jun 2002 16:43:57 -0400 (EDT) From: Michael Dolan To: users@conserver.com Subject: Re: [Fwd: Whats this error] In-Reply-To: <1025037846.2750.8.camel@devel> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: users-admin@conserver.com Errors-To: users-admin@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Conserver Users List-Unsubscribe: , List-Archive: You might try: console -M ip_addr -P to see if it can even connect to the conserver daemon on the host. that should report the PID of the conserver daemon running on "ip_addr". then try console -M console -P On 25 Jun 2002, Christopher Fowler wrote: > Date: 25 Jun 2002 16:44:05 -0400 > From: Christopher Fowler > To: George Milder > Cc: users@conserver.com > Subject: Re: [Fwd: Whats this error] > > When all else fails, use strace to trace the system calls. You'll know > where this is failing and how to fix it. From corr0823@yahoo.com Tue Jun 25 22:03:07 2002 Received: from web40008.mail.yahoo.com (web40008.mail.yahoo.com [66.218.78.26]) by underdog.stansell.org (8.12.4/8.12.4) with SMTP id g5Q537Rc004865 for ; Tue, 25 Jun 2002 22:03:07 -0700 (PDT) Message-ID: <20020626050302.11309.qmail@web40008.mail.yahoo.com> Received: from [65.199.229.162] by web40008.mail.yahoo.com via HTTP; Tue, 25 Jun 2002 22:03:02 PDT Date: Tue, 25 Jun 2002 22:03:02 -0700 (PDT) From: corr0823 Subject: Re: break sequence not working CS9000 -> Sun's To: Bryan Stansell , users@conserver.com In-Reply-To: <20020624025522.Z394@underdog.stansell.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: users-admin@conserver.com Errors-To: users-admin@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Conserver Users List-Unsubscribe: , List-Archive: --- Bryan Stansell wrote: > On Mon, Jun 24, 2002 at 08:48:14AM +0100, > Nicholas.Penney@uk.ing.com wrote: > > I have tried and tried but cannot get the \r~^b > key sequence to cause a > > break whilst connected to any of my servers using > the CS9000's, however they > > DO respond when I attach direct using a vt100 > console! > > i was curious, so i took a quick peek at the cs9000 > docs that are > online. i couldn't find anything except for the > 'set telnet' command. > there's a 'mapnl' option that looks interesting. a > 'show telnet line > 1' should show if it's on for line 1. i'd bet it > shouldn't be. the > 'mode' option probably should be off as well. i'm > thinking that either > the CR is being mapped to NL or a NL is being > inserted or some other > such manipulation is being done and therefore the > sun isn't seeing the > right sequence. at least, that's my theory - based > on no real idea of > what those options are supposed to do since they > aren't documented > well. > > > The servers I tested (Netra's) do respond to a #. > sequence to cause them to > > drop to the LOM prompt, and from there I can do a > reset but it's "just not > > right". Since Netra's have no keyboard, they will not accept the alternate break sequence of ~CNTLB. I have tested the alternate break sequence with our CLIM and the CS9000 on an ultra10 with KEYBOARD_ABORT=alternate set in /etc/default/kbd and it works fine. > > i agree, but it's at least a fallback position. > > > Even though I haven't got the "alternate break > sequence" for Sun's working > > yet, could you look at introducing the 0.5 second > delays in the sequence as, > > as I read it, they are needed. > > yeah, i'm looking into it no matter what. just not > sure how to deal > with the code yet. > > Bryan > _______________________________________________ > users mailing list > users@conserver.com > https://www.conserver.com/mailman/listinfo/users __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com From mtdolan@twinight.org Wed Jun 26 06:01:52 2002 Received: from dawn.twinight.org (IDENT:postfix@dawn.twinight.org [65.39.69.132]) by underdog.stansell.org (8.12.4/8.12.4) with ESMTP id g5QD1qRc011627; Wed, 26 Jun 2002 06:01:52 -0700 (PDT) Received: by dawn.twinight.org (Postfix, from userid 2016) id A65C34AD7; Wed, 26 Jun 2002 09:01:41 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by dawn.twinight.org (Postfix) with SMTP id 93AA32E1C7; Wed, 26 Jun 2002 09:01:41 -0400 (EDT) Date: Wed, 26 Jun 2002 09:01:41 -0400 (EDT) From: Michael Dolan To: corr0823 Cc: Bryan Stansell , users@conserver.com Subject: Re: break sequence not working CS9000 -> Sun's In-Reply-To: <20020626050302.11309.qmail@web40008.mail.yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: users-admin@conserver.com Errors-To: users-admin@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Conserver Users List-Unsubscribe: , List-Archive: On Tue, 25 Jun 2002, corr0823 wrote: > Since Netra's have no keyboard, they will not > accept the alternate break sequence of > ~CNTLB. As I understand it, there existed a undocumented bug in the Netra OBP that did not allow the alternate break to be set correctly. I am uncertain which rev of the OBP patch fixed it, but all of our netra devices are flashed with both the stdalone and system OBP flash files (patch 108620-04 and 108673-02 respectively), and all respond to the ~^B sequence. This has been tested with a direct connection to serial B on another sun (E4500) and through the conserver with the netra attached to a Digi PSCM32 console device. Try upgrading your OBP. Remember though, the alternate break mapping isnt consulted until part way through the boot sequence, so ~# should be used during memory test or very early in the boot cycle. -dolan From eldrik@logrus.com Fri Jun 28 10:15:08 2002 Received: from maelstrom.logrus.com (IDENT:root@maelstrom.logrus.com [209.157.143.163]) by underdog.stansell.org (8.12.4/8.12.4) with ESMTP id g5SHF7Rc016473 for ; Fri, 28 Jun 2002 10:15:07 -0700 (PDT) Received: from [10.6.34.42] (avfw.sv.av.com [209.73.174.251]) (authenticated) by maelstrom.logrus.com (8.11.0/8.11.0) with ESMTP id g5SHF6F09898 for ; Fri, 28 Jun 2002 10:15:06 -0700 Date: Fri, 28 Jun 2002 10:13:37 -0700 From: "Bruce Z. Lysik" Reply-To: "Bruce Z. Lysik" To: users@conserver.com Subject: Log rotating? Message-ID: <958315885.1025259217@[10.6.34.42]> X-Mailer: Mulberry/2.2.1 (Win32) X-URL: http://www.logrus.com/~eldrik X-Attribution: BZL MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: users-admin@conserver.com Errors-To: users-admin@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Conserver Users List-Unsubscribe: , List-Archive: Hi guys, Just a quick question: does conserver rotate any of its own logs, or should we use our own log rotating scripts? Thanks! -- Bruce Z. Lysik http://www.logrus.com/~eldrik From jrj@gandalf.cc.purdue.edu Fri Jun 28 10:37:21 2002 Received: from gandalf.cc.purdue.edu (root@gandalf.cc.purdue.edu [128.210.135.25]) by underdog.stansell.org (8.12.4/8.12.4) with ESMTP id g5SHbKRc016671 for ; Fri, 28 Jun 2002 10:37:20 -0700 (PDT) Received: from gandalf.cc.purdue.edu (jrj@localhost [127.0.0.1]) by gandalf.cc.purdue.edu (8.12.1/8.12.1) with ESMTP id g5SHbFan022322; Fri, 28 Jun 2002 12:37:15 -0500 (EST) Message-Id: <200206281737.g5SHbFan022322@gandalf.cc.purdue.edu> To: "Bruce Z. Lysik" cc: users@conserver.com Subject: Re: Log rotating? In-reply-to: Your message of "Fri, 28 Jun 2002 10:13:37 MST." <958315885.1025259217@[10.6.34.42]> Reply-to: jrj@purdue.edu MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----- =_aaaaaaaaaa0" Content-ID: <22311.1025285499.0@gandalf.cc.purdue.edu> Date: Fri, 28 Jun 2002 12:37:15 -0500 From: "John R. Jackson" Sender: users-admin@conserver.com Errors-To: users-admin@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Conserver Users List-Unsubscribe: , List-Archive: ------- =_aaaaaaaaaa0 Content-Type: text/plain; charset="us-ascii" Content-ID: <22311.1025285499.1@gandalf.cc.purdue.edu> >Just a quick question: does conserver rotate any of its own logs, or should >we use our own log rotating scripts? It does not roll its own. I store my "live" log files in /var/adm/consoles/current. I run the attached cs.swap script at the start of each month. It creates a new archive area (/var/adm/consoles/archive/YYYY-MM-DD) and renames the live log files into the archive area. Then it pre-creates each new log file with a little message that the swap happened (and showing a timestamp of when the log file begins): +++ console1.cc.purdue.edu console log swap: 2002-06-01 08:12:21 Then it HUP's conserver to cause it to switch to the new files. Finally, it goes through the archived files and appends a message like the above to show when the file was terminated, and then it gzip's them. Like most of my script coding, you can set the DEBUG environment variable to "print" (or "echo") as you run the script to see what it would do: DEBUG=print cs.log console log swap In other words, make sure you test this before running it for real. I don't trust my own code. You shouldn't either :-). >Bruce Z. Lysik John R. Jackson, Technical Software Specialist, jrj@purdue.edu ------- =_aaaaaaaaaa0 Content-Type: application/octet-stream; type="script"; name="cs.log" Content-ID: <22311.1025285499.2@gandalf.cc.purdue.edu> Content-Description: cs.log #!/bin/ksh ### # Add messages to an idle console server log file. ### cd /var/adm/consoles/current || exit 1 #JJ cd /var/tmp/jrj/current || exit 1 Pgm=${0##*/} Type=${Pgm%logs} ### # Note: some of this code is replicated (except $log -> $swap) in cs.swap. # if you change something here, change it there as well. ### host="$(uname -n)" ds="$(date '+%Y-%m-%d %T')" function add_log { log=$1 shift if [[ -z $DEBUG ]] then print "\r" >> $log print +++ $host "$@": "$ds\r" >> $log print "\r" >> $log else $DEBUG print "\\\r" '>>' $log $DEBUG print +++ $host "$@": "$ds\\\r" '>>' $log $DEBUG print "\\\r" '>>' $log fi } add_log conserver "$@" grep -v '^#' < /usr/local/etc/conserver.cf \ | sed 's/:/ /g' \ | while read f line junk do if [[ $f = %% ]] then break fi if [[ -z $line ]] then continue fi add_log $f "$@" done exit 0 ------- =_aaaaaaaaaa0 Content-Type: application/octet-stream; type="script"; name="cs.swap" Content-ID: <22311.1025285499.3@gandalf.cc.purdue.edu> Content-Description: cs.swap #!/bin/ksh ### # Swap the console server log files. ### umask 022 top=/var/adm/consoles #JJ top=/var/tmp/jrj cd $top/current || exit 1 archive=$top/archive/$(date "+%Y-%m-%d") ${DEBUG} mkdir -p $archive || exit 1 for f in * do if [[ -d $f ]] then continue fi ${DEBUG} mv -i $f $archive/$f if [[ -z $(grep "^$f:" /usr/local/etc/conserver.cf) \ && $f != conserver ]] then print +++ log file for $f is obsolete +++ ${DEBUG} mkdir -p OLD ${DEBUG} mv -i $f OLD/$f fi done /usr/local/sbin/cs.log console log swap ${DEBUG} kill -HUP $(< /usr/local/etc/conserver.pid) ${DEBUG} sleep 5 ${DEBUG} cd $archive || exit 1 swap=$top/SWAP ${DEBUG} rm -f $swap set -- console log swap ### # The following code is almost identical to that in cs.log. Keep them # in sync. ### host="$(uname -n)" ds="$(date '+%Y-%m-%d %T')" if [[ -z $DEBUG ]] then print "\r" >> $swap print +++ $host "$@": "$ds\r" >> $swap print "\r" >> $swap else $DEBUG print "\\\r" '>>' $swap $DEBUG print +++ $host "$@": "$ds\\\r" '>>' $swap $DEBUG print "\\\r" '>>' $swap fi for f in * do ${DEBUG-eval} "cat $swap >> $f" ${DEBUG} gzip -v $f done ${DEBUG} rm -f $swap exit 0 ------- =_aaaaaaaaaa0-- From jh@axis.com Sun Jun 30 22:33:10 2002 Received: from miranda.axis.se (miranda.axis.se [193.13.178.2]) by underdog.stansell.org (8.12.4/8.12.4) with ESMTP id g615X9Rc021142 for ; Sun, 30 Jun 2002 22:33:10 -0700 (PDT) Received: from milamber.axis.se (jh-vtun-laptop.axis.se [10.2.8.6]) by miranda.axis.se (8.12.2/8.12.2/Debian -5) with ESMTP id g615Wxsf013252; Mon, 1 Jul 2002 07:32:59 +0200 Received: from axis.com (localhost. [127.0.0.1]) by milamber.axis.se (8.12.4/8.12.4/Debian-1) with ESMTP id g615X8Dq010377; Mon, 1 Jul 2002 07:33:08 +0200 Content-Transfer-Encoding: binary Content-Type: multipart/signed; boundary="_----------=_1025501586103481"; protocol="application/pgp-signature" MIME-Version: 1.0 References: <200206281737.g5SHbFan022322@gandalf.cc.purdue.edu> Subject: Re: Log rotating? To: jrj@purdue.edu In-Reply-To: Message from "John R. Jackson" of "Fri, 28 Jun 2002 12:37:15 CDT." <200206281737.g5SHbFan022322@gandalf.cc.purdue.edu> Cc: "Bruce Z. Lysik" , users@conserver.com X-Mailer: jevim v2.11 Date: Mon, 01 Jul 2002 07:33:08 +0200 Message-ID: <10376.1025501588@axis.com> From: Joergen Haegg Sender: users-admin@conserver.com Errors-To: users-admin@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Conserver Users List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. --_----------=_1025501586103481 Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1025501586103480" MIME-Version: 1.0 References: <200206281737.g5SHbFan022322@gandalf.cc.purdue.edu> Subject: Re: Log rotating? To: jrj@purdue.edu In-Reply-To: Message from "John R. Jackson" of "Fri, 28 Jun 2002 12:37:15 CDT." <200206281737.g5SHbFan022322@gandalf.cc.purdue.edu> Cc: "Bruce Z. Lysik" , users@conserver.com X-Mailer: MIME::Lite 2.117 (F2.6; T0.16; A1.44; B2.12; Q2.03) This is a multi-part message in MIME format. --_----------=_1025501586103480 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain In message <200206281737.g5SHbFan022322@gandalf.cc.purdue.edu> you write: --_----------=_1025501586103480 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="iso-8859-1" >>Just a quick question: does conserver rotate any of its own logs, or should >>we use our own log rotating scripts? The Debian package uses logrotate, here is the default logrotate config file: /var/log/conserver/*.log { rotate 7 size 300k daily compress missingok postrotate /etc/init.d/conserver-server reload endscript } --_----------=_1025501586103480-- --_----------=_1025501586103481 Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQA9H+mSygfmFBKqHbgRAnuqAJ9IGxRx5bsClLzTsftwzfIK/odEHQCgxg5Y BfDi5YLrzsA4Cw1zlIduWis= =5RFB -----END PGP SIGNATURE----- --_----------=_1025501586103481--