AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题 / 1163606
Accepted
EdHart
EdHart
Asked: 2024-08-08 02:16:42 +0800 CST2024-08-08 02:16:42 +0800 CST 2024-08-08 02:16:42 +0800 CST

服务 vmware-sps 无法在 vCenter 上启动

  • 772

请考虑以下 VMware 集群环境:

1 个 Cisco UCS 5108 刀片服务器机箱

6 个思科 UCS B200 M3(vSphere 6.5 Enterprise Plus)

1 个 VMware vCenter 标准版 6.5

我们的一台服务器出现了问题,可能是由于存储 HBA 故障造成的。不幸的是,在事件发生时,vCenter VM 托管在故障服务器上。我们费尽周折将所有 VM 手动移动到其他服务器,最后,除了 vCenter VM 之外,一切都正常。我们怀疑它上面的某些东西损坏了,因为我们无法运行某些服务,尤其是 vmware-sps 服务,这导致 Veeam 备份和其他功能出现一些问题。当尝试手动启动 vmware-sps 服务时,我们得到了以下信息:

Command> service-control --all --status
Running:
 applmgmt lwsmd pschealth vmafdd vmcad vmcam vmdird vmdnsd vmonapi vmware-cis-license vmware-cm vmware-content-library vmware-eam vmware-mbcs vmware-perfcharts vmware-psc-client vmware-rhttpproxy vmware-sca vmware-statsmonitor vmware-sts-idmd vmware-stsd vmware-updatemgr vmware-vapi-endpoint vmware-vmon vmware-vpostgres vmware-vpxd vmware-vpxd-svcs vmware-vsan-health vmware-vsm vsphere-client vsphere-ui
Stopped:
 vmware-imagebuilder vmware-netdumper vmware-rbd-watchdog vmware-sps vmware-vcha

Command> service-control --start vmware-sps
Perform start operation. vmon_profile=None, svc_names=['vmware-sps'], include_coreossvcs=False, include_leafossvcs=False
2024-08-07T12:21:32.331Z   Service sps state STOPPED
Error executing start on service sps. Details {
    "resolution": null,
    "detail": [
        {
            "args": [
                "sps"
            ],
            "id": "install.ciscommon.service.failstart",
            "localized": "An error occurred while starting service 'sps'",
            "translatable": "An error occurred while starting service '%(0)s'"
        }
    ],
    "componentKey": null,
    "problemId": null
}
Service-control failed. Error {
    "resolution": null,
    "detail": [
        {
            "args": [
                "sps"
            ],
            "id": "install.ciscommon.service.failstart",
            "localized": "An error occurred while starting service 'sps'",
            "translatable": "An error occurred while starting service '%(0)s'"
        }
    ],
    "componentKey": null,
    "problemId": null
}

/var/log/vmware/vmware-sps/sps.log

2024-08-07T09:21:36.969-03:00 [main] ERROR opId=sps-Main-33292-112 com.vmware.sps.StorageMain - Exception when running SPS service
org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'httpServerEndpoint' defined in class path resource [../conf/pbm-spring-config.xml]: Could not resolve placeholder 'pbm.http.port' in value "${pbm.http.port}"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'pbm.http.port' in value "${pbm.http.port}"
        at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:223)
        at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:222)
        at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:86)
        at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:281)
        at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:161)
        at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:687)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:525)
        at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
        at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:105)
        at com.vmware.vim.storage.common.app.CommonSpringService.createSpringAppContext(CommonSpringService.java:38)
        at com.vmware.pbm.app.PbmLocalService.initialize(PbmLocalService.java:135)
        at com.vmware.pbm.app.PbmLocalService.<init>(PbmLocalService.java:117)
        at com.vmware.pbm.app.PbmLocalService.initInstance(PbmLocalService.java:195)
        at com.vmware.sps.StorageMain.loadPbmService(StorageMain.java:169)
        at com.vmware.sps.StorageMain.main(StorageMain.java:38)
Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'pbm.http.port' in value "${pbm.http.port}"
        at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:174)
        at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:126)
        at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer$PlaceholderResolvingStringValueResolver.resolveStringValue(PropertyPlaceholderConfigurer.java:258)
        at org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveStringValue(BeanDefinitionVisitor.java:282)
        at org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveValue(BeanDefinitionVisitor.java:204)
        at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitGenericArgumentValues(BeanDefinitionVisitor.java:159)
        at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitBeanDefinition(BeanDefinitionVisitor.java:85)
        at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:220)
        ... 14 more

我们在 Google 和官方文档中搜索均未成功。我们没有有效的 VMware 支持合同(我知道,我知道,但这不是我的错……)。有人知道如何排除故障并修复此问题吗?提前致谢!

vmware-vsphere
  • 1 1 个回答
  • 66 Views

1 个回答

  • Voted
  1. Best Answer
    EdHart
    2024-08-21T00:23:47+08:002024-08-21T00:23:47+08:00

    在与 pbm.properties 文件相同的目录 (/usr/lib/vmware-vpx/sps/conf) 中,我们发现了一个非常古老的文件,名为 pbm.properties.upgrade。此文件缺少 pbm.properties 中应声明的所有参数。我不知道为什么这些参数从 pbm.properties 中删除,但只要我们将 pbm.properties.upgrade 的所有内容复制到 pbm.properties,我们就能启动所有服务,包括 vmware-sps,到目前为止一切似乎都恢复正常。

    • 0

相关问题

  • MSSQL 2000 + VMWare

  • 使用自定义进行 VMware 克隆后 IIS 6 SSL 中断

  • Performance Manager - 什么计数器?

  • 一键打开VMware Server 2.0控制台

  • 如何在 VMWare 中复制映像?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve