From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Liang, Warren" Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: can not start sendmail Date: Wed, 29 Jan 2003 14:43:49 -0800 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: main.gmane.org 1043880401 5940 80.91.224.249 (29 Jan 2003 22:46:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 29 Jan 2003 22:46:41 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18e0yd-0001XW-00 for ; Wed, 29 Jan 2003 23:46:39 +0100 Original-Received: (qmail 4725 invoked by uid 5); 29 Jan 2003 22:48:17 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 4716 invoked by uid 49493); 29 Jan 2003 22:48:17 -0000 Original-Received: from Warren.Liang@sms-ito.com by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-5.2/5.0):. Processed in 0.39482 secs); 29 Jan 2003 22:48:17 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (128.219.159.41) by 0 with SMTP; 29 Jan 2003 22:48:16 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #30669) with ESMTP id <0H9H00E9CZC6F3@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 29 Jan 2003 17:48:15 -0500 (EST) Original-Received: from gate1.smsnet.com (gate1.smsnet.com [198.4.193.130]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #30669) with ESMTP id <0H9H00IK6ZC0MF@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 29 Jan 2003 17:48:01 -0500 (EST) Original-Received: from sbreims0.lax.ais.marconi.com (sbreims0.smsnet.com [198.4.195.12]) by gate1.smsnet.com (8.10.0/8.10.0) with ESMTP id h0TMkRe06165 for ; Wed, 29 Jan 2003 14:46:27 -0800 Original-Received: by sbreims0.smsnet.com with Internet Mail Service (5.5.2653.19) id ; Wed, 29 Jan 2003 14:33:38 -0800 Content-return: allowed Original-To: "Majordomo Q&A Tur64 \(E-mail\)" X-Mailer: Internet Mail Service (5.5.2653.19) Xref: main.gmane.org gmane.os.tru64.managers:3137 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:3137 Good Afternoon: Many thanks to Shawn Keller. Shawn pointed to the root cause: If you do a "who -r" it will show you the runlevel. If there is nothing in the output, the system won't know where it's at as far as runlevel. This hampers many other services too if they were to stop. What I found was that the systems where this occurred were running 'logrotate' and rotating the /var/adm/wtmp which also restarts the /var/adm/utmp. Since the /var/adm/utmp rotates, the new utmp file is blank and the system gives that same error. Apart from rebooting, if you have "logrotate running in your root crontab, I suggest commenting it out and restarting cron. However cron may give the same error, or even a different error when trying to restart it. To temporarily fix our problem of the same issue we just did a 'cp' of an older rotated utmp file such as 'utmp.0' or 'utmp.1' file over the latest one. e.g., cp /var/adm/utmp.0 /var/adm/utmp. If you ls -l the /var/adm directory, check to see if there are multiple backups of the utmp and wtmp. If so, this is the case. If you don't have any, copy the /var/adm/utmp from another system. It's not perfect, but if you can't reboot at the moment, it works. My original post is: I ran mailconfig, configure an Tru64 as a mail Client. After entering a mail > server name and clinking "Commit", mailconfig could not restart the mail > server. I entered command "# /sbin/rc3.d/S40sendmail start", a similar error > message shows up: > Could not start SMTP Mail Service, Run level must be S. Warren Liang Systems Management Specialists, Inc. Midrange Systems (714) 986-8342 **************************************************************************** ******************************** NOTICE: This Email (including any attachments) may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, copying, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message including any attachments. Thank you **************************************************************************** ********************************