Category: admin-stuff

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 | 1 Comment »

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 »

php4 mime_magic errors unter Debian 5

Nachdem das Debian 5.0 Update unserer Server problemlos durchlief und auch php4 weiterhin mit mysql funktionstüchtig blieb, tauchten im Apache error Log vereinzelt folgende Meldungen auf: PHP Warning: mime_magic: type search/400 \\input text/x-tex invalid in Unknown on line 0 PHP Warning: mime_magic: type search/400 \\section text/x-tex invalid in Unknown on line 0 PHP Warning: mime_magic: [...]

Dienstag Januar 26th, 2010 in admin-stuff | 1 Comment »

[confixx] Update / Install schlägt fehl

Das Confixx Update oder die Installation schlägt fehl, mit folgender Meldung: /usr/bin/ld: crti.o: No such file: No such file or directory Das besagt nur, dass die libc6-dev Bibliotek nicht installiert ist. Debian / Ubuntu: aptitude install libc6-dev oder yum install glibc6-devel

Freitag Januar 22nd, 2010 in admin-stuff | No Comments »

Debian Lenny Upgrade mit php4-mysql

Das Problem ist, dass das alte etch php4-mysql modul mit der neuen libaprutil1 inkompatibel ist. Da wir unseren Kunden, welche es nach 4 Jahren PHP5 natürlich immernoch nicht alle geschafft haben Ihre PHP4 Anwendungen zu entsorgen, es nicht zumuten können auf einmal alles umzustellen, werden wir vorerst das php4-mysql modul und die libarputil1 einfach auf [...]

Freitag Januar 22nd, 2010 in admin-stuff | 1 Comment »

xen vhost install

just a reminder for a short xen vhost debootstrap install on a xen server with lvm volumegroup named vg replace the *.*.*.* stuff with the ip and network address and *.domain.tld with the host- and domainname xen-create-image –hostname=*.domain.tld –lvm vg \ –size=80Gb –swap=2GB –ip=*.*.*.102 –memory=1000Mb \ –arch=i386 –role=udev –netmask=255.255.255.0 –gateway=*.*.*.1 \ –fs=ext3 –install –install-method=debootstrap –dist=lenny [...]

Freitag Januar 8th, 2010 in admin-stuff | No Comments »