tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* NSR:pruning of log files
@ 1999-04-06 20:24 Robert Kubarych
  0 siblings, 0 replies; only message in thread
From: Robert Kubarych @ 1999-04-06 20:24 UTC (permalink / raw)
  To: tru64-unix-managers

Is it safe to prune daemon.log in the same way as they suggest pruning
messages as pasted below? 

TIA.

Rob




On Thu, 1 Apr 1999, Jerry Farlow wrote:
> 
> Date: Thu, 01 Apr 1999 14:56:36 -0500
> From: Jerry Farlow <jerry.farlow@digital.com>
> To: Robert Kubarych <rkubaryc@sunyrockland.edu>
> Cc: Jerry Farlow <jerry.farlow@digital.com>
> Subject: RE: Problems with NSR backup of NT Servers / C990401-176
> 
>     [The following text is in the "iso-8859-1" character set]
>     [Your display is set for the "US-ASCII" character set]
>     [Some characters may be displayed incorrectly]
> 
> 
> Hi Robert,
> 
> Below you will find an article on cleaning up the log file.  I have also
> included the information about a networker mailing list (not worked or
> supported by Compaq) that many people use for NetWorker issues.
> 
> If you need something further on these let me know.
> 
> Jerry Farlow
> Compaq Services / NetWorker Support
> 1-800-354-9000 ex 31297
> 
> 
> [UNIX] NetWorker doesn't log messages in newly created /nsr/logs/messages
> file 
> COMPONENT : 
> VERSION :All versions
> OPERATING SYSTEM OR PRODUCT NAME : 
>  
> PROBLEM : 
> Occasionally, you need to clean up the /nsr/logs/messages file to free up
> disk space because this file will grow very large over time.  If you 
> simply delete the file and create a new file with "touch" command, 
> NetWorker will not log any new message in this new file.  Even if you
> shutdown NetWorker, delete /nsr/logs/messages, and restart NetWorker
> to let NetWorker create a new /nsr/logs/messages file at startup,
> there are still no messages logged in this file.
> 
> ANALYSIS : 
> /nsr/logs/messages is logged by syslogd daemon, and the syslogd
> doesn't know of the newly created /nsr/logs/messages file, therefore
> no new messages are logged to the newly created messages file.
> 
> SOLUTION : 
> There are several solutions:
> 
> 1. If you want to clean up the file totally, use this command:
> 
>      # cat /dev/null > /nsr/logs/messages
> 
>    Or you may do this:
> 
>      # cd /nsr/logs
>      # rm messages
>      # touch messages
>      # kill -HUP `cat /var/run/syslog.pid`
> 
> 2. If you don't want to empty the messages file, and want to save 
>    the last X lines, do this:
> 
>      # cd /nsr/logs
>      # tail -X messages > msg.tmp    (where X is a number)
>      # cat msg.tmp > messages
>      # rm msg.tmp
> 
>    Alternatively, you may simply use your favorite editor to remove 
>    the lines that you don't want to keep.
>  
> 
> 
> The networker mailing list is archived at
> 
> 	http://www.meitca.com/networker <http://www.meitca.com/networker> 
> 
> the login to see the archives is 'networker', the password is 'member'.
> Anyone that's been following the networker list has the login and password;
> they're just there so that SPAMers can't easily harvest email addresses
> using the archive.
> If you do have people that want to subscribe to the list, they should email
> to:
> 
> 	majordomo@meitca.com
> 
> with:
> 
> 	subscribe networker
> 	end
> 
> in the body (not the subject) of the message.  They will then be added to
> the list and will receive the email that I and others send to the list.
> Like any forum for users of a large software package, customer's love some
> features and hate others, and they'll rail on the company that makes the
> software when they feel it's warranted.  It's a great way to see how
> customers really feel, though, and where they're having problems.
> 
> If you ever have someone that wants to send email to the list's subscribers,
> the email would be directed to 'networker@meitca.com'.  Just remember the
> list caters to all NetWorker users, Digital and non-Digital, Unix and
> non-Unix.
> 
> 
> 

               \\|//
               (o -)              
~~~~~~~~~~~oOOo~(_)~oOOo~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 Robert K. Kubarych,
 Asst. Director of Systems Admin. & Programming
 Rockland Community College                
 Suffern, NY  10901                         
 Phone: (914) 574-4799

 Machine:              DEC Alpha 4100           Phone: (914) 574-4799
 OS:                   DU 4.0d                  Fax    (914) 574 - 4354
 Unidata Version:      UDT 3.3.2-64
 Colleague Versions:   16       
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-04-06 20:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-04-06 20:24 NSR:pruning of log files Robert Kubarych

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox