BusyBox – Small is amazing !
February 26, 2008
Linux is versatile. Everything is configurable as well as optimizable. This makes ease-ability of compiling linux in user’s own flavor, which can reduce its size, dramatically. But, the size cannot be as small as 1~ MB. Yes, thats right, I am talking about BusyBox, which originally was designed to fit in a 1.4MB floppy. It was desgined as a rescue disk for Debian, but now a days its being shipped as an OS for routers nearly of all newer brands – like IBM, HP, Asus and mainly the DLink and even its in a few tablet cells or PCs like Nokia 770. Being an opensource project, in the past few years, its use in network industry is increased! So small in size, it doesn’t offer excessive linux functionality but, still, it has more than 200 applications.
Amazing foo !!
Here’s my DLink’s 2540Ts snap.
Mbox to Maildir – Email storage file format systems
February 23, 2008
As there is no universal regulation or rule other than IMF (Internet Message Format) on how the emails are stored on the server – Mbox email storage file format system has been widely in use by the email clients developers for a long time. Mbox uses a single file where all of the information is stored in a single file having header information as well. As all of the information is stored in a single file, so there is a locking needed to prevent file corruptions and this proved to be a major deficiency of mbox. Other than this, some security flaws also have been discovered in mbox.
The author of the Qmail described Maildir, which uses /tmp location to store files temporarily for the emails thus having advantage & overriding the file lockings used in mbox.
cPanel officially announced support for Maildir in 2005[*]. And they provide a utility to convert mbox to maildir. Just run /scripts/convert2maildir and the menu like this would popup.
/scripts/convert2maildir
Mail Directory (maildir) Conversion System
maildir is not active, this system is using mbox
1) Backup all mail folders on this server
2) Restore a mail backup
3) Start maildir conversion process
4) Request Technical Support
*) Exit
Enter Selection—]
Mail Directory (maildir) Conversion System
maildir is not active, this system is using mbox
1) Backup all mail folders on this server
2) Restore a mail backup
3) Start maildir conversion process
4) Request Technical Support
*) Exit
Enter Selection—]
Backing up would be a good idea before running the conversion. For this, backup destination must have been described in WHM.
Apache’s error’s error – Murphy or a bug.
February 21, 2008
Being the world’s most popular webserver software, Apache is being used since the beginning of the internet on the Unix and Linux based systems. Now a days, all of the Linux based Control Panels come with Apache as a webserver.
One of the Apache’s fleck like other common Linux applications (or it might be a disadvantage) is that, it won’t restart if there is any configuration error in httpd.conf. Since, acting as a webserver, this apache’s config file gets modified more frequently than any other application’s configuration file, so more likely apache encounters these sort of errors very often. But today, I saw a misleading apache’s error. Today, when restarting Apache, it gave me an error telling that, there is a some sort of syntax error at line number 37500, but upon checking, I came to know that there is no such line number in httpd.conf as there were merely 1000 lines in this configuration file. After some moments of acquisition, it was noticed that apache was referring to the last line of this file.
But the question is, why is this so! Is it a good way to trick the dummies or is it really a bug in Apache/1.3.39?