Good! After a sudden blackout, vCenter did not start, but best of all, I tried to start replicas of previous days and the problem was also. I enclose what I get when I force the start of the services:
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...
Successfully started service vmcad
Performing start operation on service vmware-sts-idmd...
Successfully started service vmware-sts-idmd
Performing start operation on service vmware-stsd...
Successfully started service vmware-stsd
Performing start operation on service vmdnsd...
Successfully started service vmdnsd
Performing start operation on profile: ALL...
Service-control failed. Error: Failed to start services in profile ALL. RC=1, stderr=Failed to start topologysvc, vpxd-svcs, vmware-postgres-archiver, vmware-vpostgres services. Error: Operation timed out
Hi,
what version of vcenter do you have?
ARomeo
Hi!
the version is 6.7.0.30000
Windows or VCSA?
Hi!
VCSA
Can you please run a service-control --status --all and share the output?
root@vcenter [ ~ ]# service-control --status --all
Stopped:
pschealth vmcam vmware-content-library vmware-imagebuilder vmware-mbcs vmware-netdumper vmware-perfcharts vmware-postgres-archiver vmware-rbd-watchdog vmware-sps vmware-topologysvc vmware-updatemgr vmware-vcha vmware-vpostgres vmware-vpxd vmware-vpxd-svcs vmware-vsan-health vmware-vsm vsan-dps
Running:
applmgmt lwsmd vmafdd vmcad vmdird vmdnsd vmonapi vmware-analytics vmware-certificatemanagement vmware-cis-license vmware-cm vmware-eam vmware-pod vmware-rhttpproxy vmware-sca vmware-statsmonitor vmware-sts-idmd vmware-stsd vmware-vapi-endpoint vmware-vmon vsphere-client vsphere-ui
I have tried to start the vcenter and posgresql services but it was impossible.
root@vcenter [ ~ ]# service-control --start vmware-vpostgres
Operation not cancellable. Please wait for it to finish...
Performing start operation on service vmware-vpostgres...
Error executing start on service vmware-vpostgres. Details {
"resolution": null,
"problemId": null,
"componentKey": null,
"detail": [
{
"args": [
"vmware-vpostgres"
],
"translatable": "An error occurred while starting service '%(0)s'",
"id": "install.ciscommon.service.failstart",
"localized": "An error occurred while starting service 'vmware-vpostgres'"
}
]
}
Service-control failed. Error: {
"resolution": null,
"problemId": null,
"componentKey": null,
"detail": [
{
"args": [
"vmware-vpostgres"
],
"translatable": "An error occurred while starting service '%(0)s'",
"id": "install.ciscommon.service.failstart",
"localized": "An error occurred while starting service 'vmware-vpostgres'"
}
]
}
hey, can you check this out:
https://vboys.it/windows-vcenter-6-5-error-starting-services/
Thank you! from what I can read in the link this is for vcenter windows. i have vcenter aplliance
sorry for the misconception, i understood that you had a windows based vCenter./var/log/vmware/
Let me ask you something:
Did you have any outage/shutdown of the VMs lately?
Can you paste the vpxd logs (/var/log/vmware/)
Can you please check if this KB works:
Hi!
this is a part of the vpxd logs
2020-08-02T13:23:49.857+02:00 info vpxd[33515] [Originator@6876 sub=vpxdVdb] [VpxdVdb::SetDBType] Logging in to DSN: VMware VirtualCenter with username vc
2020-08-02T13:23:49.858+02:00 info vpxd[33515] [Originator@6876 sub=vpxdVdb] [VpxdVdb::SetDBType] Logging in to DSN: VMware VirtualCenter with username vc
2020-08-02T13:23:49.859+02:00 info vpxd[33515] [Originator@6876 sub=vpxdVdb] [VpxdVdb::SetDBType] Logging in to DSN: VMware VirtualCenter with username vc
2020-08-02T13:23:49.859+02:00 info vpxd[33515] [Originator@6876 sub=vpxdVdb] [VpxdVdb::SetDBType] Logging in to DSN: VMware VirtualCenter with username vc
2020-08-02T13:23:49.860+02:00 info vpxd[33515] [Originator@6876 sub=vpxdVdb] [VpxdVdb::SetDBType] Logging in to DSN: VMware VirtualCenter with username vc
2020-08-02T13:23:49.860+02:00 info vpxd[33515] [Originator@6876 sub=vpxdVdb] [VpxdVdb::SetDBType] Logging in to DSN: VMware VirtualCenter with username vc
2020-08-02T13:23:49.861+02:00 info vpxd[33515] [Originator@6876 sub=vpxdVdb] [VpxdVdb::SetDBType] Logging in to DSN: VMware VirtualCenter with username vc
2020-08-02T13:23:49.862+02:00 info vpxd[33515] [Originator@6876 sub=vpxdVdb] [VpxdVdb::SetDBType] Logging in to DSN: VMware VirtualCenter with username vc
2020-08-02T13:23:49.863+02:00 info vpxd[33515] [Originator@6876 sub=vpxdVdb] [VpxdVdb::SetDBType] Logging in to DSN: VMware VirtualCenter with username vc
2020-08-02T13:23:49.863+02:00 info vpxd[33515] [Originator@6876 sub=vpxdVdb] [VpxdVdb::SetDBType] Logging in to DSN: VMware VirtualCenter with username vc
2020-08-02T13:23:49.864+02:00 info vpxd[33515] [Originator@6876 sub=vpxdVdb] [VpxdVdb::SetDBType] Logging in to DSN: VMware VirtualCenter with username vc
2020-08-02T13:23:49.865+02:00 info vpxd[33515] [Originator@6876 sub=vpxdVdb] [VpxdVdb::SetDBType] Logging in to DSN: VMware VirtualCenter with username vc
2020-08-02T13:23:49.865+02:00 info vpxd[33515] [Originator@6876 sub=vpxdVdb] [VpxdVdb::SetDBType] Logging in to DSN: VMware VirtualCenter with username vc
2020-08-02T13:23:49.866+02:00 info vpxd[33515] [Originator@6876 sub=vpxdVdb] [VpxdVdb::SetDBType] Logging in to DSN: VMware VirtualCenter with username vc
2020-08-02T13:23:49.867+02:00 info vpxd[33515] [Originator@6876 sub=vpxdVdb] [VpxdVdb::SetDBType] Logging in to DSN: VMware VirtualCenter with username vc
2020-08-02T13:23:49.867+02:00 info vpxd[33515] [Originator@6876 sub=vpxdVdb] [VpxdVdb::SetDBType] Logging in to DSN: VMware VirtualCenter with username vc
2020-08-02T13:23:49.868+02:00 error vpxd[33515] [Originator@6876 sub=vpxdVdb] [VpxdVdb::SetDBType] Failed to connect to database: ODBC error: (08001) - [unixODBC]could not connect to server: Connection refused
--> Is the server running on host "localhost" (127.0.0.1) and accepting
--> TCP/IP connections on port 5432?
Please share serverlog.stderr log
Starting service process with pid: 21556.
LOG: skipping missing configuration file "/storage/db/vpostgres/postgresql.conf.repl"
LOG: skipping missing configuration file "/storage/db/vpostgres/postgresql.conf.repl"
2020-07-06 09:51:56.805 UTC 5f02f43a.5434 0 LOG: redirecting log output to logging collector process
2020-07-06 09:51:56.805 UTC 5f02f43a.5434 0 HINT: Future log output will appear in directory "/var/log/vmware/vpostgres".
these logs are from 6th july.. so are they not updated from that time.
ls -ltrh under the /var/log/vmware/vpostgres
check the date of the latest logs listed
thanks,
MS
Hi! It is correct since that date there is no updated log.
can you upload the vmon-syslog.log on vcsa from /var/log/vmware/vmon.. Service log would fail to update only when config files are corrupt
thanks,
MS
Moderator: Please be careful when posting from Google Translate (or equivalent) - I have edited two of your posts in this thread to make them readable by others.
Your most recent comment on this thread originally looked like this:
There is a Remove formatting button in the post creator which makes posts like this readable - click the button shown below before adding the comment:
Hello, based on what you provided the solution is this KB: VMware Knowledge Base
hello! this Kb has not worked for me. Does not regenerate postmaster.pid file