[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference smurf::buildhelp

Title:USG buildhelp questions/answers
Moderator:SMURF::FILTER
Created:Mon Apr 26 1993
Last Modified:Mon Jan 20 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2763
Total number of notes:5802

487.0. "gen-ptt from a goldos.nightly sandbox can t send mail" by SMURF::FILTER (Automatic Posting Software - mail to flume::puck) Wed Dec 22 1993 10:13

Date Of Receipt: 	22-DEC-1993 09:46:28.38
	Wed, 22 Dec 1993 09:38:06 -0500
From: 	ABYSS::werme "Eric Werme USG"
	MAILER-DAEMON (Mail Delivery Subsystem)
To: 	abyss::odehelp
	werme
CC: 	
Subj: 	gen-ptt from a goldos.nightly sandbox can't send mail
I tried filing this bug report, but zso rejected it: 	
Return-Path: 	MAILER-DAEMON
Received: 	by abyss.zk3.dec.com (5.65/DEC-USSG-ZK3-ULTRIX-09/27/91);
id AA00898; Wed, 22 Dec 1993 09: 	38:06 -0500
Subject: 	Returned mail: User unknown

   ----- Transcript of session follows -----
While talking to rust.zso.dec.com:
>>> RCPT To:<[email protected]>
<<< 550 <[email protected]>... Addressee unknown
550 <[email protected]>... User unknown

   ----- Unsent message follows -----
Received: by abyss.zk3.dec.com (5.65/DEC-USSG-ZK3-ULTRIX-09/27/91);
	id AA00894; Wed, 22 Dec 1993 09:38:06 -0500
From: werme (Eric Werme USG)
Received: by alingo; id AA01710; Wed, 22 Dec 1993 09:38:05 -0500
Date: Wed, 22 Dec 1993 09:38:05 -0500
Message-Id: <9312221438.AA01710@alingo>
Subject:     Problem Submission
Apparently-To: [email protected]

Mail this report to:         [email protected]

Note: ALL CAPS=Mandatory field
Problem Submission Form  Wed Dec 22 09:21:01 EST 1993
Required Information
====================
YOUR NAME:                   Eric Werme
Your Email address:          [email protected]
YOUR PHONE NUMBER:           603-881-0695
Your FAX number:             DTN 381-xxxx

Your company name:           Digital Equipment Corp.  
Your mailstop:               ZKO3/U14
YOUR ORGANIZATION'S NAME:    USSG
YOUR COST CENTER:            3Y9
Your street address:         110 Spit Brook Rd
                             Nashua NH 03062-2642
                             
                             
--------------------------------------
CUSTOMER'S COMPANY NAME:     DEC
CUSTOMER COUNTRY:            USA

--------------------------------------
PRODUCT:                     ode
Product version (optional):  V2.0
OS HARDWARE:                 OSF1/alpha
OS Hardware version:         96
Workstation soft version (optional): DEC OSF/1
COMPONENT:                   shell_scripts
Component version (optional): 
Other (optional):           
OTHER Version (optional):   
SYSTEM WHERE PROBLEM OCCURRED: alingo.zk3.dec.com

CPU type:                    alpha DEC3000_500 
Display type:                1 display of type=14
Memory size: 			not an issue                
System disk: 			not an issue                
Other hardware configuration information:

Other software configuration information:
DEC OSF/1 T1.3-5  (Rev. 96); Wed Sep 01 10:31:59 EDT 1993 
DEC OSF/1 X2.0-7 Worksystem Software (Rev. 174)

--------------------------------------
PROBLEM ABSTRACT (80 characters or less): 

/sbin/init.d/ode often doesn't complete

PROBLEM PRIORITY (1-5, 1 being most critical): 4
CAN THE CUSTOMER REPRODUCE THE PROBLEM [Y/N]:  Y
CAN YOU REPRODUCE THE PROBLEM [Y/N]:           Y


PROBLEM STATEMENT:        
=================         

I and others who use the ode startup script often have to rerun it because
it doesn't necessarily mount all the filesystems.  It occurred to me a
while back that perhaps the problem is similar to those we've seen with
backgrounded mounts and other startup problems.  That is, when the rc3
script is finished (or soon thereafter) a signal (I'm not sure which) I
sent to the process group that winds up killing all processes in that
process group (or should I be calling it a session?).

The bourne shell has *no* idea about such things, the C and Korn shell
do, but I don't fully understand them and intend to keep it that way.
The fix for daemons is to execute something like:

	(void) setsid();	[usr/ccs/lib/libutil/daemon.c]
or
	(void) setpgrp(getpid(), getpid()); [/usr/sbin/portmap/portmap.c]

I believe these are functionally identical, but I don't fully understand
them and intend to keep it that way.

It may also be that changing the first link of the ode script to:

	#!/usr/bin/ksh

will work.  I just did that and "ode stop" and "ode start" seem to work fine.
I have yet to reboot and see if that will fix things, as I don't fully
understand process groups and intend to keep it that way.  I'm submitting
the bug report now because if the ksh line does fix things I'll never
get around to reporting that.

Instructions to reproduce the problem:   
======================================

Make a long ODE_ODEMOUNT_STRING entry in /etc/rc.config and reboot a machine
that has /sbin/init.d/ode setup.

--------------------------------------

ODE-II product specific information:
====================================
WORKON=1
SANDBOX=gold
BCSSET=
BCSPORT=548
BCSDIRECTORY=/usr/sde/ode2.0
BCSHEADERS=/usr/sde/alpha/headers
PRINCIPAL=Eric_Werme
EDITOR=/usr/ucb/emacs
PATH=/usr/sde/osf1/build/goldos.nightly/tools/alpha_OSF1/alpha/hostbin:/usr/sde/osf1/build/goldos.nightly/tools/alpha_OSF1/alpha/bin:/usr/sde/osf1/build/goldos.nightly/tools/alpha_OSF1/alpha/acc:/usr/sde/osf1/build/goldos.nightly/tools/alpha_OSF1/alpha/hostbin:/usr/sde/osf1/build/goldos.nightly/tools/alpha_OSF1/alpha/bin:/usr/sde/osf1/build/goldos.nightly/tools/alpha_OSF1/alpha/acc:/usr/sde/ode2.0/tools/alpha_ace/bin:/usr/ucb:/bin:/usr/bin:/sbin:/usr/sbin:/usr/werme/bin:/usr/staff/werme/bin:/etc:/usr/etc
:/usr/local:/usr/local/bin:/usr/lbin:/usr/bin/X11:/usr/dec:.

Results from currentsb -all:
============================
gold Eric_Werme_gold /usr/werme/sb . /usr/werme/sb/gold/rc_files/local /share/bigbld/build/goldos.dsk1/goldos.nightly0 

Results from check_ode:
=======================
Check_ode for ODE-II V2.0 -- $Revision: 1.1.4.7 $
Wed Dec 22 09:21:08 EST 1993
Using logfile=tmp1589.logfile
             
Checking client/sandbox alingo.zk3.dec.com  Wed Dec 22 09:21:08 EST 1993        
    Info -- Checking Client        
    Info -- alingo.zk3.dec.com: ODE-II client Load=0        

Error No. 1 ---------- Wed Dec 22 09:21:09 EST 1993
    alingo.zk3.dec.com: account devbld not in group devode


Error No. 2 ---------- Wed Dec 22 09:21:09 EST 1993
    alingo.zk3.dec.com: account devrcs not in group devode


Error No. 3 ---------- Wed Dec 22 09:21:09 EST 1993
    alingo.zk3.dec.com: account devbld not in group staff


Error No. 4 ---------- Wed Dec 22 09:21:09 EST 1993
    alingo.zk3.dec.com: account devrcs not in group staff

    Info -- Checking sandbox /usr/werme/sb/gold        
    Info -- Node alingo.zk3.dec.com to lastin.zk3.dec.com        
            latency 2 ms, packet loss 0%.        
    Info -- lastin   up  9+21:23,     0 users,  load 0.19, 0.21, 0.00        

Error No. 5 ---------- Wed Dec 22 09:21:48 EST 1993
    Can not ping from alingo.zk3.dec.com to abyss.zk3.dec.com

    Info -- Node alingo.zk3.dec.com to buffer.zk3.dec.com        
            latency 25 ms, packet loss 0%.        
             
    Client/sandbox  error count is 5        

T.RTitleUserPersonal
Name
DateLines