Hello Everyone,
I have been a long term uWSGI user, and I firstly have to say, great work on
this project. This is actually the first issue I have come across, and I don't
believe it's related to uWSGI, but am asking here as someone else may have had
a similar issue in the past.
The issue is basically, on my Debian Squeeze server, the root user is able
to send UDP packets with no issues whatsoever. However, when I try to send
UDP packets as a regular user, I get an odd error message. I determined the
issue was with a regular user sending UDP packets as I used a handy tool
called "sendip" to test sending some simple packets as both users.
Since the subscription-server in uWSGI uses UDP packets to subscribe, this
above issue is causing my some headaches when converting an existing
deployment from FastCGI to uWSGI. My other uWSGI deployment has no such
issues, and when testing a very similar environment in VirtualBox, this issue
cannot be replicated. Here is the error returned from uWSGI:
sendto(): Permission denied [core/protocol.c line 344]
This error continues forever until I terminate the process.
Result from SendIP:
Couldn't open RAW socket: Operation not permitted
I have just read about RAW sockets, and apparently only root users have
access to send such packets. This odd, considering that uWSGI works perfectly
in VirtualBox, but fails to contact the Subscription Server in my production
hosting environment.
Has anyone had similar issues, or can anyone suggest any additional
troubleshooting I can perform to fix this issue?
Best Regards,
Kevin Veroneau
--
Sent using Kontact
System uptime:
17:31:06 up 7:29, 3 users, load average: 0.88, 1.06, 1.07
System Kernel:
3.2.0-3-amd64
Local date/time:
Fri Oct 19 17:31:06 CDT 2012
CPU Info:
model name : AMD A6-3600 APU with Radeon(tm) HD Graphics
Memory usage:
total used free shared buffers cached
Mem: 5467 2025 3442 0 58 784
-/+ buffers/cache: 1182 4284
Swap: 0 0 0
---
Above data generated by a custom shell command.
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi