GOOD NEWS Incredible PBX for Elastix 2.5

vic555

Member
Joined
Aug 24, 2014
Messages
76
Reaction score
14
GREAT writeup on Nerd Vittles; This COULD WELL prove to be the best release ever!!!!
 

ou812

Guru
Joined
Oct 18, 2007
Messages
479
Reaction score
79
No go for me on the first try, I am installing on a bare metal box, Atom with 1gb ram.

All was going fine but on the 2nd pass of ./IncrediblePBX11-Elastix25.sh it froze. this is the last info on screen

2015-03-10 19:03:33 (231 KB/s) - `iptables-incrediblepbx.tar.gz' saved [13445/13445]

usr/local/sbin/iptables-restart
etc/sysconfig/rules.v4.incredible
etc/sysconfig/rules.v6.incredible
root/add-fqdn
root/add-ip
root/del-acct
root/COPYING
etc/sysconfig/rules.v4.incredible
etc/sysconfig/rules.v4.incredible
mv: cannot stat `iptables': No such file or directory
mv: cannot stat `ip6tables': No such file or directory
Stopping fail2ban: ERROR Unable to contact server. Is it running?
[FAILED]
Starting fail2ban: [ OK ]
Applying ip6tables firewall rules: ip6tables-restore v1.3.5: ip6tables-restore: unable to initializetable 'filter'

Error occurred at line: 3
Try `ip6tables-restore -h' or 'ip6tables-restore --help' for more information.
[FAILED]
Flushing firewall rules: [ OK ]
Setting chains to policy ACCEPT: filter [ OK ]
Unloading iptables modules:

gary.
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
Sounds like the firewall blocked you. Download the installer again. I've moved the IPtables section to the end of the install now. I'd comment out the IPtables section before trying a fresh install. Then cut-and-paste the IPtables section into a separate script and run it after the install completes. Let us know where the problem lies. Are you in an IPv6 environment?? Did you disable IPv6 in the Elastix 2.5 setup process?
 

ou812

Guru
Joined
Oct 18, 2007
Messages
479
Reaction score
79
Yes I did disable IPv6.

I removed the IPtables section from the script and ran twice then ran the IPtables section once and it installed fine, Status shows IPtables & fail2ban is now up.

Thanks.
 

ou812

Guru
Joined
Oct 18, 2007
Messages
479
Reaction score
79
When I login I see this.

Retrieving... tar: lastupdate-elastix025.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
/root/update-my-pbx: line 23: /root/lastupdate-elastix025: No such file or directory

Then status shows all is UP.

gary
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
When I login I see this.

Retrieving... tar: lastupdate-elastix025.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
/root/update-my-pbx: line 23: /root/lastupdate-elastix025: No such file or directory

Then status shows all is UP.

gary


Yep. Hadn't quite finished the Automatic Update Utility. It's working now.
 

hecatae

resident hecatae
Joined
Feb 7, 2014
Messages
760
Reaction score
199
what is going on with sip guests on an elastix 2.5 default install, scary stuff in the asterisk log
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
Not seeing that here. Is the firewall working?? Or is this before Incredible PBX install?
 

hecatae

resident hecatae
Joined
Feb 7, 2014
Messages
760
Reaction score
199
Not seeing that here. Is the firewall working?? Or is this before Incredible PBX install?


before incrediblepbx install, fpbx 2.11 sip guests does not work, and there is something in custom conf.

the incredible pbx does not check for 64 bit install on first run, is this intentional?
 

fang0654

Guru
Joined
Nov 14, 2009
Messages
25
Reaction score
4
Not sure if this should go here, or in the bugs/fixes section. Installed this today on a rentpbx server, and couldn't get any trunks to register. Ended up being SIP wasn't loaded at all, and the log was filled with nice things like:

Code:
[2015-05-04 14:11:11] WARNING[9082] loader.c: Unable to open modules directory '/usr/lib64/asterisk/modules'.
[2015-05-04 14:11:11] NOTICE[9082] loader.c: 4 modules will be loaded.
[2015-05-04 14:11:11] WARNING[9082] loader.c: Error loading module 'format_wav.so':  /usr/lib64/asterisk/modules/format_wav.so: cannot open shared object file: No such file or directory
[2015-05-04 14:11:11] WARNING[9082] loader.c: Error loading module 'format_pcm.so': /usr/lib64/asterisk/modules/format_pcm.so: cannot open shared object file: No such file or directory
[2015-05-04 14:11:11] WARNING[9082] loader.c: Error loading module 'format_mp3.so': /usr/lib64/asterisk/modules/format_mp3.so: cannot open shared object file: No such file or directory
[2015-05-04 14:11:11] WARNING[9082] loader.c: Error loading module 'res_musiconhold.so': /usr/lib64/asterisk/modules/res_musiconhold.so: cannot open shared object file: No such file or directory
[2015-05-04 14:11:11] WARNING[9082] loader.c: Error loading module 'format_wav.so': /usr/lib64/asterisk/modules/format_wav.so: cannot open shared object file: No such file or directory
[2015-05-04 14:11:11] WARNING[9082] loader.c: Module 'format_wav.so' could not be loaded.
[2015-05-04 14:11:11] WARNING[9082] loader.c: Error loading module 'format_pcm.so': /usr/lib64/asterisk/modules/format_pcm.so: cannot open shared object file: No such file or directory
[2015-05-04 14:11:11] WARNING[9082] loader.c: Module 'format_pcm.so' could not be loaded.
[2015-05-04 14:11:11] WARNING[9082] loader.c: Error loading module 'format_mp3.so': /usr/lib64/asterisk/modules/format_mp3.so: cannot open shared object file: No such file or directory
[2015-05-04 14:11:11] WARNING[9082] loader.c: Module 'format_mp3.so' could not be loaded.
[2015-05-04 14:11:11] WARNING[9082] loader.c: Error loading module 'res_musiconhold.so': /usr/lib64/asterisk/modules/res_musiconhold.so: cannot open shared object file: No such file or directory
[2015-05-04 14:11:11] WARNING[9082] loader.c: Module 'res_musiconhold.so' could not be loaded.

Simple fix was to just change a line in asterisk.conf:

Code:
astmoddir => /usr/lib64/asterisk/modules

to

Code:
astmoddir => /usr/lib/asterisk/modules

Any everything seems to work fine now.
 
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top