00:16.18 | *** join/#asterisk infobot (ibot@c-174-52-60-165.hsd1.ut.comcast.net) |
00:16.18 | *** topic/#asterisk is Take the March 2019 Asterisk User Survey! https://goo.gl/forms/xL1VUHRsf95saly13 -- #asterisk The Open Source PBX and Telephony Platform (asterisk.org) -=- LTS: 13.28.0 (2019/7/25) 16.5.0 (2019/7/25), Security Only: 15.7.3 (2019/7/11); DAHDI: 3.0.0 (2018/11/15); libpri 1.6.0 (2017/01/27) -=- Wiki: wiki.asterisk.org -=- Code of Conduct: bit.ly/1hH6P22 |
01:01.41 | *** join/#asterisk igcewieling (~ewieling@speedy-02.nyigc.net) |
01:58.39 | *** join/#asterisk jazper- (~blah@pdpc/supporter/active/jazper) |
03:36.20 | *** join/#asterisk pppingme (~pppingme@unaffiliated/pppingme) |
03:45.31 | *** join/#asterisk mir100 (~Vladimir@207.237.220.139) |
03:50.16 | *** join/#asterisk mindthelion (techquila@gateway/vpn/protonvpn/techquila) |
05:20.01 | *** join/#asterisk gerhard7 (~gerhard7@ip5657ee30.direct-adsl.nl) |
05:38.52 | *** join/#asterisk tomaluca95 (~quassel@kde/developer/tomaluca) |
05:59.19 | *** join/#asterisk tripleslash (~triplesla@unaffiliated/imsaguy) |
06:17.18 | *** join/#asterisk pchero_work (~pchero@87.213.247.82) |
07:13.37 | *** join/#asterisk pabe (~pabe@81.24.66.208) |
07:33.07 | *** join/#asterisk zapata (~zapata@2a02:1748:f71:380:bdce:4896:28cc:58db) |
07:48.16 | *** join/#asterisk hehol (~hehol@gatekeeper.loca.net) |
08:32.13 | *** join/#asterisk shimshon10 (8de24eae@141.226.78.174) |
08:32.25 | shimshon10 | hello |
08:32.45 | shimshon10 | i try to call fastAGI and i got answer (from server): |
08:32.52 | shimshon10 | <PROTECTED> |
08:33.04 | shimshon10 | <PROTECTED> |
08:33.21 | shimshon10 | and the file and dir Permission it's 777 |
08:33.49 | shimshon10 | any idea? |
08:42.48 | *** join/#asterisk shimshon10 (8de23f29@141.226.63.41) |
08:43.06 | shimshon10 | hello |
09:27.25 | *** join/#asterisk war9407 (war@2600:4040:4001:1e00::f7aa) |
09:35.06 | *** join/#asterisk sekil (~sekil@109-93-36-108.dynamic.isp.telekom.rs) |
09:38.25 | *** join/#asterisk sekil (~sekil@109-93-36-108.dynamic.isp.telekom.rs) |
10:47.47 | *** join/#asterisk win_ (~asdaf@123.123.13.187) |
11:07.01 | *** join/#asterisk emsjessec (~emsjessec@96.56.225.51) |
11:09.07 | *** join/#asterisk gerhard7 (~gerhard7@ip5657ee30.direct-adsl.nl) |
11:44.56 | *** join/#asterisk shimshon10 (8de23df1@141.226.61.241) |
11:45.05 | shimshon10 | hellp, |
11:45.16 | shimshon10 | somebody can help me? |
12:00.19 | *** join/#asterisk pchero_work (~pchero@51.247.195.35.bc.googleusercontent.com) |
12:48.04 | *** join/#asterisk [TK]D-Fender (~joe@216.191.106.165) |
12:52.23 | *** join/#asterisk LoKoMurdoK (~lbazan@fedora/LoKoMurdoK) |
13:06.49 | *** join/#asterisk gerhard7 (~gerhard7@ip5657ee30.direct-adsl.nl) |
13:28.29 | *** join/#asterisk brad_mssw (~brad@66.129.88.50) |
13:31.06 | *** join/#asterisk bank (~bank@acrossthemoat.com) |
13:49.22 | *** join/#asterisk miralin (~Thunderbi@81.177.58.137) |
14:10.18 | *** join/#asterisk bford (uid283514@gateway/web/irccloud.com/x-avjnxjpcobtgmkkf) |
14:10.18 | *** mode/#asterisk [+o bford] by ChanServ |
14:12.39 | *** join/#asterisk Downlots (~Downlots@ppp-94-66-56-193.home.otenet.gr) |
14:19.23 | *** join/#asterisk hfb (~hfb@47.139.21.118) |
14:22.51 | *** join/#asterisk shimshon10 (5f567b1d@95.86.123.29) |
14:23.06 | shimshon10 | hello, |
14:23.18 | shimshon10 | did somebody can help me? |
14:23.51 | [TK]D-Fender | Ask a question, maybe we'll have an answer |
14:25.16 | shimshon10 | I try to use fastAgi and i have log that: |
14:25.17 | shimshon10 | "failed: Permission denied (errno = 13)" |
14:25.36 | shimshon10 | the dir it's the same user and group like the setting |
14:25.49 | shimshon10 | and chmod it's 777 for the dir and files |
14:26.09 | sibiria | does the fastagi listener even manage to bind? |
14:26.25 | sibiria | that is, is it even running? |
14:27.19 | shimshon10 | log files say: |
14:27.28 | shimshon10 | <PROTECTED> |
14:27.36 | sibiria | there you go |
14:27.59 | shimshon10 | how can i repair it? |
14:28.32 | sibiria | either something else is already listening on that port, or you're trying to bind to a port you don't have permission to |
14:28.44 | sibiria | e.g. a "low" port, or something like selinux may be interfering |
14:29.16 | sibiria | what you're seeing is not an asterisk problem per se |
14:29.40 | shimshon10 | selinux it's disable. |
14:30.11 | shimshon10 | the port it's: 4573 (defualt) |
14:30.14 | sibiria | check if something is already listening to 4573 |
14:30.31 | sibiria | on* |
14:30.44 | sibiria | lsof -i | grep 4573 |
14:31.17 | shimshon10 | it's null. |
14:31.29 | shimshon10 | when i do: |
14:31.33 | shimshon10 | netstat -antelup |grep 4573 |
14:31.38 | shimshon10 | i see only agi |
14:35.51 | shimshon10 | any idea? |
14:37.52 | shimshon10 | also if i change the port i have the same message. |
14:38.36 | sibiria | is something still listening to the port if you stop asterisk? |
14:39.12 | sibiria | netstat -an | grep :4573 |
14:41.33 | shimshon10 | i cant stop asterisk |
14:42.02 | sibiria | so something is listening on that port, but according to you lsof tells you nothing is |
14:42.28 | sibiria | lsof -i | grep ^asterisk |
14:42.30 | sibiria | anything? |
14:43.47 | shimshon10 | I have meny calls in asterisk, so i can't stop all the calls. |
14:44.29 | shimshon10 | it's meny asterisk lines. |
14:45.48 | sibiria | yeah i understand |
14:46.19 | sibiria | but any of them indicating that something running under asterisk is listening on port 4573? |
14:46.33 | *** join/#asterisk pchero_work (~pchero@87.213.247.82) |
14:46.36 | sibiria | TCP *:4573 (LISTEN) or similar |
14:47.51 | shimshon10 | no, it's run on port 10000 and more |
14:50.03 | Samot | What? |
14:50.16 | Samot | The only think that Asterisk uses on 10000 or higher is RTP and that's UDP. |
14:50.52 | sibiria | so you can't find any indication that asterisk manages to listen on that port (4573) but it's still getting rejected when trying to bind there |
14:51.05 | sibiria | are you _really_ sure selinux (or apparmor, or whatever) isn't running? |
14:51.25 | Samot | Well it's getting to the point where you need to back up what you are saying with output. |
14:51.37 | sibiria | and _nothing_ else is listening on that port? |
14:51.42 | Samot | Show us what the output is of the commands given... |
14:51.46 | sibiria | i mean, typically your fastagi handler is supposed to |
14:52.06 | Samot | 10:42:29 AM <sibiria> lsof -i | grep ^asterisk |
14:52.08 | shimshon10 | sestatus|grep "SELinux status" |
14:52.09 | sibiria | whatever you may be using to handle the requests |
14:52.14 | shimshon10 | SELinux status: disabled |
14:52.40 | shimshon10 | isof -i |grep ^asterisk: |
14:52.41 | sibiria | getsebool <- says same thing? |
14:52.44 | shimshon10 | asterisk 3848 root 1120w IPv4 38974107 0t0 UDP *:15726 |
14:52.44 | shimshon10 | <PROTECTED> |
14:53.29 | sibiria | ... |
14:53.59 | *** join/#asterisk shimshon10 (5f567b1d@95.86.123.29) |
14:54.13 | shimshon10 | i have reconnect to here |
14:54.21 | sibiria | use pastebin.com |
14:54.23 | sibiria | don't paste into the channel |
14:56.45 | shimshon10 | the limk: |
14:56.47 | shimshon10 | link: |
14:56.49 | shimshon10 | https://pastebin.com/bjcd7G6W |
14:58.48 | *** join/#asterisk pchero_work (~pchero@87.213.247.82) |
15:01.38 | shimshon10 | the full report: |
15:01.43 | shimshon10 | https://pastebin.com/F2RKRnsK |
15:01.48 | shimshon10 | any idea? |
15:05.53 | *** join/#asterisk Downlots (~Downlots@ppp-94-66-56-193.home.otenet.gr) |
15:08.43 | sibiria | it only confirms that asterisk fails binding to port 4573 for some still unclear reason |
15:09.23 | sibiria | do you have an entry for 4573 in your /etc/services file? |
15:10.08 | shimshon10 | i make a line: |
15:10.09 | shimshon10 | agi 4573/tcp # FAST AGI entry |
15:10.15 | shimshon10 | in /etc/services |
15:10.50 | sibiria | ok. i was just curious if maybe it happened to be there but with a weirdo name |
15:11.06 | sibiria | yeah i dunno... it really looks like selinux or something is denying you |
15:11.51 | shimshon10 | sestatus|grep "SELinux status": |
15:11.57 | shimshon10 | SELinux status: disabled |
15:12.13 | shimshon10 | it's somthin else to check? |
15:12.20 | shimshon10 | something |
15:15.13 | sibiria | please, indulge me: what does getsebool say? |
15:16.08 | shimshon10 | getsebool: SELinux is disabled |
15:16.13 | sibiria | alright |
15:16.34 | sibiria | what is your fastagi handler? where is it and what does it look like etc. |
15:16.59 | shimshon10 | in dialplan |
15:17.43 | shimshon10 | after i run it in slave, the server say that no failed: Permission denied (errno = 13) |
15:18.53 | shimshon10 | client run it, and the server say thet: |
15:18.53 | shimshon10 | : Permission denied (errno = 13) |
15:18.53 | sibiria | yes but your handler/daemon |
15:19.06 | sibiria | the one that wants to bind to 4573 and listen for fastagi requests |
15:21.08 | shimshon10 | <PROTECTED> |
15:21.29 | shimshon10 | <PROTECTED> |
15:21.29 | shimshon10 | <PROTECTED> |
15:21.38 | shimshon10 | service agi |
15:23.42 | sibiria | ...which apparently isn't up and running? |
15:24.35 | igcewieling | sounds like client and server are trying to bind to the same port. |
15:24.55 | sibiria | client shouldn't be binding at all |
15:25.02 | igcewieling | exactly. |
15:27.19 | shimshon10 | Explain me please what I need to test |
15:27.36 | sibiria | fastagi is a server-client construct |
15:27.54 | igcewieling | that would take time I don't have. what language are you using? |
15:27.56 | sibiria | instead of asterisk starting an executable (normal agi script/application), it sends details over the network to a server which handles the requests |
15:28.28 | sibiria | somewhere you have a fastagi handler/daemon/server. maybe it's your agi service running over your inetd superserver, i don't know |
15:28.41 | sibiria | but it *needs* to bind to the port you tell your dialplan's agi calls to connect to |
15:28.59 | sibiria | the diaplan isn't supposed to start any scripts/applications in fastagi mode |
15:29.03 | sibiria | that's for normal agi |
15:29.41 | sibiria | everything you've said tells us that your fastagi handler/daemon/server is not running |
15:30.21 | sibiria | check your service script maybe, since it seems you're running things off of inetd |
15:46.55 | shimshon10 | if i put in the server line like: |
15:46.59 | shimshon10 | <PROTECTED> |
15:47.03 | shimshon10 | it's work. |
15:55.36 | *** join/#asterisk defsdoor (~Andrew@cpc120600-sutt6-2-0-cust232.19-1.cable.virginm.net) |
16:05.20 | *** join/#asterisk lbazan (~lbazan@fedora/LoKoMurdoK) |
16:58.33 | *** join/#asterisk Downlots (~Downlots@ppp-94-66-56-193.home.otenet.gr) |
18:14.11 | *** join/#asterisk sawgood (~sawgood@unaffiliated/sawgood) |
19:07.15 | *** join/#asterisk jeffspeff (~jeffspeff@12.49.160.131) |
20:28.50 | *** join/#asterisk hfb (~hfb@47.139.21.118) |
20:53.15 | *** join/#asterisk spatel (~spatel@pool-98-118-124-216.bstnma.fios.verizon.net) |
21:49.49 | *** join/#asterisk life_of_e (~life_of_e@108-95-189-245.lightspeed.irvnca.sbcglobal.net) |
21:50.18 | *** join/#asterisk troyt (zncsrv@2601:681:4100:8981:44dd:acff:fe85:9c8e) |
21:54.29 | *** join/#asterisk [TK]D-Fender (~joe@64.235.216.2) |
22:49.08 | *** join/#asterisk troyt (zncsrv@2601:681:4100:8981:44dd:acff:fe85:9c8e) |