Highlighted
Contributor
Contributor

Services not starting after restore

Hello,

I restored a full backup of my VCSA but now the services are not starting. Could you please help, what I should do now?

root@vCenter [ ~ ]# df -h

Filesystem                                Size  Used Avail Use% Mounted on

devtmpfs                                  4.9G     0  4.9G   0% /dev

tmpfs                                     4.9G  4.0K  4.9G   1% /dev/shm

tmpfs                                     4.9G  680K  4.9G   1% /run

tmpfs                                     4.9G     0  4.9G   0% /sys/fs/cgroup

/dev/sda3                                  11G  6.7G  3.4G  67% /

tmpfs                                     4.9G     0  4.9G   0% /tmp

/dev/sda1                                 120M   34M   78M  31% /boot

/dev/mapper/netdump_vg-netdump            985M  1.3M  916M   1% /storage/netdump

/dev/mapper/db_vg-db                      9.8G  404M  8.9G   5% /storage/db

/dev/mapper/imagebuilder_vg-imagebuilder  9.8G   23M  9.2G   1% /storage/imagebuilder

/dev/mapper/seat_vg-seat                  9.8G  174M  9.1G   2% /storage/seat

/dev/mapper/updatemgr_vg-updatemgr         99G  411M   93G   1% /storage/updatemgr

/dev/mapper/autodeploy_vg-autodeploy      9.8G   34M  9.2G   1% /storage/autodeploy

/dev/mapper/dblog_vg-dblog                 15G  166M   14G   2% /storage/dblog

/dev/mapper/core_vg-core                   25G  517M   23G   3% /storage/core

/dev/mapper/log_vg-log                    9.8G  3.3G  6.0G  36% /storage/log

/dev/mapper/archive_vg-archive             50G   22G   25G  47% /storage/archive

root@vCenter [ ~ ]# service-control --status

Stopped:

applmgmt pschealth vmcad vmcam vmdird vmdnsd vmonapi vmware-analytics vmware-certificatemanagement vmware-cis-license vmware-cm vmware-content-library vmware-eam vmware-imagebuilder vmware-mbcs vmware-netdumper vmware-perfcharts vmware-pod vmware-postgres-archiver vmware-rbd-watchdog vmware-rhttpproxy vmware-sca vmware-sps vmware-statsmonitor vmware-sts-idmd vmware-stsd vmware-topologysvc vmware-updatemgr vmware-vapi-endpoint vmware-vcha vmware-vmon vmware-vpostgres vmware-vpxd vmware-vpxd-svcs vmware-vsan-health vmware-vsm vsan-dps vsphere-client vsphere-ui

Running:

lwsmd vmafdd

0 Kudos
8 Replies
Highlighted
Champion
Champion

mensa84,

What version of VCSA is this? Have you checked what the logs are complaining when services wont start?

I would file an SR with VMware support on this issue.

Lars

0 Kudos
Highlighted
Contributor
Contributor

It is 6.7.0.40000.

Which logs exactly should I check and where can I find them?

0 Kudos
Highlighted
Expert
Expert

When you do a service-control --start --all at which service start is it failing?

0 Kudos
Highlighted
Contributor
Contributor

I think nearly nothing is starting:

root@vCenter [ ~ ]# service-control --start --all

Operation not cancellable. Please wait for it to finish...

Performing start operation on service lwsmd...

Successfully started service lwsmd

Performing start operation on service vmafdd...

Successfully started service vmafdd

Performing start operation on service vmdird...

Successfully started service vmdird

Performing start operation on service vmcad...

Service vmcad startup type is not automatic. Skip

Performing start operation on service vmware-sts-idmd...

Service vmware-sts-idmd startup type is not automatic. Skip

Performing start operation on service vmware-stsd...

Service vmware-stsd startup type is not automatic. Skip

Performing start operation on service vmdnsd...

Service vmdnsd startup type is not automatic. Skip

Performing start operation on profile: ALL...

Service vmware-vmon startup type is not automatic. Skip

Service-control failed. Error: Failed to start services in profile ALL. RC=11, stderr=Connect error. ErrCode: 111

root@vCenter [ ~ ]# service-control --status

Running:

lwsmd vmafdd vmdird

Stopped:

applmgmt pschealth vmcad vmcam vmdnsd vmonapi vmware-analytics vmware-certificatemanagement vmware-cis-license vmware-cm vmware-content-library vmware-eam vmware-imagebuilder vmware-mbcs vmware-netdumper vmware-perfcharts vmware-pod vmware-postgres-archiver vmware-rbd-watchdog vmware-rhttpproxy vmware-sca vmware-sps vmware-statsmonitor vmware-sts-idmd vmware-stsd vmware-topologysvc vmware-updatemgr vmware-vapi-endpoint vmware-vcha vmware-vmon vmware-vpostgres vmware-vpxd vmware-vpxd-svcs vmware-vsan-health vmware-vsm vsan-dps vsphere-client vsphere-ui

0 Kudos
Highlighted
Champion
Champion

mensa84,

Each of the services has a directory with one or more logs under /var/log/vmware. Try to see what the log files for the services that are not starting are complaining about.

Lars

0 Kudos
Highlighted
Contributor
Contributor

Have you confirmed that NTP is set?

0 Kudos
Highlighted
Virtuoso
Virtuoso

What vHW does your VCSA have? You sayed restores.... by accident do you vHW >10? If so unregister the VM, edit the *.vmx, register VM again and start the VM.

Regards,

Joerg

0 Kudos
Highlighted
Contributor
Contributor

Thanks for all your answers but in the meantime I have deleted faulty VCSA and installed a new one.

0 Kudos