Category: Software
-
IE9 is the IE6 of CSS3
I giggled. And then cried a little bit.
-
Xen: iptables issue
vm3:/# iptables -t nat -A PREROUTING -p tcp -m tcp –dport 80 -j DNAT –to-destination 85.12.6.173:8180 WARNING: Could not open ‘kernel/net/netfilter/x_tables.ko’: No such file or directory FATAL: Could not open ‘kernel/net/ipv4/netfilter/ip_tables.ko’: No such file or directory iptables v1.4.2: can’t initialize iptables table `filter’: iptables who? (do you need to insmod?) Perhaps iptables or your kernel…
-
Tomcat: javax.servlet.ServletException issues
javax.servlet.ServletException org.apache.catalina.security.SecurityUtil.execute (SecurityUtil.java:294) Solution: Create 20servlets.policy: nano -w /etc/tomcat5.5/policy.d/20servlets.policy And add: grant codeBase “file:${catalina.base}/webapps/-” { permission java.security.AllPermission; }; And restart Tomcat /etc/init.d/tomcat5.5 restart
-
Xen: PTY allocation request failed
$ ssh vm3.rootspirit.com -l root [email protected]’s password: PTY allocation request failed on channel 0 stdin: is not a tty Solution: Kill the DomU (xm console *might* work, but somehow rarely works for me). mkdir /tmp/disk mount /path/to/disk.img /tmp/disk chroot /tmp/disk /bin/bash => in chroot env nano -w /etc/fstab And add (though this is probably not…
-
Xen: Failed to find an unused loop device
I had to start a new Xen domU this afternoon, xm create vm#.domain But this resulted in following error: Error: Device 5632 (vbd) could not be connected. Failed to find an unused loop device Solution: Create /etc/modprobe.d/local-loop.conf with this content: options loop max_loop=64 Turn off all DomUs, yes, bummer. You’ll need to reload the loop…
-
SugarCRM: get rid of the ads
When logging in, you get a huge ad saying “Go Pro” or something similar, and some news feed about SugarCRM in SugarCRM: Community Edition. Fun fun, but I don’t quite need that. Anyway, “fix”: cd crm-path/modules/Home/Dashlets mv iFrameDashlet/ /root/sCRM-dashlet/ mv SugarNewsDashlet/ /root/sCRM-dashlet/ Remove these two modules, refresh site, and you’d be fine. SugarCRM updates might…
-
Mac OS X lock screen
I’m now working at a company with somewhat sensitive data and I’m still using my Macbook Pro. However, as there is no handy way to lock a screen (like Windows+L on Wintendo machines)… And when I’m at home, I don’t want to fill in my password each time the screensaver jumps on. So I created this AppleScript after…
-
Mounting a RAMFS disk at boot in Mac OS X
I received a question about creating a RAMFS for Mac OS X’ /tmp folder, so I’ll post my reply here as well. It’s really simple; Open Terminal (Applications -> Utilities), type “sudo su” and enter your user’s password. Create a new file in /Library/LaunchDaemons, like this: “nano -w /Library/LaunchDaemons/com.yeri.ramfs.plist” (you can rename yeri to whatever…
-
iRail news
Been playing around with nginx vs Apache for iRail. The bottle neck still is the NMBS site (and I’m truly sorry for DoSing you, dearest NMBS. I had to benchmark), but nginx seems to win just slightly over Apache. Maybe it’s worth moving irail.be to my nginx webserver. <3 nginx. The iRail (national) mobile website…