Posts

nginx + fastcgi PHP

· Errors, Linux, Software, www

I recently migrated vm1 to nginx instead of lighttpd. Just for the sake of playing and testing around.

As there’s a PHP page as well, I had to set up fastcgi with PHP. I mainly followed this tutorial to try to get PHP working.

However, every PHP page I visited returned following error:

No input file specified.

As I was fairly sure it was path (or variable) related, I played around with:

Uptime

· Misc

A scheduled post while I’m at the KdG ombudsman for “fraud”.

VMware Server and kernel 2.6.33

· Errors, Linux

Trying to recompile the VMware Server 2.0.2 on kernel 2.6.33 I came upon these two errors:

# uname -a Linux Sauron 2.6.33 #1 SMP Tue Mar 9 15:09:05 CET 2010 x86_64 AMD Opteron(tm) Processor 248 AuthenticAMD GNU/Linux

This is a Gentoo machine.

Error 1:

The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match
your running kernel (version 2.6.33).  Even if the module were to compile
successfully, it would not load into the running kernel.
What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include]

This can be resolved by editing version.h (usually in /usr/src/linux/include/linux) and adding this line:

OpenVPN packet drops

· Errors, Linux, Networking, Software

I recently started to notice following error messages on my openVPN server.

ovpn-server[6306]: vpn.rootspirit.com/85.234.x.y:62068 MULTI: packet dropped due to output saturation (multi_process_incoming_tun)
This basically means that the TUN or TAP interface is making more packets than the real (TCP) interface can handle.

As I need to run OpenVPN using the TCP protocol (instead of the faster UDP protocol; as UDP is often blocked in networks I use my VPN in) I experimented by increasing the tcp-queue-limit. The default is 64, and I’ve set it to 256. So far, everything still seems to be working fine (but more packets will be queued before being dropped by OpenVPN, requiring less retransmissions).

Barcamp WiFi: the statistics - #BCA2010

· Misc, Networking

  • A total of 87 IPs have been handed out (so 87 different MAC addresses)
  • A total of 70 users used the (transparent) Squid proxy, so a few never logged in
  • There was a total of 1.3Gb of HTTP traffic (Saturday only)
  • There was a total of 720.91Mb upload and 2.11Gb download traffic (including Friday evening)
  • Total server uptime was 1 day, 1 hour and 31 minutes :)