mator's blog

openssl file extensions explained - PEM / DER / CSR / CRT

Submitted by mator
on August 16, 2010 - 5:42am

for all the newbies, openssl extensions explained link:

PEM-DER-CSR-CRT

hope it helps to understand it better.

bind / named dns server add / remove zones on the fly

Submitted by mator
on August 9, 2010 - 5:18am

JFYI,

here's a snipet from the ISC bind server changelog:


2930. [experimental] New "rndc addzone" and "rndc delzone" commads
allow dynamic addition and deletion of zones.
To enable this feature, specify a "new-zone-file"
option at the view or options level in named.conf.

monitoring "Smart Array" line of hardware raids with solaris 10 on HP servers

Submitted by mator
on January 11, 2010 - 5:49am

Recently discovered, that it is possible to monitor "Smart Array" controllers under solaris 10 OS. You need to install HPQacucli solaris package, which can be downloaded from hp.com site, read carefully "RELEASE NOTES" about support of your server hardware and controllers, also make sure that you have a recent version of CPQary3 driver installed (2.1.0 or later). Here's an example output:

ubuntu is useless for servers

Submitted by mator
on December 1, 2009 - 5:25am

Going to describe this entry a bit later, but in short "ubuntu server edition can't be plain installed on a server via serial console connection, but with custom made iso/cdrom, which is not always an option".

1) https://bugs.launchpad.net/null/+bug/489215
don't discuss this entry here, better go to bug-report URL and put your thoughts there.

bonnie HDS benchmark

Submitted by mator
on October 26, 2009 - 2:30am

Recently installed a new backup server with Bacula and connected to our SAN based on Brocade switches and HDS (DF700XS unit type, microprogram rev. 0781/A-X). We've never tested this HDS unit, but I was interested, so pasting results here.

one more RU clamav mirror

Submitted by mator
on August 27, 2009 - 7:01am

Just finised a clamav mirror setup and joined it to the global clamav mirrors list. It can be viewed on the clamav mirrors page as clamav.mirror.co.ru. Thanks to the clamav team for their efforts and good antivirus product.

solaris 10 x86 support for HME driver/card

Submitted by mator
on June 15, 2009 - 8:08am

I've learnt that solaris 10 x86 doesn't have HME driver. This driver is used for example for older SUN made ethernet cards, and absence of driver for x86 makes them sparc-only hardware (on solaris 10 OS). Linux have driver for HME cards for ages (./linux-sources/drivers/net/sunhme.c comments dated back to 2000 year), both for x86 and sparc.

vzctl create failing with disk quota

Submitted by mator
on February 24, 2009 - 4:33am

vzctl is fauting to create container with the following error

Creating container private area (....)
tar: ./boot: Cannot mkdir: Disk quota exceeded
...
vps-create ERROR: Error in tar -z -xf /vz/template/cache/....tar.gz
Creation of container private area failed

linux usb wireless adapter

Submitted by mator
on November 23, 2008 - 3:14pm


Brought Belkin Wireless G USB Adapter this week. My home ubuntu 8.10 recognised it and networked without any additional settings besides wireless security. Just to let you know.

solaris 10 development tools on CORE installation : make / CC / headers

Submitted by mator
on April 3, 2007 - 1:28am

My new work is to manage solaris 10 on sparc machines, and i'm newbie in solaris.

here's some hints on packages, how to compile something if you installed Solaris in minimal CORE package configuration:

needed :
SUNWbtool for ar , SUNWsprot for make , add /usr/ccs/bin to PATH
SUNWhea for std headers (stdio.h, etc...)

php mysql NONEXISTENT/charsets error

Submitted by mator
on February 6, 2007 - 1:50pm

last time, our developers have given me following error, while trying to use mysql database connection from php :

File 'NONEXISTENT/charsets/?.conf' not found (Errcode: 2)
Character set '#51' is not a compiled character set and is not specified in the 'NONEXISTENT/charsets/Index' file

i spend 3 working hours to detect what was the reason of this, and the problem was inside php which was compiled with it's internal mysql support. once i recompiled php (--with-mysql=/path/to/mysql) with system installed mysql version, the problem is gone!

apache 1.3.x core dumps

Submitted by mator
on December 27, 2006 - 8:47am

we still using old apache version, 1.3.37 to be exact. And today i discovered in its log file:

[Wed Dec 27 18:14:42 2006] [notice] child pid 19870 exit signal Segmentation fault (11)

but i don't found core file to be created. So, i've added CoreDumpDirectory into httpd.conf, but to my surprise, this doesn't help also. googlin a bit, i've found mod_prctl.c which finally helped me t

oracle rhel4 fedora5

Submitted by mator
on September 27, 2006 - 2:03am

it is not possible to install oracle on rhel4 server using fedora5 xorg server over ssh forwarded X11 connection, since they are different versions. really, i'm getting blank java window of oracle installer on my fedora5. and if i run installer locally on rhel4 or try old non-secure X11 network connection (export DISPLAY=fc5:0.0) or using port forward over ssh (not x11 forwarding) - it goes just fine. i wander what changed so much in xorg (rhel4 using xorg-x11-libs-6.8.2-1.EL and fedora5 X Window System Version 7.0.0 [xorg-x11-server-Xorg-1.0.1-9.fc5]). and yes, xclock runs well.

firefox memory footprint

Submitted by mator
on August 22, 2006 - 2:58am

Using firefox browser which comes with my Fedora 5 installation, after some time, lets see how much it can "eat" your computer memory: it have 8 opened tabs, from which only one is "complex" (gmail.com)

$ ps axu | grep firefox
mator     2823  1.7 37.3 796336 383508 ?       Sl   Aug18 102:07 /usr/lib/firefox-1.5.0.6/firefox-bin

so, after 4 days of running it taken 800Mb !!! A good way to make firefox to eat all memory is to leave it in memory for 2-3 days with some pages which auto-reload, like gmail, nagios service tracking or some news site.