avastvpsupdate

::)Why am I getting this error:
avastvpsreload: can’t move new VPS file to ‘/var/lib/avast4/’ directory - Invalid cross-device link

Thanks, Bill

  1. What linux distribution are you using?
  2. Are you running avastvpsupdate.pl as root?
  3. Can you check the file /var/lib/avast4/400.vps. Is it OK?

Running Fedora Core1 w/Kernel 2.4.22-1.2174.npt1
Logged in as root
The vps file seems to be OK.
Thanks

“Invalid cross-device link” is what the system call rename is returning.

It is trying to move the downloaded temp file from /tmp to /var/lib/avast4. Do you have a clue about what “cross-device” can mean in this case?

i have the same problem. if i move this file manualy, everything is OK.
-system MDK 9.2
-i run this script as a root

  • what does it mean : check ?

I think it’s similar to this incident:
http://archives.neohapsis.com/archives/postfix/2002-05/1044.html

It’s caused by the fact the we’re using the “rename” function to move the new vps file from the temp directory but this does not work if the filesystems in /tmp and /var/lib/avast4 are different.

I guess we’ll change it to copy instead…

Thanks for the input,
Vlk

Hi, could you please try the following update:
http://www2.asw.cz/~vlk/avastvpsreload-1.0.7b-i386.tar.gz

Just unpack the file and replace the avastvpsreload binary in (I believe it’s in /usr/bin ).

Thanks
Vlk

I was having the same problem… the new binary avastvpsreload did the trick… thanks.