In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
The client cannot connect to the server database due to network, configuration, file access permissions, whether the database service has been started, and other problems. The general troubleshooting steps are as follows:
1. Check whether the operating system level network is unobstructed
Ping 192.168.10.1
two。 Check whether the database layer network is unobstructed.
Tnsping myserverdb
3. Check whether the monitoring status is normal.
Lsnrctl status listener
4. If the second step fails, check whether the server listening configuration is correct.
The configuration of listening files is generally as follows
# Monitoring name
LISTENER=
(DISCRIPTION =
(ADDRESS= (PROTOCOL = TCP) (HOST=192.168.4.80) (PORT=1521))
)
# list of monitoring services
SID_LIST_LISTENER =
(
SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = orcl)
(ORACLE_HOME = F:\ app\ Administrator\ product\ 11.2.0\ dbhome_1)
(SID_NAME = orcl)
)
(SID_DESC =
)
...
)
5. Check whether the client tnsnames.ora configuration is correct
The protocol, hostname, port and database instance name should be consistent with the server.
6. Check the monitoring log listener.log file to find the corresponding log
7. Check file permissions
Check that the group to which the / var/tmp/.oracle file belongs must be an oinstall group before the client can connect
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.