Author: Yeri Tiete

  • 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…

  • Strike? What strike?

    Have fun and good luck today. 😉

  • Work

    Internships, fun fun. Source.

  • Gov 2.0 Expo: Unlocking Real-Time Data

    Source.

  • 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…

  • #iRail meeting with #NMBS

    Dear list, Before we start, this is just a quick summary of what happened today. This is not an official press release nor a statement, but it’s a short summary made in the evening for the few who are dying to know more: After listening to Michaël Vanloubbeeck on their Internet strategy, he asked us…