- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /var/adm/syslog/mail.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
08-07-2003 04:27 AM
08-07-2003 04:27 AM
I've noticed that my HP-UX 11.0 mail.log file is not updating since long time ago. Details of log file; root:root (444)
Sendmail service:
version.c 8.9.3.1 (Berkeley) 31/8/2001 (PHNE_24419+JAGae58098)
Any hint about?
Rgds
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2003 04:34 AM
08-07-2003 04:34 AM
Solution1) A different path is being used.
Check /etc/syslog.conf.
The default line is:
mail.debug /var/adm/syslog/mail.log
2) Check to see if syslog is running:
ps -ef | grep syslogd
You should see:
root 520 1 0 Nov 14 ? 0:08 /usr/sbin/syslogd -D
If not, do the following:
1. Kill syslogd
/sbin/init.d/syslogd stop
2. Re-start syslogd.
/sbin/init.d/syslogd start
3. Verify your mail.log file is being updated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2003 04:34 AM
08-07-2003 04:34 AM
Re: /var/adm/syslog/mail.log
# /sbin/init.d/sendmail restart
EJ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2003 04:35 AM
08-07-2003 04:35 AM
Re: /var/adm/syslog/mail.log
Is your syslog.log being updated?
If not then syslogd is hung & you need to restart it with:
kill -HUP $(cat /var/run/syslog.pid)
If so then check your /etc/sendmail.cf file & look at LogLevel the default is 9. Could be that the log level is so low that it'll only log errors & you haven't had any.
Also you may have a corrupt mail.log file, so copy it somewhere & null it out
> /var/adm/syslog/mail.log
Then restart sendmail
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2003 04:38 AM
08-07-2003 04:38 AM
Re: /var/adm/syslog/mail.log
Sendmail daemon is up? (ps -ef|grep sendmail)
Try to send an email and have a look on the mail.log file:
sendmail
Test
.
You should see something about this mail at the end of the mail.log file... shouldn't you?
If not try to "kill -HUP
Let me know!
Simone
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2003 04:55 AM
08-07-2003 04:55 AM
Re: /var/adm/syslog/mail.log
I had attempted everything except restarting the syslogd, and I didn't it because the rest of the log's files are working fine. When restarting everything it returned to the normality.
Thanks to everybody! ...and points!