cancel
Showing results for 
Search instead for 
Did you mean: 

/nsr/logs/messages

 
prajul.keeriyat
Occasional Advisor

/nsr/logs/messages

Hi,

The file /nsr/logs/messages is taking up morethan 50MB on my / partition. Can I empty the file using /etc/null>/nsr/logs/messages ?
Any problem..?

4 REPLIES
Steven E. Protter
Exalted Contributor

Re: /nsr/logs/messages

Shalom,

This is not a standard OS log location. The correct answer to your question is, I do not know.

Identify what application is writing there, to see if the data is important or not.

At the very least, plan to crate a mounted file system for this file and relocate it from the root file system.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
singh sanjeev
Trusted Contributor

Re: /nsr/logs/messages

if you do not need them then you can trim it..it store the messages of legato networker, ask you backup administrator..if you ur backup administrator ,check if logs are important or not.

OR you can compressed it and keep it in separate directory:

#cp -p /nsr/logs/messages /nsr/logs/messages.old
#gzip /nsr/logs/messages.old
#>/nsr/logs/messages


Sanjeev Singh
Elmar P. Kolkman
Honored Contributor

Re: /nsr/logs/messages

This file is a standard networker issue...
For some reason Legato and now EMC think that you want this file... even though all the messages in the file are also in /var/adm/syslog/syslog.log.

What you can do to solve this:
1) edit /etc/syslog.conf and comment all lines for files in /nsr/logs (removing the lines can result in problems upgrading/removing networker)
2) reload the syslog daemon with a 'kill -HUP'
3) remove the files from /nsr/logs

Keep in mind that after an upgrade or new installation, this is something that has to be done again...
Every problem has at least one solution. Only some solutions are harder to find.

Re: /nsr/logs/messages

>The file /nsr/logs/messages is taking up > 50MB on my / partition.

Your previous thread:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1437174