cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Curl works in command-line but not on web...

From: clemens fischer <ino-news_at_spotteswoode.dnsalias.org>
Date: Fri, 06 Oct 2006 18:35:58 +0200

On Fri, 6 Oct 2006 12:51:57 +0200 (CEST) Daniel Stenberg wrote:

> On Fri, 6 Oct 2006, Rune Fjellheim wrote:
>
>> CURLERR7 Failed to connect to 127.0.0.1: Permission denied
>
> Clearly something in your system is forbidding libcurl to connect
> when running in the apache process/owner. Without knowing a lot more
> we can't tell what it is or why. This is not "normal" unix/linux
> behaviour.
>
> This is probably more of a Fedora Core 5 with Apache 2.2.2 problem
> than it is a curl problem. I would suspect it is some security module
> (selinux?) activated that does this.

it might help to execute the process under "strace -f" to see if it
cannot find some libs or accesses wrong ones etc.

regards, clemens
Received on 2006-10-06