gpt4 book ai didi

linux - 甲骨文Linux虚拟机安装: port 1521 provided for this listener is currently in use

转载 作者:太空狗 更新时间:2023-10-29 11:14:31 25 4
gpt4 key购买 nike

<分区>

我在我的 Linux 虚拟机上安装 Oracle 11g R2 时遇到问题。我正在为学校做这件事,所以我是这方面的初学者。讲师告诉我们运行 ifconfig 然后运行 ​​cat/etc/hosts.
首先,他说我们的输出应该如下所示:

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

此处 IP 地址匹配。

我的看起来像这样:

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**

然后他说如果 IP 地址不匹配运行 netca 并在 1521 上添加端口监听器。当我尝试执行此操作时,netca 向我抛出一条消息,指出端口 1521 已被使用,并且在解决问题之前我无法正确配置。有人可以帮帮我吗。

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com