VMware Communities
RoFz
Contributor
Contributor

VMware Workstation Server (vmware-hostd) not starting up and logging backtrace error on syslog

Hello

VMware Workstation 11.1.0 build-2496824 installed on a Ubuntu 14.04 PC never initiates the Workstation Server (vmware-hostd) service. I would like to share virtual machines.

Even when starting hostd manually, by issuing a /etc/init.d/vmware-workstation-server start command, the following errors are logged in /var/log/syslog:

Apr 17 01:29:48 Ubuntu-PC kernel: [  199.299595] warning: process `vmware-hostd' used the deprecated sysctl system call with 1.1.

Apr 17 01:29:49 Ubuntu-PC dbus[826]: [system] Activating service name='org.freedesktop.Hal' (using servicehelper)

Apr 17 01:29:50 Ubuntu-PC dbus[826]: [system] Successfully activated service 'org.freedesktop.Hal'

Apr 17 01:29:50 Ubuntu-PC acpid: client connected from 5077[122:129]

Apr 17 01:29:50 Ubuntu-PC acpid: 1 client rule loaded

Apr 17 01:29:52 Ubuntu-PC Hostd: error: N7Vmacore22ResourceInUseExceptionE(Resource is already in use: <acceptor p:0x00007f8973284050, h:20, <TCP '127.0.0.1:8307'>>)

Apr 17 01:29:52 Ubuntu-PC Hostd: backtrace:

Apr 17 01:29:52 Ubuntu-PC Hostd: backtrace[00] rip 00007f896de754f4 Vmacore::System::Stacktrace::CaptureWork(unsigned int)

Apr 17 01:29:52 Ubuntu-PC Hostd: backtrace[01] rip 00007f896dc76837 Vmacore::System::SystemFactoryImpl::CreateQuickBacktrace(Vmacore::Ref<Vmacore::System::Backtrace>&)

Apr 17 01:29:52 Ubuntu-PC Hostd: backtrace[02] rip 00007f896dc1f82d Vmacore::Throwable::Throwable(std::string const&)

Apr 17 01:29:52 Ubuntu-PC Hostd: backtrace[03] rip 00007f896ddeb60d /usr/lib/vmware/lib/libvmacore.so/libvmacore.so(+0x35060d) [0x7f896ddeb60d]

Apr 17 01:29:52 Ubuntu-PC Hostd: backtrace[04] rip 00007f896ddf413a /usr/lib/vmware/lib/libvmacore.so/libvmacore.so(+0x35913a) [0x7f896ddf413a]

Apr 17 01:29:52 Ubuntu-PC Hostd: backtrace[05] rip 00007f896fd4ff0d /usr/lib/vmware/bin/vmware-hostd(+0xc31f0d) [0x7f896fd4ff0d]

Apr 17 01:29:52 Ubuntu-PC Hostd: backtrace[06] rip 00007f896f6625ca /usr/lib/vmware/bin/vmware-hostd(+0x5445ca) [0x7f896f6625ca]

Apr 17 01:29:52 Ubuntu-PC Hostd: backtrace[07] rip 00007f896f667fcf /usr/lib/vmware/bin/vmware-hostd(+0x549fcf) [0x7f896f667fcf]

Apr 17 01:29:52 Ubuntu-PC Hostd: backtrace[08] rip 00007f896dc3b4d8 /usr/lib/vmware/lib/libvmacore.so/libvmacore.so(+0x1a04d8) [0x7f896dc3b4d8]

Apr 17 01:29:52 Ubuntu-PC Hostd: backtrace[09] rip 00007f896dc3a048 Vmacore::Service::InitApp(Vmacore::Service::Config*)

Apr 17 01:29:52 Ubuntu-PC Hostd: backtrace[10] rip 00007f896fe2e500 /usr/lib/vmware/bin/vmware-hostd(+0xd10500) [0x7f896fe2e500]

Apr 17 01:29:52 Ubuntu-PC Hostd: backtrace[11] rip 00007f896fe240c3 /usr/lib/vmware/bin/vmware-hostd(+0xd060c3) [0x7f896fe240c3]

Apr 17 01:29:52 Ubuntu-PC Hostd: backtrace[12] rip 00007f896fe314a3 /usr/lib/vmware/bin/vmware-hostd(+0xd134a3) [0x7f896fe314a3]

Apr 17 01:29:52 Ubuntu-PC Hostd: backtrace[13] rip 00007f8967fffec5 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f8967fffec5]

Apr 17 01:29:52 Ubuntu-PC Hostd: backtrace[14] rip 00007f896f5d2cf9 /usr/lib/vmware/bin/vmware-hostd(+0x4b4cf9) [0x7f896f5d2cf9]

Apr 17 01:29:52 Ubuntu-PC Hostd: 

Tried a vmware-modconfig --console --install-all with no success.

Seems like a software or hardware bug.

The most interesting line here is the one that mention "Resource is already in use: <acceptor p:0x00007f8973284050, h:20, <TCP '127.0.0.1:8307'>". Unfortunately i could not find anything else allocating the 8307 (tried with netstat --program, fuser and lsof).

6 Replies
bonnie201110141
VMware Employee
VMware Employee

Will you please attach below files?

1) /var/log/vmware/hostd.log

2) the whole /etc/vmware/hostd folder.

Thanks!

Reply
0 Kudos
Wanninger
Contributor
Contributor

Hi,

I have the same problem with my system since the latest Ubuntu updates.

Before the update, the workstation server service worked fine on this machine.

I'm running Ubuntu 14.04 (Linux Mint 17 Quiana with the latest updates)

The latest updates which resultes in the fault, are also attached as dpkg.log inside the ...tgz

Thank you

Reply
0 Kudos
bonnie201110141
VMware Employee
VMware Employee

Thank you for providing logs. I have filed an internal bug to track it.

Reply
0 Kudos
Nidhoggur929
Contributor
Contributor

Hi, I got the same issue in Workstation Pro 12.05.

Here is the whole hostd folder, thanks in advance.

Reply
0 Kudos
0lach
Contributor
Contributor

Had this issue last week.
After starting vmware-hostd with strace, got logs from two machines

At left - the one, on which everything was fine

At right - machine with this issue (N7Vmacore22ResourceInUseExceptionE)

unknown.png

As you can see, right one is trying to bind twice on same address

I checked everything what was differ between these machines, and found that in left machine /etc/hosts was fine

127.0.0.1 localhost

::1 localhost

But at second one i had two identical entries (127.0.0.1 localhost)

127.0.0.1 localhost

::1 localhost
127.0.0.1 localhost

After removing the duplicate, this issue was solved

dariusd
VMware Employee
VMware Employee

Awesome debugging!   Much respect!  :smileycool:

Thank you very much for posting back here with all that detail; Hopefully your solution will benefit anyone else hitting the same issue.

--

Darius

Reply
0 Kudos