|
Partial Summary: /var/adm/messages stops, dissapears.: msg#00131os.solaris.managers.summaries
Thanks to Gene Siepka, who quickly pointed out that sanity checking your files is ALWAYS helpful! He noted that I was copying over the messages file in the section where I re-copied the files he said: I believe your script is killing your /var/adm/messages file... Try changing the line: /usr/bin/cp /dev/null /var/adm/messages to /usr/bin/cat /dev/null > /var/adm/messages -Gene (original problem is that /var/adm/messages dissapears after a few minutes.) ***However-- mitch says (again) that those copies should ONLY excute if file is NOT found this: (And instead of re-clobbering my file which should exist, I decided to try >> (append) instead. if [ ! -f /var/adm/messages ]; then /usr/bin/cat /dev/null >> /var/adm/messages /usr/bin/chmod 0644 /var/adm/messages fi More if/when I figure out what is causing it to stop... |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | /var/adm/messages stops, dissapears.: 00131, Bruntel, Mitchell L, ALABS |
|---|---|
| Next by Date: | SUMMARY: Gnome2 on Solaris 9 & Red Hat (fwd): 00131, Christophe Dupre |
| Previous by Thread: | /var/adm/messages stops, dissapears.i: 00131, Bruntel, Mitchell L, ALABS |
| Next by Thread: | SUMMARY: Gnome2 on Solaris 9 & Red Hat (fwd): 00131, Christophe Dupre |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |