Category: admin-stuff

Xen Ubuntu 12.04 upgrade: Boot loader didn’t return any data!

Today I tried to update our xen virtual hosts to Ubuntu 12.04. The message just says that the Boot loader doesnÄt return any data. The problem relates to the grub2 boot loader, which updates the grub.cfg with root=(hd0,msdos1) entries. cause we don’t need any grub2 boot loader on our machines the simplest solution for this [...]

Donnerstag Mai 17th, 2012 in admin-stuff | No Comments »

Excel cannot copy formulas anymore

I mentioned a strange problem with one of our PC’s today. Excel 2007 was not able to copy any formulas anymore, it just copied all the values but no formulas. Even with Paste Special you just had the option to copy text. It turned out that the Skype Click to Call Plugin messes up the [...]

Mittwoch April 25th, 2012 in admin-stuff | No Comments »

Yamaha 2003 DT Lanza

Maybe not so related to all the programming stuff here, but everyone have to have some private life and some hobbies. So I bought a small motorbike and sure I was looking for some parts and manuals which are kind of hard to find online. So I decided to post them. handout from yamaha Yamaha [...]

Mittwoch April 25th, 2012 in admin-stuff | No Comments »

OpenERP 6.1 ubuntu

installation of dependencies aptitude install postgresql postgresql-client python-dateutil python-feedparser \ python-gdata python-ldap python-libxslt1 python-lxml python-mako python-openid \ python-psycopg2 python-pybabel python-pychart python-pydot python-pyparsing \ python-reportlab python-tz python-vatnumber python-vobject python-webdav \ python-werkzeug python-xlwt python-yaml python-zsi python-simplejson get 6.1 release wget http://nightly.openerp.com/6.1/releases/openerp_6.1-1-1_all.deb install 6.1 release dpkg -i openerp_6.1-1-1_all.deb create database role su postgres createuser –createdb –username postgres –no-createrole [...]

Freitag März 16th, 2012 in admin-stuff | 4 Comments »

simple-facebook-connect Plugin for WordPress

If you recently face the problem that SFC doesn’t post automatically on your facebook page anymore. And you get the error: …/plugins/simple-facebook-connect/facebook-platform/facebookapi_php5_restlib.php on line 3112 Just turn of the facebook https redirection on Facebook. Account settings -> security settings -> Secure browsing otherwise SFC will be redirected to https and can’t handle the redirection properly. [...]

Montag August 1st, 2011 in admin-stuff | No Comments »

turn off udp checksums / tcpdump

Do you see strangeudp checksum errors in your tcpdump? turn off tx checksumming with ethtool -K eth0 tx off

Donnerstag August 5th, 2010 in admin-stuff | No Comments »

moving with hardlinks + times

cause mv and cp -ar, don’t copy hardlinks on filesystems you normally have to use rsync with the –hard-links parameter to copy a directory with symlinks, hardlinks and times. rsync uses a lot of memory, cause it’s building a big file/link table in your memory. if you try to move incremental server backups based on [...]

Mittwoch März 17th, 2010 in admin-stuff | 2 Comments »

chroot: Exec format error

chroot: cannot run command `mount`: Exec format error Ach Gott, da sucht man nach noexec oder ähnlichen versteckten Hindernissen, die das amd64 System daran hindern die i386 executables auszuführen und dabei hat man nur vergessen Executtable File Formats Emulations —- > [*] IA32 Emulation einzuschalten … Manchmal kann das Leben so einfach sein Bin mal [...]

Freitag März 12th, 2010 in admin-stuff | 1 Comment »

xen time went backward problem

simple solution to fix the sometimes “time went backward” problem occuring in DomU’s for each DomU add xen.independent_wallclock=1 to /etc/sysctl.conf and add clock=jiffies in the DomU’s config file in the extra-section p.e.: extra = “xencons=tty console=tty clock=jiffies”

Donnerstag Februar 25th, 2010 in admin-stuff | No Comments »

convert directories and files to utf-8 names

quick and dirty ISO-8859-15 to UTF-8 conversion for old directories and files. this does not convert the file content or something, only file and directory names find . -type d -exec sh -c ‘i=”{}”; mv “$i” “$(echo $i|iconv -f ISO_8859-15)” \ 2>/dev/null && echo “moved $(echo $i|iconv -f ISO_8859-15)”‘ \; find . -type f -exec [...]

Donnerstag Februar 25th, 2010 in admin-stuff | No Comments »