VMware Cloud Community
eduruizblas
Enthusiast
Enthusiast

VCenter services won't start

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

0 Kudos
23 Replies
nachogonzalez
Commander
Commander

can you try this

# ls -l /storage/db/vpostgres/postmaster.pid

-rw------- 1 vpostgres users 45 Oct 30 17:20 /storage/db/vpostgres/postmaster.pid

Try to cat/less on the postmaster.pid file, it will have junk characters.

Move the postmaster.pid file to backup or some other folder

# mv /storage/db/vpostgres/postmaster.pid /storage/db/vpostgres/postmaster.pid_bkp

You should be able to start the vPostgres service now and see a new pid file automatically getting created.

0 Kudos
eduruizblas
Enthusiast
Enthusiast

Hi! it has not worked for me. when i do the steps an reboot its not recreate the file postmaster.pid

0 Kudos
SureshKumarMuth
Commander
Commander

Can you run df -h and see if db mount point is running out space which stops postgres service to come up ?

if possible post the output of df -h

Regards,
Suresh
https://vconnectit.wordpress.com/
0 Kudos
eduruizblas
Enthusiast
Enthusiast

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  684K 4.9G   1% /run

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

/dev/sda3                                  11G 6.4G  3.7G  64% /

tmpfs                                     4.9G  800K 4.9G   1% /tmp

/dev/mapper/autodeploy_vg-autodeploy      9.8G 23M  9.2G   1% /storage/autodep                   loy

/dev/mapper/core_vg-core                   25G  398M   23G 2% /storage/core

/dev/mapper/log_vg-log                    9.8G  3.0G 6.3G  33% /storage/log

/dev/mapper/archive_vg-archive             59G   47G 9.5G  84% /storage/archive

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

/dev/mapper/updatemgr_vg-updatemgr         99G 232M   94G   1% /storage/updatem                   gr

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

/dev/mapper/db_vg-db                      9.8G  344M 8.9G   4% /storage/db

/dev/mapper/seat_vg-seat                  9.8G  334M 8.9G   4% /storage/seat

/dev/mapper/dblog_vg-dblog                 15G  102M 14G   1% /storage/dblog

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

0 Kudos