Page 1 of 1

Encryption passwords enabled, and now I can not loin

PostPosted: Tue May 27, 2014 11:16 am
by saulortega
Hello.

I did it:

cpan
install Crypt::Eksblowfish::Bcrypt
quit
/usr/share/astguiclient/ADMIN_bcrypt_convert.pl --debugX --test (no errors showen)
/usr/share/astguiclient/ADMIN_bcrypt_convert.pl --debugX

Now, I can not login. The password is correct, I see it in mysql (select * from vicidial_users;)




~ # /usr/share/astguiclient/ADMIN_bcrypt_convert.pl --debugX --update-override

----- DEBUGGING OUTPUT ENABLED: 1 -----

----- EXTRA DEBUGGING OUTPUT ENABLED: 1 -----

----- UPDATE OVERRIDE ENABLED: 1 -----
SYSTEM SETTINGS: |1|Cad6b7ZCGsjLwp2h|O0DiLkG1UiLFa0nKb1.wY.|2|

|SELECT user,pass,full_name from vicidial_users;|
3 USERS FOUND IN YOUR SYSTEM
STARTING BCRYPT PROCESS
PASS HASH: |6666|xxxxxxxx|Admin|60|xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx|xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx|
PASS HASH: |VDAD|donotedit|Outbound Auto Dial|60|$2a$02$O0DiLkG1UiLFa0nKb1.wY.jnIFUyw.0buxbZw0hZruHbcMA3s6eoi|jnIFUyw.0buxbZw0hZruHbcMA3s6eoi|
PASS HASH: |VDCL|donotedit|Inbound No Agent|60|$2a$02$O0DiLkG1UiLFa0nKb1.wY.jnIFUyw.0buxbZw0hZruHbcMA3s6eoi|jnIFUyw.0buxbZw0hZruHbcMA3s6eoi|
TOTAL bcrypt time: |0.004252 (1401206716.834082 - 1401206716.829830)|
STARTING USER RECORD UPDATES
USER UPDATE: |6666|xxxxxxxx|Admin|E0uq6.L3zn1dme6MsEGBgNZATnyhwf2|1|
SQL: |UPDATE vicidial_users set pass_hash='xxxxxxxxxxxxxxxxxxxxxxxxxxxxx' where user='6666';|
USER UPDATE: |VDAD|donotedit|Outbound Auto Dial|jnIFUyw.0buxbZw0hZruHbcMA3s6eoi|1|
SQL: |UPDATE vicidial_users set pass_hash='jnIFUyw.0buxbZw0hZruHbcMA3s6eoi' where user='VDAD';|
USER UPDATE: |VDCL|donotedit|Inbound No Agent|jnIFUyw.0buxbZw0hZruHbcMA3s6eoi|1|
SQL: |UPDATE vicidial_users set pass_hash='jnIFUyw.0buxbZw0hZruHbcMA3s6eoi' where user='VDCL';|
BCRYPT SET TO ENABLED ON YOUR SYSTEM: |1|UPDATE system_settings set pass_hash_enabled='1';|
BCRYPT PROCESSES COMPLETE: 3 USERS UPDATED



A new installation.

$admin_version = '2.8-440a';
$build = '140521-2101';

Re: Encryption passwords enabled, and now I can not loin

PostPosted: Tue May 27, 2014 9:03 pm
by mflorell
When you enable password encryption, the "pass" field in vicidial_users is no longer used. So it doesn't matter what it shows, it's no longer the password.

Re: Encryption passwords enabled, and now I can not loin

PostPosted: Thu Oct 16, 2014 9:51 am
by mumin37
Hi, I have the same problem with password encryption.

I'm trying to do this on my test virtual machine, but id doesn't work.

My installation:
From ISO: Vicibox_v.6.0.x86_64-6.0.2
Vicidial Version: VERSION: 2.10-451a BUILD: 140902-0816

I've just installed vicidial using: os-install, reboot, zypper refresh, zypper up, reboot, vicibox-express.
I've logged into Vicidial, created my own password for 6666 admin, server, phones etc, I've checked encryption in System Settings,
then following http://vicidial.org/docs/ENCRYPTED_PASSWORDS.txt instruction I've done everything what was written. No errors.

Now I can't log into vicidial admin page.


Now, mysql:
Code: Select all
select pass_hash_enabled from system_settings;
+-------------------+
| pass_hash_enabled |
+-------------------+
| 1                 |
+-------------------+


select user,pass,pass_hash from vicidial_users;
+------+-------+---------------------------------+
| user | pass  | pass_hash                       |
+------+-------+---------------------------------+
| 6666 |       | kkzHRHEKeRA/CeCt7Qg4MOQcA898WIa |
| VDAD |       | kkzHRHEKeRA/CeCt7Qg4MOQcA898WIa |
| VDCL |       | kkzHRHEKeRA/CeCt7Qg4MOQcA898WIa |
+------+-------+---------------------------------+


I can't login using previous password, so I cannot change it.
What's wrong or what I'm doing wrong?

Could anyone help? Thanks in advance.

Re: Encryption passwords enabled, and now I can not loin

PostPosted: Sat Oct 18, 2014 4:55 pm
by mumin37
Is there no answer for me? If anyone could help I'll be greatful.

Re: Encryption passwords enabled, and now I can not loin

PostPosted: Sat Oct 18, 2014 6:29 pm
by williamconley
Perhaps you could post the output from your CLI entries to activate encrypted passwords. So we have some idea of what happened. This would likely require doing it again, of course, to get that output.

Re: Encryption passwords enabled, and now I can not loin

PostPosted: Sat Oct 18, 2014 8:47 pm
by mumin37
Thanks for your reply. It's the output from CLI:

debugX & test

Code: Select all
# /usr/share/astguiclient/ADMIN_bcrypt_convert.pl --debugX --test

----- DEBUGGING OUTPUT ENABLED: 1 -----

----- EXTRA DEBUGGING OUTPUT ENABLED: 1 -----

----- TESTING MODE ENABLED: 1 -----
SYSTEM SETTINGS:     |0|Xd1a9C3BABRPlSIl|UEOvWRjBKyH/OjHOZDLHZ.|2|

|SELECT user,pass,full_name from vicidial_users;|
4 USERS FOUND IN YOUR SYSTEM
STARTING BCRYPT PROCESS
PASS HASH:     |6666|1234|Admin|60|$2a$02$UEOvWRjBKyH/OjHOZDLHZ.290ThEcmyiP4j./ZkI9/WFMeF7cix4i|290ThEcmyiP4j./ZkI9/WFMeF7cix4i|
PASS HASH:     |VDAD||Outbound Auto Dial|60|$2a$02$UEOvWRjBKyH/OjHOZDLHZ.1jfoiTbPNTqzEyK/5zic5MoTNjywTyG|1jfoiTbPNTqzEyK/5zic5MoTNjywTyG|
PASS HASH:     |VDCL||Inbound No Agent|60|$2a$02$UEOvWRjBKyH/OjHOZDLHZ.1jfoiTbPNTqzEyK/5zic5MoTNjywTyG|1jfoiTbPNTqzEyK/5zic5MoTNjywTyG|
PASS HASH:     |101||Maciej Bursztynowski|60|$2a$02$UEOvWRjBKyH/OjHOZDLHZ.1jfoiTbPNTqzEyK/5zic5MoTNjywTyG|1jfoiTbPNTqzEyK/5zic5MoTNjywTyG|
TOTAL bcrypt time: |0.003179 (1413683027.463709 - 1413683027.460530)|
STARTING USER RECORD UPDATES
USER UPDATE:     |6666|1234|Admin|290ThEcmyiP4j./ZkI9/WFMeF7cix4i|0|
SQL:   |UPDATE vicidial_users set pass_hash='290ThEcmyiP4j./ZkI9/WFMeF7cix4i'  where user='6666';|
USER UPDATE:     |VDAD||Outbound Auto Dial|1jfoiTbPNTqzEyK/5zic5MoTNjywTyG|0|
SQL:   |UPDATE vicidial_users set pass_hash='1jfoiTbPNTqzEyK/5zic5MoTNjywTyG'  where user='VDAD';|
USER UPDATE:     |VDCL||Inbound No Agent|1jfoiTbPNTqzEyK/5zic5MoTNjywTyG|0|
SQL:   |UPDATE vicidial_users set pass_hash='1jfoiTbPNTqzEyK/5zic5MoTNjywTyG'  where user='VDCL';|
USER UPDATE:     |101||Maciej Bursztynowski|1jfoiTbPNTqzEyK/5zic5MoTNjywTyG|0|
SQL:   |UPDATE vicidial_users set pass_hash='1jfoiTbPNTqzEyK/5zic5MoTNjywTyG'  where user='101';|
BCRYPT PROCESSES COMPLETE: 0 USERS UPDATED


then without test:
Code: Select all
/usr/share/astguiclient/ADMIN_bcrypt_convert.pl --debugX

----- DEBUGGING OUTPUT ENABLED: 1 -----

----- EXTRA DEBUGGING OUTPUT ENABLED: 1 -----
SYSTEM SETTINGS:     |0|Xd1a9C3BABRPlSIl|UEOvWRjBKyH/OjHOZDLHZ.|2|

|SELECT user,pass,full_name from vicidial_users;|
4 USERS FOUND IN YOUR SYSTEM
STARTING BCRYPT PROCESS
PASS HASH:     |6666|1234|Admin|60|$2a$02$UEOvWRjBKyH/OjHOZDLHZ.290ThEcmyiP4j./ZkI9/WFMeF7cix4i|290ThEcmyiP4j./ZkI9/WFMeF7cix4i|
PASS HASH:     |VDAD||Outbound Auto Dial|60|$2a$02$UEOvWRjBKyH/OjHOZDLHZ.1jfoiTbPNTqzEyK/5zic5MoTNjywTyG|1jfoiTbPNTqzEyK/5zic5MoTNjywTyG|
PASS HASH:     |VDCL||Inbound No Agent|60|$2a$02$UEOvWRjBKyH/OjHOZDLHZ.1jfoiTbPNTqzEyK/5zic5MoTNjywTyG|1jfoiTbPNTqzEyK/5zic5MoTNjywTyG|
PASS HASH:     |101||Maciej Bursztynowski|60|$2a$02$UEOvWRjBKyH/OjHOZDLHZ.1jfoiTbPNTqzEyK/5zic5MoTNjywTyG|1jfoiTbPNTqzEyK/5zic5MoTNjywTyG|
TOTAL bcrypt time: |0.003663 (1413683086.775979 - 1413683086.772316)|
STARTING USER RECORD UPDATES
USER UPDATE:     |6666|1234|Admin|290ThEcmyiP4j./ZkI9/WFMeF7cix4i|1|
SQL:   |UPDATE vicidial_users set pass_hash='290ThEcmyiP4j./ZkI9/WFMeF7cix4i'  where user='6666';|
USER UPDATE:     |VDAD||Outbound Auto Dial|1jfoiTbPNTqzEyK/5zic5MoTNjywTyG|1|
SQL:   |UPDATE vicidial_users set pass_hash='1jfoiTbPNTqzEyK/5zic5MoTNjywTyG'  where user='VDAD';|
USER UPDATE:     |VDCL||Inbound No Agent|1jfoiTbPNTqzEyK/5zic5MoTNjywTyG|1|
SQL:   |UPDATE vicidial_users set pass_hash='1jfoiTbPNTqzEyK/5zic5MoTNjywTyG'  where user='VDCL';|
USER UPDATE:     |101||Maciej Bursztynowski|1jfoiTbPNTqzEyK/5zic5MoTNjywTyG|1|
SQL:   |UPDATE vicidial_users set pass_hash='1jfoiTbPNTqzEyK/5zic5MoTNjywTyG'  where user='101';|
BCRYPT SET TO ENABLED ON YOUR SYSTEM: |1|UPDATE system_settings set pass_hash_enabled='1';|
BCRYPT PROCESSES COMPLETE: 4 USERS UPDATED


and then... I can't login. I know password, which was set as non-crypted password. When I'm trying to login, it fails.

Re: Encryption passwords enabled, and now I can not loin

PostPosted: Sat Oct 18, 2014 10:36 pm
by williamconley
I'm relatively certain there was a module installation. Did that install correctly?

Re: Encryption passwords enabled, and now I can not loin

PostPosted: Tue Oct 21, 2014 8:46 am
by mumin37
Hi, thanks for your reply.

Do you mean Crypt::Eksblowfish::Bcrypt module from cpan ?

If yes, it installed successfully. Thtat's why I can't see any mistakes in this procedure.
I've tried to install Vicibox once more, but with the same result.

Re: Encryption passwords enabled, and now I can not loin

PostPosted: Tue Oct 21, 2014 10:16 am
by williamconley
mumin37 wrote:Hi, thanks for your reply.

Do you mean Crypt::Eksblowfish::Bcrypt module from cpan ?

If yes, it installed successfully. Thtat's why I can't see any mistakes in this procedure.
I've tried to install Vicibox once more, but with the same result.

Since there are only three basic steps, two installs and a value change ... and you've posted the results of one of those step ... and it's obvious that you did change the value ... it may be useful to show the cli output from the cpan module installation. Just to be sure. Of course, you could also post the line from the config file for the value change. All bases covered then.

Re: Encryption passwords enabled, and now I can not loin

PostPosted: Tue Oct 21, 2014 11:25 am
by mumin37
Hi, On my second VM installation, I've checked logs:
Code: Select all
tail -f /var/log/apache2/error_log
Can't locate Crypt/Eksblowfish/Bcrypt.pm:   Permission denied at ../agc/bp.pl line 22.
BEGIN failed--compilation aborted at ../agc/bp.pl line 22.
Can't locate Crypt/Eksblowfish/Bcrypt.pm:   Permission denied at ../agc/bp.pl line 22.
BEGIN failed--compilation aborted at ../agc/bp.pl line 22.
Can't locate Crypt/Eksblowfish/Bcrypt.pm:   Permission denied at ../agc/bp.pl line 22.
BEGIN failed--compilation aborted at ../agc/bp.pl line 22.
Can't locate Crypt/Eksblowfish/Bcrypt.pm:   Permission denied at ./bp.pl line 22.
BEGIN failed--compilation aborted at ./bp.pl line 22.
Can't locate Crypt/Eksblowfish/Bcrypt.pm:   Permission denied at ./bp.pl line 22.
BEGIN failed--compilation aborted at ./bp.pl line 22.


So I went back to cpan to install Crypt::Eksblowfish::Bcrypt once again. There is output:
Code: Select all
linux:/ # cpan
Terminal does not support AddHistory.

cpan shell -- CPAN exploration and modules installation (v2.00)
Enter 'h' for help.

cpan[1]> install Crypt::Eksblowfish::Bcrypt
Reading '/root/.cpan/Metadata'
  Database was generated on Tue, 21 Oct 2014 10:17:02 GMT
Crypt::Eksblowfish::Bcrypt is up to date (0.009).


I located file this file:
Code: Select all
linux:/ # find / -name "Bcrypt.pm"
/usr/lib/perl5/vendor_perl/5.18.1/x86_64-linux-thread-multi/Crypt/Eksblowfish/Bcrypt.pm


For me it's getting more and more weird.

Re: Encryption passwords enabled, and now I can not loin

PostPosted: Tue Oct 21, 2014 1:39 pm
by williamconley
So have a look around and see if that folder is the wrong place for that file to reside. Are the rest of the cpan modules there, too? Or are they in a different location?

And what's on line 22?

Re: Encryption passwords enabled, and now I can not loin

PostPosted: Tue Oct 21, 2014 3:34 pm
by mumin37
Line 22 of bcrypt.pm:
Code: Select all
use Crypt::Eksblowfish::Bcrypt qw(en_base64);


Yes, it seems to be all modules there. All pm and ph files.
I've tried to copy files into many folders, but it didn't help.

Also I've tried to install bcrypt from sources, but it also doesn't work.

Re: Encryption passwords enabled, and now I can not loin

PostPosted: Tue Oct 21, 2014 3:51 pm
by williamconley
How about ownership of the module file? Is it the same as the others? Is it executable?

Re: Encryption passwords enabled, and now I can not loin

PostPosted: Sun May 03, 2015 7:21 pm
by marzo
Hello williamconley,

I have the same problem.
I am using ViciBox 6.0.3 standard: admin_version = '2.12-481a'; build = '150421-2315';

This is the answer to you questions:
The ownership of the module file Bcrypt.pm is root:root. It is not executable.

By default, Vicibox 6.0.3 has installed the module Bcrypt.pm. It was not necessary to install it.
The file Bcrypt.pm is located in the following path:
locate Bcrypt.pm
Code: Select all
/usr/lib/perl5/vendor_perl/5.18.1/x86_64-linux-thread-multi/Crypt/Eksblowfish/Bcrypt.pm


perl -V
Code: Select all
 Built under linux
  Compiled at Sep 27 2013 18:30:33
  @INC:
    /usr/lib/perl5/site_perl/5.18.1/x86_64-linux-thread-multi
    /usr/lib/perl5/site_perl/5.18.1
    /usr/lib/perl5/vendor_perl/5.18.1/x86_64-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.18.1
    /usr/lib/perl5/5.18.1/x86_64-linux-thread-multi
    /usr/lib/perl5/5.18.1
    /usr/lib/perl5/site_perl


cd /usr/lib/perl5/vendor_perl/5.18.1/x86_64-linux-thread-multi
ls -l Crypt
Code: Select all
drw-r--r--  3 root root   4096 Nov 19 17:03 Crypt

cd Crypt
ls -l
Code: Select all
drw-r--r-- 2 root root 4096 May  3 13:53 Eksblowfish
-rw-r--r-- 1 root root 4565 May 16  2014 Eksblowfish.pm

cd Eksblowfish
ls -l
Code: Select all
-rw-r--r-- 1 root root 5013 May 16  2014 Bcrypt.pm
-rw-r--r-- 1 root root 4061 May 16  2014 Blowfish.pm
-rw-r--r-- 1 root root 6410 May 16  2014 Family.pm
-rw-r--r-- 1 root root 6935 May 16  2014 Subkeyed.pm
-rw-r--r-- 1 root root 5729 May 16  2014 Uklblowfish.pm


The file Bcrypt.pm does not have execution permission

This is the output of apache error_log file:
Code: Select all
Can't locate Crypt/Eksblowfish/Bcrypt.pm:   Permission denied at ../agc/bp.pl line 22.
BEGIN failed--compilation aborted at ../agc/bp.pl line 22.


This is the line 22 of /srv/www/htdocs/agc/bp.pl
Code: Select all
use Crypt::Eksblowfish::Bcrypt qw(en_base64);


However, as root at the command prompt I can execute:
/srv/www/htdocs/agc/bp.pl --pass=test
Code: Select all
PHASH: gcHHRwyA3hZrqD0xeidFrbnEEDKJyxm


By default Vicibox 6.0.3 has installed Apache2.
vim /etc/apache2/uid.conf
Code: Select all
User wwwrun
Group www


vim /etc/passwd
Code: Select all
wwwrun:x:30:8:WWW daemon apache:/var/lib/wwwrun:/bin/false


Looks like the user wwwrun of the group www does not have permission to execute the module Crypt/Eksblowfish/Bcrypt.pm

Then I changed the permissions to enable execute:
Code: Select all
cd /usr/lib/perl5/site_perl/5.18.1/x86_64-linux-thread-multi
chmod +x Crypt/
cd Crypt
chmod +x Eksblowfish/
cd Eksblowfish
chmod +x *

ls -l

Code: Select all
-rwxr-xr-x 1 root root 5013 May 16  2014 Bcrypt.pm
-rwxr-xr-x 1 root root 4061 May 16  2014 Blowfish.pm
-rwxr-xr-x 1 root root 6410 May 16  2014 Family.pm
-rwxr-xr-x 1 root root 6935 May 16  2014 Subkeyed.pm
-rwxr-xr-x 1 root root 5729 May 16  2014 Uklblowfish.pm


Now the output of apache error_log file:
Code: Select all
Can't locate loadable object for module Crypt::Eksblowfish in @INC (@INC contains: /usr/lib/perl5/site_perl/5.18.1/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.18.1 /usr/lib/perl5/vendor_perl/5.18.1/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.18.1 /usr/lib/perl5/5.18.1/x86_64-linux-thread-multi /usr/lib/perl5/5.18.1 /usr/lib/perl5/site_perl .) at /usr/lib/perl5/site_perl/5.18.1/x86_64-linux-thread-multi/Crypt/Eksblowfish/Subkeyed.pm line 77.
Compilation failed in require at /usr/lib/perl5/5.18.1/parent.pm line 20.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.18.1/x86_64-linux-thread-multi/Crypt/Eksblowfish.pm line 52.
Compilation failed in require at /usr/lib/perl5/site_perl/5.18.1/x86_64-linux-thread-multi/Crypt/Eksblowfish/Bcrypt.pm line 42.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.18.1/x86_64-linux-thread-multi/Crypt/Eksblowfish/Bcrypt.pm line 42.
Compilation failed in require at ../agc/bp.pl line 22.
BEGIN failed--compilation aborted at ../agc/bp.pl line 22.


A "loadable object" is a C library that the Perl module needs in order to do its work. Then, there is something that is missing. Any help will be appreciate.

this is line 77 of /usr/lib/perl5/site_perl/5.18.1/x86_64-linux-thread-multi/Crypt/Eksblowfish/Subkeyed.pm
Code: Select all
XSLoader::load("Crypt::Eksblowfish", $VERSION);

Re: Encryption passwords enabled, and now I can not loin

PostPosted: Mon May 04, 2015 12:22 pm
by mcargile
I have a feeling it is the same bug that tripped up lead loading excel files on this Vicibox version. Something weird with perl and apache not playing well together. Please run these two commands:

1) mkdir -p /usr/lib/perl5/site_perl/5.18.1/Crypt/Eksblowfish/
2) ln -s /usr/lib/perl5/vendor_perl/5.18.1/x86_64-linux-thread-multi/Crypt/Eksblowfish/Bcrypt.pm /usr/lib/perl5/site_perl/5.18.1/Crypt/Eksblowfish/Bcrypt.pm

and see if it works properly afterwords.

Re: Encryption passwords enabled, and now I can not loin

PostPosted: Mon May 04, 2015 4:38 pm
by marzo
mcargile,
Thanks for your reply,

I ran these two commands,

This is the output of apache error_log file:
Code: Select all
Can't locate loadable object for module Crypt::Eksblowfish in @INC (@INC contains: /usr/lib/perl5/site_perl/5.18.1/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.18.1 /usr/lib/perl5/vendor_perl/5.18.1/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.18.1 /usr/lib/perl5/5.18.1/x86_64-linux-thread-multi /usr/lib/perl5/5.18.1 /usr/lib/perl5/site_perl .) at /usr/lib/perl5/site_perl/5.18.1/x86_64-linux-thread-multi/Crypt/Eksblowfish/Subkeyed.pm line 77.
Compilation failed in require at /usr/lib/perl5/5.18.1/parent.pm line 20.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.18.1/x86_64-linux-thread-multi/Crypt/Eksblowfish.pm line 52.
Compilation failed in require at /usr/lib/perl5/site_perl/5.18.1/x86_64-linux-thread-multi/Crypt/Eksblowfish/Bcrypt.pm line 42.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.18.1/x86_64-linux-thread-multi/Crypt/Eksblowfish/Bcrypt.pm line 42.
Compilation failed in require at ../agc/bp.pl line 22.
BEGIN failed--compilation aborted at ../agc/bp.pl line 22.

Re: Encryption passwords enabled, and now I can not loin

PostPosted: Tue May 05, 2015 8:56 am
by mcargile
Please run the following as well:

3) ln -s /usr/lib/perl5/vendor_perl/5.18.1/x86_64-linux-thread-multi/Crypt/Eksblowfish/Bcrypt.pm /usr/lib/perl5/site_perl/5.18.1/Crypt/Eksblowfish/Bcrypt.pm
4) ln -s /usr/lib/perl5/vendor_perl/5.18.1/x86_64-linux-thread-multi/Crypt/Eksblowfish/Blowfish.pm /usr/lib/perl5/site_perl/5.18.1/Crypt/Eksblowfish/Blowfish.pm
5) ln -s /usr/lib/perl5/vendor_perl/5.18.1/x86_64-linux-thread-multi/Crypt/Eksblowfish/Family.pm /usr/lib/perl5/site_perl/5.18.1/Crypt/Eksblowfish/Family.pm
6) ln -s /usr/lib/perl5/vendor_perl/5.18.1/x86_64-linux-thread-multi/Crypt/Eksblowfish/Subkeyed.pm /usr/lib/perl5/site_perl/5.18.1/Crypt/Eksblowfish/Subkeyed.pm
7) ln -s /usr/lib/perl5/vendor_perl/5.18.1/x86_64-linux-thread-multi/Crypt/Eksblowfish/Uklblowfish.pm /usr/lib/perl5/site_perl/5.18.1/Crypt/Eksblowfish/Uklblowfish.pm
8) ln -s /usr/lib/perl5/vendor_perl/5.18.1/x86_64-linux-thread-multi/Crypt/Eksblowfish.pm /usr/lib/perl5/site_perl/5.18.1/Crypt/Eksblowfish.pm

Re: Encryption passwords enabled, and now I can not loin

PostPosted: Thu May 07, 2015 3:39 pm
by marzo
Thanks for your reply.

I made the symbolic links.
This is the output of the apache2 error log:

Code: Select all
Can't locate loadable object for module Crypt::Eksblowfish in @INC (@INC contains: /usr/lib/perl5/site_perl/5.18.1/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.18.1 /usr/lib/perl5/vendor_perl/5.18.1/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.18.1 /usr/lib/perl5/5.18.1/x86_64-linux-thread-multi /usr/lib/perl5/5.18.1 /usr/lib/perl5/site_perl .) at /usr/lib/perl5/site_perl/5.18.1/x86_64-linux-thread-multi/Crypt/Eksblowfish/Subkeyed.pm line 77.
Compilation failed in require at /usr/lib/perl5/5.18.1/parent.pm line 20.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.18.1/x86_64-linux-thread-multi/Crypt/Eksblowfish.pm line 52.
Compilation failed in require at /usr/lib/perl5/site_perl/5.18.1/x86_64-linux-thread-multi/Crypt/Eksblowfish/Bcrypt.pm line 42.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.18.1/x86_64-linux-thread-multi/Crypt/Eksblowfish/Bcrypt.pm line 42.
Compilation failed in require at ../agc/bp.pl line 22.
BEGIN failed--compilation aborted at ../agc/bp.pl line 22.


Regards

Re: Encryption passwords enabled, and now I can not loin

PostPosted: Thu May 07, 2015 4:21 pm
by mcargile
Have you run the OS updates?

#> zypper refresh
#> zypper up

If not please do and then try. If it still doesnt work please install Crypt::Eksblowfish::Bcrypt through CPAN and try again.