Thanks for inputs from:
David Evans
Bill Benedetto
Clifford Thurber
Ronald Loftin
Joel Lee.
These inputs looked at the way various shells were picking up environment
variable. One suggestion
was to check that the su was picking them up properly. I did place some
echo statements in the script
for troubleshooting, and it seemed to pick up alright.
As it turns out, though, it had nothing to do with environment variables.
It's something that I vaguely
recall seeing some years ago where another program required a tty to write
to. This was the case here as well.
A little redirection introduced into the script corrected the problem, and
the daemon comes up on boot
now.
It also appears that I offended an individual with my choice of terminology
for levity. Please note the
substitution in the first line of the original question below.
Thanks, all!
Regards,
- Alan
> -----Original Message-----
> From: Reichert, Alan
> Sent: Tuesday, August 29, 2000 12:34 PM
> To: sun-managers (E-mail)
> Subject: Startup Script problems
>
>
>
> OK, this is probably a **senior moment**, and someone will tell me
> something simple to
> fix this that I've missed, but here goes...
>
> I'm trying to script startup of a package (SDE from ESRI) on
> an Ultra 10 with Sol7.
> If I su to the SDE user and run the startup command, it's fine.
> If I try to run it from the script, it gives me gripes about
> not finding required
> libraries, even though LD_LIBRARY_PATH includes the
> directories where the libraries
> are located, and it is exported. The script will su to the
> SDE user (su user -c <command>) without picking up
> the user's environment variables. (I have tried the other
> way (su - user -c <command>) with the same results).
>
> So! What have I missed?
>
> Thanks.
>
> - Alan "Is this Monday again?" R.
>
S
U BEFORE POSTING please READ the FAQ located at
N ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/faq
. and the list POLICY statement located at
M ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/policy
A To submit questions/summaries to this list send your email message to:
N sun-managers@ececs.uc.edu
A To unsubscribe from this list please send an email message to:
G majordomo@sunmanagers.ececs.uc.edu
E and in the BODY type:
R unsubscribe sun-managers
S Or
. unsubscribe sun-managers original@subscription.address
L To view an archive of this list please visit:
I http://www.latech.edu/sunman.html
S
T
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:15 CDT