Archive for May, 2012

How to fix “ERROR 1577 (HY000) at line 1: Cannot proceed because system tables used by Event Scheduler were found damaged at server start”

Saturday, May 12th, 2012

After migrating databases data from FreeBSD MySQL 5.0.83 server to a Debian Squeeze Linux MySQL version 5.1.61, below is a mysql –version issued on both the FreeBSD and the Debian servers

freebsd# mysql --version
mysql Ver 14.12 Distrib 5.0.83, for portbld-freebsd7.2 (i386) using 5.2

debian:~# mysql --version
mysql Ver 14.14 Distrib 5.1.61, for debian-linux-gnu (i486) using readline 6.1

The data SQL dump from the FreeBSD server was dumped with following command arguments:

freebsd# mysqldump --opt --allow-keywords --add-drop-table --all-databases -u root -p > complete_db_dump.sql

Then I used sftp to transfer complete_db_dump.sql dump to the a brand new installed latest Debian Squeeze 6.0.2. The Debian server was installed using a "clean Debian install" without graphical environment with CD downloaded from debian.org's site.

On the Debian machine I imported the dump with command:

debian:~# mysq -u root -p < complete_db_dump.sql

Right After the dump was imported I re-started SQL server which was previously installed with:

debian:~# apt-get install mysql-server
The error I got after restarting the mysql server:

debian:~# #/etc/init.d/mysql restart

was:

ERROR 1577 (HY000) at line 1: Cannot proceed because system tables used by Event Scheduler were found damaged at server start
ERROR 1547 (HY000) at line 1: Column count of mysql.proc is wrong. Expected 20, found 16. The table is probably corrupted

This error cost me a lot of nerves and searching in google to solve. It took me like half an hour of serious googling ,until I finally found the FIX!!!:

debian:~# mysql_upgrade -u root -h localhost -p --verbose --force
Enter password:
Looking for 'mysql' as: mysql
Looking for 'mysqlcheck' as: mysqlcheck
Running 'mysqlcheck' with connection arguments: '--port=3306' '--socket=/var/run/mysqld/mysqld.sock' '--host=localhost'
Running 'mysqlcheck' with connection arguments: '--port=3306' '--socket=/var/run/mysqld/mysqld.sock' '--host=localhost'
bible.holy_bible OK
bible.holybible OK
bible.quotes_meta OK

Afterwards finally I had to restart the mysql server once again in order to finally get rid of the shitty:

ERROR 1547 (HY000) at line 1: Column count of mysql.proc is wrong. Expected 20, found 16. The table is probably corrupted error!

debian:~# /etc/init.d/mysql restart
Stopping MySQL database server: mysqld.
Starting MySQL database server: mysqld.
Checking for corrupt, not cleanly closed and upgrade needing tables..

This solved the insane Column count of mysql.proc is wrong. Expected 20, found 16 once and for all!

Before I came with this fix I tried all kind of forum suggested fixes like:

debian:~# mysql_upgrade -u root -p
Looking for 'mysql' as: mysql
Looking for 'mysqlcheck' as: mysqlcheck
This installation of MySQL is already upgraded to 5.1.61, use --force if you still need to run mysql_upgrade

debian:~# mysql_upgrade -p
Looking for 'mysql' as: mysql
Looking for 'mysqlcheck' as: mysqlcheck
This installation of MySQL is already upgraded to 5.1.61, use --force if you still need to run mysql_upgrade

And few more, none of them worked the only one that worked was:

debian:~# #mysql_upgrade -u root -h localhost -p --verbose --force

I have to say big thanks to Mats Lindth wonderful blog post which provided me with the solution.

It seems, since Oracle bought the Community edition of MySQL thinks with this database server are getting more and more messy and backwards incompatible day by day.
Lately, I'm experiencing too much hassles with MySQL version incompitabilities. Maybe I should think for migrating permanently to Postgre …

By the way the ERROR 1547 (HY000) at line 1: Column count of mysql.proc is wrong. is most probably caused of some kind of password hashing incompitability between the password hashing between the BSD and Debian SQL versions, as mysql -u root -p < dump.sql, does override default stored user passwords in the mysql database tables… Such password, hashing issues were common in prior MySQL 4 to MySQL 5 migrations I've done, however since MySQL 5+ is already storing its password strings encrypted with md5 encryption I wonder why on earth this mess happens ….
 

How to mount NTFS Windows XP filesystem on FreeBSD, NetBSD, OpenBSD

Friday, May 11th, 2012

Mounting NTFS hdd partitions on FreeBSD logo picture

A friend of mine bring home a Seagate External Hard Disk Drive using USB 3 as a communication media. I needed to attach the hard disk to my FreeBSD router to transfer him some data, the External HDD is formatted to use NTFS as a main file partition and hence to make the file transfers I had to somehow mount the NTFS partition on the HDD.

FreeBSD and other BSDs, just like Linux does not have embedded NTFS file system mount support.
In order to add an external write support for the plugged hdd NTFS I looked in the ports tree:

freebsd# cd /usr/ports
freebsd# make search name='ntfs'
Port: fusefs-ntfs-2010.10.2
Path: /usr/ports/sysutils/fusefs-ntfs
Info: Mount NTFS partitions (read/write) and disk images
Maint: ports@FreeBSD.org
B-deps: fusefs-libs-2.7.4 libiconv-1.13.1_1 libtool-2.4 libublio-20070103 pkg-config-0.25_1
R-deps: fusefs-kmod-0.3.9.p1.20080208_7 fusefs-libs-2.7.4 libiconv-1.13.1_1 libublio-20070103 pkg-config-0.25_1
WWW: http://www.tuxera.com/community/

Port: ntfsprogs-2.0.0_1
Path: /usr/ports/sysutils/ntfsprogs
Info: Utilities and library to manipulate NTFS partitions
Maint: ports@FreeBSD.org
B-deps: fusefs-libs-2.7.4 libiconv-1.13.1_1 libublio-20070103 pkg-config-0.25_1
R-deps: libublio-20070103 pkg-config-0.25_1
WWW: http://www.linux-ntfs.org/
freebs# cd sysutils/fusefs-ntfs/
freebsd# ls
Makefile distinfo files/ pkg-descr pkg-plist
freebsd# cat pkg-descr
The ntfs-3g driver is an open source, freely available read/write NTFS
driver, which provides safe and fast handling of the Windows XP, Windows
Server 2003 and Windows 2000 filesystems. Almost the full POSIX filesystem
functionality is supported, the major exceptions are changing the file
ownerships and the access rights.
WWW: http://www.tuxera.com/community/

Using ntfs-3g I managed to succeed mounting the NTFS on my old PC running FreeBSD ver. 7_2

1. Installing fuserfs-ntfs support on BSD

Before I can use ntfs-3g, to mount the paritition, I had to install fuserfs-ntfs bsd port, with:

freebsd# cd /usr/ports/sysutils/fusefs-ntfs
freebsd# make install clean
.....

I was curious if ntfsprogs provides other utilities to do the ntfs mount but whilst trying to install it I realized it is already installed as a dependency package to fusefs-ntfs.

fusefs-ntfs package provides a number of utilities for creating, mounting, fixing and doing various manipulations with Microsoft NTFS filesystems.

Here is a list of all the executable utilities helpful in NTFS fs management:

freebsd# pkg_info -L fusefs-ntfs\* | grep -E "/bin/|/sbin|README"
/usr/local/bin/lowntfs-3g
/usr/local/bin/ntfs-3g
/usr/local/bin/ntfs-3g.probe
/usr/local/bin/ntfs-3g.secaudit
/usr/local/bin/ntfs-3g.usermap
/usr/local/bin/ntfscat
/usr/local/bin/ntfscluster
/usr/local/bin/ntfscmp
/usr/local/bin/ntfsfix
/usr/local/bin/ntfsinfo
/usr/local/bin/ntfsls
/usr/local/sbin/mkntfs
/usr/local/sbin/ntfsclone
/usr/local/sbin/ntfscp
/usr/local/sbin/ntfslabel
/usr/local/sbin/ntfsresize
/usr/local/sbin/ntfsundelete
/usr/local/share/doc/ntfs-3g/README
/usr/local/share/doc/ntfs-3g/README.FreeBSD

The README and README.FreeBSD are wonderful, reading for those who want to get more in depth knowledge on using the up-listed utilities.

One utility, worthy to mention, I have used in the past is ntfsfix. ntfsfix resolve issues with NTFS partitions which were not unmounted on system shutdown (electricity outage), system hang up etc.

2. Start fusefs (ntfs) and configure it to auto load on system boot

Once fuserfs-ntfs is installed, if its necessery ntfs fs mounts to be permanently supported on the BSD system add fusefs_enable="YES" to /etc/rc.conf(the FreeBSD services auto load conf).

freebsd# echo 'fusefs_enable="YES"' >> /etc/rc.conf

One note to make here is that you need to have also dbus_enable="YES" and hald_enable="YES" in /etc/rc.conf, not having this two in rc.conf will prevent fusefs to start properly. Do a quick grep to make sure this two variables are enabled:

Afterwards fsusefs load up script should be run:

freebsd# /usr/local/etc/rc.d/fusefs start
Starting fusefs.

Another alternative way to load ntfs support on the BSD host is to directly load fuse.ko kernel module:

freebsd# /sbin/kldload fuse.ko

3. Mounting the NTFS partition

In my case, the Seagate hard drive was detected as da0, where the NTFS partition was detected as s1 (da0s1):

freebsd# dmesg|grep -i da0
da0 at umass-sim0 bus 0 target 0 lun 0
da0: Fixed Direct Access SCSI-4 device
da0: 40.000MB/s transfers
da0: 953869MB (1953525164 512 byte sectors: 255H 63S/T 121601C)br />GEOM_LABEL: Label for provider da0s1 is ntfs/Expansion Drive.
GEOM_LABEL: Label for provider da0s1 is ntfs/Expansion Drive.

Therefore further to mount it one can use mount_ntfs (to quickly mount in read only mode) or ntfs-3g for (read / write mode):

If you need to just quickly mount a disk drive to copy some data and umount it with no need for writting to the NTFS partition do;

freebsd# /sbin/mount_ntfs /dev/ad0s1 /mnt/disk

Note that mount_ntfs command is a native BSD command and have nothing to do with ntfs-3g. Therefore using it to mount NTFS is not the same as mounting it via ntfs-3g cmd

freebsd# /usr/local/bin/ntfs-3g -o rw /dev/da0s1 /mnt/disk/

Something, I've noticed while using ntfs-3g is, it fails to properly exit even when the ntfs-3g shell execution is over:

freebsd# ps ax |grep -i ntfs|grep -v grep
18892 ?? Is 0:00.00 /usr/local/bin/ntfs-3g -o rw /dev/da0s1 /mnt/disk/

I dunno if this is some kind of ntfs-3g bug or feature specific to all versions of FreeBSD or it is something local to FBSD 7.2

Thought ntfs-3g, keeps appearing in process list, praise God as of time of writting NTFS support on FreeBSD prooved to be stable.
Read / Write disk operations to the NTFS I tested it with works great. Just about 5 years ago I still remember write mode was still experimental. Now it seems NTFS mounts can be used with no hassle even on production machines.

4. Auto mounting NTFS partition on FreeBSD system boot

There are two approaches towards 'the problem' I can think of.
The better way to auto mount on boot (in my view) is through /etc/fstab use

If /etc/fstab + ntfs-3g is to be used, you will however change the default /sbin/mount_ntfs command to point to /usr/local/bin/ntfs-3g, i.e.:

freebsd# mv /sbin/mount_ntfs /sbin/mount_ntfs.orig
freebsd# ln -s /usr/local/bin/ntfs-3g /sbin/mount_ntfs

Then to mount /dev/da0s1 via /etc/fstab add line:

/dev/ad0s1 /mnt/disk ntfs rw,late 0 0

To not bother with text editor run:

freebsd# echo '/dev/ad0s1 /mnt/disk ntfs rw,late 0 0' >> /etc/fstab

I've red in posts in freebsd forums, there is also a way to use ntfs-3g for mounting partitions, without substituting the original bsd /sbin/mount_ntfs, the exact commands suggested to be used with no need to prior mv /sbin/mount_ntfs to /sbin/mount_ntfs.orig and link it to ntfs is:

/dev/ad0s1 /disk ntfs rw,mountprog=/usr/local/bin/ntfs-3g,late 0 0

For any other NTFS partitions, for instance /dev/ad0s2, /dev/ad2s1 etc. simply change the parititon name and mount points.

The second alternative to adding the NTFS to auto mount is through /etc/rc.local. /etc/rc.local content will be executed very late in system boot. :

echo '/usr/local/bin/ntfs-3g -o rw /dev/da0s1' >> /etc/rc.local

One disadvanage of using /etc/rc.local for mounting the partition is the hanging ntfs-3g in proc list:

freebsd# ps ax |grep -i ntfs|grep -v grep
18892 ?? Is 0:00.00 /usr/local/bin/ntfs-3g -o rw /dev/da0s1 /mnt/disk/

Though, I haven't tested it yet. Using the same methodology should be perfectly working on PC-BSD, DragonFlyBSD, NetBSD and OpenBSD.
I will be glad if someone who runs any of the other BSDs can confirm, following this instructions works fine on these BSDs too.

Brave New World – a scary documentary on possible terrible outcomes of one posthuman society

Friday, May 11th, 2012

brave-new-world-a-scary-documentary-of-one-possible-possible-post-human-societyorwell-huxley

Hi, Hi. It is me the author again. While browsing and conducting a very thoroughful research on Transhumanism. I've stucked upon a documentary movie called after Aldous Huxley's SCI-fi book Brave New World. It is probably, no co-incidence that Iron Maiden took Brave New World as a title for album that went out few years ago. Brave New World book depicts a society which is more than scary from a sane person view.

I suggest you watch the movie and talk about it and about Transhumanism to as many people as you can while, we can still talk freely. This Transhumanism and Posthumanism craziness is not just some joke, but a near future possible reality!!!!
 

Here are the 5 parts of Brave New World documentary:

 

 

Brave New World Transhuman (vision) video – part 1

Brave New World Transhuman (vision) video – part 2

Brave New World Transhuman (vision) video – part 3

Brave New World Transhuman (vision) video – part 4

Brave New World Transhuman (vision) video – part 5
 

Honestly watching the movies it was thrilling experience. I've never ever thought we humans with our insanity and strife for fake "perfection" has gone so far. I don't know why this things are not publicly shown on the TV and there are not more movies circulating on the topic. People has to organize and start opposing, the transhumanism movement and the so quickly pushed technology after technology. We don't need this stupid Virtual Reality to be happy. If we're not happy in current, reality it is more than likely we will never be happy in a Virtual Reality. Finally I would like to ask, why ever this scientists shown on the movie wants to live in a perfect disease-less world? Most if not all of them have no faith in God. At the end, the idea for ultimate perfect world is Christian in essense. Why would they want to imitate perfect God creations if they reject God's ultimate existence….

The concepts as transferring a human mind to a Virtual "existing" reality is no longer a sci-fi concept. The aim of the transhumanists and posthumanist idealogists is exactly this. They want to leave this old world behind and leave in a virtual (non-real) place.

Woe to our generation, woe for if we don't turn back the way and stay human we will end up in a terrible destruction for sure ….

Monitoring MySQL server queries and debunning performance (slow query) issues with native MySQL commands and with mtop, mytop

Thursday, May 10th, 2012

If you're a Linux server administrator running MySQL server, you need to troubleshoot performance and bottleneck issues with the SQL database every now and then. In this article, I will pinpoint few methods to debug basic issues with MySQL database servers.

1. Troubleshooting MySQL database queries with native SQL commands

a)One way to debug errors and get general statistics is by logging in with mysql cli and check the mysql server status:

# mysql -u root -p
mysql> SHOW STATUS;
+-----------------------------------+------------+
| Variable_name | Value |
+-----------------------------------+------------+
| Aborted_clients | 1132 |
| Aborted_connects | 58 |
| Binlog_cache_disk_use | 185 |
| Binlog_cache_use | 2542 |
| Bytes_received | 115 |
.....
.....
| Com_xa_start | 0 |
| Compression | OFF |
| Connections | 150000 |
| Created_tmp_disk_tables | 0 |
| Created_tmp_files | 221 |
| Created_tmp_tables | 1 |
| Delayed_errors | 0 |
| Delayed_insert_threads | 0 |
| Delayed_writes | 0 |
| Flush_commands | 1 |
.....
.....
| Handler_write | 132 |
| Innodb_page_size | 16384 |
| Innodb_pages_created | 6204 |
| Innodb_pages_read | 8859 |
| Innodb_pages_written | 21931 |
.....
.....
| Slave_running | OFF |
| Slow_launch_threads | 0 |
| Slow_queries | 0 |
| Sort_merge_passes | 0 |
| Sort_range | 0 |
| Sort_rows | 0 |
| Sort_scan | 0 |
| Table_locks_immediate | 4065218 |
| Table_locks_waited | 196 |
| Tc_log_max_pages_used | 0 |
| Tc_log_page_size | 0 |
| Tc_log_page_waits | 0 |
| Threads_cached | 51 |
| Threads_connected | 1 |
| Threads_created | 52 |
| Threads_running | 1 |
| Uptime | 334856 |
+-----------------------------------+------------+
225 rows in set (0.00 sec)

SHOW STATUS; command gives plenty of useful info, however it is not showing the exact list of queries currently processed by the SQL server. Therefore sometimes it is exactly a stucked (slow queries) execution, you need to debug in order to fix a lagging SQL. One way to track this slow queries is via enabling mysql slow-query.log. Anyways enabling the slow-query requires a MySQL server restart and some critical productive database servers are not so easy to restart and the SQL slow queries have to be tracked "on the fly" so to say.
Therefore, to check the exact (slow) queries processed by the SQL server (without restarting it), do
 

mysql> SHOW processlist;
+——+——+—————+——+———+——+————–+——————————————————————————————————+
| Id | User | Host | db | Command | Time | State | Info |
+——+——+—————+——+———+——+————–+——————————————————————————————————+
| 609 | root | localhost | blog | Sleep | 5 | | NULL |
| 1258 | root | localhost | NULL | Sleep | 85 | | NULL |
| 1308 | root | localhost | NULL | Query | 0 | NULL | show processlist |
| 1310 | blog | pcfreak:64033 | blog | Query | 0 | Sending data | SELECT comment_author, comment_author_url, comment_content, comment_post_ID, comment_ID, comment_aut |
+——+——+—————+——+———+——+————–+——————————————————————————————————+
4 rows in set (0.00 sec)
mysql>

SHOW processlist gives a good view on what is happening inside the SQL.

To get more complete information on SQL query threads use the full extra option:

mysql> SHOW full processlist;

This gives pretty full info on running threads, but unfortunately it is annoying to re-run the command again and again – constantly to press UP Arrow + Enter keys.

Hence it is useful to get the same command output, refresh periodically every few seconds. This is possible by running it through the watch command:

debian:~# watch "'show processlist' | mysql -u root -p'secret_password'"

watch will run SHOW processlist every 2 secs (this is default watch refresh time, for other timing use watch -n 1, watch -n 10 etc. etc.

The produced output will be similar to:

Every 2.0s: echo 'show processlist' | mysql -u root -p'secret_password' Thu May 10 17:24:19 2012

Id User Host db Command Time State Info
609 root localhost blog Sleep 3 NULL1258 root localhost NULL Sleep 649 NULL1542 blog pcfreak:64981 blog Query 0 Copying to tmp table \
SELECT p.ID, p.post_title, p.post_content,p.post_excerpt, p.pos
t_date, p.comment_count, count(t_r.o
1543 root localhost NULL Query 0 NULL show processlist

Though this "hack" is one of the possible ways to get some interactivity on what is happening inside SQL server databases and tables table. for administering hundred or thousand SQL servers running dozens of queries per second – monitor their behaviour few times aday using mytop or mtop is times easier.

Though, the names of the two tools are quite similar and I used to think both tools are one and the same, actually they're not but both are suitable for monitoring sql database execution in real time.

As a sys admin, I've used mytop and mtop, on almost each Linux server with MySQL server installed.
Both tools has helped me many times in debugging oddities with sql servers. Therefore my personal view is mytop and mtop should be along with the Linux sysadmin most useful command tools outfit, still I'm sure many administrators still haven't heard about this nice goodies.

1. Installing mytop on Debian, Ubuntu and other deb based GNU / Linux-es

mytop is available for easy install on Debian and across all debian / ubuntu and deb derivative distributions via apt.

Here is info obtained with apt-cache show

debian:~# apt-cache show mytop|grep -i description -A 3
Description: top like query monitor for MySQL
Mytop is a console-based tool for monitoring queries and the performance
of MySQL. It supports version 3.22.x, 3.23.x, 4.x and 5.x servers.
It's written in Perl and support connections using TCP/IP and UNIX sockets.

Installing the tool is done with the trivial:

debian:~# apt-get --yes install mytop
....

mtop used to be available for apt-get-ting in Debian Lenny and prior Debian releases but in Squeeze onwards, only mytop is included (probably due to some licensing incompitabilities with mtop??).

For those curious on how mtop / mytop works – both are perl scripts written to periodically connects to the SQL server and run commands similar to SHOW FULL PROCESSLIST;. Then, the output is parsed and displayed to the user.

Here how mytop running, looks like:

MyTOP showing queries running on Ubuntu 8.04 Linux - Debugging interactively top like MySQL

2. Installing mytop on RHEL and CentOS

By default in RHEL and CentOS and probably other RedHat based Linux-es, there is neither mtop nor mytop available in package repositories. Hence installing the tools on those is only available from 3rd parties. As of time of writting an rpm builds for RHEL and CentOS, as well as (universal rpm distros) src.rpm package is available on http://pkgs.repoforge.org/mytop/. For the sake of preservation – if in future those RPMs disappear, I made a mirror of mytop rpm's here

Mytop rpm builds depend on a package perl(Term::ReadKey), my attempt to install it on CentOS 5.6, returned following err:

[root@cenots ~]# rpm -ivh mytop-1.4-2.el5.rf.noarch.rpm
warning: mytop-1.4-2.el5.rf.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
error: Failed dependencies:
perl(Term::ReadKey) is needed by mytop-1.4-2.el5.rf.noarch

The perl(Term::ReadKey package is not available in CentOS 5.6 and (probably other centos releases default repositories so I had to google perl(Term::ReadKey) I found it on http://rpm.pbone.net/ package repository, the exact url to the rpm dependency as of time of writting this post is:

ftp://ftp.pbone.net/mirror/yum.trixbox.org/centos/5/old/perl-Term-ReadKey-2.30-2.rf.i386.rpm

Quickest, way to install it is:

[root@centos ~]# rpm -ivh ftp://ftp.pbone.net/mirror/yum.trixbox.org/centos/5/old/perl-Term-ReadKey-2.30-2.rf.i386.rpmRetrieving ftp://ftp.pbone.net/mirror/yum.trixbox.org/centos/5/old/perl-Term-ReadKey-2.30-2.rf.i386.rpmPreparing... ########################################### [100%]
1:perl-Term-ReadKey ########################################### [100%]

This time mytop, install went fine:

[root@centos ~]# rpm -ivh mytop-1.4-2.el5.rf.noarch.rpm
warning: mytop-1.4-2.el5.rf.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
Preparing... ########################################### [100%]
1:mytop ########################################### [100%]

To use it further, it is the usual syntax:

mytop -u username -p 'secret_password' -d database

CentOS Linux MyTOP MySQL query benchmark screenshot - vpopmail query

3. Installing mytop and mtop on FreeBSD and other BSDs

To debug the running SQL queries in a MySQL server running on FreeBSD, one could use both mytop and mtop – both are installable via ports:

a) To install mtop exec:

freebsd# cd /usr/ports/sysutils/mtop
freebsd# make install clean
....

b) To install mytop exec:

freebsd# cd /usr/ports/databases/mytop
freebsd# make install clean
....

I personally prefer to use mtop on FreeBSD, because once run it runs prompts the user to interactively type in the user/pass

freebsd# mtop

Then mtop prompts the user with "interactive" dialog screen to type in user and pass:

Mtop interactive type in username and password screenshot on FreeBSD 7.2

It is pretty annoying, same mtop like syntax don't show user/pass prompt:

freebsd# mytop
Cannot connect to MySQL server. Please check the:

* database you specified "test" (default is "test")
* username you specified "root" (default is "root")
* password you specified "" (default is "")
* hostname you specified "localhost" (default is "localhost")
* port you specified "3306" (default is 3306)
* socket you specified "" (default is "")
The options my be specified on the command-line or in a ~/.mytop
config file. See the manual (perldoc mytop) for details.
Here's the exact error from DBI. It might help you debug:
Unknown database 'test'

The correct syntax to run mytop instead is:

freebsd# mytop -u root -p 'secret_password' -d 'blog'

Or the longer more descriptive:

freebsd# mytop --user root --pass 'secret_password' --database 'blog'

By the way if you take a look at mytop's manual you will notice a tiny error in documentation, where the three options –user, –pass and –database are wrongly said to be used as -user, -pass, -database:

freebsd# mytop -user root -pass 'secret_password' -database 'blog'
Cannot connect to MySQL server. Please check the:

* database you specified "atabase" (default is "test")
* username you specified "ser" (default is "root")
* password you specified "ass" (default is "")
* hostname you specified "localhost" (default is "localhost")
* port you specified "3306" (default is 3306)
* socket you specified "" (default is "")a
...
Access denied for user 'ser'@'localhost' (using password: YES)

Actually it is interesting mytop, precededed historically mtop.
mtop was later written (probably based on mytop), to run on FreeBSD OS by a famous MySQL (IT) spec — Jeremy Zawodny .
Anyone who has to do frequent MySQL administration tasks, should already heard Zawodny's name.
For those who haven't, Jeremy used to be a head database administrators and developer in Yahoo! Inc. some few years ago.
His website contains plenty of interesting thoughts and writtings on MySQL server and database management
 

Satanism and Occultism preached in modern Hip-Hop star singers and hip hop culture – revealed

Wednesday, May 9th, 2012

satanism-preached-in-hip-hop-or-do-what-you-willt-sing-in-most-rap-music-and-hip-hop
"Above is a quote from the Satanic Bible which is a formula for success preached by all modern music stars today"

During my younghood, I've been listening to a lot of metal spending many nights in a discoteques. Being seriously addicted to metal music and hanging around a lot with metal companies. Back in the days I remember closely, even though I have realized there is something wrong with Metal. I always had a natural hate for (hip-hop) rap music, which in my view back there was a hypocrite music.

Don't get me wrong I know many people who are fans of a rap music and they seem to be a very good people the only problem is the rap industry as we know it is not preaching a good and generally tends to be hypocritic.

Many years passed since then, many things happened in my life, one of which was my convertion by the Lord Jesus Christ grace to Christianity. It was just about many years of wandering for me until I found the faith of my fathers which the Orthodox Christianity. Which I later realized was the only complete and true apostolic Christianity existent as of today.

As a person, who is constantly striving for the truth (Thanks and Glory be to God for making me like this). I've started researching, the different philosophical and music genres movements in deepness, since then and it was quite shocking and almost in disbelief, I've found most of the youngsters mind preference ruling pop and  hip-hop culture has a very strong connection with occultism and satanism. This connection between modern hip-hop music and satanism is not always clearly manifested but obfuscated in mixing some good preaching lyrics with bad preaching lyrics.  The authors of the music and lyrics are just sharing their ideology, which is neither inclining for good nor for evil but a mixture of.

By God's grace just recently, I've found analysis in youtube which is showing more than clearly that one of the hip-hop idols as they're called in the mass-media are just poor deceived people who preach the satanic philoslophy to the masses. Just to mention few of these notorious hip-hop musicians, who sold their souls to the devil:

Jay-Z, Eminem, 50 Cent, DMX, Lyl Wayne, Chris brown, Keri, 2PAC and probably many, many more of the top stars who used to be taken for life examples by multitude of youngsters, who never been tought properly by their family to believe in Jesus Christ to love God and stay away from evil people and non-godly philosophies.

However it is not the parents fault that the children was not properly educated in the spirit of Christianity, the alienation of family from Christianity and Christian ethics has happened slowly through the last 200 years. The 2 World Wars, the crisis and the many calamities around the world. The materialist people's philosophy preached, heavily communism, democracy and the fall of monarchies, all this together played a role for breaking up the common people good faith in Jesus Christ and the introduction of false Christs doctrines to people.

Some of the many false-christs (anti-christs – meaning instead of Christ) are many of today's biggest stars we see on the TV and listen on the radio literally daily.
This fame this mortal people like me got not by chance and a hard work, though some of them might have been a hard workers too. They got it by being raised with a non-Christian philosophy being exposed to a non-Christian communities, being exposed to constant look for fame and money and desire for power and finally being exposed to one false spirituality which satanism and occult movements offers. Many of this people have already developed multiple personalities, as a consequence of the demon possession. Hence many of this hip-hopsters are probably most of the time not themselves but are simply controlled by an evil spirit, who is doing through them the works of satan and as a reward gives them fame using them as a dumb instruments to spread an insane nowhere leading philosophical ideas and devilish lies…. Here are the 2 videos who does a Christian criticism on the lyrics and videos shown to promote these so "talented" hip-hop singers:

 

SATAN LIES PART 1 – BRINGING IN THE ANTI-CHRIST – DMX, ROBIN THICKE, EMINEM, JAY Z,

SATAN LIES PART 3 – Bringing in the Anti-Christ – LIL WAYNE, 50 CENT, CHRIS BROWN, KERI

Satanism in Hip Hop 1

Satanism in Hip Hop 2

satanism in Hip Hop 3

Well obviously, this people are not singing to praise God and Christ and therefore they're with the devil.I know this will probably look like a meaningless rant to a non-Christian minded people from other religions as well as to atheists but this are the facts. Why would people who are not Christian as the authors of this music preach an anti-Christian content?? If they don't believe in God or Satan and the devil, why would they ever preach a no moral, no ethics, hatred evil and generally anti-Christianity?? One would say "it is just because of money and fame and cause they want to be different", but even if this was the case how comes they become so popular. Where this magnetism this God enemies possess from? Who gives the money to the industry to make this people so famous and make them being on the TV screen and Radios all around the clock. What are this people's philosophy for life and their beliefs. Let me tell obviously, they're people like the up mentioned hip-hop singers, evil desirers, non lovers of good and family and person destroyers ….

 

Why I never liked Mandrake Linux / Mankdrake Linux has took its name from an 1930s comics Mandrake the Magician

Wednesday, May 9th, 2012

I never liked Mandrake Linux, since day 1 I saw it.
Historically Mandrake Linux was one of the best Linux distributions available for free download in the "Linux scene" some 10 to 12 years ago.

Mandrake was simple gui oriented and trendy. It also one the Linux distribution with the most simplified installer program and generally a lot of GUI software for easy configuration and use by the end user.

Though it's outside nice look, still for me it was like an "intuition" that Mandrake is not so good as it appeared.

Now many years later I found by chance that Mandrake has been sued to change their Operating System name with another, due to a law suit requit by the copyright holders of Mandrake The Magician comics. "Mandrake the Magician" used to be a very popular before the Second World war in the 1930's.

Mandrake the Magician Comics Magazine from 1930's Cover, Mandrake the Black Magic Magician

It obviously not a co-incidence that the Mandrake names was after this comics and not the mandrake herb plants available in Europe, Africa and Asia. This is clear in Mandrake Linux distro earlier mascot, you see below:

Mandrake Linux old distribution logo, magician penguin

Later on they changed Mandrake's logo to loose the connection with Mandrake The Magician and used another new crafted logo:

Mandrake GNU Linux newer logo
Its quite stunning nowdays magician obsession, has so heavily infiltrated our lives that even something like a Free Softwre Linux distribution might have some kind of reference to magician and occult stuff (I saw this from the position of being Christian) …

Later due to the name copyright infringement Mandrake Linux was renamed first to Mandragora Linux.
Instead of putting some nice name non related to occultism or magic stuff the French commercian company behind Mandrake rename it to another non-Christian name Mandragora.
Interestingly the newer name Mandragora as one can read in wikipedia means:
 

Mandragora (demon), in occultism

Well apparently, someone from the head developers of this Linux distribution has a severe obsession with magic and occultism.

Later MandrakeSoft (The French Company behind Mandrake Linux) renamed finally the distribution to Mandriva under the influence of the merger of Mandrake with the Brazillian company Connectiva this put also an over to the legal dispute copyright infringement dispute with Hearst Corporation (owning the rights of Mandrake the Magician).

Having in mind all fact on current Mandriva "dark names history", I think it is better we Christians avoid it …

The Age of Transitions – a Documentary on Transhumanism and Eugenics – A quick look on where might the world be shortly headed

Tuesday, May 8th, 2012

While watching some stuff on PostHumanism, trying to educate myself a bit further. I've came across a very interesting movie titled The Age of Transitions
The movie author is probably a Christian. The aim of the movie is to look to how deeply the world has changed, since the last 11 years since 09/11/2001.

The movie looks in deepness, how transhumanism ideas for superiority and escalation of some should be over others. Actually what it speaks for is that many organizations like UNESCO, UNICEF and probably even United Nations, are very delibarately following a pre-set agenda leading the society. To live a world, where there will be no clear distinguishing between what is real and what is unreal .

It appears one of the major ideas of Eugenics is the desire for species and "world sterilization".

We're actually clearly seeing the sterilization happening all the time. Most of the products, we buy has to already be somehow sterilized well "packaged" in a hygienic way, so any possible disturbance of the "set safety" measures to be run off. If one thinks today even the water is being "sterilized". The movie explains in short, how the idea of TranceHumanism and Transhumanists is to transit themselves and current society to a society of Post Humans which in essence will be no human anymore. But would be a society totally depending on latest technology to do their daily duties. We see this happening step by step even in our age. Day after day our dependency on high technology and technological R&D's is raising up. This is more than disturbing, as this will probably put an end to the world as we know it.

A quick Fore-Warning on PostHumanism and some crazy transhumanist scienties speeches


Even the electronic music which is the main music so heavily preferred is part of the people's transition to an age of transhumanism in which people are not human anymore but a synthesisez cyborgs. Actually I was quite stunned Aldous Huxley's the author the so famous SCI-FI book Brave New World is a brother of Julian Huxley , one of the most notable Transhumanist supporters in history so far…
I thought his brave new world book used to be a critism on one possible terrible scenario for our world. However now when I have learned myself a bit deeper on Transhumanism and PostHumanism, I'm starting to think his position was also for this new world ordertranshumanism

There are a lot of American educational organizations, which for years are researching and following the agenda of transhumanists. Just to name a few this is Berkley, MIT, NASA, there are also plenty of universities "living in the spirit of transhumanism" ideology and implanting in students minds a transhumanism ideology in still officially Christian Europe as well as all around the world.

As you can see in the movie explained, achieving the full pre-set agenda of transhumanist objectives would require advanced genetics, cybernetics and pharmacological enhancement, as well as molecular nanotechnology.

By the way the so called trans-sexuality that is so modern today, and the promotion of gay and lesbian culture as being something good is probably also a direct consequence of the influence of a transhumanist ideology., as Transhuman iteral  meaning is "beoynd human".

Trans-sexuallity which is heavily plaused by most in young generation is one thing which is considered beyond normal human and this mindset in youngesters is a direct consequence of the modern pop-rock, movies and advertisement industry.

Lets hope God will never allow humanity to end up in state envisioned by transhumanists.  Lets have faith and hope, we will be suddenly awaken from the deep slumber and see how our detachment from our  Lord Jesus Christ and attachment to evil is leading is into our own destruction…
 

 

The Age of Transitions (full length documentary

If you like the movie and you find it contains a serious fore-warning to one very dark possible human future, make sure you share it with your closest people and best friends to warn them on why they should oppose transhumanism and why transhumanism and posthumanism is contrary on the original free-will God given freedom ….

How to convert FLV to AVI and AVI to FLV Videos on Linux and BSD with avidemux and ffmpeg – Simple video editting with LiVES

Tuesday, May 8th, 2012

I'm starting to learn some video editing, as I need it sometimes for building client websites.
As a Linux user I needed to have some kind of software for amateur video editing.
For Microsoft Windows OS, there are tons of video editor programs both free and proprietary (paid).
Windows users can for instance use the free software program VirtualDub (licensed under GPL license) to easily cut movie scenes from a video.

Unfortunately VirtualDub didn't have a Linux or BSD version so in my case I had to look for another soft.

VirtualDub running on Microsoft Windows XP Screenshot (Biomassa)

I consulted a friend of mine who recommended a video editor program called LiVES.

If you haven't done any video editing previously on Linux (like my case was), you will certainly be happy to try LiVES

Debian GNU / Linux LiVES video editor logo bootscreen shot

LiVES can extract only sound from videos, cut selected parts (frames) from videos and do plenty of other nice stuff. It is just great piece of software for anyone, who needs to do simply (newbie) video editting.

With LiVES even an amateur video editor like me could, immediately learn how to chop a movie scenes

Screenshot opened video for editting with LiVES Linux movie editor Debian Squeeze Linux shot

To master the basics and edit one video in FLV format it took me about 1 hour of time, as in the beginning it was confusing to get confortable with the program scenes selector.

One downside of LiVES it failure to open a FLV file I wanted to edit.
In order to be able to edit the flv movie hence I first had to convert the FLV to AVI or MPEG, as this two (video multimedia formats) are supported by LiVES video editor.

After completing my video scenes chopping to the AVI file I had to convert back to FLV.

In order to complete the convertion between FLV to AVI format on my Debian Linux, I used a program called avidemux

Avidemux has a nice GUI interface and also like Lives has support for video editting, though I have never succesfully done any video edits with it.

Avidemux IMHO is user (completely intuitive). To convert the FLV to AVI, all I had to do was simply open the file FLV file, press (CTRL+S) select my FLV video file format and select the output file extension format to be AVI.

Further on, used LiVES to cut my desired parts from my video of choice. Once the cuts were complete I saved the new cutted version of video to AVI.
Then I needed the video again in FLV to upload it in Joomla, so used ffmpegcommand line tool to do the AVI to FLV file converstion, like so:

hipo@noah:~$ /usr/bin/ffmpeg -i my_media_file.avi my_video_file.flv

Hope this article helps someone aiming to do basic video editting on Linux with LiVES and just like needed FLV to AVI and AVI to FLV convertions.

What is Transhumanism and augenics and why it is a severe threat to our Freedom

Monday, May 7th, 2012

Many people, certainly doesn't know what is Transhumanism term but has already been irradiated heavily with TRANSHUMANISM ideas without even realizing it.

Just until a recently I used to be also one of this unrealizing "poor" transhumanism victims, who had a a high passion for latest technology and accepted almost all new technology in my daily life without too much questioning if it really will lead to a good or bad future for our earth as we know it.

A friend of mine from the old years, who is not a technology savvy Plamenko) had visited me and told me about Transhumanism possible danger (for which I'm very thankful). Plamenko has a strong personality for constant look for the truth and is a also a devoted Christian (like me).
I'm not if Plamen was the first from whose I heard of the Transhumanism term existence, but he was the person who give me a short explanation on the term.

 

Transhumanism, though might be a new word in reality is nothing new but a well forgotten old. A different "version" of Transhumanism term (word) was known to most people since about more than 80 years ago under the term Eugenics

Now in case you ponder what the crack is Eugenics?, here is an a definition  from wikipedia
 

 

Eugenics is the "applied science or the bio-social movement which advocates the use of practices aimed at improving the genetic composition of a population", usually referring to the manipulation of human populations.[2][3] The origins of the concept of eugenics began with certain interpretations of Mendelian inheritance, and the theories of August Weismann.[4] Historically, many of the practitioners of eugenics viewed eugenics as a science, not necessarily restricted to human populations; this embraced the views of Darwinism and Social Darwinism.

Augenics was heavily researched during the Second World War, back then Nazis invested many millions for various researches on how the human genes can be improved to create a Super Human powered Man in other words Nazis wanted to create a  kind of Super Powers (special abilities having) SuperMan.
Nowdays, Transhumanism is simply abbreviated with an H+ or h+ (a short reference word for Human+)

Transhumanism is a cultural and intellectual movement whose idea is heavily found in many Science Fiction books which are circulating in the public in the last 150 years or so. A thing that used to live in some "visionaries" – a sick mind world detached people is now once again starting to get to life more than, we imagine in America. The American government is sponsoring heavily researches in Transhumanism field, and for some few centuries tried to create a super powered soldiers. The existing situation with advances in science and the ability this advances give to people with Pro-Transhumanistic ideas is now however very disturbing. Transhumanism "culture" is being preached all over the TVs and radios to the masses and pitily. Most of us are not even realizing what is really happening, as we're brainwashed to believe the "robotic" electronic culture has prepared us a bright or pain free (no diseases) future…

This should ring some bells, because the facts around Transhumanism which are so nicely displayed on our screen are actually not so nice as we can imagine.

We're constantly being preached transhumanism from most of the TV super stars of the day, just to name few of all the celebrities who preach transhumanism Lady Gaga, Beyonce, Rihanna, Madonna, many of the modern rap musicians. There is also a shart transhumanism influence in progressive metal. There is plenty of that subject, if you want to learn more about this just type "transhumanism in music" in youtube and you will be amazed after seeing some critical analysis on modern musicians and composers, TV ads, movies etc.

I personally would recommend you see this movie for more info on how transhumanism is heavily incorporated in modern music industry unfortunately you will have to copy paste it in browser, because the video embeddability is disabled:

http://youtu.be/0leaCIE11uM

A very good resource, exposing Transhumanism bads is also an 1 hour speech in American's Alex Ansery's show:

Interview with Tom Horn – A Christian Scientists – Taking a deep look of the possible dangers Transhumanism movement imposes to our current and future society

If you watch closely above video you will notice this guy is really, really SMART. The perspective Tom gives to transhumanism is opposite to the traditional perspective, we're constantly shown in latest Hollywood movies Super Heroes. Just to name a very few of the almost immserably long list of (H+ super star modern heroes):
Avatar, X-Man, The Matrix, Batman, Superman, Terminator, Universal Soldier etc.

Actually, when I think over the long movies list, I've seen during my young years I considered of a top quality and a high value, probably about 70% percent are containing a topics of a an upcoming near Transhumanistic world like stories….

Back then, I was not a devoted Christian like today, neither I had a glimpse on the different philosophy movements predominating the modern world, hence as a kid I didn't realize that what I was mindfully suggested is a good or bad (is of a great value or not).

Now knowing about Transhumanism I realize what is mostly preached over the TV, radios and the major media channels is actually just some projection of ideas of group of people "on  how the world should look in near future and, what would be best for us due to those ppls philosophy.

Now knowing all that I realize the Transhumanism implantation in our minds is nothing more than one BIG DECEPTION. Due to this transhumanist ideas what thought to be "best" for us in very  near  future  is a world of  enhanced h+ HIGHER TECHNOLOGY people and even H+ enabled society ….

Now as a mature person, I know this world was created by God and the way God created us  (humans) in the beginning of creation was the best way we could have been created. In other words God made us with the best "features" we should have before the original sin fall of man in Eden, e.g. we humans are the greatest designer products if I have to speak in ( H+ terms). In that manner of thought obviously,  any other further advancement attempts of our physical (human) appearance would be a step back towards  primitivism.

Actually it is a very sad fact that, we the modern people has leaped forward towards a society, whose essence comes to a very bad version of originally better initial society …

We not only don't grow ourselves anymore in high moral and ethics values (as we're supposed to) but we want to completely destroy our Human qualities (which actually provide us the free will right we initially given by God). If transhumanism is not opposed in our societies sooner it will completely destroy all the society spheres as we know it.

Most people nowdays tend to put their trust more in a technology systems than to their own eyesight…  this is yet another step towards the implanted ideas of mass media in minds that we have to live an imaginary robotized transhumanized life ….