- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: mail stopped working
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
тАО01-29-2002 05:52 AM
тАО01-29-2002 05:52 AM
I have 2 HPUX 11.0 servers on which mail has stopped working. I can read mail that was received before the onset of the problem but no new mail is being received. Mail files in /var/mail are not being written. This problem affects all users including root.
I enter a test message as follows:
# mail darrella
this is a test
.
#
No error message is returned nor written to syslog yet /var/mail/darrella does not get written.
Permissions on /var/mail are 775 with owner bin:mail.
The production server was rebooted Sunday morning. The development server was reboot Friday. Mail was working before the reboot on the production server. I don't know about the development server.
We don't use inter-system mail. Basically the only mail sent on these servers is system generated (print job canceled, some output from cron jobs, etc...) and is only sent to users on the same server.
Any ideas?
Thanks,
Darrell
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2002 05:58 AM
тАО01-29-2002 05:58 AM
Re: mail stopped working
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2002 05:59 AM
тАО01-29-2002 05:59 AM
Re: mail stopped working
That'll teach you to reboot your servers!!!! Just kidding. Anyways, is sendmail running? Are the permissions and ownership of /var/mail like this:
drwxrwxr-x 2 bin mail 96 Jan 29 09:04 mail
Is mail like this:
# ls -l /usr/bin/mail
-r-sr-sr-x 2 root mail 45056 Nov 14 2000 /usr/bin/mail
#
Check the sendmail configuration file, make sure nothing changed:
# ls -l /etc/mail/send*
-r--r--r-- 1 bin bin 94277 Nov 14 2000 /etc/mail/sendmail.cf
-r--r--r-- 1 bin bin 701 Aug 13 15:20 /etc/mail/sendmail.cw
-rw-r--r-- 1 root mail 34 Dec 13 10:21 /etc/mail/sendmail.pid
#
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2002 06:03 AM
тАО01-29-2002 06:03 AM
Re: mail stopped working
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2002 06:05 AM
тАО01-29-2002 06:05 AM
Re: mail stopped working
The first step is checking that sendmail is running and listening. You can do this with
ps -ef|grep sendmail
Sendmail listen in port 25. If you make
netstat -an
do you see the port 25 listening?
You can run lsof to verify that sendmail is listening in that port
lsof|grep sendmail
After verifying this what happens if you make
telnet localhost 25
Does the port accept the connection?
Best regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2002 06:15 AM
тАО01-29-2002 06:15 AM
Re: mail stopped working
Well, maybe sometimes.
Perms seem okay. Nothing seems to have changed here:
-r-sr-sr-x 2 root mail 45056 Nov 7 1997 /usr/bin/mail
drwxrwxr-x 2 bin mail 1024 Jan 29 08:05 /var/mail
-r--r--r-- 1 bin bin 77759 Oct 27 1997 /etc/mail/sendmail.cf
-r--r--r-- 1 bin bin 759 Jan 10 2000 /etc/mail/sendmail.cw
-rw-r--r-- 1 root mail 35 Jan 28 19:19 /etc/mail/sendmail.pid
sendmail is running. I've stopped and restarted it as well.
Everyone is logging in okay. The home directory change didn't change paths. I simply moved the lvs to a different vg.
Actually, on the development server, I vgexported 2 test vgs, used SDR to remove the EMC luns from that box, then rebooted to verify all was well.
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2002 06:20 AM
тАО01-29-2002 06:20 AM
Re: mail stopped working
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2002 06:28 AM
тАО01-29-2002 06:28 AM
Re: mail stopped working
Have you checked your mail.log and syslog to see if anything strange is going on?
...jcd...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2002 06:34 AM
тАО01-29-2002 06:34 AM
Re: mail stopped working
Strange..! I would like to know what is there on /var/adm/syslog/mail.log file once you send test mail.
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2002 06:54 AM
тАО01-29-2002 06:54 AM
Re: mail stopped working
Jan 29 09:45:00 fasqad sendmail[11141]: NOQUEUE: SYSERR(darrella): NIS map mail.aliases specified, but NIS not running
Jan 29 09:45:00 fasqad sendmail[11141]: JAA11141: from=darrella, size=9, class=0, pri=30009, nrcpts=1, msgid=<200201291445.JAA11141@fasqad.>, relay=darrella@localhost
Jan 29 09:45:00 fasqad sendmail[11141]: JAA11141: to=root, delay=00:00:00, mailer=local, stat=queued
Darrell