TIPS 13-13.3 for CentOS 6 W/Whole Enchilada

phonebuff

Guru
Joined
Feb 7, 2008
Messages
898
Reaction score
61
So I am attempting to build on RentPBX..

Worked with them and started on a clean 6.9 installed the Lean part ad all seems good..

Could even get the GUI up and functioning no problem..

Went back to the SSH console and installed Enchilada with no obvious problems and then HylaFax.

reboot / password master / reboot
add-fqdn / reboot

Status looks good --

[email protected]:~ $ asterisk -rx "core show version"
Asterisk 13.21.0 built by root @ pbx1.dapage.net on a i686 running Linux on 2018-05-03 14:59:28 UTC

Incredible 13.0.120.10

But now I can not get the web GUI to come up it just time out with a URL rewrite -

http://......./admin/config.php

didn’t send any data.
ERR_EMPTY_RESPONSE

Thought I had seen this in a post but I am not seeing it now, looking at the error log it does appear something in the Enchilada or the Hylafax broke the install -

/var/log/httpd/error_log
[Thu May 03 12:28:39 2018] [error] server reached MaxClients setting, consider raising the MaxClients setting
/usr/sbin/httpd: symbol lookup error: /usr/lib/libnsssysinit.so: undefined symbol: PR_GetEnvSecure
/usr/sbin/httpd: symbol lookup error: /usr/lib/libnsssysinit.so: undefined symbol: PR_GetEnvSecure
/usr/sbin/httpd: symbol lookup error: /usr/lib/libnsssysinit.so: undefined symbol: PR_GetEnvSecure
/usr/sbin/httpd: symbol lookup error: /usr/lib/libnsssysinit.so: undefined symbol: PR_GetEnvSecure
/usr/sbin/httpd: symbol lookup error: /usr/lib/libnsssysinit.so: undefined symbol: PR_GetEnvSecure
/usr/sbin/httpd: symbol lookup error: /usr/lib/libnsssysinit.so: undefined symbol: PR_GetEnvSecure
/usr/sbin/httpd: symbol lookup error: /usr/lib/libnsssysinit.so: undefined symbol: PR_GetEnvSecure
/usr/sbin/httpd: symbol lookup error: /usr/lib/libnsssysinit.so: undefined symbol: PR_GetEnvSecure
/usr/sbin/httpd: symbol lookup error: /usr/lib/libnsssysinit.so: undefined symbol: PR_GetEnvSecure
/usr/sbin/httpd: symbol lookup error: /usr/lib/libnsssysinit.so: undefined symbol: PR_GetEnvSecure

Did I miss something ?
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
15,154
Reaction score
2,632
You'd need to check the install logs in /root and /var/log for errors. Nothing in the fax installer should break the FreePBX GUI setup.
 

phonebuff

Guru
Joined
Feb 7, 2008
Messages
898
Reaction score
61
Okay, I will do some digging as well as a few diff commands and see if I can figure out the issue.

Thank you..
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
15,154
Reaction score
2,632
Keep in mind that RentPBX currently is a 32-bit platform. My recollection is that the RentPBX folks reworked the Incredible Fax installer to support their platform because the standard installer is designed for 64-bit platforms to support both CentOS 6 and 7.

I just went through the entire installation process on a 64-bit cloud platform with no problems.

1. Installed Incredible PBX 13-13 Lean following tutorial, rebooted. Success.

2. Installed Incredible PBX 13-13 Enchilada add-on following tutorial, rebooted. Success.



3. Installed Incredible Fax 13, rebooted. Success.

 

phonebuff

Guru
Joined
Feb 7, 2008
Messages
898
Reaction score
61
So I started over --

cd /root
yum -y update
yum -y install net-tools nano wget tar
wget http://incrediblepbx.com/incrediblepbx-13-13-LEAN.tar.gz
tar zxvf incrediblepbx-13-13-LEAN.tar.gz
rm -f incrediblepbx-13-13-LEAN.tar.gz
./create-swapfile-DO
./IncrediblePBX-13-13.sh
reboot
./IncrediblePBX-13-13.sh Run 2nd Time -

Now have a clean status -- Enchilada is next

 

phonebuff

Guru
Joined
Feb 7, 2008
Messages
898
Reaction score
61
Seems to be working without Fax. Don't really need it here anyway. So going to stop an see if it's stable with Enchalida
 
Joined
Jun 18, 2013
Messages
34
Reaction score
4
Did you ever resolve this issue. I have the same problem after a new install on HForman

Asterisk 13.21.0 built by root @ incrediblepbx.fqdn.com on a i686 running Linux on 2018-05-09 01:17:26 UTC

I get to the log in screen the when I enter my login credentials I get the error message.

Here is the error log.

[Wed May 09 07:37:35 2018] [error] server reached MaxClients setting, consider raising the MaxClients setting
/usr/sbin/httpd: symbol lookup error: /usr/lib/libnsssysinit.so: undefined symbol: PR_GetEnvSecure
/usr/sbin/httpd: symbol lookup error: /usr/lib/libnsssysinit.so: undefined symbol: PR_GetEnvSecure
/usr/sbin/httpd: symbol lookup error: /usr/lib/libnsssysinit.so: undefined symbol: PR_GetEnvSecure
/usr/sbin/httpd: symbol lookup error: /usr/lib/libnsssysinit.so: undefined symbol: PR_GetEnvSecure
 
Last edited:

phonebuff

Guru
Joined
Feb 7, 2008
Messages
898
Reaction score
61
Did you ever resolve this issue. I have the same problem after a new install on HForman

Asterisk 13.21.0 built by root @ incrediblepbx.fqdn.com on a i686 running Linux on 2018-05-09 01:17:26 UTC

I get to the log in screen the when I enter my login credentials I get the error message.

Here is the error log.

[Wed May 09 07:37:35 2018] [error] server reached MaxClients setting, consider raising the MaxClients setting
/usr/sbin/httpd: symbol lookup error: /usr/lib/libnsssysinit.so: undefined symbol: PR_GetEnvSecure
/usr/sbin/httpd: symbol lookup error: /usr/lib/libnsssysinit.so: undefined symbol: PR_GetEnvSecure
/usr/sbin/httpd: symbol lookup error: /usr/lib/libnsssysinit.so: undefined symbol: PR_GetEnvSecure
/usr/sbin/httpd: symbol lookup error: /usr/lib/libnsssysinit.so: undefined symbol: PR_GetEnvSecure

No, I tried a number of the downgrades from the bugs.centos link above with no joy.

Finally had RentPBX blow away the instance and I started over. But stopped before I added the FAX stuff.

I now have, at least for a couple of days, a "stable" instance and do not have the undefined symbol errors.
 
Joined
Jun 18, 2013
Messages
34
Reaction score
4
Thanks for the update. I'll probably do the same. I do like the fax feature though, but I have it running on my Raspberry Pi for the past five years. It works great.
 

phonebuff

Guru
Joined
Feb 7, 2008
Messages
898
Reaction score
61
Yes Have used it off and on for the past 15 years. But it is 2018 and I can live with out the travel package ads and Roof repair offers. So No Fax right now on this Instance -
 
Joined
Jun 18, 2013
Messages
34
Reaction score
4
So I just did a fresh install. Web access is ok after basic install. I then skipped the Enchilada and went straight to the AvantFax install. After the fax install, I again had the problem with web access. So the problem seems to be with the Fax module.
 

f15radar

New Member
Joined
Apr 17, 2008
Messages
8
Reaction score
0
I too have the same problem. It appears to be in the following code in incrediblefax13.sh

cd /
wget http://incrediblepbx.com/faxgetty-fix.tar.gz
tar zxvf faxgetty-fix.tar.gz
rm -f faxgetty-fix.tar.gz

this contains the following libs:

usr/lib/libjpeg.so.62
lib/libnspr4.so
lib/libplc4.so
lib/libplds4.so
usr/lib/libnssutil3.so
usr/lib/libnss3.so
usr/lib/libsmime3.so
usr/lib/libssl3.so
usr/lib/libsasl2.so.2
lib/libaudit.so.1
usr/lib/libstdc++.so.6
lib/libz.so.1
usr/lib/libtiff.so.3
lib/liblber-2.4.so.2
lib/libldap-2.4.so.2
lib/libpam.so.0

As you can see the nss libs were replaced. So my question is why? and can I replace these with another version?
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
15,154
Reaction score
2,632
I too have the same problem. It appears to be in the following code in incrediblefax13.sh

Code:
cd /
wget http://incrediblepbx.com/faxgetty-fix.tar.gz
tar zxvf faxgetty-fix.tar.gz
rm -f faxgetty-fix.tar.gz

this contains the following libs:

usr/lib/libjpeg.so.62
lib/libnspr4.so
lib/libplc4.so
lib/libplds4.so
usr/lib/libnssutil3.so
usr/lib/libnss3.so
usr/lib/libsmime3.so
usr/lib/libssl3.so
usr/lib/libsasl2.so.2
lib/libaudit.so.1
usr/lib/libstdc++.so.6
lib/libz.so.1
usr/lib/libtiff.so.3
lib/liblber-2.4.so.2
lib/libldap-2.4.so.2
lib/libpam.so.0
As you can see the nss libs were replaced. So my question is why? and can I replace these with another version?
What platform?? Is this RentPBX or somewhere else?
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
15,154
Reaction score
2,632
@f15radar: As mentioned previously, RentPBX has a 32-bit architecture platform. Incredible PBX and Fax are designed exclusively for 64-bit platforms now since that is the only architecture that RedHat, CentOS, Debian, and Ubuntu now support. You'd need to contact RentPBX to make any necessary changes.
 

f15radar

New Member
Joined
Apr 17, 2008
Messages
8
Reaction score
0
I havent got much help in that respect. 13-13 is not available and they said I would have to modify the scripts. That's what bring me back to my question. Can you tell me why that patch is needed?
 

Members online

PIAF 5 - Powered by 3CX

Forum statistics

Threads
22,375
Messages
137,424
Members
14,578
Latest member
BoRoDKuH