Sebastian Mogilowskis Blog

Just another blog about administration, linux and other stuff

Language: German English

ubuntu

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)

, , ,

Install Thunderbird 3 on Ubuntu 9.10 Karmic

Install Mozilla Thunderbird 3 on Ubuntu with paketmanger. Add the repository: sudo add-apt-repository ppa:ubuntu-mozilla-daily/ppa Add repository key: sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys 247510BE Installation: sudo apt-get update sudo aptitude install thunderbird-3.1 thunderbird-3.1-gnome-support Older Ubuntu versions: Edit “/etc/apt/sources.list” and add the following lines: deb http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu jaunty main deb-src http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu jaunty main Add the GPG key: [...]

, ,

MySQL Workbench on Ubuntu

Install MySQL Workbench on Ubuntu: 1. Download the Community Edition Download the latest release from the MySQL Website. I used the 64-Bit Debian Paket for Ubuntu 9.04 it works on Jaunty (9.04) and on Karmic (9.10). 2. Installation sudo dpkg -i mysql-workbench-oss-5.1.18-1ubu904-amd64.deb 3. Use it Now you can start MySQL Workbench via your menu (Development [...]

, , , ,

Linux Software RAID 5 on Debian Lenny or Ubuntu

This is an update Post for my old Howto http://www.mogilowski.net/lang/de-de/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 [...]

, , , , ,

Add swap file to a linux server (Debian or Ubuntu)

This article describes how you can add a swap file on Debian or Ubuntu. You can use this to add additional swap space or to add swap to a server without any swap space. (You can use this as temporary swap space, too) 1. Create the swap file: Use “dd” to create the swap file. [...]

, ,

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) [...]

, ,

Google Chrome (Chromium) on Ubuntu

Installing Google Chrome browser on ubuntu: Chromium is an open source browser project. Google Chrome is a browser from Google, based on the Chromium project. First add the following sources to your “/etc/apt/sources.list” depending on your ubuntu version: For Hardy: deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu hardy main deb-src http://ppa.launchpad.net/chromium-daily/ppa/ubuntu hardy main For Intrepid: deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu intrepid main deb-src [...]

, , , , , , ,

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 [...]

, , ,

Previous Posts Next posts