RE: Error in kannel-monitor - RESOLVED

2016-03-02 Thread Беляев Владимир Николаевич
Thank you! That helped: /usr/sbin/setsebool -P httpd_can_network_connect 1 From: Juan Luis Gómez [mailto:juanluis.go...@blipblip.com.co] Sent: Thursday, March 03, 2016 10:07 AM To: Беляев Владимир Николаевич Cc: Milan P. Stanic; users@kannel.org Subject: Re: Error in kannel-monitor

Re: Error in kannel-monitor

2016-03-02 Thread Juan Luis Gómez
Just noticed that you're on Red Hat, try this: /usr/sbin/setsebool -P httpd_can_network_connect 1 Sent from my iPhone > On Mar 2, 2016, at 23:59, Беляев Владимир Николаевич > wrote: > > [root@sms-gw u3850]# lynx http://localhost:13000/status.xml?password= > > Kannel

Re: Error in kannel-monitor

2016-03-02 Thread Juan Luis Gómez
Take a look at this post: http://forums.phpfreaks.com/topic/262809-trying-to-open-url-functionfopen-failed-to-open-stream-permission-denied/ Sent from my iPhone > On Mar 2, 2016, at 23:59, Беляев Владимир Николаевич > wrote: > > [root@sms-gw u3850]# lynx

Re: Error in kannel-monitor

2016-03-02 Thread Juan Luis Gómez
Have you tried loading the url from the script (http://localhost:13000/status.xml?password=) directly in your browser? if so, was it successful? I'm inclined to think that the error has to do with the password you are using, which is empty in this case. Can you paste your conf? Thnx Sent

RE: Error in kannel-monitor

2016-03-02 Thread Беляев Владимир Николаевич
$url = "http://localhost/;; - This test script. In the working script specified port At the same error : PHP Warning: fopen(http://localhost:13000/status.xml?password=): failed to open stream: Permission denied in /var/www/html/kannel-monitor/index.php Perhaps the problem of access to the port

Re: Error in kannel-monitor

2016-03-02 Thread Milan P. Stanic
On Wed, 2016-03-02 at 22:24, spameden wrote: > 2016-03-02 21:52 GMT+03:00 Milan P. Stanic : > > On Wed, 2016-03-02 at 21:31, spameden wrote: > > > There is nothing wrong with php kannel monitor. > > > > > > It works just fine. Either you're using it wrong or not providing correct

Re: Error in kannel-monitor

2016-03-02 Thread spameden
2016-03-02 21:52 GMT+03:00 Milan P. Stanic : > On Wed, 2016-03-02 at 21:31, spameden wrote: > > There is nothing wrong with php kannel monitor. > > > > It works just fine. Either you're using it wrong or not providing correct > > password which you set in kannel.conf. > > I'm

Re: Error in kannel-monitor

2016-03-02 Thread Milan P. Stanic
On Wed, 2016-03-02 at 21:31, spameden wrote: > There is nothing wrong with php kannel monitor. > > It works just fine. Either you're using it wrong or not providing correct > password which you set in kannel.conf. I'm not using it at all. I just gave answer to Vladimir. I don't understand why

Re: Error in kannel-monitor

2016-03-02 Thread Milan P. Stanic
On Wed, 2016-03-02 at 10:49, Беляев Владимир Николаевич wrote: > This is a standard script from Kannel (gateway-1.5.0/contrib/kannel-monitor) > Standard script posted /var/www/html/kannel-monitor > If using a test script, all ok > $url = "http://localhost/;; > if (($fp = fopen($url,