- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- syslog.log
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2007 10:45 AM
10-30-2007 10:45 AM
in the syslog.log we noticed the following entry occurring several times per second.
txovo remshd[280]: wtmp:open: /var/adm/wtmp No such file or directory
we deleted the /var/adm/wtmp file a while back because we did not require it to log info.
is there a way to prevent the following entry from being logged in the syslog.log file
txovo remshd[280]: wtmp:open: /var/adm/wtmp No such file or directory
rgds,
chad
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2007 12:39 PM
10-30-2007 12:39 PM
Re: syslog.log
shell stream tcp nowait root /usr/lbin/remshd remshd
shell stream tcp nowait root /usr/lbin/remshd remshd -t
then you need to run inetd -c
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2007 01:18 PM
10-30-2007 01:18 PM
Re: syslog.log
Hi Chad,
Please also patch this as well.
PHNE_33793 11.11 r-commands cumulative mega-patch
it fixed known issues
WK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2007 03:00 AM
10-31-2007 03:00 AM
Re: syslog.log
i made the changes to the suggested file
shell stream tcp nowait root /usr/lbin/remshd remshd -t
then ran: txovo# inetd -c
still getting: Oct 31 09:59:04 txovo remshd[1162]: wtmp:open: /var/adm/wtmp No such file or directory
any idea on how to prevent this entry from being logged to syslog.log?
rgds,
chad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2007 03:21 AM
10-31-2007 03:21 AM
Re: syslog.log
The file usually does not get very large, if it does you can clean it up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2007 03:22 AM
10-31-2007 03:22 AM
Re: syslog.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2007 03:35 AM
10-31-2007 03:35 AM
Re: syslog.log
so i'm just looking for a way to not log the following entry in the syslog.log
Oct 31 10:33:05 txovo remshd[445]: wtmp:open: /var/adm/wtmp No such file or directory
rgds,
chad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2007 03:57 AM
10-31-2007 03:57 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2007 04:02 AM
10-31-2007 04:02 AM
Re: syslog.log
# cd /var/adm
# umask 000
# ln -s /dev/null wtmp
(Don't forget to reset your umask)
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2007 04:06 AM
10-31-2007 04:06 AM
Re: syslog.log
you can try this if you don't want the error to go to syslog.
1) take back of inetd.conf
2) modify the line
shell stream tcp6 nowait root /usr/lbin/remshd remshd
TO
shell stream tcp6 nowait root /usr/lbin/remshd>/dev/null remshd
3) run inetd -c
4) now try the remsh from other hosts
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2007 04:20 AM
10-31-2007 04:20 AM
Re: syslog.log
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)
rgds,
chad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2007 04:33 AM
10-31-2007 04:33 AM
Re: syslog.log
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2007 04:40 AM
10-31-2007 04:40 AM
Re: syslog.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2007 05:03 AM
10-31-2007 05:03 AM