Posted by Stefan Schmidt
Thu, 26 Jul 2007 22:01:00 GMT
…err i mean: Its System Administrator Appreciation Day!!!

Yes i know the date on this image is wrong, but i am not allowed to temper with it and post it online as its copyrighted, go ahead suit yourself.
Get yer tickets here and here. ;-)
No, i don’t want any flash ecards, thank you.
Ok enough already, lets greet the sysadmin future alright?
Posted in perl, realworld simlation, linux | no comments | no trackbacks
Posted by Stefan Schmidt
Sat, 31 Mar 2007 21:46:00 GMT
This blog entry is kind of a quick notebook entry so that i don’t forget about the rough timeframe when CERN’s Large Hadron Collider goes live.
You remember? Its that physics thingy that generates an awful lot of data to be distributed and dissected by computing grids all over the planet. ;)
So here it is: http://cosmicvariance.com/2006/06/20/the-lhc-dashboard/
Its probably outdated by now but the best hit i found with any actual dates.
Posted in hardware, linux, blogs | no comments | no trackbacks
Posted by Stefan Schmidt
Tue, 06 Feb 2007 12:08:00 GMT
How do i put an debian package that is already installed on hold so that it doesn’t get up/downgraded?
A common admin problem that i just had with the package psi which over here is a aliened version of psi 0.11 from a external mandrake package is that you want to prevent packages from beeing touched i.e. upgraded or downgraded or removed as a dependancy.
You want to set these packages ‘on hold’ and here is how:
echo “{package name} hold” | dpkg –set-selections
Easy once you know how, isn’t it? ;)
To free the package once again just use ‘install’ instead of ‘hold’.
Posted in linux, server | Tags debian | no comments | no trackbacks
Posted by Stefan Schmidt
Sun, 04 Feb 2007 19:07:00 GMT
Ok time to make this blog more popular by talking about the things every debian admin needs to know but nobody cares to write down except in the almighty Debian Reference.
You have installed a package and are wondering where the damn configuration files for that stuff can be found?
just do a less /var/lib/dpkg/info/{package name}.list and have a look for something in /etc that isn’t a cron.d entry.
You wonder what package this file belongs to?
dpkg -S /full/path/to/file
You wonder why your “apt-get updates” are taking to long even so you have a 100mbit/s full-duplex link to the internet?
echo Acquire::PDiffs \”false\”\; >> /etc/apt/apt.conf
This causes the incremental update ‘feature’ to be disabled which is quite disk i/o intensive and simply takes for ages - more bandwith is used for the update (note: thats just the update here not upgrade or dist-upgrade) as a result but for most server admins it is just a laughable amount and worth the extra bits in order to spare the time waiting for update to finish.
You cannot work on the systems console because your firewall log is buzzing with activity and cripples your terminal output?
echo “kernel.printk = 4 4 1 7” >> /etc/sysctl.conf
sysctl -p
You want to prevent a service to be started on system boot?
update-rc.d -f {package name} remove
This will remove the appropiate symlinks from /etc/rc*.d
You cannot find the commandline options/flags that a service gets started with in /etc/init.d/{service}?
Well have you had a look in /etc/default/{service}?
Your apt-get is totally fucked up, it wouldn’t apt-get update without error anymore?
cd /var/lib/apt/lists
rm -v *
apt-get update
You installed debian from a bootcd with debootstrap, chrooted there and did a dist-upgrade but now you cannot umount that partition?
lsof -n | grep {name of target partition}
and kill all PIDs that pop up as a result of this for the dist-upgrade probably did start some services during the process that now have open filehandles on the target partition.
You want to build a custom kernel but you have no clue what device drivers you need for that machine?
cat /proc/cpuinfo
lspci (-vvv | less - optional)
lsusb
This should give you some hints on your systems hardware. Reading the kernel hints about the device drivers and probably knowing your way around in the kernel config is the other part.
Why does the output of the mount command show duplicate entries? or Why doesn’t it list the partition that i know is mounted?
Well you probably tried to do your own boot-from-cd distri and ended up with a script overwriting /etc/mtab. Just try cat /proc/mounts > /etc/mtab && mount.
Posted in linux, server | Tags debian | no comments | no trackbacks
Posted by Stefan Schmidt
Fri, 16 Jun 2006 15:18:00 GMT
What are you doing wrong when you see something like this booting a new kernel?
unable to determine filesystem type on /dev/root
trying cramfs: failed.
Right, you’re using the kernel config from an initrd kernel and were missing the part where it says: ”I’m going to build ext2fs as a module if thats ok with you.” ;-)
Thank God Its Friday
Posted in linux | no comments | no trackbacks
Posted by Stefan Schmidt
Tue, 06 Jun 2006 07:58:00 GMT
Whether this was a short or long long Weekend i cannot say. What i know is that i’m late for work but with the good feeling that i still can configure 5 things in parallel, that high energy trance and iced coffee helps a lot and that my moves still produce working output.
For example you may notice that all of my private Sites are now running on lighttpd with FastCGI.
What you may or may not notice is that Linux 2.6.16.19 is b0rken on Sun’s T1 family.
And what you simply don’t know is that i got to go exactely… now.
Posted in realworld simlation, linux | no comments | no trackbacks
Posted by Stefan Schmidt
Mon, 05 Jun 2006 06:02:00 GMT
Still no luck with 2.6.16.19 - now i finally had enough for the day - off to bed. ;)
Posted in realworld simlation, linux | no comments | no trackbacks
Posted by Stefan Schmidt
Mon, 05 Jun 2006 05:55:00 GMT
root@flame-grilled:/usr/src/linux-2.6.16.19# make image
CHK include/linux/version.h
CHK include/linux/compile.h
CHK usr/initramfs_list
STRIP arch/sparc64/boot/image
kernel: arch/sparc64/boot/image is ready
root@flame-grilled:/usr/src/linux-2.6.16.19# file arch/sparc64/boot/image
arch/sparc64/boot/image: ELF 64-bit MSB executable, SPARC V9, version 1 (SYSV), statically linked, not stripped
root@flame-grilled:/usr/src/linux-2.6.16.19# file vmlinux
vmlinux: ELF 64-bit MSB executable, SPARC V9, version 1 (SYSV), statically linked, not stripped
root@flame-grilled:/usr/src/linux-2.6.16.19# ls -al vmlinux arch/sparc64/boot/image
-rwxr-xr-x 1 root root 3514904 Jun 5 07:52 arch/sparc64/boot/image
-rwxr-xr-x 1 root root 4645342 Jun 5 07:31 vmlinux
hmmm… ;)
Posted in linux | no comments | no trackbacks
Posted by Stefan Schmidt
Mon, 05 Jun 2006 05:49:00 GMT
what i got to do instead of ‘make’ to get a bootable kernel. ;)
Allocated 8 Megs of memory at 0x40000000 for kernel
Loaded kernel version 2.6.16
ERROR: Last Trap: Illegal Instruction
[Exception handlers interrupted, please file a bug]
[type 'resume' to attempt a normal recovery]
Posted in hardware, linux, server | no comments | no trackbacks
Posted by Stefan Schmidt
Mon, 05 Jun 2006 05:06:00 GMT
real 6m46.007s
user 142m46.139s
sys 6m11.895s
root@flame-grilled:/usr/src/linux-2.6.17-rc5-mm3# time make -j 32
nearly
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
init/built-in.o: In function `start_kernel': undefined reference to `early_init_irq_lock_type'
make: *** [.tmp_vmlinux1] Error 1
Posted in hardware, linux, server | no comments | no trackbacks