DBT-06103 The port (1,522) is already used

DBT-06103: The port (1522) is already in use

Issue: 

Error encountered while creating a database using DBCA.

Solution

1. Identify who is using port 1522

Port Check Screenshot

It appears that no process is using port 1522.

2. Verify /etc/hosts entries

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

Observation: Host entry is missing in /etc/hosts, which is causing the issue.

3. Add host entry to /etc/hosts

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

# DB Server
192.168.2.56    lxtrdedbpsgv05.rajasekhar.com   lxtrdedbpsgv05

Result: After adding the host entry, the issue has been resolved successfully.

Caution: Your use of any information or materials on this website is entirely at your own risk. It is provided for educational purposes only. It has been tested internally, however, we do not guarantee that it will work for you. Ensure that you run it in your test environment before using.

Thank you,
Rajasekhar Amudala
Email: br8dba@gmail.com
Linkedin: https://www.linkedin.com/in/rajasekhar-amudala/