VMware vSphere

 View Only
  • 1.  content-library Service stopr vcenter backup

    Posted Nov 11, 2024 03:44 AM
    Edited by Ahmed-Borham Nov 11, 2024 03:45 AM

    Hello everyone,

    i have a problem with vcenter backup every time it try to back i see this meesge ( Invalid vCenter Server Status: All required services are not up! Stopped services: 'content-library'. '), i have ben trying to solve this for almost twe weeks now and i cant get it to start at all 

    vcenter version is 7.0.3.00800 

    root@vcenterNoc-A [ ~ ]# service-control --status --all
    Running:
     applmgmt lookupsvc lwsmd observability-vapi pschealth vlcm vmafdd vmcad vmdird vmonapi vmware-analytics vmware-certificateauthority vmware-certificatemanagement vmware-cis-license vmware-eam vmware-envoy vmware-hvc vmware-infraprofile vmware-perfcharts vmware-postgres-archiver vmware-rhttpproxy vmware-sca vmware-sps vmware-statsmonitor vmware-stsd vmware-topologysvc vmware-trustmanagement vmware-updatemgr vmware-vapi-endpoint vmware-vmon vmware-vpostgres vmware-vpxd vmware-vpxd-svcs vmware-vsan-health vmware-vsm vsphere-ui vstats vtsdb wcp

    Stopped:
     observability vmcam vmware-content-library vmware-imagebuilder vmware-netdumper vmware-pod vmware-rbd-watchdog vmware-vcha vmware-vdtc
    oot@vcenterNoc-A [ ~ ]# service-control --restart vmware-content-library
    Service-control failed. Error: Failed to restart service content-library. vmon-cli RC=2, stderr=Restart service request failed. Error: Service crashed while starting
    i try to open the log file from the service but its empty 

    root@vcenterNocA [ ~ ]# cd /storage/log/vmware/content-library/
    root@vcenterNocA [ /storage/log/vmware/content-library ]# ls
    cls-db-config-runner.log  cls.log.3.gz  cls-post-install.log                  content-library-runtime.log-3.stderr  vmware-content-library-gc.log.0.current  vmware-content-library-gc.log.7
    cls.log                   cls.log.4.gz  content-library-runtime.log-0.stderr  content-library-runtime.log-3.stdout  vmware-content-library-gc.log.1          vmware-content-library-gc.log.8
    cls.log.10.gz             cls.log.5.gz  content-library-runtime.log-0.stdout  content-library-runtime.log-4.stderr  vmware-content-library-gc.log.2          vmware-content-library-gc.log.9
    cls.log.11.gz             cls.log.6.gz  content-library-runtime.log-1.stderr  content-library-runtime.log-4.stdout  vmware-content-library-gc.log.3
    cls.log.12.gz             cls.log.7.gz  content-library-runtime.log-1.stdout  content-library-runtime.log.stderr    vmware-content-library-gc.log.4.current
    cls.log.1.gz              cls.log.8.gz  content-library-runtime.log-2.stderr  content-library-runtime.log.stdout    vmware-content-library-gc.log.5
    cls.log.2.gz              cls.log.9.gz  content-library-runtime.log-2.stdout  vmware-content-library-gc.log.0       vmware-content-library-gc.log.6
    root@vcenterNocA [ /storage/log/vmware/content-library ]# cat content-library-runtime.log.stdout

    i enter thge vi to check from the file but it still empty 
    This problem happened after we renew the certificate and changed the vcenter name according to the certificate we use.
    is any one have any idea how to get this start again ????

     



  • 2.  RE: content-library Service stopr vcenter backup

    Broadcom Employee
    Posted Nov 14, 2024 01:08 PM

    Hi Ahmed,

    If content-library and any required services are down, backup is expected to fail.

    Could you provide me with the output of the below command to troubleshoot the content-library service.

    service-control --verbose --start content-library




  • 3.  RE: content-library Service stopr vcenter backup

    Posted Nov 16, 2024 03:24 AM

    Hi Navin, thanks for reaching out,
    please find the output frome the command :

    root@vcenterNocA [ ~ ]# service-control --verbose --start content-library
    Operation not cancellable. Please wait for it to finish...
    Perform start operation. vmon_profile=None, svc_names=['content-library'], include_coreossvcs=False, include_leafossvcs=False
    Performing start operation on service content-library...
    2024-11-16T08:14:01.157Z  Running command: ['/sbin/service', 'vmware-vmon', 'status']
    2024-11-16T08:14:01.202Z  Done running command
    2024-11-16T08:14:01.206Z  Service content-library state STOPPED

    2024-11-16T08:14:18.786Z  ERROR starting content-library rc: 2, stdout: , stderr: Start service request failed. Error: Service crashed while starting

    Error executing start on service content-library. Details {
        "detail": [
            {
                "id": "install.ciscommon.service.failstart",
                "translatable": "An error occurred while starting service '%(0)s'",
                "args": [
                    "content-library"
                ],
                "localized": "An error occurred while starting service 'content-library'"
            }
        ],
        "componentKey": null,
        "problemId": null,
        "resolution": null
    }
    Service-control failed. Error: {
        "detail": [
            {
                "id": "install.ciscommon.service.failstart",
                "translatable": "An error occurred while starting service '%(0)s'",
                "args": [
                    "content-library"
                ],
                "localized": "An error occurred while starting service 'content-library'"
            }
        ],
        "componentKey": null,
        "problemId": null,
        "resolution": null
    }

    Thanks,




  • 4.  RE: content-library Service stopr vcenter backup

    Broadcom Employee
    Posted Nov 15, 2024 10:00 AM

    Can you please elaborate more , as I understood when VC backup triggered content library service stopped 




  • 5.  RE: content-library Service stopr vcenter backup

    Posted Nov 16, 2024 11:02 AM

    Hi Rajeev, thanks for reaching out, yes that what i meant content library service stopped, and as i understand from Navin backup won't work if the service not working.




  • 6.  RE: content-library Service stopr vcenter backup

    Posted Nov 18, 2024 06:59 AM

    Hi Ahmed

    You required open support case there is solution which is internal could not share here.



    ------------------------------
    Regard
    Rajeev
    VCIX-DCV, VCF Sr. Consultant
    ------------------------------