Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

763
Views
oracle linux vm install: port 1521 provided for this listener is currently in use

I am having issues installing oracle 11g R2 on my linux virtual machine. I am doing this for school so am a beginner at this stuff. The instructor tells us run ifconfig and then run cat /etc/hosts.
First of all he says that our output should look like the following:

eth0      Link encap:Ethernet  HWaddr 00:0C:29:88:22:36
      inet addr:192.168.1.57  Bcast:192.168.1.255  Mask:255.255.255.0
:       


[root@OraLinux ~]# cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.1.57  oralinux oralinux.localdomain

here the IP addresses match.

Mine looks like this:

eth2      Link encap:Ethernet  HWaddr 00:0C:29:B2:E2:A9
      inet addr:192.168.102.129  Bcast:192.168.102.255  Mask:255.255.255.0
      inet6 addr: fe80::20c:29ff:feb2:e2a9/64 Scope:Link
      UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
      RX packets:21 errors:0 dropped:0 overruns:0 frame:0
      TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000
      RX bytes:10247 (10.0 KiB)  TX bytes:2250 (2.1 KiB)
lo        Link encap:Local Loopback
      inet addr:127.0.0.1  Mask:255.0.0.0
      inet6 addr: ::1/128 Scope:Host
      UP LOOPBACK RUNNING  MTU:65536  Metric:1
      RX packets:136 errors:0 dropped:0 overruns:0 frame:0
      TX packets:136 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:0
      RX bytes:11488 (11.2 KiB)  TX bytes:11488 (11.2 KiB)
[oracle@OraLinux ~]$ cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.153.131   oralinux oralinux.localdomain**

he then says if the IP addresses don't match run netca and add the port listner on 1521. When I try to do this netca throws me a message saying that port 1521 is already in use and that I cannot configure properly until I resolve the issue. Can someone please help me.

over 4 years ago · Santiago Trujillo
3 answers
Answer question

0

I encountered and solve this problem today..

Turns out the solution is:

1) Your ethernet adapter IP address must match with the one you configured in /etc/hosts

2) Your system/VM must be connected to LAN

Otherwise, it will say 1521 is being used. Hope it helped. Cheers.

over 4 years ago · Santiago Trujillo Report

0

You are probably already running Oracle Listener on this port - 1521. Run ifconfig -a to see all network interfaces. lsnrctl status to see default listener status - is it running, what port, etc. You need to find what ip addresses your computer has assigned with ifconfig and create a listener that will listen on this network interface.

over 4 years ago · Santiago Trujillo Report

0

Something else might be using port 1521. Try netstat -ntap | grep 1521 to find out what it is (you need to be root for this to work).

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!