Encryption passwords enabled, and now I can not loin

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Encryption passwords enabled, and now I can not loin

Postby saulortega » Tue May 27, 2014 11:16 am

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';
saulortega
 
Posts: 118
Joined: Mon Jul 29, 2013 11:46 am

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

Postby mflorell » Tue May 27, 2014 9:03 pm

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.
mflorell
Site Admin
 
Posts: 18335
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

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

Postby mumin37 » Thu Oct 16, 2014 9:51 am

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.
mumin37
 
Posts: 31
Joined: Wed Jan 04, 2012 3:38 am

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

Postby mumin37 » Sat Oct 18, 2014 4:55 pm

Is there no answer for me? If anyone could help I'll be greatful.
mumin37
 
Posts: 31
Joined: Wed Jan 04, 2012 3:38 am

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

Postby williamconley » Sat Oct 18, 2014 6:29 pm

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.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20018
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

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

Postby mumin37 » Sat Oct 18, 2014 8:47 pm

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.
mumin37
 
Posts: 31
Joined: Wed Jan 04, 2012 3:38 am

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

Postby williamconley » Sat Oct 18, 2014 10:36 pm

I'm relatively certain there was a module installation. Did that install correctly?
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20018
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

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

Postby mumin37 » Tue Oct 21, 2014 8:46 am

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.
mumin37
 
Posts: 31
Joined: Wed Jan 04, 2012 3:38 am

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

Postby williamconley » Tue Oct 21, 2014 10:16 am

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.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20018
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

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

Postby mumin37 » Tue Oct 21, 2014 11:25 am

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.
mumin37
 
Posts: 31
Joined: Wed Jan 04, 2012 3:38 am

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

Postby williamconley » Tue Oct 21, 2014 1:39 pm

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?
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20018
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

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

Postby mumin37 » Tue Oct 21, 2014 3:34 pm

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.
mumin37
 
Posts: 31
Joined: Wed Jan 04, 2012 3:38 am

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

Postby williamconley » Tue Oct 21, 2014 3:51 pm

How about ownership of the module file? Is it the same as the others? Is it executable?
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20018
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

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

Postby marzo » Sun May 03, 2015 7:21 pm

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);
marzo
 
Posts: 66
Joined: Fri Apr 16, 2010 12:50 pm

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

Postby mcargile » Mon May 04, 2015 12:22 pm

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.
Michael Cargile | Director of Engineering | ViciDialGroup | http://www.vicidial.com

The official source for VICIDIAL services and support. 1-888-894-VICI (8424)
mcargile
Site Admin
 
Posts: 614
Joined: Tue Jan 16, 2007 9:38 am

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

Postby marzo » Mon May 04, 2015 4:38 pm

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.
marzo
 
Posts: 66
Joined: Fri Apr 16, 2010 12:50 pm

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

Postby mcargile » Tue May 05, 2015 8:56 am

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
Michael Cargile | Director of Engineering | ViciDialGroup | http://www.vicidial.com

The official source for VICIDIAL services and support. 1-888-894-VICI (8424)
mcargile
Site Admin
 
Posts: 614
Joined: Tue Jan 16, 2007 9:38 am

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

Postby marzo » Thu May 07, 2015 3:39 pm

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
marzo
 
Posts: 66
Joined: Fri Apr 16, 2010 12:50 pm

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

Postby mcargile » Thu May 07, 2015 4:21 pm

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.
Michael Cargile | Director of Engineering | ViciDialGroup | http://www.vicidial.com

The official source for VICIDIAL services and support. 1-888-894-VICI (8424)
mcargile
Site Admin
 
Posts: 614
Joined: Tue Jan 16, 2007 9:38 am


Return to Support

Who is online

Users browsing this forum: Majestic-12 [Bot] and 86 guests