<?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 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-log/m-p/5077152#M439802</link>
    <description>.</description>
    <pubDate>Wed, 31 Oct 2007 11:40:34 GMT</pubDate>
    <dc:creator>chad_c</dc:creator>
    <dc:date>2007-10-31T11:40:34Z</dc:date>
    <item>
      <title>syslog.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-log/m-p/5077140#M439790</link>
      <description>hi....we have an hpux11.11 4440 server.&lt;BR /&gt;&lt;BR /&gt;in the syslog.log we noticed the following entry occurring several times per second.&lt;BR /&gt;&lt;BR /&gt;txovo remshd[280]: wtmp:open: /var/adm/wtmp No such file or directory&lt;BR /&gt;&lt;BR /&gt;we deleted the /var/adm/wtmp file a while back because we did not require it to log info.&lt;BR /&gt;&lt;BR /&gt;is there a way to prevent the following entry from being logged in the syslog.log file&lt;BR /&gt;&lt;BR /&gt;txovo remshd[280]: wtmp:open: /var/adm/wtmp No such file or directory&lt;BR /&gt;&lt;BR /&gt;rgds,&lt;BR /&gt;chad</description>
      <pubDate>Tue, 30 Oct 2007 17:45:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-log/m-p/5077140#M439790</guid>
      <dc:creator>chad_c</dc:creator>
      <dc:date>2007-10-30T17:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: syslog.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-log/m-p/5077141#M439791</link>
      <description>For this particular entry you need to edit inetd.conf and change the line&lt;BR /&gt;&lt;BR /&gt;shell  stream  tcp  nowait  root  /usr/lbin/remshd  remshd&lt;BR /&gt;&lt;BR /&gt;shell  stream  tcp  nowait  root  /usr/lbin/remshd  remshd -t&lt;BR /&gt;&lt;BR /&gt;then you need to run inetd -c</description>
      <pubDate>Tue, 30 Oct 2007 19:39:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-log/m-p/5077141#M439791</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2007-10-30T19:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: syslog.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-log/m-p/5077142#M439792</link>
      <description>&lt;BR /&gt;Hi Chad,&lt;BR /&gt;&lt;BR /&gt;Please also patch this as well.&lt;BR /&gt;&lt;BR /&gt;PHNE_33793 11.11 r-commands cumulative mega-patch &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;it fixed known issues&lt;BR /&gt;&lt;BR /&gt;WK</description>
      <pubDate>Tue, 30 Oct 2007 20:18:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-log/m-p/5077142#M439792</guid>
      <dc:creator>whiteknight</dc:creator>
      <dc:date>2007-10-30T20:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: syslog.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-log/m-p/5077143#M439793</link>
      <description>hi...thanks for the info.&lt;BR /&gt;&lt;BR /&gt;i made the changes to the suggested file&lt;BR /&gt;&lt;BR /&gt;shell        stream tcp nowait root /usr/lbin/remshd   remshd -t&lt;BR /&gt;&lt;BR /&gt;then ran:  txovo# inetd -c &lt;BR /&gt;&lt;BR /&gt;still getting:  Oct 31 09:59:04 txovo remshd[1162]: wtmp:open: /var/adm/wtmp No such file or directory&lt;BR /&gt;&lt;BR /&gt;any idea on how to prevent this entry from being logged to syslog.log?&lt;BR /&gt;&lt;BR /&gt;rgds,&lt;BR /&gt;chad</description>
      <pubDate>Wed, 31 Oct 2007 10:00:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-log/m-p/5077143#M439793</guid>
      <dc:creator>chad_c</dc:creator>
      <dc:date>2007-10-31T10:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: syslog.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-log/m-p/5077144#M439794</link>
      <description>How about just recreateing /var/adm/wtmp?&lt;BR /&gt;&lt;BR /&gt;The file usually does not get very large, if it does you can clean it up.</description>
      <pubDate>Wed, 31 Oct 2007 10:21:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-log/m-p/5077144#M439794</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2007-10-31T10:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: syslog.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-log/m-p/5077145#M439795</link>
      <description>Not sure why it did not work, but you could always recreate the file /var/adm/wtmp. I am not sure why you removed it in the forst place, and I don't really need an explanation.</description>
      <pubDate>Wed, 31 Oct 2007 10:22:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-log/m-p/5077145#M439795</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2007-10-31T10:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: syslog.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-log/m-p/5077146#M439796</link>
      <description>i could recreate wtmp, but we have several servers that remsh to this box very frequently which creates an entry in the wtmp file.  this fills up the lvol very fast.  so i deleted it.  this however causes the syslog.log to log an entry saying it cannot find wtmp which causes the lvol to fill pretty fast.&lt;BR /&gt;&lt;BR /&gt;so i'm just looking for a way to not log the following entry in the syslog.log&lt;BR /&gt;&lt;BR /&gt;Oct 31 10:33:05 txovo remshd[445]: wtmp:open: /var/adm/wtmp No such file or directory&lt;BR /&gt;&lt;BR /&gt;rgds,&lt;BR /&gt;chad</description>
      <pubDate>Wed, 31 Oct 2007 10:35:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-log/m-p/5077146#M439796</guid>
      <dc:creator>chad_c</dc:creator>
      <dc:date>2007-10-31T10:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: syslog.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-log/m-p/5077147#M439797</link>
      <description>add the file back and if it is really growing that fast write a script that wipes the file via cron every so often.</description>
      <pubDate>Wed, 31 Oct 2007 10:57:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-log/m-p/5077147#M439797</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2007-10-31T10:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: syslog.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-log/m-p/5077148#M439798</link>
      <description>What if you link /var/adm/wtmp to /dev/null?&lt;BR /&gt;&lt;BR /&gt;# cd /var/adm&lt;BR /&gt;# umask 000&lt;BR /&gt;# ln -s /dev/null wtmp&lt;BR /&gt;(Don't forget to reset your umask)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This may fool the system into thinking wtmp is there, but when it writes something to wtmp, it gets tossed to /dev/null and doesn't cost you any disk space.</description>
      <pubDate>Wed, 31 Oct 2007 11:02:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-log/m-p/5077148#M439798</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2007-10-31T11:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: syslog.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-log/m-p/5077149#M439799</link>
      <description>&lt;!--!*#--&gt;Hi Chad,&lt;BR /&gt;&lt;BR /&gt;you can try this if you don't want the error to go to syslog.&lt;BR /&gt;&lt;BR /&gt;1) take back of inetd.conf&lt;BR /&gt;&lt;BR /&gt;2) modify the line&lt;BR /&gt;&lt;BR /&gt;shell        stream tcp6 nowait root /usr/lbin/remshd   remshd&lt;BR /&gt;&lt;BR /&gt;TO &lt;BR /&gt;&lt;BR /&gt;shell        stream tcp6 nowait root /usr/lbin/remshd&amp;gt;/dev/null  remshd&lt;BR /&gt;&lt;BR /&gt;3) run inetd -c&lt;BR /&gt;&lt;BR /&gt;4) now try the remsh from other hosts &lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Wed, 31 Oct 2007 11:06:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-log/m-p/5077149#M439799</guid>
      <dc:creator>rajdev</dc:creator>
      <dc:date>2007-10-31T11:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: syslog.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-log/m-p/5077150#M439800</link>
      <description>patrick,&lt;BR /&gt;&lt;BR /&gt;sounds like it may work....before i try it, want to make sure i know what you mean you you say (Don't forget to reset your umask)&lt;BR /&gt;&lt;BR /&gt;rgds,&lt;BR /&gt;chad</description>
      <pubDate>Wed, 31 Oct 2007 11:20:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-log/m-p/5077150#M439800</guid>
      <dc:creator>chad_c</dc:creator>
      <dc:date>2007-10-31T11:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: syslog.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-log/m-p/5077151#M439801</link>
      <description>In the command I gave, I have you do a 'umask 000'.  This sets your umask to 0 and causes the permissions on the link created to be 777.&lt;BR /&gt;&lt;BR /&gt;After you create the link you just need to reset your umask to whatever it was before you ran 'umask 000' so that any new files that are created are created with the correct permissions based on your umask.</description>
      <pubDate>Wed, 31 Oct 2007 11:33:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-log/m-p/5077151#M439801</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2007-10-31T11:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: syslog.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-log/m-p/5077152#M439802</link>
      <description>.</description>
      <pubDate>Wed, 31 Oct 2007 11:40:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-log/m-p/5077152#M439802</guid>
      <dc:creator>chad_c</dc:creator>
      <dc:date>2007-10-31T11:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: syslog.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-log/m-p/5077153#M439803</link>
      <description>Kudos Pat.</description>
      <pubDate>Wed, 31 Oct 2007 12:03:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-log/m-p/5077153#M439803</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2007-10-31T12:03:41Z</dc:date>
    </item>
  </channel>
</rss>

