Re: [asterisk-users] Having problem getting Asterisk to work on CentOS 7

2017-03-15 Thread Ron Wheeler
, March 15, 2017 1:52 PM *To:* 'Asterisk Users Mailing List - Non-Commercial Discussion' *Subject:* Re: [asterisk-users] Having problem getting Asterisk to work on CentOS 7 Dan – you probably installed the init script (look in /etc/init.d for an ‘asterisk’ file). Asterisk includes the older init

Re: [asterisk-users] Having problem getting Asterisk to work on CentOS 7

2017-03-15 Thread Ron Wheeler
11:08 AM *To:* 'Asterisk Users Mailing List - Non-Commercial Discussion' *Subject:* Re: [asterisk-users] Having problem getting Asterisk to work on CentOS 7 The history of the question is lost (in the mail thread) so I’ll jump in based on what I could see in my recent mail and the subject line

Re: [asterisk-users] Having problem getting Asterisk to work on CentOS 7

2017-03-15 Thread Dan Cropp
From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Dan Cropp Sent: Wednesday, March 15, 2017 3:07 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Having problem getting Asterisk to work on CentOS 7

Re: [asterisk-users] Having problem getting Asterisk to work on CentOS 7

2017-03-15 Thread Dan Cropp
Of Telium Technical Support Sent: Wednesday, March 15, 2017 1:52 PM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: Re: [asterisk-users] Having problem getting Asterisk to work on CentOS 7 Dan - you probably installed the init script (look in /etc/init.d for an 'asterisk

Re: [asterisk-users] Having problem getting Asterisk to work on CentOS 7

2017-03-15 Thread Telium Technical Support
...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Dan Cropp Sent: Wednesday, March 15, 2017 12:41 PM To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users@lists.digium.com> Subject: Re: [asterisk-users] Having problem getting Asterisk to work on Ce

Re: [asterisk-users] Having problem getting Asterisk to work on CentOS 7

2017-03-15 Thread Dan Cropp
: [asterisk-users] Having problem getting Asterisk to work on CentOS 7 The history of the question is lost (in the mail thread) so I'll jump in based on what I could see in my recent mail and the subject line: -The ASTDB should have no impact on Asterisk service start (which I assume

Re: [asterisk-users] Having problem getting Asterisk to work on CentOS 7

2017-03-15 Thread Telium Technical Support
The history of the question is lost (in the mail thread) so I'll jump in based on what I could see in my recent mail and the subject line: -The ASTDB should have no impact on Asterisk service start (which I assume is the problem given the subject line) -If you disabled SElinux

Re: [asterisk-users] Having problem getting Asterisk to work on CentOS 7

2017-03-15 Thread Dan Cropp
] On Behalf Of Ron Wheeler Sent: Wednesday, March 15, 2017 10:14 AM To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] Having problem getting Asterisk to work on CentOS 7 What are you using for the database - SQLite? I am using mysql (mariadb). I am not familiar with SQLlite. Can you

Re: [asterisk-users] Having problem getting Asterisk to work on CentOS 7

2017-03-15 Thread Ron Wheeler
ull) type=AVC msg=audit(1489588785.834:1183): avc: denied { read } for pid=3857 comm="asterisk" name="astdb.sqlite3" dev="dm-0" ino=100884225 scontext=system_u:system_r:asterisk_t:s0 tcontext=unconfined_u:object_r:var_lib_t:s0 tclass=file type=SYSCALL msg=audi

Re: [asterisk-users] Having problem getting Asterisk to work on CentOS 7

2017-03-15 Thread Dan Cropp
text=system_u:system_r:asterisk_t:s0 tcontext=unconfined_u:object_r:var_lib_t:s0 tclass=file type=SYSCALL msg=audit(1489588785.834:1183): arch=c03e syscall=2 success=no exit=-13 a0=1be0de0 a1=8 a2=1a4 a3=1be0de0 items=0 ppid=1485 pid=3857 auid=4294967295 uid=0 gid=0 euid=0 suid=0

Re: [asterisk-users] Having problem getting Asterisk to work on CentOS 7

2017-03-15 Thread Tzafrir Cohen
On Tue, Mar 14, 2017 at 02:46:19PM -0400, Ron Wheeler wrote: > https://docs.fedoraproject.org/en-US/Fedora/11/html/Security-Enhanced_Linux/sect-Security-Enhanced_Linux-Working_with_SELinux-Enabling_and_Disabling_SELinux.html > > If disabling Selinux solves your problem, then your problem may be

Re: [asterisk-users] Having problem getting Asterisk to work on CentOS 7

2017-03-14 Thread Dan Cropp
: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Tzafrir Cohen Sent: Tuesday, March 14, 2017 1:18 PM To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] Having problem getting Asterisk to work on CentOS 7 On Tue, Mar 14, 2017

Re: [asterisk-users] Having problem getting Asterisk to work on CentOS 7

2017-03-14 Thread Ron Wheeler
https://docs.fedoraproject.org/en-US/Fedora/11/html/Security-Enhanced_Linux/sect-Security-Enhanced_Linux-Working_with_SELinux-Enabling_and_Disabling_SELinux.html If disabling Selinux solves your problem, then your problem may be related to Selinux. If it does not change yout problem, you may

Re: [asterisk-users] Having problem getting Asterisk to work on CentOS 7

2017-03-14 Thread Ron Wheeler
I have FreePBX 14.0.1beta20 running on Centos 7.3. What problems are you having? The latest emails don't have any details about the problem or what you have tried. Ron On 14/03/2017 2:21 PM, Tzafrir Cohen wrote: On Tue, Mar 14, 2017 at 06:03:33PM +0100, Jean Aunis wrote: Hello, Did you

Re: [asterisk-users] Having problem getting Asterisk to work on CentOS 7

2017-03-14 Thread Eric Wieling
This is what I hacked up for my CentOS 7 Asterisk server. It does NOT act like safe_asterisk. [Unit] Description=Asterisk PBX and telephony daemon Documentation=man:asterisk(8) After=network-online.target multi-user.target [Service] Type=simple User=root Group=root

Re: [asterisk-users] Having problem getting Asterisk to work on CentOS 7

2017-03-14 Thread Tzafrir Cohen
On Tue, Mar 14, 2017 at 06:03:33PM +0100, Jean Aunis wrote: > Hello, > > Did you disable selinux ? It usually causes troubles when starting asterisk > as a service. You can do this with : setenforce 0 (this will not totally > disable selinux, but switch it to a permissive mode). Generally before

Re: [asterisk-users] Having problem getting Asterisk to work on CentOS 7

2017-03-14 Thread Tzafrir Cohen
On Tue, Mar 14, 2017 at 05:09:17PM +, Dan Cropp wrote: > Thank you Tzafrir. > > I had been using different users in earlier attempts to make this work. > Decided to try everything where root is the only user, simply to verify it's > working. > > For problem 2, where asterisk is writing to

Re: [asterisk-users] Having problem getting Asterisk to work on CentOS 7

2017-03-14 Thread Dan Cropp
Sent: Tuesday, March 14, 2017 12:04 PM To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] Having problem getting Asterisk to work on CentOS 7 Hello, Did you disable selinux ? It usually causes troubles when starting asterisk as a service. You can do this with : setenforce 0

Re: [asterisk-users] Having problem getting Asterisk to work on CentOS 7

2017-03-14 Thread Dan Cropp
_sigaction(SIGINT, {SIG_IGN, [], SA_RESTORER, 0x7f1a0245b250}, {0x43e670, [], SA_RESTORER, 0x7f1a0245b250}, 8) = 0 wait4(-1, Have a great day! Dan -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Tzafrir Cohen S

Re: [asterisk-users] Having problem getting Asterisk to work on CentOS 7

2017-03-14 Thread Jean Aunis
Hello, Did you disable selinux ? It usually causes troubles when starting asterisk as a service. You can do this with : setenforce 0 (this will not totally disable selinux, but switch it to a permissive mode). For your second point, maybe you should check that firewalld is either stopped or

Re: [asterisk-users] Having problem getting Asterisk to work on CentOS 7

2017-03-14 Thread Tzafrir Cohen
On Tue, Mar 14, 2017 at 04:45:38PM +, Dan Cropp wrote: > After that, I modify the asterisk conf files for a couple pjsip endpoints and > turn on debugging and verbosity. Copying settings from another box which is > working. > > I am seeing two different issues > > First, when I

[asterisk-users] Having problem getting Asterisk to work on CentOS 7

2017-03-14 Thread Dan Cropp
Some background information. I have used Debian with Asterisk for several years. Have encountered zero problems. I am now trying to setup an Asterisk on a CentOS7 box using VMWare Workstation. I am brand new to CentOS and RHEL so I may be missing something obvious. I am installing CentOS