Linux
Monitoring the Nagios process with monit
Monitoring the Nagios process with monit Howto to install monit on Debian or Ubuntu to monitor the nagios process. Installation aptitude install monit Configuration Edit the monit configuration file /etc/monit/monitrc and make the following changes: Generall settings: set daemon 120 set logfile syslog facility log_daemon set mailserver localhost set mail-format { from: monit@myserver.de } set […]
Adobe Coldfusion 9 – Debian 5.0 Lenny – Ubuntu 9.10 or 10.04
Install Apache2 webserver: aptitude install apache2 Install required libraries: aptitude install libstdc++5 Install coldfusion: Download the coldfusion installation paket (Linux bin-file) from www.adobe.com. You can use the Trial Edition and upgrade later to the full version by enter the serial number in the administration webinterface Make the downloaded file executeable and run the installer: chmod […]
VMWare Server 2 – Unable to build the vsock module
Just a quick Post, the solution for the „Unable to build the vsock module“ error message if you install VMWare Server 2 on Debian or Ubuntu: tar xvf /usr/lib/vmware/modules/source/vsock.tar cd vsock-only sed -i ’s/^\#include //‘ autoconf/*.c make cp vsock.o /lib/modules/$(uname -r)/misc ln -s vsock.o /lib/modules/$(uname -r)/misc/vsock.ko depmod -a invoke-rc.d vmware restart
Samba Error on Ubuntu Karmic
There is an error in the current version of Samba on Ubuntu Karmic you find in the samba log file (/var/log/samba/log.smbd) this message: [2009/12/07 12:26:26, 0] smbd/server.c:456(smbd_open_one_socket) smbd_open_once_socket: open_socket_in: Address already in use The best solution is a downgrade to version 3.3.2: wget http://security.ubuntu.com/ubuntu/pool/main/s/samba/samba_3.3.2-1ubuntu3.2_amd64.deb dpkg -i –force-all samba_3.3.2-1ubuntu3.2_amd64.deb Update: Problem solved (Version 3.4.0)
Zend Server Community Edition on Ubuntu Server
The best way to install Zend Server is to follow the instructions on http://files.zend.com/help/Zend-Server-Community-Edition/zend-server-community-edition.htm#deb_installation.htm. Here the short version: 1. Installation: 1.1 Define a repository by opening the following file: „/etc/apt/sources.list“ and adding the line: deb http://repos.zend.com/zend-server/deb server non-free 1.2 Add Zend’s repository public key by running: wget http://repos.zend.com/deb/zend.key -O- |apt-key add – If you are […]
Linux Software RAID 5 on Debian Lenny or Ubuntu
This is an update Post for my old Howto http://www.mogilowski.net/2008/05/09/linux-software-raid-5-unter-debian-etch for Debian Lenny and Ubuntu. In this configuration i created a raid 5 with the drives sda, sdb, sdc and sdc. (Change it to your configuration if you need it.) 1. Installation aptitude install mdadm 2. Create Raid Insert this line in the mdadm config […]
VMWare Workstation / Player Installer 6.5.3 Hangs
The installer of VMWare Workstation (and Player) hangs on Ubuntu Karmic 9.10. „Cause: the installer runs vmware-modconfig-console which produces enough output with some kernels that the python engine deadlocks is command piplining during the compile.“ You need 2 consoles. In the first one type: sudo -i while true; do killall -9 vmware-modconfig-console; sleep 1; done […]
Servermanagement with puppet – Part 3
In the 3. part we confgurate the puppet clients to reports at the end of every configuration run. This reports are stored on the puppetmaster. Configurate client Enable reporting on the puppet client „/etc/puppet/puppet.conf„: [puppetd] report = true Configurate puppetmaster Activate reporting on the puppetmaster“/etc/puppet/puppet.conf„: [puppetmasterd] templatedir=/var/lib/puppet/templates reports = store,log,rrdgraph Note: See reporttypes below. (reports) […]
Servermanagement with puppet – Part 2
Now we want to create a clear strukture for the puppet configuration files. The config in Part 1 is only a simple example to test the configuration. In this example we want to create the user „sebastian“ and „demo“ on all servers with a specific password. 1. Templates “/etc/puppet/manifests/templates.pp“: This files defines various classes of […]
Servermanagement with puppet – Part 1
The Environment: Hosts: puppetmaster: The puppetmaster pc1: The first testclient pc2: The second testclient Domain: domain.local Note: I used Ubuntu 9.04 in all servers. Puppetmaster installation aptitude install puppetmaster Activate fileserver for the local network (“/etc/puppet/fileserver.conf“): [files] path /etc/puppet/files allow *.domain.local [plugins] path /etc/puppet/files allow *.domain.local Note:You can allow a subnet, too. (“allow 192.168.0.0/24“). Edit […]