Linux Error 98 Address Already In Use
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn tns-12542: tns:address already in use tns-12560: tns:protocol adapter error more about Stack Overflow the company Business Learn more about hiring developers or tns-00512 address already in use windows posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community
Tns-12542 Address Already In Use
Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Listener failed to start up vote 0 down vote favorite
Ibm/aix Risc System/6000 Error: 67: Address Already In Use
I have a virtual Machine on VMWare Player: Oracle 11g on Linux Centos. Since I haven't used it for 2 years, I don't remember almost anything,and when I try to startup the db it says listener is down, and when I try to start listener it says: TNSLSNR for Linux Version 11.2. 0.1.0 - Production System Parameter file is /oracle/product/11gR2/network/admin/listener.ora Log messages written to /oracle/diag/tnslsnr/srvlinux/listener/alert/log.xml Error listening on: solaris error: 125: address already in use (ADRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521)) TNS-12542: TNS:address already in use TNS-12560: TNS:protocol adater error TNS-00512: Address already in use Linux Error: 98: Address already in use What do I have to configure exactly? Thanks in advance. EDIT: netstat -tulpn | grep :1521 tcp 0 0 :::1521 :::* LIST EN 3369/tnslsnr EDIT: lsnrctl status LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 11-DEC-2012 16:09:54 sqlplus / as sysdba ERROR: ORA-12162: TNS:net service name is incorrectly specified database linux oracle listener virtual-machine share|improve this question edited Aug 18 '13 at 22:12 asked Aug 18 '13 at 15:08 phalanx 21221025 1 That suggests the listener is actually up. Or at least something is listening on 1521, it would unusual for it to be something else - lsnrctl status might be interesting. What says it's down, and when? Maybe your client is looking for a different port, or your tnsnames.ora has the wrong port (or address), or your DB has local_listener set to something else. Does your listener.ora have more than one listener configured maybe, but only one has started? –Alex Poole Aug 18 '13 at 15:33 1 What process has taken 1521? netstat -tulpn | grep :1521 –Bjarte Brandt Aug 18 '13 at 15:47
CloudFlare Ray ID: 2f4a4dacf6bb36f0
Getting Started Home Page | Knowledge Base 24 X 7 HEROIC SUPPORT 800.580.4985 (1-517-322-0434) Find Answers To Web Hosting Questions SearchSearch Error: (98)Address already in use: make_sock: could not bind https://www.liquidweb.com/kb/error-98address-already-in-use-make_sock-could-not-bind-to-address-0-0-0-080-on-ubuntu-solved/ to address 0.0.0.0:80 on Ubuntu [SOLVED] Category: Common Fixes, Technical Support Pre-Flight Check These instructions are intended specifically for solving the error: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 http://www.orafaq.com/forum/t/151953/ I’ll be working from both Liquid Web Core Managed Ubuntu 12.04 LTS and 14.04 LTS servers, and I'll be logged in as root. Option #1: Multiple ‘Listen' Directive Entries in Configuration Files In address already some cases the (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 error could be caused by multiple Listen directives attempting to bond to the same port (port 80 in this case). We'll take a look at the configuration files to verify whether or not this may be the case. For both Ubuntu 12.04 LTS and Ubuntu 14.04 LTS search the following configuration address already in file: grep Listen /etc/apache2/ports.conf which for my search resulted in: Listen 80 Listen 81 Listen 80 Listen 443 Listen 443 It looks like there are two Listen directives for port 80 and port 443, but we're only concerned about port 80, per the error we received (0.0.0.0:80). Edit the file, and correct the duplicate Listen directive. For a refresher on editing files with vim see: New User Tutorial: Overview of the Vim Text Editor vim /etc/apache2/ports.conf Option #2: Another Process is Already Using Port 80 Evaluate which process(es) may be using port 80 with the following: Use: fuser -n tcp 80 in combination with: ps aux | grep PID (with PID equal to the ports listed with the fuser command) to evaluate which process is associated with the PIDs using port 80. Or, use the following one-liner: ss -plnt sport eq :80 Then, kill of the offending process(es). Want to Try This Tutorial? Launch a Free* Storm Server *For new customers only Email Get Started Now Thank you. Your request has been submitted and we’ll be sending you a $75 Storm coupon shortly! Be Sociable, Share! Tweet Related ArticlesError: /usr/sbin/ifconfig: No such file or dire
[message #429786] Thu, 05 November 2009 15:44 mlee733 Messages: 9Registered: November 2009 Junior Member ----------------I am unable to start my listener, any help is appreciated (Please see below). ----------------When I enter "lsnrctl start" I receive the following (according to netstat, port 1521 is not in use): TNSLSNR for Linux: Version 11.1.0.6.0 - Production System parameter file is /oracle/db11g/network/admin/listener.ora Log messages written to /oracle/diag/tnslsnr/owcvm/listener/alert/log.xml Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=owcvm.localdomain)(PORT=1521))) TNS-12542: TNS:address already in use TNS-12560: TNS:protocol adapter error TNS-00512: Address already in use Linux Error: 98: Address already in use Listener failed to start. See the error message(s) above... -----------------When I enter "lsnrctl stop" or "lsnrctl stat" I receive the following: Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=owcvm.localdomain)(PORT=1521))) TNS-12541: TNS:no listener TNS-12560: TNS:protocol adapter error TNS-00511: No listener Linux Error: 111: Connection refused ----------------My listener.ora file: # listener.ora Network Configuration File: /oracle/db11g/network/admin/listener.ora # Generated by Oracle configuration tools. LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = owcvm.localdomain)(PORT = 1521)) ) ) ----------------My tnsnames.ora file: # tnsnames.ora Network Configuration File: /oracle/db11g/network/admin/tnsnames.ora # Generated by Oracle configuration tools. OWCDEV = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = owcvm)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = owcdev) ) ) ----------------My hosts file: # Do not remove the following line, or various programs # that