27
2011
12

“Cannot register service: RPC: Unable to receive; errno = Connection refused”错误解决

在RHEL 6.0上安装好stornext,启动服务时出现如下错误

[root@rhel64-a RedHat60AS_26x86_64]# service cvfs start

Initiating start of StorNext DSM component

Checking maintenance license...
- The maintenance license status is: Good [确定]

Initializing StorNext Filesystem (SNFS)
Loading SNFS modules
net.core.rmem_max = 1048576
Starting /usr/cvfs/bin/fsmpm .
net.core.rmem_max = 1048576
Starting /usr/cvfs/bin/cvfsd ... [确定]
Waiting for CVFS mounts to complete
 [确定]
SNFS Initialized [确定]

Initiating start of StorNext database component
Starting Linter journal backup...
Starting Linter database kernel...
linter database kernel has been started
Starting Linter linapid daemon...

Initiating start of StorNext PSE component

Initiating start of StorNext SRVCLOG component
Starting...
Started sla with pid: 12145
Started ala with pid: 12152
Status good, all processes are running

Initiating start of StorNext MSM component
Media Manager Version 4.2.0 for Linux (Kernel:2632 OS:RHEL6) -- Copyright (C) 1992-2011 Quantum, Inc.
Initiating the Media Manager start up
Setup environment variables ok
Cleaning up old sockets ....... Done
Cleaning up old print files .......... Done
Starting up process server ..... Done
Process server started ok
Starting up the Media Manager server processes .... Done
Server processes started ok
Starting up the Media Manager system processes ...Cannot register service: RPC: Unable to receive; errno = Connection refused
Cannot register service: RPC: Unable to receive; errno = Connection refused
Cannot register service: RPC: Unable to receive; errno = Connection refused
Cannot register service: RPC: Unable to receive; errno = Connection refused
Cannot register service: RPC: Unable to receive; errno = Connection refused
Cannot register service: RPC: Unable to receive; errno = Connection refused
 Failed
Unable to start up the Media Manager system processes
Shutting down the Media Manager system processes ... Done
Shutting down the Media Manager servers ... Done
Shutting down the Media Manager process server ...Unable to communicate with process server
Unable to shut down process server
The Media Manager start up failed

这个错误是因为服务器没有开启端口映射的功能,需要安装portmap。

解决办法:

[root@rhel64-a RedHat60AS_26x86_64]# yum install portmap

[root@rhel64-b ~]# /etc/init.d/cvfs fullstop
Unmounting SNFS filesystems  [确定]

Stopping SNFS Daemons
Can't open control driver /dev/cvfsctl0, error No such file or directory (2)
Stopping SNFS PortMapper
Waiting for FSMs to finish

SNFS Stop [确定]
Unloading SNFS module 'cvfs'
SNFS Unload [确定]
[root@rhel64-b ~]# yum install portmap
Loaded plugins: product-id, subscription-manager
Updating Red Hat repositories.
base                                                                                                         | 4.0 kB     00:00 ...
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package rpcbind.x86_64 0:0.2.0-8.el6 will be installed
--> Processing Dependency: libtirpc.so.1()(64bit) for package: rpcbind-0.2.0-8.el6.x86_64
--> Running transaction check
---> Package libtirpc.x86_64 0:0.2.1-3.el6 will be installed
--> Processing Dependency: libgssglue.so.1(libgssapi_CITI_2)(64bit) for package: libtirpc-0.2.1-3.el6.x86_64
--> Processing Dependency: libgssglue.so.1()(64bit) for package: libtirpc-0.2.1-3.el6.x86_64
--> Running transaction check
---> Package libgssglue.x86_64 0:0.1-11.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================================
 Package                          Arch                         Version                             Repository                  Size
====================================================================================================================================
Installing:
 rpcbind                          x86_64                       0.2.0-8.el6                         base                        51 k
Installing for dependencies:
 libgssglue                       x86_64                       0.1-11.el6                          base                        23 k
 libtirpc                         x86_64                       0.2.1-3.el6                         base                        78 k

Transaction Summary
====================================================================================================================================
Install       3 Package(s)

Total download size: 152 k
Installed size: 300 k
Is this ok [y/N]: y
Downloading Packages:
------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                               4.4 MB/s | 152 kB     00:00    
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
  Installing : libgssglue-0.1-11.el6.x86_64                                                                                     1/3
  Installing : libtirpc-0.2.1-3.el6.x86_64                                                                                      2/3
  Installing : rpcbind-0.2.0-8.el6.x86_64                                                                                       3/3
duration: 344(ms)
Installed products updated.

Installed:
  rpcbind.x86_64 0:0.2.0-8.el6                                                                                                     

Dependency Installed:
  libgssglue.x86_64 0:0.1-11.el6                                    libtirpc.x86_64 0:0.2.1-3.el6                                  

Complete!
[root@rhel64-b ~]#

启动portmap服务故障解决

[root@rhel64-b RedHat60AS_26x86_64]# /etc/init.d/rpcbind start

« 上一篇下一篇 »

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。