Your problem is here:

On Mon, Aug 29, 2011 at 08:52:42PM +1000, Chris Barnes wrote:
> socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = -1 EACCES (Permission denied)
> write(2, "failed: Permission denied.\n", 27) = 27
>     <--------    END INTERESTING SECTION    -------->

My wget trace here shows:

        socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3
        connect(3, {sa_family=AF_INET, sin_port=htons(80), 
sin_addr=inet_addr("127.0.0.1")}, 16) = 0
        write(2, "connected.\n", 11)            = 11

Your problem is definitely in the kernel, and not locales (which is just
message printing). But just why the kernel is refusing to create a TCP
socket for you is a mystery.

Can you send the contents of /proc/net/dev please.

Is there a way you can find out what kernel capabilities your process has?

Nick.
-- 
PGP Key ID = 0x418487E7                      http://www.nick-andrew.net/
PGP Key fingerprint = B3ED 6894 8E49 1770 C24A  67E3 6266 6EB9 4184 87E7
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to