Author Topic: avastvpsupdate  (Read 10325 times)

0 Members and 1 Guest are viewing this topic.

wchii

  • Guest
avastvpsupdate
« on: July 16, 2004, 05:00:56 PM »
 ::)Why am I getting this error:
avastvpsreload: can't move new VPS file to '/var/lib/avast4/' directory - Invalid cross-device link

Thanks, Bill

Offline Vlk

  • Moderator
  • Serious Graphoman
  • *
  • Posts: 11660
  • Please don't send me IM's. Email only. Thx.
    • ALWIL Software
Re:avastvpsupdate
« Reply #1 on: July 16, 2004, 05:19:53 PM »
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?
If at first you don't succeed, then skydiving's not for you.

wchii

  • Guest
Re:avastvpsupdate
« Reply #2 on: July 16, 2004, 07:22:54 PM »
Running Fedora Core1 w/Kernel 2.4.22-1.2174.npt1
Logged in as root
The vps file seems to be OK.
Thanks

Offline Vlk

  • Moderator
  • Serious Graphoman
  • *
  • Posts: 11660
  • Please don't send me IM's. Email only. Thx.
    • ALWIL Software
Re:avastvpsupdate
« Reply #3 on: July 16, 2004, 08:41:56 PM »
"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?
If at first you don't succeed, then skydiving's not for you.

thailon

  • Guest
Re:avastvpsupdate
« Reply #4 on: July 19, 2004, 11:37:34 PM »
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 ?

"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?
« Last Edit: July 19, 2004, 11:38:15 PM by thailon »

Offline Vlk

  • Moderator
  • Serious Graphoman
  • *
  • Posts: 11660
  • Please don't send me IM's. Email only. Thx.
    • ALWIL Software
Re:avastvpsupdate
« Reply #5 on: July 20, 2004, 08:01:44 AM »
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
If at first you don't succeed, then skydiving's not for you.

Offline Vlk

  • Moderator
  • Serious Graphoman
  • *
  • Posts: 11660
  • Please don't send me IM's. Email only. Thx.
    • ALWIL Software
Re:avastvpsupdate
« Reply #6 on: July 22, 2004, 02:55:50 PM »
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
« Last Edit: July 22, 2004, 02:55:59 PM by Vlk »
If at first you don't succeed, then skydiving's not for you.

jwf

  • Guest
Re:avastvpsupdate
« Reply #7 on: August 02, 2004, 01:42:36 PM »
I was having the same problem... the new binary avastvpsreload did the trick... thanks.