1834156 Members
2928 Online
110064 Solutions
New Discussion

symlink() failed

 
SOLVED
Go to solution
Azaru
Regular Advisor

symlink() failed

IAMeTUnixACP:root-/var/opt/hpvm/uuids>hpvmcreate -P compass1 -c 1 -r 1G -a disk:scsi::file:/dev/vg00/rlvol12
hpvmcreate: ERROR (compass1): symlink() failed on /var/opt/hpvm/guests/compass1->/var/opt/hpvm/uuids/e509cc16-0649-11dd-be01-0017087c488e - File exists.
hpvmcreate: Unable to create the guest.


This is what i am getting when i try to create a guest machine. Any one please give me the solution for this.

Thanks in advance
azaru
4 REPLIES 4
Peter Nikitka
Honored Contributor
Solution

Re: symlink() failed

Hi,

an entry exists already with the same name you want to have for your symlink:
/var/opt/hpvm/guests/compass1

This may be a file, link, directory, ...
Rename this entry and try again - but it may be an incorrect handling in the program hpvmcreate:
Perhaps it doesn't check, if this link was already created in a previous stage of the program ...

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
Azaru
Regular Advisor

Re: symlink() failed

Dear Peter,

Now which entry i have to clear now?
Ramesh S
Esteemed Contributor

Re: symlink() failed

Hi

/var/opt/hpvm/compass1 link file file is already there.

rm that file and try hpvmcreate.

Best Regards
Ramesh
Azaru
Regular Advisor

Re: symlink() failed

thanks