Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Servers
Reload this Page VHCS Setup Issues
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Servers Anything server related, Apache, MySQL, Samba, server security, sendmail, exim, etc

Closed Thread
 
Thread Tools Display Modes
Old 03-19-2006   #1 (permalink)
Just Joined!
 
Join Date: Aug 2005
Posts: 1
VHCS Setup Issues

I am trying to install VHCS on my server. When I run the vhcs2-setup script in /var/www/vhcs2/engine/setup I get the following output:


Code:
 # ./vhcs2-setup
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/setup/../vhcs2_common_code.pl line 1443
Compilation failed in require at ./vhcs2-setup line 32.

How can I fix this?
brohism is offline  
Old 03-22-2006   #2 (permalink)
Linux Engineer
 
Join Date: Oct 2004
Location: Vancouver
Posts: 1,366
Send a message via AIM to genesus Send a message via Skype™ to genesus
Quote:
Originally Posted by brohism
I am trying to install VHCS on my server. When I run the vhcs2-setup script in /var/www/vhcs2/engine/setup I get the following output:


Code:
 # ./vhcs2-setup
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/setup/../vhcs2_common_code.pl line 1443
Compilation failed in require at ./vhcs2-setup line 32.

How can I fix this?
Do you alread have a key setup at /var/www/vhcs2/engine/setup/../vhcs2_common_code.pl line 1443, if so then you should be able to set it with the flag ./vhcs2-setup -literal_key whatever. If not, then look at the man pages for vhcs2, setup options should explain something that you are leaving out in your install.

Also, what distrobution are you using?
__________________
Operating System: GNU Emacs
genesus is offline  
Old 04-04-2006   #3 (permalink)
Just Joined!
 
Join Date: Apr 2006
Posts: 8
Here's how to solve that problem:
vhcs2_common_code.pl
line 1445
is:'key' => $main::db_pass_key,

BEFORE ADD

'keysize' => 32,

That will solve the problem.
Handyman is offline  
Old 07-19-2007   #4 (permalink)
Just Joined!
 
Join Date: Jul 2007
Posts: 1
Thumbs up A solution for those who use vhcs2 debian packages

I used vhcs2 debian packages from apt.scunc.it. As I wanted to upgrade a vhcs2 installation via apt-get upgrade or apt-get dist-upgrade I only got this:

Quote:
If specified by -literal_key, then the key length must be equal to the chosen cipher's key length of 56 bytes in ... line ...
The script responsible for this was said to be vhcs.postinstall accoarding to apt. The message beat me to key size issues. Takink a closer look i found out that the installed vhcs package used the same cipher but a key size of 56 for the db pass key while the new package wanted to do key size of 32 in its postinstall. The cipher package however don't allow this.
So my solution is simple: force that postinstall to use a key size of 56 instead.
Open up vhcs.postinstall (the error message tells you the exact path to it) and go down to the line it reports the error in. Then go some lines backowards and search for $keylen => 32. Replace the 32 with 56 and save it.
Then do apt-get (dist-)upgrade again. It then worked here without any more error
Prolly an issue that should be reported to the package maintainers...

greets
Sebastian
sw2090 is offline  
Closed Thread



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
 

Free Magazines
Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe
Systems Management News, the newspaper for IT systems administration and data center managers!
Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 11:18 PM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0