Category Archive: Sysadmin

Jul 25 2008

Icecast2 listener statistics script for Cacti

I found a script for cacti to monitor the number of current listeners of an icecast2 server. The script was ok, but had a problem that sources where counted as listeners and it only showed the total number of listeners. I did some work on the script and it now has: – show all listeners …

Continue reading »

Apr 14 2008

Installing Flash Media Server 3 on Ubuntu Server

In the past i had to install Flash Media Server 2 on Ubuntu and Markus Bertheau’s Blog came to help with publishing a patch to make this work. Time went by and now i had to install Flash Media Server 3 on my Ubuntu box. Again Markus has a patch for the fms3 installer script …

Continue reading »

Oct 29 2007

Compile Python 2.4.4 on Mac OS X 10.5 (Leopard)

Recently i upgraded my OS to Leopard and had to recompile python 2.4.4 for my Zope 3 buildout setup (i need a clean python for that). The problem was, that python 2.4.4 won’t build on leopard, Jodok Batlogg from Lovely Systems had the same problem and instantly found the solution. As he hasn’t posted it …

Continue reading »

Feb 26 2007

Ubuntu: networking tip

But when i tried to ping some other machine, this didn’t work :-( I checked /var/log/messages and the onboard Broadcom Interface showed up as eth1, but i was not able to start it. When i ran $ sudo /etc/init.d/networking restart i got some error messages like: SIOCSIFADDR: No such device eth1 eth1: ERROR while getting interface flags: No such device No clue what went wrong, i googled a lot and finally i stumbled upon this forum entry: http://ubuntuforums.org/showthread.php?t=221768 Then i ran: $ ifconfig -a and got a list with my network interfaces and more importantly with it’s MAC address.

Continue reading »

Feb 19 2007

Ubuntu Server insecurity?

i just found out that my Ubuntu Server 6.10 has login shells for almost all users set in the /etc/passwd file! That’s a very bad idea because this maybe enabled someone to install “Data Cha0s Back Backdoor” on my machine :-( I checked this with 2 other fresh Ubuntu Server 6.10 installations and both also had the login shells for users like daemon, mail, www-data and so on. Especially www-data should not have a chance to create a shell in my opinion!

Continue reading »

Mar 22 2006

The power of vim

vim is the commandline text editor vi (improved) and it features syntax highlight and colors. The good thing is, vim is included by default in Mac OS X – the bad thing is, color support is not enabled by default. To enable syntax highlight in vim create a .vimrc file in your home directory: ?View …

Continue reading »

» Newer posts