vcsa or photon-machine can not be opened without the root password vcenter issue commands to restart the service records VCSA

Since FQDN is not set, resulting in no root password

3. Re: What is photon-machine login?
brend26 Hot Shot

you have installed the VCSA with IP address it seems. Please check the VC pnid.

 

run this command on VC.

 

/usr/lib/vmware-vmafd/bin/vmafd-cli get-pnid --server-name localhost

 

you need to provide root password to login. If you forgot the password, login to grub mode and reset the password.

 

 

Restart vcsa, the guide interface (GUI Photon) in the boot entry edit by e

In later added consoleblank = 0 RW the init = / bin / the bash, start the F10

After entering the command line, execute passwd -x 700 root, password is extended (chage -l root can see the expiration time, the 700 can write longer 2000, etc.)

The best way to perform passwd to modify the root password!

Run umount / and reboot -f 

 

 

esxi host reboots caused vcsa page can not open, you can manually enter the console vcsa open vcsa services:

VCSA service restart command

 

Sphere Web Client interface services are:

vmware-mbcs

vmware-netdumper

vmware-rbd-watchdog

Run the command confirmation, first of all execute the command:

service-control --status vmware-mbcs

service-control --status vmware-netdumper

service-control --status vmware-rbd-watchdog

You can see the service in the Stopped state.

See above several services are at a standstill, then the next attempt to manually start them with the following command:

service-control --start vmware-rbd-watchdog vmware-netdumper vmware-mbcs

VMware vCenter Server Appliance 6.5.0.14000

Type: vCenter Server with an embedded Platform Services Controller
Connected to service


* List APIs: "help api list"

* List Plugins: "help pi list"

* Launch BASH: "shell"


// connect using shell

Command> shell

Shell access is granted to root


// Check VMware services help

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


// lists all controllable VMware Service

root@photon-machine [ ~ ]# service-control --list-services


// Check VMware services running status

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

Stopped:
vsphere-client

root@photon-machine [ ~ ]# service-control --stop vsphere-client


// 启动
vsphere-client
root@photon-machine [ ~ ]# service-control --start vsphere-client


Perform start operation. vmon_profile=None, svc_names=['vsphere-client'],
include_coreossvcs=False, include_leafossvcs=False
2018-03-17T16:19:28.015Z
Service vsphere-client state STOPPED
Successfully started service
vsphere-client

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

Running:
vsphere-client

Sphere Web Client interface services are:

vmware-mbcs

vmware-netdumper

vmware-rbd-watchdog

Run the command confirmation, first of all execute the command:

service-control --status vmware-mbcs

service-control --status vmware-netdumper

service-control --status vmware-rbd-watchdog

You can see the service in the Stopped state.

See above several services are at a standstill, then the next attempt to manually start them with the following command:

service-control --start vmware-rbd-watchdog vmware-netdumper vmware-mbcs

VMware vCenter Server Appliance 6.5.0.14000

Type: vCenter Server with an embedded Platform Services Controller
Connected to service


* List APIs: "help api list"

* List Plugins: "help pi list"

* Launch BASH: "shell"


// connect using shell

Command> shell

Shell access is granted to root


// Check VMware services help

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


// lists all controllable VMware Service

root@photon-machine [ ~ ]# service-control --list-services


// Check VMware services running status

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

Stopped:
vsphere-client

root@photon-machine [ ~ ]# service-control --stop vsphere-client


// 启动
vsphere-client
root@photon-machine [ ~ ]# service-control --start vsphere-client


Perform start operation. vmon_profile=None, svc_names=['vsphere-client'],
include_coreossvcs=False, include_leafossvcs=False
2018-03-17T16:19:28.015Z
Service vsphere-client state STOPPED
Successfully started service
vsphere-client

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

Running:
vsphere-client

Guess you like

Origin www.cnblogs.com/ValyrianSteel/p/12333604.html