SOLVED IncrediblePBX13.2.iso problems take 2

Status
Not open for further replies.

qtlnx

Member
Joined
Mar 9, 2016
Messages
214
Reaction score
13
Installation in VirtualBox ends up with Asterisk UP, while the same in KVM (sound enabled) ends up with Asterisk DOWN.
Am I missing something?
 
libvirt 1.2.13.2-3.fc22.x86_64
# dmidecode | grep QEMU
Manufacturer: QEMU
Manufacturer: QEMU
Manufacturer: QEMU
Manufacturer: QEMU
Manufacturer: QEMU
 
Last edited:
Sorry. Not something we've used yet. Just watch the monitor during the install and see where it's blowing up. My guess is you're missing some dependencies for Asterisk.
 
From the point of view of operating system there must be absolutely no differences compare to VirtualBox.
I'll capture the install output and upload someplace for anyone interested to look at.
 
I hear what you're saying, but the results tell another story. Sorry. :rolleyes:
 
in /var/log/asterisk/messages I see a bunch errors like "Unable to get our IP address"

[Jun 27 11:47:28] ERROR[25432] netsock2.c: getaddrinfo("IncrediblePBX.local", "(null)", ...): Name or service not known
[Jun 27 11:47:28] WARNING[25432] acl.c: Unable to lookup 'IncrediblePBX.local'

despite the fact that
cat /etc/hosts
127.0.0.1 pbx.local localhost IncrediblePBX.local localhost.localdomain localhost4 localhost4.localdomain4
::1 pbx.local localhost IncrediblePBX.local localhost.localdomain localhost6 localhost6.localdomain6

and

ping IncrediblePBX.local
PING pbx.local (127.0.0.1) 56(84) bytes of data.
64 bytes from pbx.local (127.0.0.1): icmp_seq=1 ttl=64 time=0.042 ms
...

I sent you a pointer to installation log file in a private conversation in case you are interested to look at it.
 
Reliable Internet connection is required for any Incredible PBX install to complete successfully.
 
I assume your are referring to your PM in which you indicated:
please add required CFLAGS=-mtune=native. It has been a known asterisk requirement for several years, looks like.

As best I recall, this hasn't been a requirement since the Asterisk 1.8 days, except on the Amazon EC2 platform. And that was according to a single user, not Digium. We don't support Amazon EC2 so it probably won't be added at our end. Have you actually tried adding it to lines 327 and 329 to see if it works?
 
how exactly does the resulting line should look like? there also is configure for asterisk itself. is it needed there as well?
 
This requirement is not limited to Amazon EC2 (XEN) platform. KVM, which is now a main choice for virtual hosting is affected as well.
I added -mtune=native in both places, lines 327, 329 and 375, 377. Asterisk is now able to start.
When RedHat builds its rpms they use flags that don't cause "invalid instructions" on virtual platforms, I believe.
 
I'm not in a position to dispute your claim. Just wondering where you're getting your information?? We will do some further testing as time permits.
 
When RedHat builds its rpms they use flags that don't cause "invalid instructions" on virtual platforms, I believe.

Unfortunately, this is an Asterisk issue, not a RedHat one. You might want to pass along your suggestions to the Asterisk Development Team as well.
 
This requirement is not limited to Amazon EC2 (XEN) platform. KVM, which is now a main choice for virtual hosting is affected as well.
I added -mtune=native in both places, lines 327, 329 and 375, 377. Asterisk is now able to start.
When RedHat builds its rpms they use flags that don't cause "invalid instructions" on virtual platforms, I believe.

I've never had to set those parameters on Xen 6.1, 6.2 or 6.5

What KVM platform are you using?
 
Just wondering where you're getting your information??
root@IncrediblePBX:~ $ rpm --showrc | grep optflags
optflags : %{__global_cflags} -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables
 
Fedora 22? which is end of life on 2016-07-19
2016-07-19 is not yet here so my Fedora is fully up to date.
I'll re-run this on latest RHEL 7 when I get a chance.
However compiler is running on something installed by IncrediblePBX13.2.iso - I don't understand what you are talking about.
 
I checked another KVM on a completely different hardware - asterisk is running there.
On the failed system host CPU is
processor : 7
vendor_id : GenuineIntel
cpu family : 6
model : 58
model name : Intel(R) Core(TM) i7
stepping : 9
and KVM is set to copy host processor configuration.
My point is that CFLAGS should be set to something that does not cause problems. I lost two days chasing this and would like not spend anymore time discussing. Just add whatever flags you feel necessary to avoid the problem. System flags from rpm build options is a 100% guarantee to work.
 
Status
Not open for further replies.

Members online

No members online now.

Forum statistics

Threads
26,689
Messages
174,413
Members
20,259
Latest member
Fadeek86
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.
Back
Top