From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Charles Ballowe Newsgroups: gmane.os.tru64.managers Subject: can't bind to port - in use???? Date: Tue, 15 Apr 2003 04:44:58 -0500 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <20030415044458.A14368@steelballs.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1050399888 22505 80.91.224.249 (15 Apr 2003 09:44:48 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 15 Apr 2003 09:44:48 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Tue Apr 15 11:44:45 2003 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 195Mzc-0005qg-00 for ; Tue, 15 Apr 2003 11:44:45 +0200 Original-Received: (qmail 23830 invoked by uid 5); 15 Apr 2003 09:45:13 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 23821 invoked by uid 49493); 15 Apr 2003 09:45:12 -0000 Original-Received: from hangman@steelballs.org by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-0.1/5.0):. Processed in 0.393305 secs); 15 Apr 2003 09:45:12 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 15 Apr 2003 09:45:12 -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 <0HDD008B9PRAYO@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 15 Apr 2003 05:45:11 -0400 (EDT) Original-Received: from steelballs.org (noose.steelballs.org [64.81.228.254]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with SMTP id <0HDD008F9PR33Z@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 15 Apr 2003 05:45:04 -0400 (EDT) Original-Received: (qmail 14453 invoked by uid 1000); Tue, 15 Apr 2003 09:44:58 +0000 Original-To: tru64-unix-managers@ornl.gov X-Mailer: Mutt 0.95.4us Xref: main.gmane.org gmane.os.tru64.managers:3971 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:3971 I'm trying to start a process that binds to a specific tcp port. It is failing to start claiming address already in use, however netstat -a and lsof see nothing using that port. If I change the port to something extra high like 12345 it works without problem. This service is usually running on the box from a point shortly after boot, but I forgot to start it when the system came up sunday from some unscheduled maintenance. The process is an oracle listener that is run on port 1522, the tnsnames.ora and listener.ora haven't been touched since early Feb. It's failing with this set of errors: TNS-12542: TNS:address already in use TNS-12560: TNS:protocol adapter error TNS-00512: Address already in use DEC OSF/1 AXP Error: 48: Address already in use More testing indicates that I can use 1524, but not 1522 or 1523... no need to go extra high. I see 1524 is listed in /etc/services and /etc/clua_services. Ok... adding a line for 1522 to /etc/services and /etc/clua_services and running cluamgr -f on both cluster nodes seems to have solved my problem. So, my question changes from the one I was going to ask to "Why?" - nothing had the port bound at the moment, why would declaring it "static" in clua_services do anything to fix the problem I was having? -charlie