<?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 GZIP syslog.log in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/gzip-syslog-log/m-p/3978593#M294041</link>
    <description>Hello folks!&lt;BR /&gt;&lt;BR /&gt;I'm using HPUX 11&lt;BR /&gt;&lt;BR /&gt;Please I would like to know what happen with my syslog.log because I have some servers that is on the same situation in the same time.&lt;BR /&gt;&lt;BR /&gt;There is something that is running in my Servers that is gziping my syslog and I don't know what... below:&lt;BR /&gt;&lt;BR /&gt;/var/adm/syslog&amp;gt; ll&lt;BR /&gt;total 400&lt;BR /&gt;-r--r--r--   1 root       root        115447 Apr 10 06:02 mail.log&lt;BR /&gt;-rw-------   1 root       root         24047 Mar 30 09:09 sudo.log&lt;BR /&gt;-rw-r--r--   1 root       root            72 Apr 10 17:07 syslog.log&lt;BR /&gt;-rw-r--r--   1 root       sys           1411 Apr 10 17:07 syslog.log.1.gz&lt;BR /&gt;-rw-r--r--   1 root       sys           3964 Apr  3 17:07 syslog.log.2.gz&lt;BR /&gt;-rw-r--r--   1 root       root          1314 Mar  6 18:08 syslog.log.3.gz&lt;BR /&gt;-rw-r--r--   1 root       root          3796 Feb 27 18:07 syslog.log.4.gz&lt;BR /&gt;-rw-r--r--   1 root       sys           1204 Feb 20 19:07 syslog.log.5.gz&lt;BR /&gt;&lt;BR /&gt;Please, could someone saw something like that and give me a help?&lt;BR /&gt;&lt;BR /&gt;Thanks a lot!&lt;BR /&gt;clefeitosa</description>
    <pubDate>Tue, 10 Apr 2007 15:29:40 GMT</pubDate>
    <dc:creator>clefeitosa</dc:creator>
    <dc:date>2007-04-10T15:29:40Z</dc:date>
    <item>
      <title>GZIP syslog.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gzip-syslog-log/m-p/3978593#M294041</link>
      <description>Hello folks!&lt;BR /&gt;&lt;BR /&gt;I'm using HPUX 11&lt;BR /&gt;&lt;BR /&gt;Please I would like to know what happen with my syslog.log because I have some servers that is on the same situation in the same time.&lt;BR /&gt;&lt;BR /&gt;There is something that is running in my Servers that is gziping my syslog and I don't know what... below:&lt;BR /&gt;&lt;BR /&gt;/var/adm/syslog&amp;gt; ll&lt;BR /&gt;total 400&lt;BR /&gt;-r--r--r--   1 root       root        115447 Apr 10 06:02 mail.log&lt;BR /&gt;-rw-------   1 root       root         24047 Mar 30 09:09 sudo.log&lt;BR /&gt;-rw-r--r--   1 root       root            72 Apr 10 17:07 syslog.log&lt;BR /&gt;-rw-r--r--   1 root       sys           1411 Apr 10 17:07 syslog.log.1.gz&lt;BR /&gt;-rw-r--r--   1 root       sys           3964 Apr  3 17:07 syslog.log.2.gz&lt;BR /&gt;-rw-r--r--   1 root       root          1314 Mar  6 18:08 syslog.log.3.gz&lt;BR /&gt;-rw-r--r--   1 root       root          3796 Feb 27 18:07 syslog.log.4.gz&lt;BR /&gt;-rw-r--r--   1 root       sys           1204 Feb 20 19:07 syslog.log.5.gz&lt;BR /&gt;&lt;BR /&gt;Please, could someone saw something like that and give me a help?&lt;BR /&gt;&lt;BR /&gt;Thanks a lot!&lt;BR /&gt;clefeitosa</description>
      <pubDate>Tue, 10 Apr 2007 15:29:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gzip-syslog-log/m-p/3978593#M294041</guid>
      <dc:creator>clefeitosa</dc:creator>
      <dc:date>2007-04-10T15:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: GZIP syslog.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gzip-syslog-log/m-p/3978594#M294042</link>
      <description>All I could think of is a cron.&lt;BR /&gt;&lt;BR /&gt;# crontab -l&lt;BR /&gt;&lt;BR /&gt;Review the scripts. You might get a clue.</description>
      <pubDate>Tue, 10 Apr 2007 15:35:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gzip-syslog-log/m-p/3978594#M294042</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2007-04-10T15:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: GZIP syslog.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gzip-syslog-log/m-p/3978595#M294043</link>
      <description>either someone wrote a script to rotate the logs, or you have logrotate installed.</description>
      <pubDate>Tue, 10 Apr 2007 15:38:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gzip-syslog-log/m-p/3978595#M294043</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2007-04-10T15:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: GZIP syslog.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gzip-syslog-log/m-p/3978596#M294044</link>
      <description>There is nothing in HP-UX that will do this. A root user has installed a script or program that is reducing very large logfiles by copying the old log, then uses gzip to reduce the size (significantly). This is very likely an entry in root's crontab since the date on each gzip'ed file is within 1 minute (19:07 18:07 17:07) and always on a Tuesday. The hourly difference may be explained if your root administrator has been changing the time on your system (not recommended).&lt;BR /&gt; &lt;BR /&gt;Now these gzip'ed files are read just as easily as the standard syslog.log. Use the zcat command as in:&lt;BR /&gt; &lt;BR /&gt;zcat syslog.log.3.gz | grep -e fail -e warn -e err&lt;BR /&gt; &lt;BR /&gt;Note that the files are quite small so you can change the crontab entry to once a month rather than once a week.</description>
      <pubDate>Tue, 10 Apr 2007 22:00:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gzip-syslog-log/m-p/3978596#M294044</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2007-04-10T22:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: GZIP syslog.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gzip-syslog-log/m-p/3978597#M294045</link>
      <description>There is nothing in HP-UX that will do this. A root user has installed a script or program that is reducing very large logfiles by copying the old log, then uses gzip to reduce the size (significantly). This is very likely an entry in root's crontab since the date on each gzip'ed file is within 1 minute (19:07 18:07 17:07) and always on a Tuesday. The hourly difference may be explained if your root administrator has been changing the time on your system (not recommended).&lt;BR /&gt; javascript&amp;amp;colon;postAnswerSubmit('submit');&lt;BR /&gt;Submit &lt;BR /&gt;Now these gzip'ed files are read just as easily as the standard syslog.log. Use the zcat command as in:&lt;BR /&gt; &lt;BR /&gt;zcat syslog.log.3.gz | grep -e fail -e warn -e err&lt;BR /&gt; &lt;BR /&gt;Note that the files are quite small so you can change the crontab entry to once a month rather than once a week.</description>
      <pubDate>Tue, 10 Apr 2007 22:01:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gzip-syslog-log/m-p/3978597#M294045</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2007-04-10T22:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: GZIP syslog.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gzip-syslog-log/m-p/3978598#M294046</link>
      <description>Hi!&lt;BR /&gt;&lt;BR /&gt;Unhappyly I don't have anything in my crontab...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Apr 2007 06:21:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gzip-syslog-log/m-p/3978598#M294046</guid>
      <dc:creator>clefeitosa</dc:creator>
      <dc:date>2007-04-11T06:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: GZIP syslog.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gzip-syslog-log/m-p/3978599#M294047</link>
      <description>Check the atjobs directory in /var/spool/cron/atjobs. Also look for recent files in root's $HOME, /usr/local and /usr/contrib. Use find to locate things that were modified in the last 60 days:&lt;BR /&gt; &lt;BR /&gt;(logged in as root)&lt;BR /&gt;find $HOME /usr/local /usr/contrib -type f -perm -111 -exec ll {} +&lt;BR /&gt; &lt;BR /&gt;The script or program doing this will probably show up with a name containing the words log or zip or rotate.</description>
      <pubDate>Wed, 11 Apr 2007 06:33:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gzip-syslog-log/m-p/3978599#M294047</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2007-04-11T06:33:05Z</dc:date>
    </item>
    <item>
      <title>Re: GZIP syslog.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gzip-syslog-log/m-p/3978600#M294048</link>
      <description>see if you have this directory&lt;BR /&gt;&lt;BR /&gt;/opt/logrotate&lt;BR /&gt;&lt;BR /&gt;or try&lt;BR /&gt;&lt;BR /&gt;swlist | grep -i logrotate&lt;BR /&gt;&lt;BR /&gt;logrotate is a program that has this same behavior.</description>
      <pubDate>Wed, 11 Apr 2007 06:47:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gzip-syslog-log/m-p/3978600#M294048</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2007-04-11T06:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: GZIP syslog.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gzip-syslog-log/m-p/3978601#M294049</link>
      <description>Guys,&lt;BR /&gt;&lt;BR /&gt;#:&amp;gt;/var/spool/cron/atjobs&amp;gt; ll&lt;BR /&gt;total 0&lt;BR /&gt;&lt;BR /&gt;I dont have the directory /opt/logrotate and nothing with swlist | grep -i logrotate&lt;BR /&gt;&lt;BR /&gt;When I tried the command:&lt;BR /&gt;find $HOME /usr/local /usr/contrib -type f -perm -111 -exec ll {} +&lt;BR /&gt;&lt;BR /&gt;... i didn't have success.&lt;BR /&gt;&lt;BR /&gt;I'm studying...&lt;BR /&gt;&lt;BR /&gt;thanks!</description>
      <pubDate>Thu, 12 Apr 2007 09:59:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gzip-syslog-log/m-p/3978601#M294049</guid>
      <dc:creator>clefeitosa</dc:creator>
      <dc:date>2007-04-12T09:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: GZIP syslog.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gzip-syslog-log/m-p/3978602#M294050</link>
      <description>Bill is absolutely right in that these timestamps are a smoking gun (does the 2nd hourly shift match the new DST change?)&lt;BR /&gt;&lt;BR /&gt;If you cannot find an atjob or crontab for any UID=0 user on this system, that might mean that the crontab is elsewhere.  If you really find nothing locally, run:&lt;BR /&gt;&lt;BR /&gt;# last -R&lt;BR /&gt;&lt;BR /&gt;and then look for weekly root logins that match that timestamp.</description>
      <pubDate>Sat, 14 Apr 2007 01:24:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gzip-syslog-log/m-p/3978602#M294050</guid>
      <dc:creator>Bob E Campbell</dc:creator>
      <dc:date>2007-04-14T01:24:03Z</dc:date>
    </item>
  </channel>
</rss>

