Cannot mmap file

Casey's picture

Hello: I deployed the Core 11.1 VM (from OVF) on my ESXi4.1 system. After recovering from the troubles with updating (udev) during and after install, I tried to install a few things (postfix) and got this.. not sure if I'd call it an error, but I find it troubling:

Processing triggers for libc-bin ...

ldconfig deferred processing now taking place

/sbin/ldconfig.real: Cannot mmap file /usr/lib/libGuestLib.so.

/sbin/ldconfig.real: Cannot mmap file /usr/lib/libGuestLibJava.so.

Then again:

root@core ~# dpkg-reconfigure postfix

 * Stopping Postfix Mail Transport Agent postfix

   ...done.

/sbin/ldconfig.real: Cannot mmap file /usr/lib/libGuestLib.so.

/sbin/ldconfig.real: Cannot mmap file /usr/lib/libGuestLibJava.so.

/sbin/ldconfig.real: Cannot mmap file /usr/lib/libGuestLib.so.

/sbin/ldconfig.real: Cannot mmap file /usr/lib/libGuestLibJava.so.

Cause for concern or not?

Thank you.

Kevin's picture

Have a look at this

I know its not Turnkey but I found it to be a great help

http://jazzymarketing.com/main/0805/install-centos-5-server-webmin-how


This link got me moving in the right direction.

http://communities.vmware.com/message/1295996

The issue lies in an incorrectly formed pair of links created during install of the vmware-tools.  If you issue the following command, you will see that this is not a linux shared object (.so), but a directory which contains another shared object with the same name

ls -l /usr/lib/libGuestLib*.so

 

the method i've used for fixing this (without changing /usr/bin/vmware-config-tools.pl) is to clear the bad symlinks and create ones that point to the actual objects

rm /usr/lib/libGuestLib.so
ln -s /usr/lib/vmware-tools/lib32/libvmGuestLib.so/libvmGuestLib.so /usr/lib/libGuestLib.so
rm /usr/lib/libGuestLibJava.so
ln -s /usr/lib/vmware-tools/lib32/libvmGuestLibJava.so/libvmGuestLibJava.so /usr/lib/libGuestLibJava.so
 


oleav's picture

Got same issue installing OTRS on TurnKey LAMP, happy that found this post.

Daniel's picture

Thanks, that worked!

Post new comment