Today I change the IP address of my development server (linux redhat 5) with
Root# ifconfig eth0 10.11.201.250 netmask 255.255.255.0 up
Root# ifconfig eth0
And
I change this IP in my /etct/hosts file.
After this when I am trying to start my listener, its says following error…..
[oracle@ebek ~]$ lsnrctl start
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Starting /opt/oracle/product/10.2.0/db_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.2.0.4.0 - Production
System parameter file is /opt/oracle/product/10.2.0/db_1/network/admin/listener.ora
Log messages written to /opt/oracle/product/10.2.0/db_1/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ebek)(PORT=1521)))
Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.11.201.250)(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...
================================================================
Solution:-
================================================================
After that I also change my target Ip and subnet mask in the following files.
And reboot the server. My problem is solved.
Root# vi /etc/sysconfig/network-scripts/ifcfg-eth0
And
Root# vi /etc/sysconfig/network
Windows Recall : How to disable spy mode
4 days ago
No comments:
Post a Comment