Sebastian Mogilowskis Blog

Just another blog about administration, linux and other stuff

Linux

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 configurate 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 […]

, , ,

VMWare Infrastructure Client with VMWare Server

I had a lot of problems with the new webinterface of VMWare Server 2. The interface is very unstable and not very comfortable for the VMWare configuration. I need an alternative for the browser application. The new VMWare Server 2 is very simular to the ESXi or ESX Server from VMWare so you can use […]

, , , ,

Install Coldfusion 8 Multiserver on Debian 5.0 Lenny with Apache 2

This article describes, how to install Adobe Coldfusion 8 with Multiserver configuration. You can use this configuration for an ISP like coldfusion setup. Each instance/virtual host will have its own Coldfusion administrator with custom settings. 1. Prerequirements: * Apache 2 is installed and running correctly. * libstdc++5 is installed. aptitude install libstdc++5 * You have […]

, , , , , ,

Previous Posts Next posts