zeldor.biz

Linux, programming and more

Copyright © 2025
Log in

Fix: Filesystem notification initialization error

December 24, 2010 by Igor Drobot 5 Comments

I upgraded my Mail-server to Debian 6 – squeeze, it was everything great till I started my Thunderbird and get this Message: Filesystem notification initialization error — contact your mail administrator (check for configuration errors with the FAM/Gamin library)

This error can be seen in your mail client and is often caused by Courier. If you are the administrator of the mail server, simply install libgamin instead of libfam as follows:

1
aptitude install gamin

aptitude install gamin

Now restart all courier services:

1
find /etc/init.d/ | grep courier | while read line; do $line restart; done

find /etc/init.d/ | grep courier | while read line; do $line restart; done

Filed Under: Debian, Linux, Mailing Tagged With: Courier, Thunderbird

OpenVPN site to site setup

December 24, 2010 by Igor Drobot 6 Comments


Before I changed to OpenVPN I used racoon IPSEC tool. It was very unstable for my setup, because one VPN site has a dynamical IP-Address and only with dirty workarounds was it possible to use it.
After some unsuccessful tries with openswan:( I decided to try OpenVPN and I had luck I found very useful blog of (Sébastien Wains) which was my clue to my working VPN.

I draw a little map of my VPN setup:
Map
[Read more…]

Filed Under: Debian, Linux, Networking Tagged With: IPSEC, openswan, OpenVPN, persist-tun, racoon

Debian join windows domain

December 23, 2010 by Igor Drobot 20 Comments

1. Introduction

I recently was assigned the task of joining a Debian server to a Windows Server 2003 Active Directory domain. Though most of the documentation I read for doing this was rather straightforward, 100% of that documentation turned out to be only 75% useful. While all were easy to follow, at the end of the day I found myself piecing together bits of information from all different sources. Only after deciphering cryptic log messages, consulting my colleagues, and experimenting did I finally have this working. Here I try to provide a complete walkthrough of this joining procedure, paying close attention to the often overlooked details I encountered in my trials.

I use:
Debian squeeze
samba 2:3.2.5-4l
winbind 2:3.2.5-4l
krb5-config 1.22
krb5-user 1.6.dfsg.4
[Read more…]

Filed Under: Debian, Linux, Windows Tagged With: Active Directory, Debian Squeeze AD, join windows Domain, Linux Windows Domain, Windows

Icinga with Lighttpd

December 22, 2010 by Igor Drobot 3 Comments

Some days ago I wrote a similar post about nagios and lighty, now I decided to test Icinga on Debian Squeeze.

The installation was pretty easy:

1
2
aptitude install lighttpd
aptitude install icinga

aptitude install lighttpd aptitude install icinga

To use Icinga we need following modules:

  • mod_cgi
  • mod_auth
  • mod_setenv

[Read more…]

Filed Under: Debian, Linux, Monitoring, Ubuntu Tagged With: Debian, Icinga, Monitoring, Squeeze, Ubuntu

Install Grub from chroot

December 21, 2010 by Igor Drobot 16 Comments

The simple way to install grub/ grub2 from any linux live-CD or any other bootable medium.

Step 1: boot from linux live CD/DVD or even USB
Step 2: mount your hdd
Step 3: chroot in the mounted filesystem
Step 3: install grub
Step 4: reboot

1
2
3
4
5
6
7
8
9
fdisk -l
mount /dev/sda1 /mnt/
mount -t proc none /mnt/proc
mount -o bind /dev /mnt/dev
mount -t sysfs sys /mnt/sys
chroot /mnt/ /bin/bash
update-grub
/usr/sbin/grub-install --recheck --no-floppy /dev/sda
sync & reboot

fdisk -l mount /dev/sda1 /mnt/ mount -t proc none /mnt/proc mount -o bind /dev /mnt/dev mount -t sysfs sys /mnt/sys chroot /mnt/ /bin/bash update-grub /usr/sbin/grub-install --recheck --no-floppy /dev/sda sync & reboot

SUSE Syntax:
update-grub is debian and ubuntu little helper this execute the same as:

1
2
3
grub2-install --recheck --no-floppy /dev/sda
grub2-mkconfig -o /boot/grub2/grub.cfg
mkinitrd

grub2-install --recheck --no-floppy /dev/sda grub2-mkconfig -o /boot/grub2/grub.cfg mkinitrd

Filed Under: Bash, Debian, Ubuntu Tagged With: chroot, Debian, Grub, Grub2, install grub, MBR, openSUSE, Ubuntu

  • « Previous Page
  • 1
  • …
  • 52
  • 53
  • 54
  • 55
  • 56
  • …
  • 74
  • Next Page »
Yeaaah Cookie! We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok