xmyun88 发表于 2011-05-31 14:05

HP9000 IP配置后运行速度变慢

本来运行地好好的 后来公司改了网段 重新配置IP后 无论是登陆还是使用SAM等命令 都要等很长时间屏幕才回有输出,求解救!

InfoSVC 发表于 2011-05-31 14:25

是不是配置了dns啊

lbseraph 发表于 2011-05-31 14:29

检查/etc/hosts里面主机名对应的IP是否改正确了?还有/etc/nsswitch.conf里面host那一行用files在dns前面(如果用dns的话),如下面:

hosts:      files   dns

xmyun88 发表于 2011-05-31 14:44

先谢了,我试试看:em27::em27:

xmyun88 发表于 2011-05-31 15:09

# ls
#hosts                inetd               pvchange
#pam_user.conf      inetd.conf            pvcreate
.java               inetd.conf.old      pvdisplay
.pwd.lock             inetsvcs.conf         pvmove
MANPATH               init                  pwck
PATH                  inittab               quot
SHLIB_PATH            insf                  quotacheck
SnmpAgent.d         install               quotaoff
TIMEZONE            ioconfig            quotaon
X11                   ioctl.syscon          rarpd.conf
acct                  ioinit                rc.config
aliases               ioscan                rc.config.d
arp                   iscan               rc.log
asx                   issue               rc.log.old
audeventstab          itemap                rdump
audomon               kbdlang               reboot
auto_master         killall               repquota
auto_parms.log      labelit               resolv.conf
auto_parms.log.old    lanconfig             restore
backup                lanscan               rmboot
backup.cfg            last                  rmsf
bcheckrc            lastb               rmt
bootpd                link                  rmtab
bootpquery            linkloop            route
bootptab            local               rpc
boottab               lp                  rrestore
btmp                  lsdev               sam
catman                lssf                  savecore
checklist             lvchange            sbtab
chroot                lvcreate            scsictl
clri                  lvdisplay             services
cmcluster             lvextend            services.window
conf                  lvlnboot            set_parms
config                lvmconf               setboot_tests
convertfs             lvmmigrate            setmnt
copyright             lvmrc               setprivgrp
cron                  lvmtab                sfd.pid
csh.login             lvreduce            shutdown
cue.dm                lvremove            shutdown.allow
d.cshrc               lvrmboot            shutdownlog
d.exrc                magic               skel
d.login               mail                  smtpd
d.profile             mediainit             snmpd
dce.clean             mkboot                snmpd.conf
dce.rm                mkfs                  stcp.conf
dce.unconfig          mklost+found          swapinfo
dce_com_env         mknod               swapon
dce_com_utils         mksf                  switch
dce_config            mnttab                syncer
dce_config_env      motive.conf         sysdef
dce_config_utils      mount               syslog.conf
dcopy               mrouted.conf          syslog.pid
default               msmod               syslogd
devnm               mvdir               tar
diskinfo            named               telnetd
disksecn            named-xfer            termcap
disktab               ncheck                translate
dmesg               net                   tsconvert
dpp                   netconfig             ttytype
dt                  netfmt                tunefs
dump                  netgroup            umount
dumpdates             netid               unlink
edquota               nettl               ups_conf
eisa                  nettlgen.conf         ups_mond
eisa_config         networks            utmp
ems_inittab.old       newfs               utmpx
envd                  nsswitch.compat       uucp
envd.conf             nsswitch.files      uucpd
extendfs            nsswitch.hp_defaultsvgcfgbackup
fbackup               nsswitch.ldap         vgcfgrestore
fbackuprdr            nsswitch.nis          vgchange
fbackupwrtr         nsswitch.nisplus      vgcreate
ff                  ntp.conf            vgdisplay
frecover            ocd                   vgexport
freeze                ocdebug               vgextend
fsck                  oldnettlgen.conf      vgimport
fsclean               opt                   vgreduce
fsdb                  pam.conf            vgremove
fstab               pam.krb5            vgscan
ftpd                  pam.ldap            vhelp
fuser               pam.ldap.trusted      volcopy
gated.conf            pam_user.conf         vtdaemon
getty               passwd                vtdaemonlog
gettydefs             ping                  vtgateway
getx25                power_onoff         vtserver
group               powerfail             vue
grpck               powerfail.cfg         vx
gss                   ppp                   wall
hba.conf            pre_init_rc         whodo
hosts               prmconf               wtmp
hosts.old             profile               ximian
hpC2400               protocols             xtab
hparray               ptydaemon             yp
ifconfig            ptydaemonlog          ypbind
ifconfig.muxids       publickey             zoneinfo
# more nsswitch.files
#
# /etc/nsswitch.files:
#
# @(#)B.11.11_LR
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# does not use any name services.
#
passwd:       files
group:      files
hosts:      files
services:   files
networks:   files
protocols:    files
rpc:          files
publickey:    files
netgroup:   files
automount:    files
aliases:      files
貌似没有nsswitch.conf是在files后面加dns么
host对应的IP是正确的

InfoSVC 发表于 2011-05-31 17:02

more /etc/hosts
然后nslookup hosts

xmyun88 发表于 2011-05-31 17:07

# more /etc/hosts
## Configured using SAM by root on Wed May 11 16:22:05 2011
## Configured using SAM by root on Mon May 30 13:40:35 2011
# @(#)B.11.11_LRhosts $Revision: 1.9.214.1 $ $Date: 96/10/08 13:20:01 $
#
# The form for each entry is:
# <internet address>    <official hostname> <aliases>
#
# For example:
# 192.1.2.34    hpfcrmloghost
#
# See the hosts(4) manual page for more information.
# Note: The entries cannot be preceded by a space.
#       The format described in this file is the correct format.
#       The original Berkeley manual page contains an error in
#       the format description.
#

127.0.0.1       localhost       loopback
172.30.12.30    L1000
:em27::em27:
# nslookup hosts
*** Can't find server name for address 172.30.12.254: Timed out
*** Default servers are not available
Using /etc/hosts on:L1000

looking up FILES
*** No address information is available for "hosts"
这是什么呢 出错了?:em29::em29:

lbseraph 发表于 2011-06-01 18:50

#cp /etc/nsswitch.files /etc/nsswitch.conf
页: [1]
查看完整版本: HP9000 IP配置后运行速度变慢