VMware Cloud Community
maguar99
Contributor
Contributor

Error when issueing vifp addserver command

I have a vsphere 4.1 host, that seems to work fine form most actions,

I wanted to install the dell/Equallogic multipathing plugin, which requires VMA, when I did, I am hitting a stange roadblock.

$ vifp addserver "10.32.0.221"

Error: No such file or directory

and sometimes:

$ vifp addserver "10.32.0.221"

Error: Operation now in progress

10.32.0.221 is a fully functioning ESX 4.1 host, with local authentication, and I am able to ssh to it from the VMA box

I am able to use this vifp command on a second 4.1 host 10.32.0.222 without issue..

Are there any VMA logs?

I am logged in a vma-admin, but strangley I dont have access to the /var/log/messages file, and I do not know the "root" password, just the vi-admin password which I set. (su more /var/log/messages requires the "root" password)

0 Kudos
4 Replies
maguar99
Contributor
Contributor

I have a log from

/var/log/vmware/vma/vifpd.log

command-> 1

ADDSERVER

MessageQueue::RecvMessage - Queue

id is 0

Error while connecting. No such f

ile or directory.

Error adding target. 'No such fil

e or directory'

MessageQueue::SendMessage - Queue

id is 0

MessageQueue::SendMessage - Queue

id is 0

It does not provide much information

0 Kudos
lamw
Community Manager
Community Manager

To view the logs, you'll need to use "sudo" to tail the logs while you add your target to see what errors you're getting

e.g.

tail -f /var/log/vmware/vma/vifpd.log

Have you filled up your vMA system by any chance?

What do you see when you run "vifp listservers"?

=========================================================================

William Lam

VMware vExpert 2009,2010

VMware scripts and resources at:

Twitter: @lamw

Getting Started with the vMA (tips/tricks)

Getting Started with the vSphere SDK for Perl

VMware Code Central - Scripts/Sample code for Developers and Administrators

VMware Developer Community

If you find this information useful, please award points for "correct" or "helpful".

0 Kudos
maguar99
Contributor
Contributor

I was able to view the logs now with that command. .

This is a freshly installed VMA appliance.

$ df

Filesystem 1K-blocks Used Available Use% Mounted on

/dev/sda5 3446860 1446888 1822056 45% /

/dev/sda3 505636 10813 468718 3% /var/log

/dev/sda1 101086 11911 83956 13% /boot

tmpfs 255292 0 255292 0% /dev/shm

I am able to add/remove other ESX 4.1 hosts

$ vifp listservers -l

paacsvc01.somewhere.net vCenter fpauth

10.32.0.222 ESX fpauth

There is just a particular ESX host with an issue.. And I am trying to avoid having to re-install that host. Would there by any logs to look for on the host related to this error?

0 Kudos
maguar99
Contributor
Contributor

This issue was resolved by mapping host name to the host IP that was having issues. I am not sure why it fixed it, but it did.

I mapped paesx01.somewhere.net to the host 10.32.0.221 which was giving me issues.

I then issued the vifp addserver paesx01.somewhere.net (instead of by IP) and it worked!

0 Kudos