Configure listening _ 1521 port occupation, and listening _ 1521 port occupation

Source: Internet
Author: User
Tags fam

Configure listening _ 1521 port occupation, and listening _ 1521 port occupation

Statement:Original Works are from the blog of "Deep Blue blog". You are welcome to repost them. Please indicate the source when you repost them. Otherwise, the copyright will be held legally responsible.

Deep Blue blog: http://blog.csdn.net/huangyanlong/article/details/43935361

Premise cashback

Changed the host name from hyldb to hyl.

Symptom

Configure the listener. The warning message is as follows:

Solution

1. Check port 1521

[Root @ hyl ~] # Netstat-

-- Check port usage and check that port 1521 is not in use

Active Internet connections (servers and established)Proto Recv-Q Send-Q Local Address               Foreign Address             State      tcp        0      0 localhost.localdomain:2208  *:*                         LISTEN      tcp        0      0 *:sunrpc                    *:*                         LISTEN      tcp        0      0 *:pftp                      *:*                         LISTEN      tcp        0      0 localhost.localdomain:ipp   *:*                         LISTEN      tcp        0      0 localhost.localdomain:smtp  *:*                         LISTEN      tcp        0      0 localhost.localdomain:2207  *:*                         LISTEN      tcp        0      0 *:ssh                       *:*                         LISTEN      getnameinfo failedgetnameinfo failedtcp        0    132 [UNKNOWN]:ssh               [UNKNOWN]:51492             ESTABLISHED udp        0      0 *:spmp                      *:*                                     udp        0      0 *:659                       *:*                                     udp        0      0 *:37437                     *:*                                     udp        0      0 *:mdns                      *:*                                     udp        0      0 *:sunrpc                    *:*                                     udp        0      0 *:ipp                       *:*                                     udp        0      0 *:mdns                      *:*                                     udp        0      0 *:32372                     *:*                                     Active UNIX domain sockets (servers and established)Proto RefCnt Flags       Type       State         I-Node Pathunix  2      [ ACC ]     STREAM     LISTENING     4226   @ISCSIADM_ABSTRACT_NAMESPACEunix  2      [ ACC ]     STREAM     LISTENING     4938   /var/run/dbus/system_bus_socketunix  2      [ ACC ]     STREAM     LISTENING     7578   @/tmp/fam-root-unix  2      [ ACC ]     STREAM     LISTENING     5021   /var/run/sdpunix  2      [ ACC ]     STREAM     LISTENING     5102   /var/run/pcscd.communix  2      [ ACC ]     STREAM     LISTENING     5127   /var/run/acpid.socketunix  2      [ ACC ]     STREAM     LISTENING     6197   /var/run/cups/cups.sockunix  2      [ ACC ]     STREAM     LISTENING     6633   /var/run/avahi-daemon/socketunix  2      [ ACC ]     STREAM     LISTENING     6473   /dev/gpmctlunix  2      [ ACC ]     STREAM     LISTENING     4212   @ISCSID_UIP_ABSTRACT_NAMESPACEunix  2      [ ]         DGRAM                    1102   @/org/kernel/udev/udevdunix  2      [ ACC ]     STREAM     LISTENING     6509   /tmp/.font-unix/fs7100unix  2      [ ACC ]     STREAM     LISTENING     7135   /tmp/.gdm_socketunix  2      [ ACC ]     STREAM     LISTENING     7165   /tmp/.X11-unix/X0unix  2      [ ]         DGRAM                    5161   @/org/freedesktop/hal/udev_eventunix  17     [ ]         DGRAM                    4527   /dev/logunix  2      [ ACC ]     STREAM     LISTENING     5152   @/var/run/hald/dbus-R5ibTGYpjnunix  2      [ ACC ]     STREAM     LISTENING     5153   @/var/run/hald/dbus-1m4p21ErfGunix  2      [ ACC ]     STREAM     LISTENING     4482   /var/run/audispd_eventsunix  2      [ ]         DGRAM                    7618   unix  3      [ ]         STREAM     CONNECTED     7581   @/tmp/fam-root-unix  3      [ ]         STREAM     CONNECTED     7580   unix  3      [ ]         STREAM     CONNECTED     7571   /var/run/dbus/system_bus_socketunix  3      [ ]         STREAM     CONNECTED     7570   unix  3      [ ]         STREAM     CONNECTED     7448   /tmp/.X11-unix/X0unix  3      [ ]         STREAM     CONNECTED     7447   unix  3      [ ]         STREAM     CONNECTED     7364   /tmp/.X11-unix/X0unix  3      [ ]         STREAM     CONNECTED     7363   unix  3      [ ]         STREAM     CONNECTED     7261   /tmp/.font-unix/fs7100unix  3      [ ]         STREAM     CONNECTED     7260   unix  3      [ ]         STREAM     CONNECTED     7217   /var/run/pcscd.communix  3      [ ]         STREAM     CONNECTED     7216   unix  3      [ ]         STREAM     CONNECTED     7264   /tmp/.X11-unix/X0unix  3      [ ]         STREAM     CONNECTED     7190   unix  3      [ ]         STREAM     CONNECTED     7177   /var/run/acpid.socketunix  3      [ ]         STREAM     CONNECTED     7176   unix  2      [ ]         DGRAM                    7163   unix  3      [ ]         STREAM     CONNECTED     6636   /var/run/dbus/system_bus_socketunix  3      [ ]         STREAM     CONNECTED     6635   unix  3      [ ]         STREAM     CONNECTED     6630   unix  3      [ ]         STREAM     CONNECTED     6629   unix  2      [ ]         DGRAM                    6627   unix  2      [ ]         DGRAM                    6467   unix  2      [ ]         DGRAM                    6426   unix  2      [ ]         DGRAM                    6379   unix  2      [ ]         DGRAM                    6324   unix  2      [ ]         DGRAM                    6109   unix  2      [ ]         DGRAM                    6068   unix  2      [ ]         DGRAM                    5958   unix  3      [ ]         STREAM     CONNECTED     5930   /var/run/dbus/system_bus_socketunix  3      [ ]         STREAM     CONNECTED     5929   unix  3      [ ]         STREAM     CONNECTED     5903   @/var/run/hald/dbus-R5ibTGYpjnunix  3      [ ]         STREAM     CONNECTED     5902   unix  3      [ ]         STREAM     CONNECTED     5896   @/var/run/hald/dbus-R5ibTGYpjnunix  3      [ ]         STREAM     CONNECTED     5893   unix  3      [ ]         STREAM     CONNECTED     5738   @/var/run/hald/dbus-R5ibTGYpjnunix  3      [ ]         STREAM     CONNECTED     5737   unix  3      [ ]         STREAM     CONNECTED     5714   /var/run/acpid.socketunix  3      [ ]         STREAM     CONNECTED     5713   unix  3      [ ]         STREAM     CONNECTED     5708   @/var/run/hald/dbus-R5ibTGYpjnunix  3      [ ]         STREAM     CONNECTED     5707   unix  3      [ ]         STREAM     CONNECTED     5156   @/var/run/hald/dbus-1m4p21ErfGunix  3      [ ]         STREAM     CONNECTED     5155   unix  2      [ ]         DGRAM                    5101   unix  3      [ ]         STREAM     CONNECTED     5016   /var/run/dbus/system_bus_socketunix  3      [ ]         STREAM     CONNECTED     5015   unix  2      [ ]         DGRAM                    4987   unix  2      [ ]         DGRAM                    4977   unix  3      [ ]         STREAM     CONNECTED     4942   unix  3      [ ]         STREAM     CONNECTED     4941   unix  3      [ ]         STREAM     CONNECTED     4900   unix  3      [ ]         STREAM     CONNECTED     4899   unix  2      [ ]         DGRAM                    4798   unix  2      [ ]         DGRAM                    4543   unix  3      [ ]         STREAM     CONNECTED     4473   unix  3      [ ]         STREAM     CONNECTED     4472   <span style="font-size:14px;"> </span>

2. Check hosts

[Root @ hyl ~] # Vi/etc/hosts

Before modification:

# Do not remove the following line, or various programs

# That require network functionality will fail.

127.0.0.1 hyldb localhost. localdomain localhost

: 1 localhost6.localdomain6 localhost6

192.168.56.101 hyl

~

~

~

-- Because the host name (hyldb is changed to hyl) is modified, the contents of hyldb in the previous configuration are deleted.

To:

# Do not remove the following line, or various programs

# That require network functionality will fail.

127.0.0.1 localhost. localdomain localhost

: 1 localhost6.localdomain6 localhost6

192.168.56.101 hyl

~

~

~

~

 

3. Check the network

# Vi/etc/sysconfig/network

-- Confirm that the following information is added:

NETWORKING = yes

HOSTNAME = hyl

 

4. Check whether ipv6 is disabled.

 

Check ipv6 status and whether ipv6 is disabled

[Root @ hyl ~] # Lsmod | grep ipv6

Ipv6 435105 17 cnic

Xfrm_nalgo 43333 1 ipv6

 

Supplement: Disable ipv6 method 1) # vim/etc/modprobe. conf Add the following line to it, install ipv6/bin/true to save and exit. 2) # Add the following configuration item to vim/etc/sysconfig/network: NETWORKING_IPV6 = now.6init = no


 

Query after restart:

[Root @ hyl ~] # Lsmod | grep ipv6

-- Ipv6 information is not displayed, indicating that ipv6 is disabled.

 

5. After the system is restarted, view the hostname

[Root @ hyl ~] # Hostname

-- Query the Host Name

Hyl

 

6. Execute netca again

The listener and dbca databases are successfully configured.

 

Statement:Original Works are from the blog of "Deep Blue blog". You are welcome to repost them. Please indicate the source when you repost them. Otherwise, the copyright will be held legally responsible.

Deep Blue blog: http://blog.csdn.net/huangyanlong/article/details/43935361

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.