[freetds] FreeTDS Digest, Vol 45, Issue 12
Filipe Tomita - triadbrasil.com
filipe.tomita at triadbrasil.com
Wed Oct 18 07:56:55 EDT 2006
Thanks Daniel,
I found this command to enable httpd open network connection over SELinux
/usr/sbin/setsebool -P httpd_can_network_connect=1
Filipe Tomita
On 10/17/06, freetds-request at lists.ibiblio.org
<freetds-request at lists.ibiblio.org>
wrote:
>
> Send FreeTDS mailing list submissions to
> freetds at lists.ibiblio.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.ibiblio.org/mailman/listinfo/freetds
> or, via email, send a message with subject or body 'help' to
> freetds-request at lists.ibiblio.org
>
> You can reach the person managing the list at
> freetds-owner at lists.ibiblio.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of FreeTDS digest..."
>
>
> Today's Topics:
>
> 1. Net.c Access Denied Problem (Filipe Tomita - triadbrasil.com)
> 2. Re: Net.c Access Denied Problem (Daniel Fazekas)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 16 Oct 2006 20:59:09 -0200
> From: "Filipe Tomita - triadbrasil.com "
> <filipe.tomita at triadbrasil.com>
> Subject: [freetds] Net.c Access Denied Problem
> To: freetds at lists.ibiblio.org
> Message-ID:
> <e0e9704e0610161559o2bade248iaec8b42eb5b5ffe at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi all,
>
> I have installed freetds with php by rime repository but when i try
> connect
> to sql server in the freetds log appear this:
>
> 23:14:06.405667 2199 (util.c:288):Starting log file for FreeTDS 0.64
> on 2006-10-16 23:14:06 with debug flags 0xffff.
> 23:14:06.405885 2199 (iconv.c:361):iconv to convert client-side data to
> the
> "ISO-8859-1" character set
> 23:14:06.406081 2199 (iconv.c:514):tds_iconv_info_init: converting
> "ISO-8859-1"->"UCS-2LE"
> 23:14:06.406272 2199 (iconv.c:514):tds_iconv_info_init: converting
> "ISO-8859-1"->"UCS-2LE"
> 23:14:06.406403 2199 (net.c:168):Connecting to 192.168.5.3 port 1433.
> 23:14:06.406930 2199 (net.c:237):tds_open_socket: 192.168.5.3:1433:
> Permission denied
> 23:14:06.407079 2199 (util.c:119):Changing query state from IDLE to DEAD
> 23:14:06.407198 2199 (token.c:2252):tds_client_msg: #20009: "Server is
> unavailable or does not exist.". Connection state is now 4.
> 23:14:06.407433 2199 (mem.c:519):tds_free_all_results()
> 23:14:06.407604 2199 (dblib.c:4978):in dbfreebuf()
>
> First, sorry my poor english and thanks all anyway
>
> --
> Filipe Tomita
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 17 Oct 2006 01:41:18 +0200
> From: Daniel Fazekas <fdsubs at t-online.hu>
> Subject: Re: [freetds] Net.c Access Denied Problem
> To: FreeTDS Development Group < freetds at lists.ibiblio.org>
> Message-ID: <22C17979-548B-4E66-AFA8-D796C73F307F at t-online.hu>
> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
>
>
> On Oct 17, 2006, at 0:59, Filipe Tomita - triadbrasil.com wrote:
>
> > 23:14:06.406930 2199 (net.c:237):tds_open_socket: 192.168.5.3:1433 :
> > Permission denied
>
> Are you using SELinux or something similar? It looks like FreeTDS is
> denied opening a network connecton to a remote machine by your system.
>
> --
> fds
>
>
> ------------------------------
>
> _______________________________________________
> FreeTDS mailing list
> FreeTDS at lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
>
>
> End of FreeTDS Digest, Vol 45, Issue 12
> ***************************************
>
--
Filipe Tomita
More information about the FreeTDS
mailing list