- 论坛徽章:
- 0
|
回复 2楼 RS9000 的帖子
检查/etc/hosts文件和/etc/resolv.conf文件,是检查主服务器端的还是备份服务器端的呢?由于备份服务器无法登陆成功,我只检查了主服务器端的/etc/hosts文件(文件内容如下),在主服务器端未发现/etc/resolv.conf文件。
主服务器端的hosts文件
# @(#)47 1.1 src/bos/usr/sbin/netstart/hosts, cmdnet, bos510 7/24/91 10:00:46
#
# COMPONENT_NAME: TCPIP hosts
#
# FUNCTIONS: loopback
#
# ORIGINS: 26 27
#
# (C) COPYRIGHT International Business Machines Corp. 1985, 1989
# All Rights Reserved
# Licensed Materials - Property of IBM
#
# US Government Users Restricted Rights - Use, duplication or
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
#
# /etc/hosts
#
# This file contains the hostnames and their address for hosts in the
# network. This file is used to resolve a hostname into an Internet
# address.
#
# At minimum, this file must contain the name and address for each
# device defined for TCP in your /etc/net file. It may also contain
# entries for well-known (reserved) names such as timeserver
# and printserver as well as any other host name and address.
#
# The format of this file is:
# Internet Address Hostname # Comments
# Items are separated by any number of blanks and/or tabs. A '#'
# indicates the beginning of a comment; characters up to the end of the
# line are not interpreted by routines which search this file. Blank
# lines are allowed.
# Internet Address Hostname # Comments
# 192.9.200.1 net0sample # ethernet name/address
# 128.100.0.1 token0sample # token ring name/address
# 10.2.0.2 x25sample # x.25 name/address
127.0.0.1 loopback localhost erpa # loopback (lo0) name/address
192.168.0.9 erpaboot erpa
192.168.0.10 erpasvr
10.10.10.1 erpastb erpa
192.168.0.11 erpbboot
192.168.0.12 erpbsvr
10.10.10.2 erpbstb
我们的主服务器名为erpa,备份服务器名为erpb,请问最后的192.168.0.11 erpbboot 和10.10.10.2 erpbstb 后是否缺少了备份服务器名称啊?请帮忙看一下该文件有何异常,应该如何解决呢?
另外能否告知这属于双机热备配置的问题还是sybase数据库配置的问题呢? |
|