Submitted by hescominsoon on Sat, 01/08/2011 - 13:24 Pro Licensee
I am running debain 5.x and enabled pbzip2. When i ran the re-check donfig i get this: Error - Perl execution failed
Undefined subroutine &virtual_server::compare_versions called at virtual-server-lib-funcs.pl line 11716.
Status:
Closed (fixed)
Comments
Submitted by andreychek on Sat, 01/08/2011 - 13:31 Comment #1
What Virtualmin version are you using?
There's an issue where in order to use pbzip2, you need version pbzip2 version 1.0.4 (which doesn't come with Debian 5, unfortunately).
Newer Virtualmin versions should detect that issue, and notify you of that. So I'm curious if you're by chance using an older Virtualmin release...
Submitted by hescominsoon on Sat, 01/08/2011 - 13:39 Pro Licensee Comment #2
As a further note. The backups also produce zero byte sized files. If i use regular bzip or gzip everything is fine.
Submitted by JamieCameron on Sat, 01/08/2011 - 14:29 Comment #3
This is a due to a bug in Virtualmin's detection of the pbzip2 version. The only fix is to disable use of pbzip2, on the Virtualmin Configuration page. The next release will fix this..
Unfortunately the version that is supplied with Debian 5 cannot be used by Virtualmin anyway, as it cannot output compressed data to STDOUT.
Submitted by hescominsoon on Sat, 01/08/2011 - 15:02 Pro Licensee Comment #4
is virtualmin going to provide a different pbzip2 then or are we going to have to recompile one?
Submitted by andreychek on Sat, 01/08/2011 - 15:36 Comment #5
While we do support pbzip2 for backups in distributions that offer pbzip2 1.0.4 and newer, we don't maintain a pbzip2 package for other distributions.
It shouldn't be hard to compile pbzip2 1.0.4 on Debian 5 if you're hoping to use pbzip2.
Alternatively, Debian 6 will be coming out soon (within a few weeks hopefully, though they don't specify a particular release date), and would be shipping with pbzip2 version 1.1.1, which should work just fine.
However, your best bet for getting up and running with pbzip2 soon would just be to compile a version for Debian 5.
Submitted by Issues on Sun, 01/23/2011 - 03:33 Comment #6
Automatically closed -- issue fixed for 2 weeks with no activity.