VHCS problems in Debian 4.0
by OKButton on Apr.17, 2007, under Computing, Hosting, Linux, Web
I have recently installed a VHCS v2.4.7.1 server on Debian 4.0 with John. We found we had an error when adding domain users we got a blue refresh icon next to the account that never went away. If we tried to remove a user we got a yellow/orange pause icon next to the account and it would not delete. On further investigation we found that there were several forums on how to fix this problem but when we ran (as they suggested) the command:
/var/www/vhcs2/engine/vhcs2-rqst-mngr
we got an error that looked like this:
If specified by -literal_key, then the key length must be equal to the chosen cipher’s key length of 56 bytes at /var/www/vhcs2/engine//vhcs2_common_code.pl line 1443
Compilation failed in require at ./var/www/vhcs2/engine/vhcs2-rqst-mngr line 33.
The solution to this problem is quite simple John found it here but basically you need to:
- edit the file /var/www/vhcs2/engine/vhcs2_common_code.pl
- go to line 1445 and edit it to look like this: ‘keysize’ => 32,
The hole section should look as bellow when finished:
1443 my $cipher = Crypt::CBC -> new(
1444 {
1445 ‘keysize’ => 32,
1446 ‘key’ => $main::db_pass_key,
1447 ‘cipher’ => ‘Blowfish’,
1448 ‘iv’ => $main::db_pass_iv,
1449 ‘regenerate_key’ => 0,
1450 ‘padding’ => ‘space’,
1451 ‘prepend_iv’ => 0
1452 }
1453 );
Update: If you doing a fresh install you may have to edit some other files for the same problem you just need to go to the line number and add this line above the cypher code.
June 23rd, 2007 on 9:51 pm
Thanks, that fixed my problem. I was having two issues, googled for the one and got a googlewhack with yours. My other problem was also fixed in the process via a different website but yours coming up as a googlewhack was interesting.