From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <97657637017296.tru64-unix-managers.marc@archive.invalid> From: Trevor Osatchuk Date: Mon, 11 Dec 2000 23:04:50 +0000 To: tru64-unix-managers Subject: ASU, grep and rsh errors, related? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=97657637017296 Hey managers! I have a few of questions about things that are happening during the boot up of my Tru64 4.0f Alpha. I am not sure if they are related so I may be grouping a couple of problems into one long email. My apologies for my complete ignorance of the term brevity. I wonder if the following problems have to do with netrain and ASU. I have had each installed separately and working correctly on the Alpha, but I have odd messages when they are both running at the same time. 1. I installed ASU (version 4.1 I believe) successfully using setld and then removed it using setld -d (four subsets). Firstly, is this a clean and accepted way to 'uninstall' software? Is there anything left behind that could cause trouble in another program, or if I were to try to reinstall ASU? Well, then I reinstalled it and it seems to work fine. The only problem is that during the boot I see the following: System messages... Crontab usage: grep [-E | -F] [-c|-l|-q] [-insvxbhwy] [-p parasep] -e pattern_list... [-f pattern_file...] [file...] usage: grep [-E | -F] [-c|-l|-q] [-insvxbhwy] [-p parasep] [-e pattern_list...] -f pattern_file... [file...] usage: grep [-E | -F] [-c|-l|-q] [-insvxbhwy] [-p parasep] pattern [file...] usage: grep [-E | -F] [-c|-l|-q] [-insvxbhwy] [-p parasep] -e pattern_list... [-f pattern_file...] [file...] usage: grep [-E | -F] [-c|-l|-q] [-insvxbhwy] [-p parasep] [-e pattern_list...] -f pattern_file... [file...] usage: grep [-E | -F] [-c|-l|-q] [-insvxbhwy] [-p parasep] pattern [file...] usage: grep [-E | -F] [-c|-l|-q] [-insvxbhwy] [-p parasep] -e pattern_list... [-f pattern_file...] [file...] usage: grep [-E | -F] [-c|-l|-q] [-insvxbhwy] [-p parasep] [-e pattern_list...] -f pattern_file... [file...] usage: grep [-E | -F] [-c|-l|-q] [-insvxbhwy] [-p parasep] pattern [file...] Start: TCP/IP NetBIOS controller_01 nr0 Starting the TCP/IP NetBIOS service... The following STREAMS devices were created: Name Major Minor ---- ----- ----- /dev/streams/knbtcp 32 65 /dev/streams/knbadm 32 66 /dev/streams/knbtcpd 32 67 TCP/IP NetBIOS: Starting knblink ... controller(s) configured as 'nr0' kernel dynamic cache will be enabled lmhosts file use *not* enabled DNS server use *not* enabled NBNS server use *not* enabled Successfully configured with controller(s) 'nr0' TCP/IP NetBIOS service started I don't have any crontab entries with grep in them, so that is not the problem. What I want to know is where are the grep messages coming from? I think that I know where, but I am not sure of why. I ran asusetup again just to double-check my configuration. I change anything, but I got the same grep error statements as above right after: Starting the transports... So, it would seem that there is something wrong with the script. I am not any kind of scripting guru so I wonder if anyone has seen this problem before, or if anyone could give me a hint on what to look for.(or an explanation as to why this is happening) I did a: "/usr/sbin> grep "grep -" asusetup" and there were no illegal flags in the file. Why is this seen at startup and how I can fix it? 2. My server has no hostname. I have the line: "HOSTNAME="mustang" in the /etc/rc.config file but the command hostname returns nothing. If I run the command: "hostname mustang" I know that I will get that as a hostname, but what file is that configured in if not the rc.config? Is this some kind of problem with netrain and ASU configured together?(ASU config names mustang, itself, as the primary) 3. In the console log when logging directly onto the server as root I am getting the following: Console log for rsh: illegal option -- s usage: rsh [-ndx] [-l login] host [command] rsh: illegal option -- s usage: rsh [-ndx] [-l login] host [command] rsh: illegal option -- s usage: rsh [-ndx] [-l login] host [command] There are no console messages for any other user when logging on directly to the server. Snooping around I found the following in the /.dt/errorlog file: Mon Dec 11 13:50:20 2000 dtsession: > strings dtsession | grep rsh and got: rsh %s -n %s & This seems to be the statement where the message is coming from, so where does it get the string "-screen" from? Does this have anything to do with ASU or netrain? Thanks in advance!! Trevor Osatchuk Process Solutions Canada Ltd. Support and Integration Analyst (780) 452-2227 Ext. 286 trevor.osatchuk@pscl.com