It’s a shame that one of my favorite tools is broken in Ubuntu 8.10. It crashes right after you rune it with segmentation fault. There is a patch in launchpad Bug #294599 but it did not work for me. I was getting some crypted error message. Finally after 10 minutes of googleing and trying i got the solution.
Here are the steps to build your own package:
- sudo apt-get install build-essential fakeroot devscripts
- mkdir apachetop && cdapachetop
- wget http://launchpadlibrarian.net/19754557/apachetop.debdiff
- apt-get source apachetop
- cd apachetop-0.12.6 && patch -p1 < ../apachetop.debdiff
Now before you do anything we have to make one small change to the code by hand:
$ vim src/apachetop.cc
go to line 967 (in vim write 967G) and replace line
char realfile[MAXPATHLEN];
with:
char realfile[PATH_MAX];
now go to the apachetop-0.12.6 directory and do:
$ debuild -uc -us
after compiling is successfully you can install your new package with:
$ sudo dpkg -i ../apachetop_0.12.6-8ubuntu1_i386.deb
Hope it will help someone.
PS: Installation steps based on https://wiki.ubuntu.com/UbuntuPackagingGuide/BuildFromDebdiff?highlight=(debdiff)
Tags: Apache, Linux, Server Posted in Linux, Ubuntu, Ubuntu Server | No Comments »
One day while cleaning up my men cave I realized I have a lot old and not so old hardware lying around that I don’t use. It would be a shame to just throw it away or give it to random people. At that exact moment I had brilliant idea - lets give it to FLOSS projects. There must be a lot of people that could make use of it. Especially those in developing countries or those of us that don’t have a budget for hardware but have skills to help. But how? As far as I know there is is nothing like that existing.
My idea would be to create a web page where FLOSS developers / projects could register and seek help from people like me. Whose of us willing to help would register as well and post descriptions and pictures of hardware they are willing to send to the registered projects / developers.
There would have to be of course some kind of oversee who gets what and how. So far I have no idea how to do that part
People that don’t have hardware to spare could make donations that would be used to help ship items for those that have them but don’t want to spend money on shipping. I guess international shipments are expensive.
So far I registered a domain www.helpfloss.org and I’m willing to pay for it as long as I can. I can also devote some time to web page development (php, mysql, js).
As you can see thats only the beginning later on we could grow on this idea and make a huge change in the community.
I’m sending this email to few pod-casts I hope with your help I could get this project of the ground. If anyone thinks it’s a good idea please contact me.
Posted in Linux | 1 Comment »

Now i feel like true Linux evangelist
Posted in Uncategorized | No Comments »