login
Header Space

 
 

mator's blog

linux usb wireless adapter

November 23, 2008 - 6:14pm
Submitted by mator on November 23, 2008 - 6:14pm.
Linux


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

April 3, 2007 - 4:28am
Submitted by mator on April 3, 2007 - 4: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...)
Sun Studio 1x for CC compiler , add /opt/SUNWspro/bin to PATH, vim in /opt/SUNWspro/contrib/

php mysql NONEXISTENT/charsets error

February 6, 2007 - 4:50pm
Submitted by mator on February 6, 2007 - 4: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

December 27, 2006 - 11:47am
Submitted by mator on December 27, 2006 - 11:47am.
Linux

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

September 27, 2006 - 5:03am
Submitted by mator on September 27, 2006 - 5: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

August 22, 2006 - 5:58am
Submitted by mator on August 22, 2006 - 5: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.

spamcop.net fighting spam

August 21, 2006 - 3:41am
Submitted by mator on August 21, 2006 - 3:41am.

... jumping through my spam folder today morning, found at least 3 messages marked with SA (spamassassin) :


From: 1883243462@reports.spamcop.net
To: postmaster@myexampleworkdomain.ru
Subject: [SpamCop (80.68.246.245) id:1883243462]Новое сообщение в форуме SEMICVET.RU
  [!! SPAM]
X-Spam-Status: Yes, score=7.2 required=5.0 tests=DATE_IN_PAST_06_12,
        FORGED_MUA_MOZILLA,FORGED_RCVD_HELO,FROM_STARTS_WITH_NUMS,KAS_SPAM,

software raid rebuilding time under linux

July 25, 2006 - 9:47am
Submitted by mator on July 25, 2006 - 9:47am.
Linux

using an old celeron 466MHz machine with 2 new Maxtor 6Y080L0 disks in raid1 software array. DMA and 32bit-access is enabled (hdparm) for both disks.

# uptime
 17:43:19 up  2:09,  3 users,  load average: 1.29, 1.06, 1.06
# mdadm -D /dev/md0
/dev/md0:
        Version : 00.90.01
  Creation Time : Mon Jul 24 12:35:51 2006
     Raid Level : raid1
     Array Size : 72685952 (69.32 GiB 74.43 GB)

mysqld cache defaults

January 23, 2006 - 2:02pm
Submitted by mator on January 23, 2006 - 2:02pm.

Today was expecting mysql server with average 50 queries per second. Version of mysql server installed is 4.0.24. Found that query_cache_size is default to 0 so it's switched off. Changed /etc/my.cnf for a new size and noticed good cache hit ratio. Too bad this server is only 1Gb of ram, so i can't increase read_buffer_size/read_rnd_buffer_size to bigger values. Also seen too much of 'Opened tables', the value was 10222, so increased 'table_cache' from defaults.

speck-geostationary