<?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: syslog.log disappears in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-log-disappears/m-p/2601255#M855686</link>
    <description>Er, ick. OK, my paranoia jumps to the fore and says 'hacker trying to disguise his tracks', but that's only cos I'm paranoid. &lt;BR /&gt;&lt;BR /&gt;What you do to find this depends on how your system is set up. When you touch it, ensure it's chmod 644 and chown root:sys. That'll make sure only root can remove it. You could install tripwire (&lt;A href="http://www.tripwire.com/downloads/tripwire_asr)" target="_blank"&gt;http://www.tripwire.com/downloads/tripwire_asr)&lt;/A&gt; and fine out when it disappears, and if it's a user who does it. You could write a cron job to check if it's there, then send a bit of it to you:&lt;BR /&gt;&lt;BR /&gt;if [ -f /var/adm/syslog/syslog.log ] ; then&lt;BR /&gt; tail /var/adm/syslog/syslog.log | mail you@yourdomain&lt;BR /&gt;else&lt;BR /&gt; echo "syslog is gone!" | mail you@yourdomain&lt;BR /&gt; ...anything else...&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;Once you find out when it disappears, you can check the sulog and lastlog to see who's logged in at the time. These logs aren't disappearing too are they?&lt;BR /&gt;&lt;BR /&gt;You might also want to check out the syslogd patches out there and see if this has occurred as a bug.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;James</description>
    <pubDate>Thu, 25 Oct 2001 12:43:34 GMT</pubDate>
    <dc:creator>James Beamish-White</dc:creator>
    <dc:date>2001-10-25T12:43:34Z</dc:date>
    <item>
      <title>syslog.log disappears</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-log-disappears/m-p/2601251#M855682</link>
      <description>Please help!  My /var/adm/syslog/syslog.log file keeps magically disappearing from my systems.  These systems are running 10.20 and are trusted. I'm also running power broker.&lt;BR /&gt;&lt;BR /&gt;John</description>
      <pubDate>Thu, 25 Oct 2001 12:16:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-log-disappears/m-p/2601251#M855682</guid>
      <dc:creator>John Ferrara</dc:creator>
      <dc:date>2001-10-25T12:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: syslog.log disappears</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-log-disappears/m-p/2601252#M855683</link>
      <description>Hi John,&lt;BR /&gt;&lt;BR /&gt;Have you checked your root crontab? You may have a log cleanup script running somewhere that has an error in it. Remember never to move a file which is open by a process. It instead needs to be zero'd by cat /dev/null &amp;gt; file.&lt;BR /&gt;&lt;BR /&gt;You could also try restarting syslogd&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/syslogd stop&lt;BR /&gt;/sbin/init.d/syslogd start&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;James&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Oct 2001 12:22:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-log-disappears/m-p/2601252#M855683</guid>
      <dc:creator>James Beamish-White</dc:creator>
      <dc:date>2001-10-25T12:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: syslog.log disappears</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-log-disappears/m-p/2601253#M855684</link>
      <description>Hi John,&lt;BR /&gt;&lt;BR /&gt;you have to create an empty syslog-file. Otherwise it wouldn't be automatically created. Test with:&lt;BR /&gt;&lt;BR /&gt;touch /var/adm/syslog/syslog.log&lt;BR /&gt;&lt;BR /&gt;Also have a look at your /etc/syslog.conf. It must not have any blanks. Only &lt;TAB&gt; is allowed! It's a feature no a bug.&lt;BR /&gt;&lt;BR /&gt;Frank&lt;BR /&gt;&lt;/TAB&gt;</description>
      <pubDate>Thu, 25 Oct 2001 12:27:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-log-disappears/m-p/2601253#M855684</guid>
      <dc:creator>Frank Gilsdorf</dc:creator>
      <dc:date>2001-10-25T12:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: syslog.log disappears</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-log-disappears/m-p/2601254#M855685</link>
      <description>James,&lt;BR /&gt;&lt;BR /&gt;I do not have a clean up script in cron.  After I've discovered that my syslog.log file is gone, what I do is stop syslogd and touch syslog.log.  I make sure that the file has the same permissions as other syslog.log files on my other systems.  It will hang around for a few days or a week then dissappear again.&lt;BR /&gt;&lt;BR /&gt;John</description>
      <pubDate>Thu, 25 Oct 2001 12:33:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-log-disappears/m-p/2601254#M855685</guid>
      <dc:creator>John Ferrara</dc:creator>
      <dc:date>2001-10-25T12:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: syslog.log disappears</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-log-disappears/m-p/2601255#M855686</link>
      <description>Er, ick. OK, my paranoia jumps to the fore and says 'hacker trying to disguise his tracks', but that's only cos I'm paranoid. &lt;BR /&gt;&lt;BR /&gt;What you do to find this depends on how your system is set up. When you touch it, ensure it's chmod 644 and chown root:sys. That'll make sure only root can remove it. You could install tripwire (&lt;A href="http://www.tripwire.com/downloads/tripwire_asr)" target="_blank"&gt;http://www.tripwire.com/downloads/tripwire_asr)&lt;/A&gt; and fine out when it disappears, and if it's a user who does it. You could write a cron job to check if it's there, then send a bit of it to you:&lt;BR /&gt;&lt;BR /&gt;if [ -f /var/adm/syslog/syslog.log ] ; then&lt;BR /&gt; tail /var/adm/syslog/syslog.log | mail you@yourdomain&lt;BR /&gt;else&lt;BR /&gt; echo "syslog is gone!" | mail you@yourdomain&lt;BR /&gt; ...anything else...&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;Once you find out when it disappears, you can check the sulog and lastlog to see who's logged in at the time. These logs aren't disappearing too are they?&lt;BR /&gt;&lt;BR /&gt;You might also want to check out the syslogd patches out there and see if this has occurred as a bug.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;James</description>
      <pubDate>Thu, 25 Oct 2001 12:43:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-log-disappears/m-p/2601255#M855686</guid>
      <dc:creator>James Beamish-White</dc:creator>
      <dc:date>2001-10-25T12:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: syslog.log disappears</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-log-disappears/m-p/2601256#M855687</link>
      <description>Frank,&lt;BR /&gt;&lt;BR /&gt;I checked my syslog.conf file and it did have spaces.  I've replaced them w/ TABs.  I'll see if that does the trick.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;John</description>
      <pubDate>Thu, 25 Oct 2001 12:43:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-log-disappears/m-p/2601256#M855687</guid>
      <dc:creator>John Ferrara</dc:creator>
      <dc:date>2001-10-25T12:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: syslog.log disappears</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-log-disappears/m-p/2601257#M855688</link>
      <description>I've never had a syslog file just be gone.&lt;BR /&gt;&lt;BR /&gt;Sounds like it is being removed on purpose by someone.&lt;BR /&gt;&lt;BR /&gt;I would probably set up another job that does a&lt;BR /&gt;tail -f /var/adm/syslog.log &amp;gt; myfile&lt;BR /&gt;&lt;BR /&gt;at least this way you get to see what was in the file that dissapeared.</description>
      <pubDate>Thu, 25 Oct 2001 12:55:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-log-disappears/m-p/2601257#M855688</guid>
      <dc:creator>John Bolene</dc:creator>
      <dc:date>2001-10-25T12:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: syslog.log disappears</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-log-disappears/m-p/2601258#M855689</link>
      <description>I would also do as Jon suggests, but change it to be a cron job every 5 or 10 seconds&lt;BR /&gt;tail -5 /var/adm/syslog.log &amp;gt;&amp;gt; myfile &lt;BR /&gt;you could still do the&lt;BR /&gt;tail -f /var/adm/syslog.log &amp;gt; myfile &lt;BR /&gt;&lt;BR /&gt;as an additional check I would also check to see who may have root uid or passwd, or better yet, change the root passwd NOW!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Oct 2001 13:02:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-log-disappears/m-p/2601258#M855689</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2001-10-25T13:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: syslog.log disappears</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-log-disappears/m-p/2601259#M855690</link>
      <description>I'm the only one w/ root access.  I don't think I'm being hacked b/c I'm behind a secure firewall and nothing else is being disturbed, no one is ftp'ing files or anything.  The root passwd is changed every 35 days and there is no /.rhosts file.</description>
      <pubDate>Thu, 25 Oct 2001 13:18:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-log-disappears/m-p/2601259#M855690</guid>
      <dc:creator>John Ferrara</dc:creator>
      <dc:date>2001-10-25T13:18:27Z</dc:date>
    </item>
  </channel>
</rss>

