Doctor PC - Brian O'Donnell wrote: > Hello > > I am getting internal server errors after migrating to a new server. Here > are the lines from the error log: > > [Wed Jun 14 07:33:20 2006] [error] [client xx.xxx.xx.xxx] Premature end of > script headers: /xxxx/xxxx/xxxx/xxxx/manage.cgi > Ciphertext does not begin with a valid header for 'salt' header mode at > /xxxx/xxxx/xxxx/OpenSRS/XML_Client.pm line 842 > > Can anybody out there help me figure out how to fix this? > Yes!
This drove us crazy! A update of Crypt::CBC from CPAN may fix it for you now. This used to not be the case. Apparently Debian Sarge made an update to address a security issue (http://www.debian.org/security/2006/dsa-996), which created this issue, so if you updated to libcrypt-cbc-perl_2.12-1sarge1_all.deb you'll have to revert back to libcrypt-cbc-perl_2.12-1_all.deb. I don't know if whatever the current package is will fix this. For other distributions, I heard the current version of Crypt::CBC 2.17 is patched to address this issue (2.17 broke it in the first place), but if it doesn't fix it here's some downgrading instructions from David Taylor @ phatcom: How to fix the 'Ciphertext does not begin with a valid header for 'salt' header mode' error displayed on verify_install.cgi, from Reseller Client Library (RCL) release opensrs-client-2.9.4.tar.gz and perl module Crypt-CBC-2.17, using the perl cpan shell. This assumes you already have Crypt-CBC-2.17 or later installed. To install via the cpan shell, issue command: install Crypt::CBC. [Line Number] [Description]: <Command> 1. from a terminal, enter the cpan shell: perl -MCPAN -e shell 2. drop into the Crypt-CBC directory: look Crypt::CBC 3. go one directory up: cd ../ 4. download Crypt-CBC-2.14: wget ftp://archive.progeny.com/CPAN/authors/id/L/LD/LDS/Crypt-CBC-2.14.tar.gz 5. extract Crypt-CBC-2.14: tar -zxvf Crypt-CBC-2.14.tar.gz 6. go into the directory: cd Crypt-CBC-2.14 7. generate the makefile: perl Makefile.PL 8. install the module: make install 9. exit the directory: exit 10. exit the cpan shell: q - andrewm _______________________________________________ domains-dev mailing list [email protected] http://discuss.tucows.com/mailman/listinfo/domains-dev
