sdv19
Contributor
Contributor

VCSA 6.0 cannot start vsphere-client service

Hi,

I have an VCSA 6.0 which cannot start vsphere-client service, the error says:

Stderr =

2019-09-18T12:12:58.884Z   {

    "resolution": null,

    "detail": [

        {

            "args": [

                "Command: ['/sbin/service', u'vsphere-client', 'start']\nStderr: "

            ],

            "id": "install.ciscommon.command.errinvoke",

            "localized": "An error occurred while invoking external command : 'Command: ['/sbin/service', u'vsphere-client', 'start']\nStderr: '",

            "translatable": "An error occurred while invoking external command : '%(0)s'"

        }

    ],

    "componentKey": null,

    "problemId": null

When I try to see logs, it shows:

Command> com.vmware.showlog -l

Traceback (most recent call last):

  File "/usr/lib/applmgmt/support/scripts/showlog.py", line 105, in <module>

    main()

  File "/usr/lib/applmgmt/support/scripts/showlog.py", line 78, in main

    DisplayFiles(fileList)

  File "/usr/lib/applmgmt/support/scripts/showlog.py", line 42, in DisplayFiles

    tempFile = tempfile.mktemp()

  File "/opt/vmware/lib/python2.7/tempfile.py", line 360, in mktemp

    dir = gettempdir()

  File "/opt/vmware/lib/python2.7/tempfile.py", line 269, in gettempdir

    tempdir = _get_default_tempdir()

  File "/opt/vmware/lib/python2.7/tempfile.py", line 212, in _get_default_tempdir

    ("No usable temporary directory found in %s" % dirlist))

IOError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/root']

It seems there is no free space in disk, but I cannot enable shell; there is another way to free space?

Can I install another instance of VCSA in the same vcenter?

Kind regards,

David

0 Kudos
2 Replies
SureshKumarMuth
Commander
Commander

it says /tmp does not have free space. Have you tried rebooting the appliance ? Please try rebooting the appliance once, during reboot /tmp will be cleared off. Service may come up again.

Yes, you can deploy a new VCSA but you will lose all your VC data . it will be like your brand new vCenter and you have to add the hosts to new vCenter server.

Regards, Suresh https://vconnectit.wordpress.com/
0 Kudos
sdv19
Contributor
Contributor

Hi,

Reboot has not solve the problem, I will try to increase size of disks and if It fails, reinstall the VCSA.

Thanks

0 Kudos