From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Pedro AF. Cunha" Newsgroups: gmane.os.tru64.managers Subject: summary: sendmail daemon dying Date: Wed, 03 Sep 2003 11:38:41 +0100 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1062585685 21521 80.91.224.253 (3 Sep 2003 10:41:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 3 Sep 2003 10:41:25 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Wed Sep 03 12:41:23 2003 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 19uV4k-000608-00 for ; Wed, 03 Sep 2003 12:41:22 +0200 Original-Received: (qmail 16232 invoked by uid 5); 3 Sep 2003 10:41:06 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 16223 invoked by uid 49493); 3 Sep 2003 10:41:05 -0000 Original-Received: from Pedro.Cunha@decsis.pt by sws1 by uid 49491 with qmail-scanner-1.16 (iscan: v3.1/v5.600-1011/622/49252. clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(-2.4/5.0):. Processed in 20.655111 secs); 03 Sep 2003 10:41:05 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 3 Sep 2003 10:40:45 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HKM00E7YWBVW1@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 03 Sep 2003 06:40:44 -0400 (EDT) Original-Received: from decsissrv.decsis.net (p178-31.netc.pt [213.30.6.178]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HKM00B04WBOHB@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 03 Sep 2003 06:40:38 -0400 (EDT) Original-To: tru64-unix-managers@ornl.gov X-MIMEOLE: Produced By Microsoft Exchange V6.0.6249.0 Importance: high Priority: Urgent X-Priority: 1 Thread-Topic: summary: sendmail daemon dying Thread-Index: AcNyB4ksbfD2ZLA/RGq0ZuL0nDWKyg== content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Xref: main.gmane.org gmane.os.tru64.managers:5256 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:5256 Hi all, Once again many thanks for your cooperation. The solution was to properly configure the /etc/services and = /etc/clua_services (thanks to Tom Smith) and adding the following = entries: /etc/services smtps 465/tcp submission 587/tcp =09 /etc/clua_services smtps 465/tcp in_multi # sendmail secure smtp submission 587/tcp in_multi,static # sendmail = message submission port This solved the problem. All the replies follow below. Special thanks to: Martin R=F8nde Andersen [martin.roende@mail.dk] Dr Thomas.Blinn@HP.com [tpb@doctor.zk3.dec.com] Fred N. van Kempen [Fred.van.Kempen@microwalt.nl] Tom Smith [smith@cag.lkg.dec.com] -------------------------------------------------------------------------= ------------------------------------------------ Hello Pedro. sendmail 8.12 opens additional listener ports beyond the port 25 opened = by the Tru-64 standard sendmail 8.9. These additional ports are not = specified in the standard Tru64 /etc/clua_services as "in_multi", which = is required to be able to open the same port number on multiple members. = What is happening is that the first instance of sendmail to start grabs = those ports cluster-wide, peventing any other sendmail instances from = opening them and starting. Add the follwing to /etc/clua_services: smtps 465/tcp in_multi # sendmail secure smtp submission 587/tcp in_multi,static # sendmail message = submission port submission 587/udp in_multi,static # sendmail message = submission port The UDP port is actually unnecessary, I think. You will probably also want to add these ports to /etc/services or to your NIS services map. -Tom -------------------------------------------------------------------------= ------------------------------------------------ Hmm... yes, if the second node tries to activate the daemon, on the same = virtual cluster IP address, then it cannot use the same port number. = Either Sendmail has to "wait" for the port to become available (read: = the other node died), or it has to bind to the port number on the node = local IP address... --fred -------------------------------------------------------------------------= ------------------------------------------------ As I recall, some special work was done on sendmail to make it cluster = aware (for the version that ships in the standard product). I suspect = you can't just take the "freeware" sendmail and get it to work in your = cluster, without reverse engineering what the TruCluster product does to = make sendmail work in a cluster.=20 I have NO personal knowledge of the details, but as I recall, the last = time I added a member to a cluster, when I booted the member for the = first time, there were a number of messages displayed about setting up = sendmail to be be cluster aware or capable, I don't have a log of the = messages nor do I know just which component (probably a script) sent = them out or what it was doing at the time. Tom Dr. Thomas P. Blinn + Tru64 UNIX Software + Hewlett-Packard Company Internet: tpb@zk3.dec.com, thomas.blinn@compaq.com, thomas.blinn@hp.com 110 Spit Brook Road, MS ZKO3-2/W17 Nashua, New Hampshire 03062-2698 Alpha Hardware Platforms and I/O Phone: (603) 884-0646 ACM Member: tpblinn@acm.org PC@Home: tom@felines.mv.net Worry kills more people than work because more people worry than work. Keep your stick on the ice. -- Steve Smith ("Red Green") My favorite palindrome is: Satan, oscillate my metallic sonatas. -- Phil Agre, pagre@alpha.oac.ucla.edu Yesterday it worked / Today it is not working / UNIX is like that=20 -- apologies to Margaret Segall=20 Opinions expressed herein are my own, and do not necessarily represent those of my employer or anyone else, living or dead, real or imagined. -------------------------------------------------------------------------= ----------------------------------------------- This might be in the cluster alias area.=20 Check with /etc/clua_services for the portnumber, and see if you have = latest patch kit. Over time there has been numeous cluster alias = problems . M. v. h./ regards - Martin R=F8nde Andersen The Unix era continues ... http://unixera.com -------------------------------------------------------------------------= ------------------------------------------------ Hi again, After a little further investigation on this I've come up with this: - The second trucluster member starting the sendmail daemon shows the = following message in the mail.log file: Aug 28 18:38:26 member2 sm-mta[525933]: daemon MSA: problem creating = SMTP socket Aug 28 18:38:31 member2 sm-mta[525933]: NOQUEUE: = SYSERR(root): opendaemonsocket: daemon MSA: cannot bind: Address already = in use ...and then the daemon dies. Does any one have seen this problem? How can I turn around this? Many thanks, Pedro Cunha. -------------------------------------------------------------------------= -------------------------------------------------------------------------= -------------------------------------------------------------------------= ---------------------- Original Question Hi all, =20 We are running Trucluster V5.1B, patch kit 2, and sendmail 8.12.8 and at = the second time that a connection to the smtp port is made the sendmail = daemon dies on the cluster member that is not answering to the request. =20 for example: member 1 529512 ?? S 0:00.02 sendmail: accept -L sm-mta -bd -q25m 529524 ?? I 0:00.00 sendmail: Queue -L sm-msp-queue -Ac -q = 25m =20 member 2 529512 ?? S 0:00.02 sendmail: accept -L sm-mta -bd -q25m 529524 ?? I 0:00.00 sendmail: Queue -L sm-msp-queue -Ac -q = 25m =20 now doing two consecutive telnet to cluster alias on port 25 (member 1 = is answering), and after this, =20 member 1 529512 ?? S 0:00.02 sendmail: accept -L sm-mta -bd -q25m 529524 ?? I 0:00.00 sendmail: Queue -L sm-msp-queue -Ac -q = 25m =20 member 2 1051777 ?? I 0:00.00 sendmail: Queue -L sm-msp-queue -Ac -q = 25m =20 Any ideas of what is hapening??? =20 Many thanks in advance, Pedro Cunha. Pedro Cunha (Systems Engineer) Decsis - Sistemas de Informa=E7=E3o, Lda. Rua das artes gr=E1ficas, 162 4100-091 Porto Portugal Tel.: +351 226076850 Fax: +351 226076859