TRY THIS Install failure PIAF3 on Centos 6.5 (PIAF install never comes up after Centos reboots)

Jeffrey Race

New Member
Joined
Dec 27, 2015
Messages
15
Reaction score
0
Precisely following instructions in <voip-quick-start-guide> the Centos 6.5 code
installs as expected on IBM Thinkpad T43 (32-bit) with three anomalies

ONE sed: can't read /etc/sysconfig/network-scripts/ifcfg-eth0: No such file or directory
TWO sed: can't read /etc/default/grub: No such file or directory
THREE: grub2-mkconfig command not found

Anyway CentOS installs to level 7 and reboots after completion of ./piaf3-install process.
(This took five hours to get here.)

For a moment a small window appears at the bottom of the screen "Starting Terminal Session"
and then it disappears.

but nothing then happens. I have a working Linux machine but no script runs to bring up
the PBXinaflash install options.

This has happened twice.

What to do now please? This is Day 28 of the attempts to get PIAF running. I'll be really excited when it happens.
 

hecatae

resident hecatae
Joined
Feb 7, 2014
Messages
770
Reaction score
202
@Jeffrey Race please use Centos 6.7 netinstall iso, choose minimal install and then you can ignore the centos 6.5/6.6 stuff as it is no longer needed.

Literally

yum -y upgrade
yum -y install net-tools nano wget
#not needed ifconfig # to figure out your server IP address here
#not needed sed -i 's|quiet|quiet net.ifnames=0 biosdevdame=0|' /etc/default/grub
#not needed grub2-mkconfig -o /boot/grub2/grub.cfg
# for CentOS/Scientific Linux 6.5/6.6 only, perform these additional steps:
#not neededwget http://pbxinaflash.com/update-kernel-devel
#not needed chmod +x update-kernel-devel
#not needed ./update-kernel-devel
reboot

Now we’re ready to begin the PIAF3 install. Issue the following commands to get started:

cd /root
wget http://pbxinaflash.com/piaf3-install.tar.gz
tar zxvf piaf3-install.tar.gz
./piaf3-install

and nothing else is needed
 

Jeffrey Race

New Member
Joined
Dec 27, 2015
Messages
15
Reaction score
0
Day 29, seven hours later, this procedure _fails_ as follows. Please suggest what do to. Runing out of time as I have to fly back to the USA very soon.

ACTION RESULT/REMARK
====================================================
ATTEMPT ONE -- FAILS
Install Centos 6.7 from ISO USB drive FAIL; at screen msg "What type of
media contains the install image?"
offered only Local CD/DVD
Hard Drive
NFS directory
URL
[The installer does not see its own USB drive]


ATTEMPT TWO -- FAILS (after 5 hours)
Install Centos 6.7 from ISO CD Success (7 minutes to install on HDD)
boots to command line
NO ETHERNET!!!
search online how to activate eth0
ifconfig eth0 up FAILS

ifup eth0 success
yum -y upgrade success
yum -y install net-tools nano wget success
reboot NO ETHERNET!!!
ifup eth0 success
cd /root already there
wget http://pbxinaflash.com/piaf3-install.tar.gz success
tar zxvf piaf3-install.tar.gz success
./piaf3-install success




DETAILS


error package readahead is not installed
shutdown postfix failed


[reboot]
[login]
Please make a selection
A Continue with the installation of our products
B Load extra drivers for your hardware
C Command line interface

[select A]
[select Install PBX in a Flash Server *Asterisk only*]

Select a color to install
Purple-PIAF Asterisk 1.8/Dahdi *UNAVAILABLE*
Brown-PIAF Certified Asterisk 1.8/Dahdi *UNAVAILABLE*
Green-PIAF Asterisk 1.8/Dahdi *UNAVAILABLE*
Yellow-PIAF Certified Asterisk 1.8/Dahdi *UNAVAILABLE*
1Black-PIAF Asterisk 12/FPBX 2.12 *UNAVAILABLE*
2Blue-PIAF Asterisk 13 BETA!/FPBX 2.12 *UNAVAILABLE*
Install extra network drivers *AVAILABLE*


Select [OK]
Receive screen message:

"I am sorry that this payload is not available etc"
exits to root
network unreachable as usual

[if execute ifup eth0 this local machine can be pinged from a remote machine}
 

Jeffrey Race

New Member
Joined
Dec 27, 2015
Messages
15
Reaction score
0
And what CLI command do I execute to force eth0 to be active persistently
between boots? It doesn't now survive a boot and presumably even if PIAF
finally installs someday, it will be crippled because eth0 always boots down.
 

Jeffrey Race

New Member
Joined
Dec 27, 2015
Messages
15
Reaction score
0
Centos 6.5 has been running for 24 hours and cannot be shutdown with shutdown now.
result: "main process killed by TERM signal"

Why does it misbehave this way and what is the alternative to the power switch?
 

hecatae

resident hecatae
Joined
Feb 7, 2014
Messages
770
Reaction score
202
Hi @Jeffrey Race are you using 6.5 or 6.7, the ethernet issue only occurs if you use the minimal or live iso, not the netinstall iso.

How much ram have you got on the system you are trying to install on?
 

Jeffrey Race

New Member
Joined
Dec 27, 2015
Messages
15
Reaction score
0
SOLVED!

January 24, 2016

The clue:
eth0 not active on boot

Suspicion:
Improbable error message "I am sorry that this payload is not available"

Test:
Use vi to edit /etc/sysconfig/network-scripts/ifcfg-eth0
Change ONBOOT=no to ONBOOT=yes

Rerun:
PIAF-Green installs normally per recommendation

Analysis:
The install code does not activate eth0 or give any choices
to activate any Ethernet path but instead gives an erroneous
error message "payload not available" when the message should
actually read "cannot check for payload availability because
no path to hosts." The install instructions also do not warn
the user that he must manually edit the ifcfg-eth0 (or some other
Etheret interface) to activate it persistently by editing the
ONBOOT parameter

This is likely the reason the original install attempt usig Centos 6.2
failed on Dec 24: same uninformative message.

I enjoyed your humorous messages and hope to provide helpful
info to your group as I will be bringing up several systems
in various places now that this one works. I have 60 years of analog telephony
experience and am now venturing the past two years into VoIP

Thanks for your help.

Jeffrey Race
Bangkok Thailand
+1 617 629-2805
(follows me)
 

Jeffrey Race

New Member
Joined
Dec 27, 2015
Messages
15
Reaction score
0

PIAF3 CONFIGURATION FAILURES

Got it installed on Centos 6.7 final per undocumented method
described above and now trying toconfigure. It does not work
out of the box as thedocumentation states it is expected to do.

I updated everything using ModuleAdmin/UpdateModules.
Key modules fail to update.

Please help.

Deal breakers

ONE
===
CANNOT INSTALL TRUNKING
apparently because
'digiumaddoninstaller' is disabled since it
needs to be upgraded according to FreePBX Status page.
Instruction provided is "go to module admin page and
"upgrade to 2.11.0.2 and enable"
This FAILS "This Module Requires The Digium RPM to be installed
(php-digium_register-3.0.5-1_centos6.i686.rpm).
Please see this page for more information:
<http://wiki.freepbx.org/display/F2/Digium+AddonsError>

No such page exists.

An Apr 8 2014 Forum post states:

"Here are the 32-bit and 64-bit RPMs for
anyone that wants to manually install with
rpm -ivh php-dig*"

Run 'rpm -ivh php-digium_register-3.0.5-1_centos6.i686.rpm'

FAILS: "No such file or directory"

No discoverable documented solution.

So dead in the water on trunking


TWO
===
SIPSTATION module is not installed
. Module admin
has line "Not Installed (Locally available)" without
further instructions.

No discoverable documented solution.

Dead in the water

THREE
=====
NO AUDIO

Extensions on local LAN can signal each other but
no audio either way. No coverage in documentation.


FOUR
====
WEBMIN

Warning that webmin install is out of date, must update to
1.780. Run install routine:

FAIL: "failed dependencies:
perl(net::ssleay) is needed by webmin-1.780-1.noarch

No discoverable documented solution.


CONCLUSION
==========

About 50 hours on this project over almost a month and nothing
works as stated in the documentation.

Please help.

Jeffrey Race
 

Jeffrey Race

New Member
Joined
Dec 27, 2015
Messages
15
Reaction score
0
ADDENDUM RE "Incredible PBX"

The first recommendation above (using 'minimal ISO and PIAF3") installs
Centos 6.7 (final), Asterisk 11.16.0 and FreePBX 2.11.0
FreePBX Framework Version: 2.11.0.43
FreePBX Core Version: 2.11.0.35

The advanced features described for Incredible PBX are not installed apparently
because I installed from a PIAF installer and not an IncrediblePBX installer.

Now that I have Linus, Asterisk and FreePBX already installed, how do I get
ONLY the Incredible PBX add-on features?

I have scoured the documentation and find no description of how to do this.
(Only documented is the wholesystem install Linux/asterisk/freepbx/incrediblepbx.)

Thanks in advance for all help.
 

Jeffrey Race

New Member
Joined
Dec 27, 2015
Messages
15
Reaction score
0
After diligent search I also find no instructions to configure a SIP trunk (only Zaptel trunk is
mentioned in the linked administrators manual). For thesip trunk (which I am now using onmy
Sipura SPA941 but will switch over to Asterisk) I have provider's URL, the extension number
and the password.

Need also precise instructions to configure inbound and outbound routes.
the available online documentation uses differently named parameters from those presented
in the IncredPBX configuration screens. I need to configure dial 9 for the sip trunk and
dial 8 for the ISDN line served from a Mediatrix 4401 ISDN gateway.

My thanks for vectors to the correct documentation and also any other advice and
warnings about gotchas.

Jeffrey Race
 

Members online

Forum statistics

Threads
25,838
Messages
167,923
Members
19,259
Latest member
dancosge
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