<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Wrfile on /etc/messages in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/Wrfile-on-etc-messages/m-p/7208#M1567</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You won't be able to recover what was lost (unless in a snapshot) but you can reset syslog and it will start collecting again..saves a reboot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;priv set advanced ; syslog reset_syslog &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Jun 2012 19:24:09 GMT</pubDate>
    <dc:creator>scottgelb</dc:creator>
    <dc:date>2012-06-15T19:24:09Z</dc:date>
    <item>
      <title>Wrfile on /etc/messages</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Wrfile-on-etc-messages/m-p/7205#M1565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi frndz,&lt;/P&gt;&lt;P&gt;I have wrongly used wrfile on /etc/messages ,now when i am viewing the rdfile /etc/messages is showing empty.How to get the logs back in that folder..?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Saran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2012 19:17:09 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Wrfile-on-etc-messages/m-p/7205#M1565</guid>
      <dc:creator>saranraj456</dc:creator>
      <dc:date>2012-06-15T19:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: Wrfile on /etc/messages</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Wrfile-on-etc-messages/m-p/7208#M1567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You won't be able to recover what was lost (unless in a snapshot) but you can reset syslog and it will start collecting again..saves a reboot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;priv set advanced ; syslog reset_syslog &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2012 19:24:09 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Wrfile-on-etc-messages/m-p/7208#M1567</guid>
      <dc:creator>scottgelb</dc:creator>
      <dc:date>2012-06-15T19:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: Wrfile on /etc/messages</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Wrfile-on-etc-messages/m-p/7217#M1572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From snapshot or backup.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Jun 2012 05:29:21 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Wrfile-on-etc-messages/m-p/7217#M1572</guid>
      <dc:creator>aborzenkov</dc:creator>
      <dc:date>2012-06-16T05:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: Wrfile on /etc/messages</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Wrfile-on-etc-messages/m-p/7222#M1575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The data is not recovered ,because we dont have any snapshot and backup.Just we did a restart of syslog.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Jun 2012 10:48:14 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Wrfile-on-etc-messages/m-p/7222#M1575</guid>
      <dc:creator>saranraj456</dc:creator>
      <dc:date>2012-06-16T10:48:14Z</dc:date>
    </item>
    <item>
      <title>Re: Wrfile on /etc/messages</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Wrfile-on-etc-messages/m-p/103389#M20994</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/11259"&gt;@scottgelb&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;You won't be able to recover what was lost (unless in a snapshot) but you can reset syslog and it will start collecting again..saves a reboot&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;priv set advanced ; syslog reset_syslog &lt;/STRONG&gt;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Thank you for this command! It really helped me out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note to others:&lt;/P&gt;&lt;P&gt;I was on my console, and when I did it, it said "bad syslog.conf line "*.info"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I looked at another filer syslog.conf I had that was working, copied it, wrote it, and then restarted the syslog again.&lt;/P&gt;&lt;P&gt;This time it worked.&lt;/P&gt;&lt;PRE&gt;filer_name*&amp;gt; syslog reset_syslog
filer_name*&amp;gt; Fri Apr 17 12:45:33 EDT [syslogd]: logerror syslogd: bad syslog.conf line "*.info"

Fri Apr 17 12:45:33 EDT [syslogd]: logerror syslogd: bad syslog.conf line "*.info"

Fri Apr 17 12:45:33 EDT [syslogd]: logerror syslogd: bad syslog.conf line "*.info"


filer_name*&amp;gt; rdfile /etc/messages
filer_name*&amp;gt; version
NetApp Release 8.2.3 7-Mode: Thu Jan 15 21:30:45 PST 2015

filer_name*&amp;gt; rdfile /etc/syslog.conf
*.info
*.info
*.info

filer_name*&amp;gt; wrfile /etc/syslog.conf
*.info                                  /dev/console
*.info                                  /etc/messages
read: error reading standard input: Interrupted system call

filer_name*&amp;gt; rdfile /etc/syslog.conf
*.info                                  /dev/console
*.info                                  /etc/messages

filer_name*&amp;gt; syslog reset_syslog
filer_name*&amp;gt; Fri Apr 17 13:00:00 EDT [filer_name:kern.uptime.filer:info]:   1:00pm up 32 days, 11:16&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps somebody.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2015 17:18:19 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Wrfile-on-etc-messages/m-p/103389#M20994</guid>
      <dc:creator>RichardKenyan</dc:creator>
      <dc:date>2015-04-17T17:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: Wrfile on /etc/messages</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Wrfile-on-etc-messages/m-p/103866#M21093</link>
      <description>&lt;P&gt;That's exactly what I needed Richard. &amp;nbsp;I wonder how those syslog.conf files get wiped out like that? &amp;nbsp;Only major changes I had on this pair was an upgrade to 8.2.3p1 about 2 weeks back.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I didn't do a wite file on my messages file, but about a week ago, my console and messages log files stopped showing data (just noticed today looking for lun reset requests from last night). &amp;nbsp;Your post was right on point to get it working again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2015 19:46:01 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Wrfile-on-etc-messages/m-p/103866#M21093</guid>
      <dc:creator>mfriedenfeld</dc:creator>
      <dc:date>2015-04-28T19:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: Wrfile on /etc/messages</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Wrfile-on-etc-messages/m-p/136026#M29930</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is recommended that all &lt;STRONG&gt;/etc/syslog.conf&lt;/STRONG&gt; files include the line.&lt;/P&gt;&lt;P&gt;*.info&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /etc/messages&lt;/P&gt;&lt;P&gt;*.info&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /etc/console&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2017 16:52:19 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Wrfile-on-etc-messages/m-p/136026#M29930</guid>
      <dc:creator>rsankuru</dc:creator>
      <dc:date>2017-11-15T16:52:19Z</dc:date>
    </item>
  </channel>
</rss>

