Home

Gallery

Archives

Blog

About

Contact Me

"Personal thoughts, ramblings, and nonsense from Drew, himself."

VMWare: “Failed to create named-pipe directory” error

Have you ever received the Failed to create named-pipe directory error message via the vmware-mui error log files, and not able to access the VMWare Management Interface? If so, here’s the fix.

The error message at hand is the following:

/var/log/vmware-mui/error_log

[Mon Oct  2 08:37:46 2006] [error] ModVmdb load: Address of ModVmdb_InitCore: 0xb7c745a0
[Mon Oct  2 08:37:46 2006] [error] Failed to create named-pipe directory: /var/run/vmware//httpd/3854: No such file or directory
[Mon Oct  2 08:37:46 2006] [error] VMWARE PANIC: \nNOT_IMPLEMENTED F(4023):707
[Mon Oct  2 08:37:46 2006] [error] Panic: Could not allocate temporary context.

I believe I have only seen this issue with Ubuntu systems. I don’t know if this is a bug or not, but it sure was bugging me. I also believe other people have resolved this, but I’m just going to put my idea out there just in case someone likes the way I choose to resolve this issue myself. I decided to create the /var/run/vmware/httpd directory and then change the ownership to www-data (Apache user for Apache default in Ubuntu). Then, I change the permissions to read, write, execute for the owner (www-data), and no other user can touch it, which is a good choice of security.

Here’s the fix:

BASH

mkdir /var/run/vmware/httpd
chown www-data /var/run/vmware/httpd
chmod 700 /var/run/vmware/httpd

Let me know if you have another work around, or maybe this doesn’t fix your system; if so, let’s talk.

Discussion always soothes thy heart.

1 Brian says: Quote this comment

Thanks for the fix. It got me going again.

-B

2 Drew says: Quote this comment

Hey Brian,

Glad you got it working again. Let me know if you run into any other troubles.

Regards,
Drew

3 u235 says: Quote this comment

Worked as prescribed, thanks! Only difference for me was owner had to be nobody:nobody on RHEL4.

4 MrGroove says: Quote this comment

Thank you

5 roman says: Quote this comment

Hello,

also got this error.

Tried to fix it according to your suggestions.
Didn’t work.
Directory /var/run/vmware/httpd does exist with the appropriate owner and access rights.

Running CentOS 4.4

any clue?

6 Misha says: Quote this comment

Thanks, it works for me.

7 Drew says: Quote this comment

Thanks, it works for me.

Great! I’m glad it resolved your issue.

8 Riky4480 says: Quote this comment

I have modified the script /etc/init.d/httpd.vmware and i have inserted of the beginning of script

if [ ! -e /var/run/vmware/httpd ];
then
mkdir /var/run/vmware/httpd;
fi
chown www-data /var/run/vmware/httpd
chmod 700 /var/run/vmware/httpd

if the directory don’t exist it’s create… but if exist for security I chanche the permission of directory.

Thanks for the suggestion & i’m sorry for my orrible english

Go ahead, say somethin'





The Notebook

Windows Fix: "Insufficient system resources exist to complete the API"
Ugh. Another Windows error. Another Windows error that really doesn’t tell you what is really wrong; some (most) people aren’t nerds. Don’t worry, I’ve got your fix right here. This has to do with memory on your Windows XP system. Have you tried Hibernating or putting your system into standby after upgrading your RAM? If you have, keep on reading. More...

Curing 'Symbolic link not allowed' (Apache 2.0)
Awhile back when trying to add a directory to Apache on my Ubuntu 6.06 LTS server, I ran into some issues. These issues, of course were the infamous 403 “Forbidden” error that your web barfs up when you try to access a server that is not publicly viewable, because of permission issues. I’m going to give you my scenario and explain how you can fix this issue, so that you don’t have to go through an hour of throwing your hands up in disgust. More...

VMWare: "Failed to create named-pipe directory" error
Have you ever received the Failed to create named-pipe directory error message via the vmware-mui error log files, and not able to access the VMWare Management Interface? If so, here’s the fix. More...

/bin/rm: Argument list too long
Removing gigs and gigs, or just alot, of unwanted “opened” email that often clutters the system. More...