- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Error message found in /var/adm/syslog/mail.lo...
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
09-21-2000 10:22 PM
09-21-2000 10:22 PM
"Sep 21 20:07:25
among other reboot sendmail messages.
I dont know why it would try to send messages to 172.16.1.1. It's not our IP.
And I cannot think of any files would have
contained info about it.
File syslog.log's message "Sep 22 08:05:11
Thanks for your help.
Jessica
PS: by the way, can "grep" recursively search
a string into all files and dirs under a dir?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2000 10:45 PM
09-21-2000 10:45 PM
Re: Error message found in /var/adm/syslog/mail.log
To search a string you can use this command: cat /var/adm/syslog/syslog.log|grep Phy
This will give you the Physical memory of your system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2000 10:45 PM
09-21-2000 10:45 PM
SolutionFrom those messages it looks like you used to have 172.16.1.1 assigned to one of the lan cards (interfaces) on your server. You can check now thats no the case with;
netstat -in
Either way, sendmail tried a hostname lookup on it and failed. Perhaps its no longer using that IP. Either someone tried to send an email out to/via this interface. Check this ip is still not configured in sendmail - check /etc/mail/sendmail.cf, if so you can remove it and restart sendmail.
Yes, you can use grep to search down a tree, eg. grep */* or grep */*/* I dont think it has the normal recursive option to go down an entire tree, -R, try it. Grep will have problems with binaries or binary files so it may go crazy if you do this, use the strings command instead.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2000 11:31 PM
09-21-2000 11:31 PM
Re: Error message found in /var/adm/syslog/mail.log
I think Stefan is right on the IP-problem, i would do the grep as follows;
find
Greetz Danny.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2000 01:20 AM
09-22-2000 01:20 AM
Re: Error message found in /var/adm/syslog/mail.log
Exactly! The problem was caused by lan card configuation. There are two cards on our system and one of them is not being used and with the wrong IP.
So I comment out all related variables for this lancard in the file /etc/rc.config.d/netconf
Also,
find ./* -type f|xargs grep
works as what i need. thanks.
Jessica