Open silverqx opened 7 years ago
So I discovered the problem now, this error occurs, when /mnt/hgfs dir doesn't exist, if I create the dir, shared folders works. Can we add condition, which will check if this folder exists and if not so this dir will be created? Pls can you send me a link to code, which is responsible for shared folders mounting?
In my case it was a problem with permissions in /mnt/hgfs subfolders I solved it deleting folder /mnt/hgfs and their subfolders. When I enabled folder sharing all was ok.
I removed /mnt/hgfs, It got recreated but do not contain any shares.
This happends to me every time I reboot my virtual machines. To solve that. With your machine running. Go to Vmware shares configuration and disable shares. Then reenable again and they will magically appear. I think that on power-up some scripts are missing or not running automatically, to mount the shares.
I will hope this will be useful for you.
2017-11-10 11:57 GMT+01:00 Mannshoch notifications@github.com:
I removed /mnt/hgfs, It got recreated but do not contain any shares.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/vmware/open-vm-tools/issues/174#issuecomment-343442892, or mute the thread https://github.com/notifications/unsubscribe-auth/APJtn1mNF4z8HfqhA613MqyQ9_dRzjI5ks5s1Cv8gaJpZM4ODvhZ .
Should had told you this also but this error was out of my sight until I restarted agin:
I don't know what these custom scripts are but I could say I did't modified them.
This error is from VMWare Tools Scripts. There are scripts for all states. Power-up, power-down, pause, resume... The power-on script does the start-up actions.
You can try running this, to check if it throws any error: bash -x /etc/vmware-tools/scripts/vmware/network poweron-vm
Maybe it will be some problem on turning up NIC adapters
In my case the directory /etc/vmware-tools/scripts/vmware
is empty
Maybe you could try to upgrade open-vm-tools package. Seems that there are missing files or maybe you're using VMWare-Tools from VMWare Workstation or Player
I did a sudo apt install --reinstall open-vm-tools open-vm-tools-desktop
and the files don't appear in this directory
Try looking at this issue: https://github.com/vmware/open-vm-tools/issues/43 It may help.
OK that problem is solved thanks @tcordon . But not the Problem with hgfs. Also activating/deactivating in vmware not work. Activating shared folder lets appear /mnt/hgfs but activating of a shared folder do not mount the folder into ubuntu.
Strange situation. I'm not sure if this is a Problem of open-vm-tools. If I Start Ubuntu 17.10 fresh, I get every time this Error.
If I wait to long for answering it. The system is after that not able to boot-up, it loops in some problems with starting programs like login service and display manager. If I answer it fast enough and the system do boot-up and then do manually restart after that, the error not any more appear while booting the VM.
(I created an other VM with Kubuntu 17.10 and do not have this Problem there. Mounting shared folders also not working and has same symptoms like my Ubuntu)
I tried on more ubuntu versions, now i'm on ubuntu 16.10, ovt are installed without any error, but when I try to enable shared folder, I get modal dialog with this error:
It's the same problem as in #62, shared folders never worked for me with ovt.