Category Archives: Linux

General linux issues that we had during work will be posted here!

mkdir(): Too many links in * on line *

By now I’m working on an foto upload script and encountered the following error: mkdir(): Too many links in * on line * When I took a deeper look at it I discovered sth: shell # ls -d */ | … Continue reading

Posted in Linux, PHP | Leave a comment

Linux HDD error

By today my ubuntu system clained: “Fehler zu beheben, I für Ignorieren, S, um das Einhängen” So it looks like my HDD crashed but I don’t know what to press because the screen is cut. By looking at ubuntu lang … Continue reading

Posted in Linux | 1 Comment

PXE server / DHCP + buildroot client

This week I created a custom linux for on one my clients using buildroot. In my buildroot system I needed to have an internet connection. So what I did is I configured DHCP3-Server and the other remaning stuff. What I … Continue reading

Posted in Linux | 1 Comment

DHCP3-server Autostart

If you find my blog you’re maybe very frustrated already about dhcp3-server and auto starting it. Please note that my “howto” requires that your dhcp server starts manually already. If it doesn’t start manually of cause it wouldn’t even start … Continue reading

Posted in Linux | 1 Comment

IP tables forward port / Mail port forward

In this tutorial / report I’m going to show you how could still use a mail server even if your provider has blocked the mail outgoing port 25. I did it with iptables. My solution is a “port forwarder”. Just … Continue reading

Posted in Linux | Leave a comment

Modrewrite without www to with www

Every time when I register a new domain the first thing that I do is to setup a new rule in my httpd.conf file. I redirect the domain from without www to with www. I do it because I would … Continue reading

Posted in Linux | 1 Comment

Buildroot pciutils & HAL

A few days I had some issue with buildroot that took a lot of time of me and my developer friend. The problem was the HAL manager detects the vendor but couldn’t print the name. By doing some reseach in … Continue reading

Posted in Linux | Leave a comment

Mysql repair all dbs

Repair & Optimize mysqlcheck -Aor -u root -p Repair Only mysqlcheck -Ar -u root -p Optimize Only mysqlcheck -Ao -u root -p

Posted in Linux | Leave a comment

Dos2Unix binary prob

Problem is that dos2unix doesn’t ignore binary files by default. You need to uninstall dos2unix first and then reinstall new version from: http://www.xs4all.nl/~waterlan/dos2unix.html dos2unix-5.1.1.tar.gz Source code Run: tar xfvz [ARCHIV].tar.gz make make install Convert rekursiv: find . -type f \! … Continue reading

Posted in Linux | Leave a comment

Swap file / failed to allocate memory

Problem: Error : Failed to allocate memory Solution: Create a swapfile in e.g. with 512MB dd if=/dev/zero of=/swapfile1 bs=1M count=512 mkswap /swapfile01 swapon /swapfile01 vi /etc/fstab /swapfile01 swap swap defaults 0 0 After restart run free -m and check if … Continue reading

Posted in Linux | 1 Comment