- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Alert not getting logged in /var/adm/syslog/mail.l...
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
Discussions
Discussions
Forums
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
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
тАО04-27-2010 11:03 PM
тАО04-27-2010 11:03 PM
I had purged the mail.log after that i had restarted sendmail.Now mail alerts are not getting logged in /var/adm/syslog/mail.log
OS : HP-UX 11.23
The below entry is already present in /etc/syslog.conf
mail.debug /var/adm/syslog/mail.log
Please advise.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2010 11:12 PM
тАО04-27-2010 11:12 PM
Re: Alert not getting logged in /var/adm/syslog/mail.log
Check your mail demon is running or not
$ ps -aef | grep -i mail
root 963 1 0 01:58:23 ? 0:06 sendmail: accepting connections on port 25
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2010 11:16 PM
тАО04-27-2010 11:16 PM
Re: Alert not getting logged in /var/adm/syslog/mail.log
>ps -ef | grep sendmail
root 236 1 0 10:02:42 ? 0:00 sendmail: accepting connections
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2010 04:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2010 04:18 AM
тАО04-28-2010 04:18 AM
Re: Alert not getting logged in /var/adm/syslog/mail.log
cat -tv /etc/syslog.conf
There should be nothing but ^I between items in this file. A space causes the entire line to be ignored. To test the mail facility in syslog, use:
logger -p mail.info "Testing mail"
tail /var/adm/syslog/mail.log
Also check the tail of syslog.log.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2010 06:19 PM
тАО04-28-2010 06:19 PM
Re: Alert not getting logged in /var/adm/syslog/mail.log
Your tip solved ma problem.Many thanks
Hi Bill /Suraj,
Thanks for your valueable feedback and time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2010 11:52 PM
тАО04-28-2010 11:52 PM
Re: Alert not getting logged in /var/adm/syslog/mail.log
# > /var/adm/syslog/mail.log
this way you don't need to restart the service. ok, i don't get any points for this, but - WHO CARES?
Unix operates with beer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2010 12:28 AM
тАО04-29-2010 12:28 AM
Re: Alert not getting logged in /var/adm/syslog/mail.log
Thanks,It was very informative.