Fix lỗi không khởi động được vcenter 6.7

Fix lỗi không khởi động được vcenter 6.7

Khi các bạn restart vcenter 6.7 thì gặp lỗi:

503 Service Unavailable (Failed to connect to endpoint: [N7Vmacore4Http20NamedPipeServiceSpecE:0x00007fd0c0004ac0] _serverNamespace = / action = Allow _pipeName =/var/run/vmware/vpxd-webserver-pipe)

Fix lỗi

service-control --start --all

#Kết quả

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...

Successfully started service vmware-vmon

 

Service-control failed. Error: Failed to start services in profile ALL. RC=1, stderr=Failed to start sca, vapi-endpoint, vpxd-svcs services. Error: Operation timed out

 

#khởi động lại vcenter, sau đó đợi khoảng 15-30p

root@photon-machine [ ~ ]# reboot

#Login lại vào cmd của vcenter, gõ shell để chuyển sang mode config

shell

service-control --start --all

 

#Kết quả:

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...

Successfully started profile: ALL.

Performing start operation on service vmware-pod...

Successfully started service vmware-pod

#############################

Sau khi login vào vcenter nếu thấy cảnh báo như bên dưới.

root@photon-machine [ ~ ]# service-control --status

#kết quả

Running:

​​ applmgmt lwsmd pschealth vmafdd vmcad vmdird vmdnsd vmonapi vmware-analytics vmware-certificatemanagement vmware-cis-license vmware-cm vmware-content-library vmware-eam vmware-perfcharts vmware-pod vmware-rhttpproxy vmware-sca vmware-sps vmware-statsmonitor vmware-sts-idmd vmware-stsd vmware-topologysvc vmware-updatemgr vmware-vapi-endpoint vmware-vmon vmware-vpostgres vmware-vpxd vmware-vpxd-svcs vmware-vsan-health vmware-vsm vsphere-client vsphere-ui

Stopped:

​​ vmcam vmware-imagebuilder vmware-mbcs vmware-netdumper vmware-postgres-archiver vmware-rbd-watchdog vmware-vcha vsan-dps

# Xử lý

root@photon-machine [ ~ ]# service-control --start vmware-postgres-archiver

#kết quả

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

Performing start operation on service vmware-postgres-archiver...

Successfully started service vmware-postgres-archiver

 

root@photon-machine [ ~ ]# service-control --start vmware-rbd-watchdog

#kết quả

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

Performing start operation on service rbd...

Successfully started service rbd

Tiện thì bạn có thể start tất cả các service đang stop

service-control --start vmcam vmware-imagebuilder vmware-mbcs vmware-netdumper vmware-postgres-archiver vmware-rbd-watchdog vmware-vcha vsan-dps

 

vi​​ /storage/db/vpostgres/postgresql.conf

Change the following line:


#wal_sender_timeout = 60s


to 


wal_sender_timeout = 600s

Nếu không có #wal_sender_timeout = 60s thì tạo thêm wal_sender_timeout = 600s

 

root@photon-machine [ ~ ]# service-control --restart vmware-vpostgres

Successfully restarted service vmware-vpostgres

Như vậy là thành công.

Tham khảo:

https://cloudx.com.vn

https://kb.vmware.com/s/article/55694

 

BÀI VIẾT CÙNG CHUYÊN MỤC

Critical - CVE 2026 98432 - Nguy cơ tấn công từ xa vào Linux - Ubuntu, Centos, Debian
Critical - CVE 2026 98432 - Nguy cơ tấn công từ xa vào ...

Critical - CVE 2026 98432 - Nguy cơ tấn công từ xa vào Linux - Ubuntu, Centos, ...

CXMT và DRAM 4F² cho thấy Trung Quốc tiến nhanh nhưng chưa thể kết luận Mỹ thua cuộc
CXMT và DRAM 4F² cho thấy Trung Quốc tiến nhanh nhưng ...

CXMT và DRAM 4F² cho thấy Trung Quốc tiến nhanh nhưng chưa thể kết luận Mỹ thua ...

Cảnh báo NAS Synology, XPEnology bị mã hóa dữ liệu: Vì sao bị tấn công và cách xử lý?
Cảnh báo NAS Synology, XPEnology bị mã hóa dữ liệu: Vì ...

Cảnh báo NAS Synology, XPEnology bị mã hóa dữ liệu: Vì sao bị tấn công và cách ...

Cảnh báo Telegram trên iPhone: Nguy cơ bị hacker tấn công qua sticker và cách phòng tránh
Cảnh báo Telegram trên iPhone: Nguy cơ bị hacker tấn ...

Cảnh báo Telegram trên iPhone: Nguy cơ bị hacker tấn công qua sticker và cách ...

PHP2Shell làm Nhật Bản “khốn đốn”: Vì sao nhiều dịch vụ tạm dừng, còn thế giới chịu ảnh hưởng ra sao?
PHP2Shell làm Nhật Bản “khốn đốn”: Vì sao nhiều dịch ...

PHP2Shell làm Nhật Bản “khốn đốn”: Vì sao nhiều dịch vụ tạm dừng, còn thế giới ...

PHP2Shell: Hai lỗ hổng nghiêm trọng đe dọa hàng triệu website – Cách kiểm tra và khắc phục
PHP2Shell: Hai lỗ hổng nghiêm trọng đe dọa hàng triệu ...

PHP2Shell: Hai lỗ hổng nghiêm trọng đe dọa hàng triệu website – Cách kiểm tra ...