Tin's Journey

Enter a journey into a sysadmin world

Browsing Posts published by Tin'

Following release of the new Debian 7.0 “Squeeze”, deb-multimedia mirror on Gnali has been updated.

sid -> unstable
wheezy -> stable
stable
   |- binary-amd64
   |- binary-armel
   |- binary-i386
   |- binary-ia64
   |- binary-kfreebsd-i386
   |- binary-mipsel
   |- binary-powerpc
   |- binary-sparc
   |- source
testing
unstable
jessie -> testing

Thanks again to Christian Marillat for his awesome work !

Here’s a quick loop to delete Clariion LUNZ pseudo devices to prevent process to submit I/Os, which will never satisfied.

Really useful, when a new Clariion Disk Array is connected to your server

for i in $(ls /sys/class/scsi_device/)
do
    grep -q LUNZ /sys/class/scsi_device/$i/device/model && {
        echo deleting bdev $i
        echo 1 > "/sys/class/scsi_device/$i/device/delete"
    }
done

Christian Marillat, who’s well known for packaging multimedia application for debian, has change his domain name from debian-multimedia.org to deb-multimedia.org.

Hi,

debian-multimedia.org is now deb-multimedia.org

All services are working (see below). If you intent to change the path
in the mirror URL, tell me I’ll update my mirors page.

,—-
| rsync://www.deb-multimedia.org/deb
| http://www.deb-multimedia.org
| ftp://www.deb-multimedia.org
`—-

Christian

So in order to be compliante with him, Gnali.org is changing its mirror site to deb-mutimedia.gnali.org. Please update your apt source.list file. Old domain name will be still available for few weeks.

As a sysadmin, I have to deal with a bunch of filesystems. On the paper the sexiest one is ZFS (if your forgot the fact that you can’t remove device). But ZFS has been released under the CDDL license which is incompatible with the GNU GPL. That’s why ZFS is not in the Linux Kernel. Thanks to fuse there’s a way to install it under Linux.

continue reading…

When you work in a company where being on duty is mandatory, you probably have to useĀ  Citrix Receiver . Unfortunatly, the Linux version is not available for 64 bits arch. So here a little documentation to install it on a Debian Squeeze.

continue reading…

Following release of the news Debian 6.0 “Squeeze”, debian-multimedia mirror on Gnali has been updated.

sid -> unstable
squeeze -> stable
stable
   |- binary-amd64
   |- binary-armel
   |- binary-i386
   |- binary-ia64
   |- binary-kfreebsd-i386
   |- binary-mipsel
   |- binary-powerpc
   |- binary-sparc
   |- source
testing
unstable
wheezy -> testing

alpha and hppa arch has been removed from this release, as the oldstable distrib, so remember to update your apt source.list file.

Thanks to Christian Marillat for his awesome work !

If you ever administrate a server hosting an oracle database, you probably had to play with kernel parameters in the sysctl.conf file like shmmax, shmmin, semmns, semopm and few more. Those parameters are used to configure the shared memory and semaphores in order to make Oracle to run properly, but you also need to tune the file handles, the IP local port range, some networking settings and shell limits for the oracle user.

In this post, I will explain how to configure this settings regarding oracle recommendations, but over all what this parameters mean. For production database systems, Oracle recommends that you tune these values to optimize the performance of the system.

continue reading…

Gnali.org is currently running on a ovh cluster hosting lxc container with opensvc. Physical host are running debian squeeze, as most of the container on it run debian lenny. But there is on one of them which is under Ubuntu lucid.

Today after upgrading the physical host (let’s call it the hypervisor node), and reboot it, I wasn’t able to connect to the Ubuntu container. I got a strange error while connecting through ssh :

$ sudo ssh gliprdweb02
PTY allocation request failed on channel 0
stdin: is not a tty

After googling a while I found an article on Emanuelis Eu which made me correct this error. I have to apologize to the author if I just copy and paste his post thereafter, but then I will be able to find the solution easily if the error occurs again.

continue reading…

If df or mount command return nothing it’s probably because /etc/mnttab is empty, so try to unmount it

umount /etc/mnttab

and then remount it

mount -F mntsfs mnttab /etc/mnttab

In the company I actually work the connection to internet is going through a proxy which is not very permisive. It only allow us http and https, and block all ssh communication. So in order to work on some work project from my home, I had to put in place a git repository on a distant site but I didn’t want everybody to get access to it.

This post is an how-to set up a git repository which can be pushed into and pulled from over http with basic authentification.

continue reading…

QR Code Business Card