vCenter Client突然不能访问

作者: loaf 分类: 虚拟化 发布时间: 2014-09-10 23:23


因为是Appliance,所以先访问5480端口

重启服务并不成功

一直处于Wating for vpxd to initalize状态,于是重启服务器

结果失败,再手工重启一下,仍然不成功

查看日志,/var/log/vmare/vpx/vpxd.log,内容如下:

Section for VMware VirtualCenter, pid=9708, version=5.1.0, build=880146, option=Release
—— In-memory logs start ——–
mem> 2014-08-28T00:05:14.838+08:00 [7F463CC77720 verbose ‘vpxdvpxdSignal’] Signal handler for signal 1 is installed
mem> 2014-08-28T00:05:14.838+08:00 [7F463CC77720 verbose ‘vpxdvpxdSignal’] Signal handler for signal 2 is installed
mem> 2014-08-28T00:05:14.838+08:00 [7F463CC77720 verbose ‘vpxdvpxdSignal’] Signal handler for signal 15 is installed
mem> 2014-08-28T00:05:14.838+08:00 [7F463CC77720 verbose ‘vpxdvpxdSignal’] Signal handler for signal 10 is installed
mem> 2014-08-28T00:05:14.838+08:00 [7F463CC77720 info ‘Hooks’] Hooks Initialized
—— In-memory logs end   ——–
2014-08-28T00:05:14.852+08:00 [7F463CC77720 info ‘Default’] Logging uses fast path: true
2014-08-28T00:05:14.852+08:00 [7F463CC77720 info ‘Default’] Handling bora/lib logs with VmaCore facilities
2014-08-28T00:05:14.852+08:00 [7F463CC77720 info ‘Default’] Initialized channel manager
2014-08-28T00:05:14.864+08:00 [7F463CC77720 info ‘Default’] Current working directory: /storage/log/vmware/vpx
2014-08-28T00:05:14.868+08:00 [7F463CC77720 info ‘Default’] Log path: /var/log/vmware/vpx
2014-08-28T00:05:14.869+08:00 [7F463CC77720 info ‘Default’] Initializing SSL
2014-08-28T00:05:14.871+08:00 [7F463CC77720 info ‘Default’] Vmacore::InitSSL: handshakeTimeoutUs = 120000000
2014-08-28T00:05:14.873+08:00 [7F463CC77720 info ‘vpxdvpxdDaemon’] Changed working directory to /var/log/vmware/vpx
2014-08-28T00:05:14.886+08:00 [7F463CC77720 info ‘Default’] Starting VMware VirtualCenter 5.1.0 build-880146
2014-08-28T00:05:14.886+08:00 [7F463CC77720 info ‘Default’] Log directory: /var/log/vmware/vpx.
2014-08-28T00:05:14.886+08:00 [7F463CC77720 info ‘vpxdvpxdMain’] Account name: root
2014-08-28T00:05:14.887+08:00 [7F463CC77720 info ‘commonvpxLro’] [VpxLRO] 640 max LROs
2014-08-28T00:05:14.887+08:00 [7F463CC77720 info ‘commonvpxLro’] [VpxLRO] 12 reserved internal LROs
2014-08-28T00:05:14.887+08:00 [7F463CC77720 info ‘commonvpxLro’] [VpxLRO] 12 reserved blocker LROs
2014-08-28T00:05:14.887+08:00 [7F463CC77720 info ‘commonvpxLro’] [VpxLRO] 12 reserved short LROs
2014-08-28T00:05:14.887+08:00 [7F463CC77720 info ‘commonvpxLro’] [VpxLRO] 8 reserved long LROs
2014-08-28T00:05:14.887+08:00 [7F463CC77720 info ‘commonvpxLro’] [VpxLRO] 600-second completed task lifetime
2014-08-28T00:05:14.887+08:00 [7F463CC77720 info ‘commonvpxLro’] [VpxLRO] 60-second minimum completed task lifetime
2014-08-28T00:05:14.887+08:00 [7F463CC77720 info ‘commonvpxLro’] [VpxLRO] 200 maximum completed tasks
2014-08-28T00:05:14.887+08:00 [7F463CC77720 info ‘commonvpxLro’] [VpxLRO] 600-second unregistered task lifetime
2014-08-28T00:05:14.887+08:00 [7F463CC77720 info ‘ThreadPool’] [SetConfig] Thread info: IoMin: 2, IoMax: 1990, TaskMin: 59, TaskMax: 1990, Max Thread: 3980, Keepalive: 61, thread kill: 600, max fds: -1
2014-08-28T00:05:14.888+08:00 [7F463CC77720 info ‘utilvpxdVdb’] Registry Item DB 5 value is ”
2014-08-28T00:05:14.888+08:00 [7F463CC77720 info ‘utilvpxdVdb’] [VpxdVdb::SetDBType] Logging in to DSN: VMware VirtualCenter with username VPXADMIN

看起来是数据库的问题了,我的数据库是Oracle,于是转到数据库服务器,Reboot一下,都连不上了。登录到Oracle服务器上,先切换到oracle用户

[oracle@vcdb ~]$ lsnrctl start
LSNRCTL for Linux: Version 11.2.0.1.0 – Production on 28-AUG-2014 00:43:52
Copyright (c) 1991, 2009, Oracle.  All rights reserved.
Starting /usr/local/oracle/product/11.2.0/db_1/bin/tnslsnr: please wait…
TNSLSNR for Linux: Version 11.2.0.1.0 – Production
System parameter file is /usr/local/oracle/product/11.2.0/db_1/network/admin/listener.ora
Log messages written to /usr/local/oracle/diag/tnslsnr/vcdb/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
————————
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version 11.2.0.1.0 – Production
Start Date                28-AUG-2014 00:43:54
Uptime                    0 days 0 hr. 0 min. 0 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /usr/local/oracle/product/11.2.0/db_1/network/admin/listener.ora
Listener Log File         /usr/local/oracle/diag/tnslsnr/vcdb/listener/alert/log.xml
Listening Endpoints Summary…
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))
The listener supports no services
The command completed successfully
[oracle@vcdb ~]$

然后,登录SQL,

再启动OEM服务。

$emctl start dbconsole

成功后恢复正常。

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注