Monday, February 28, 2011

Some words to create a channel on irc

Creating is very simple,
just join the channel:
/join #channelname

after this you get op status.
Then register the channel with:
/msg ChanServ register ##channelname

And give you op status:
/msg ChanServ FLAGS #channel name+O

Topic and more is at the moment not much interesting,
here is enough help on the web available:

After migration to Squeeze problem with vpn

After installing Squeeze on the server,
it is not possible to access or contact the server over the vpn.
The Squeeze server can ping the vpn server and vpn client.
Ping from vpn-server is possible too.
But no connection from the client over the vpn-server to the

Syslog has no entries, auth.log hat no entries and ping from client give no error message.
It seems that the server dont exist.

Furter Information (german) look here:

Sunday, February 27, 2011

Meetingdate for debian-ruhr at uph / essen

Hello everyone out there.
At the moment we see us at the ubuntu-ruhr meetings in the uph at the 3. thursday of a month.
I think this is not the best weekday.

Who is interested in meetings another day?

Please write in comment!

Saturday, February 26, 2011

Visit me at IRC on

My channels:

look forward to see you there!

Tuesday, February 22, 2011

Adding route for vpn

It is as simple at is seems,
adding a route on a client for a vpn far away.
Normaly all ip packages that are not for the local network
find the way over the gateway.
But were gateway and vpn server are different machines,
every pc must get a route for the vpn and gateway.

On Debian-PC adding route with this:
route add destinationip gw gatewayip

If it works show you ping!

Monday, February 21, 2011

Two mailserver with different ip ...

... but same /etc directory are no good idea.
Because i want to create a backup mailserver,
i installed lenny with the same packages like the old mailserver with postfix.

After this i copy the /etc directory, and restore it back to the new debian.
Then i modified the /etc/network/interfaces
so that the ip is different.
After this i reboot the server and restore the /home directory from the old mailserver.
After this, although the ip is different strange things in the network happens.
Old mails appears in the mailboxes etc.

I think it is because the hostname of the system is the same.
Will try to setup the server from ground with different name, ip.

Moving Mailserver not easy as i thought

Moving a Mailserver from one to another Debian is not easy as i thought.
Installed the Server with the sampe packages,
then copy the whole /etc directory.

But... login with imap is not possible.
Local login from the user works.

Thursday, February 17, 2011

Filesystem goes readonly

On a server the filesystem goes readonly
without any log entry.
I reboot with a rescue cd, and run a
fsck.jfs /dev/sda1 -f
to force the checking of the structure.
Some data were stored in lost+found.
After this the system seems to work.

One file on the home directory of the user
was reneamed to file.lock and has no entry.
After renaming back to file, everything was fine.

I have no idea why the system has this effect,
and why the backup dont work.

Lock for a reason!

The error message deep in the log is:
xExtend: estension is not contigious

Filesystem block size and database page size

Think that it is the best value to use the same pagesize like blocksize on harddisk.
So i get the blocksize with this command:
blockdev --getbsz /dev/sdx

The result on the jfs filesystem is 4kb,
so i think 4kb pagesitz would be best.

Tuesday, February 15, 2011

Decided for Superclassic

I think the Superclassic 2.5 on Squeeze is the way to go.

Next area where to experiment is the page size.
Interesting values are 4kb, 8kb, 16kb, 32kb.

My first think was to use the same size like sectors on harddisk,
so the memory-manager could handle the pages better.

But i am not sure about the effect on heavy use.
At heavy usage maybe this can lock the database.

Installing Server in 30 minutes

Nice problem: replacing lenny with debian in a production enviroment.
I decided for new installation, befor this i backup the complete /etc directory,
and /var/lib/samba .

Then booting from netinstall cd and begin installation.
At tasksel i decidet for only "standart-system" without any software.
When installation was done, i uses aptitude to install the database and administration utilities i need.

From the old /etc directory i could use the following things:

After this the server could boot into productive enviroment,
the rest i could do later.

All user could use the database and the fileserver.

Squeeze in 30 minutes.

Monday, February 14, 2011

Not sure about right firebird version

Still not sure, which firebird is right,
classic, superserver or superclassic.
Testet the database with all versions, and with one connected
user the differences are very small.

Now i testing with different buffer sizes.

At the moment all versions have nearly the same performance.
But i dont know how it would be with much user and more queries.

Saturday, February 12, 2011

Next try with firebird database

Now will try to install firebird on
debian squeeze.
Not sure which version is best.
or superclassic.

Think i try superclassic.

Look here:

Friday, February 11, 2011

Evolution lost memos

After restoring the evolution data,
all memos were lost.
First i searched in the directory-structure for the data, but
they where there.

Solution is as simple as unexpectet: rebooting the systems
bring all data back.

Increasing firebird performance

Still problem with low firebird performance.
Changing the page size to 16KB or 32KB has no effect.
Could stay at 8KB.

Now will test new firebird 2.5 superclassic,
best on squeeze.

Thursday, February 10, 2011

vpn problem is still open bug at debian

The problem with the subnet conflict from openvpn
seems to be still an open bug at debian.

so the log-entry has no effect.

Finding out mailserver from email adress

Today interesting problem,
how to find out which mailserver receives the mail for a domain.

Soluton is to ask the nameserver which ip is relevant for the domain together with the mx-record:

set type=mx

I should spend more time learning the tcp/ip utilities...

Wednesday, February 9, 2011

vpn adapter subnet conflict

openvpn.log from the vpn-server has
the following entry:

WARNING: potential TUN/TAP adapter subnet conflict between local LAN [] and remote VPN []

this is the openvpn.conf:

dev tun
secret /etc/openvpn/static.key
push "route"
port 10000
keepalive 10 120

and this says route -n

Ziel                Router             Genmask               Flags Metric Ref    Use Iface      UH    0      0        0 tun0       UG    0      0        0 eth0          U      0      0        0 eth0                    UG    0      0        0 eth0

Both, client and server seems to work.
Maybe problem is in routing.
Try to fix in near future.

socket write error

Try to backup with ncftpput and become this error message:
socket write error.
First was not clear what happens,
but using the normal ftp and try to push the file
to the server show clearly what happens:

netout: Connection reset by peer
451 Transfer incomplete. Quota exceeded. Closing data connection.

No space left on ftp-server.

Error in gnome terminal

Strange error in gnome terminal:
when editing a long command-line
the shell makes no line-feed, it begins directly at pos.1 and overwrites the line.

dont know if it is a problem of gnome-terminal, dash or that i use a ssh for login on a remote computer...

Updated rc.local

Updated rc.local for automounting
the network connections.

like this:
mount -t smbfs -o user=username,password=password //serverip/share /targetdirectory

Squeeze has fast network

Copy a hugh amount of data over the network (samba)
is much faster than with lenny.

Tuesday, February 8, 2011

Printerdriver block aptitude

Some Programms could not be installed with aptiutde.
A Program from the printer-driver,
and the file smfpd from /etc/init.d
blocked aptitude.
After removing the file, i could install ncftp.
Then i copy the file back to /etc/init.d

Encrypt in Shell

For Encrytion with the shell i must import the key:
gpg --import key.asc
and then set ist to trust:
gpg --edit-key key.ask

So no error appears when using in a script.

Same Problem with NetworkManager

with the Testing version from 17.01.2011 no network Problems,
after upgrading same NetworkManager problem like with the other pc.
At home no problems with the NetworkManager.

Pidgin dont work at the moment

Try to fix it with modifien /etc/NetworkManager/NetworkManager.conf

Updating from Testing to Stable

Update from Testing to Stable done.
aptitude dist-upgrade

Final status from aptitude:
Aktueller Status: 73 Aktualisierungen [-6].

Now try to reboot

Network printer is not nice as lenny

Installing a network printer is not so nice like in lenny.
At Lenny the network printer were shown with its ip-adress.
Now Sequeeze shows my only the printer name in the dialogue.
With severel printers of the same model.... not the best solution.

Monday, February 7, 2011

Problem with Networkmanager

Now i installed Squeeze on my Work-PC.
This PC uses a fix IP-Adress.
After installation, Internet works fine,
but Pidgin and Evolution show "no network connection".

The error is:
in the /etc/NetworkManager/NetworkManager.conf
must be this set:

After this, everything works fine.
This Problems appears on this PC the first time,
the other PC's from yesterday have no problems with network.

Filesystem JFS

All new installations i do, i use JFS as Filesystem.
I decieded for it, because it is fast, uses journal and
seems to be nearly error-free.

I am happy that the new squeeze supports jfs further.
With default installation is no way for ReiserFS.
This you must load as module on expert-installation.

Interesting, that btrfs is an option in the installer,
because so far i know it is not stable.

Installation on Desktop/TestPC is done

Finnishing installation on my Test-Desktop.
Everything works fine.

The old computer has only 512MB RAM, but
with the actuall Debian you can work very fast.
This way: No need to buy new...

Now look forward the upgrade from Testing to Stable in the company.

Sunday, February 6, 2011

Installation on Netbook is done

Installation from Debian 6.0.0 on my Netbook (Asus EEE) is done,
and it works fine!
All hardware ist supported.
Installation runs without problems.

For Security i set the powersaving features from the HDD:
hdparm -B 254 /dev/sda

Upgrading Debian Lenny to Squeeze

Now i test a Upgrade from Lenny to Squeeze with
"aptitude dist-upgrade"
It takes a very long time.
After upgrading (and some error-messages)
i reboot the System and found myself in a
After Login i must type "startx" for Graphical work.
The Windowsmaker seems to be different to the normal installed Squeeze.

I think not the best way for installing.

Upgrading Debian Testing to Squeeze

First i try to upgrade from Testing to Squeeze.
I start "aptitude dist-upgrade" and wait a little time.
Upgrade was fine. Every work after this.