Unix administration - Debuging inittab init.d rc*.d

This is Interesting: Free IT Magazines  
Home > Archive > Unix administration > January 2004 > Debuging inittab init.d rc*.d





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Debuging inittab init.d rc*.d
KrisK

2004-01-23, 4:28 pm

on Solaris 5.x

Could someone help me what to do, and where to look for
debug information/logs of echo command display from
init.d script?

My scripts are running because I can pipe the echo into
temp file, but where it is written if anywhere, when
i am not redirecting?

For example:
in init.d I have a script linked from rc2.d S90start..

start.sh:
....
echo `date` "My deamon before start (where?)"
echo `date` "My deamon before start (file ok)" >> /tmp/mylog.log

Where
[date]My deamon before start (where?)
would be written by system, tho which log, what has to be done
to enable it?

I check var/adm var/log - could not find any mesage

Thank you
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com