Hello All

I'm running into a weird problem related to apache-2.2.10. I'll give a
little background on the problem first.

Prior to upgrading to 2.2.10, I was using 2.2.9-r1 in conjunction with
mod_chroot. After upgrading, I was having startup issues, and
determined it was related to mod_chroot conflicting with the new chroot
functionality found in 2.2.10. They both use the ChrootDir. I removed
mod_chroot, and used the built in chroot functionality. Apache was able
to start up.

Prior to this, I've been running in chroot jail for years using
mod_chroot without any problems with jailed items. After removing
mod_chroot and starting 2.2.10 in the chroot, everything was working
fine. Well, so I thought. I discovered that cURL functionality was
completely broken within the chroot. Pulling apache out of chroot, the
script works fine. Rolling back to 2.2.9-r1 and mod_chroot, the script
works. fine.

I ran strace to see if there were any barking errors, and I could not
find any. I saw the following references to libcurl in the strace

13860 open("/usr/lib/libcurl.so.4", O_RDONLY) = 5
13860 open("/usr/lib/libcurl.so.4", O_RDONLY) = 7

There are no error_log messages or PHP errors thrown when the script is
executed. It appears the curl_exec() returns a null. The script is not
using SSL, and the URL cURL is trying to access is not https

My system is Gentoo linux (x86). Any help finding a fix is greatly
appreciated. I'm running out of ideas on how to fix this, or where to
look for additional clues to the problem. Let me know if I can provide
any additional configurations, directory listings, etc.

I posted on the cURL mailing list, but did not get any useful
information to help diagnose the problem.
http://curl.haxx.se/mail/curlphp-2009-01/0023.html

I also reported this at bugs.gentoo.org hoping that others might be
running into the same problem.
http://bugs.gentoo.org/show_bug.cgi?id=256275

The bugs.gentoo.org shows additional information about my system as
well.

Thanks in advance!
hanji


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to