Posts Tagged ‘plenty’

No space left on device with free disk space / Why no space left on device while there is plenty of disk space on drive – Running out of Inodes

Tuesday, November 17th, 2015



On one of the servers, I'm administrating the websites started showing some Mysql database table corrup errors like:


Table './database_name/site_news_list_com' is marked as crashed and last (automatic?) repair failed

The server is using Oracle MySQL server community stable edition on Debian GNU / Linux 6.0, so I first thought during work the server crashed either due to some bug issue in MySQL or it crashed due to some PHP cron job that did something messy. Thus to solve the crashed tables, tried using mysqlcheck tool which helped pretty fine, at many times whether there were database / table corruptions. I've run the following set of mysqlcheck commands with root (superuser) in a bash shell after logging in through SSH:


server:~# /usr/bin/mysqlcheck –defaults-extra-file=/etc/mysql/debian.cnf \–check –all-databases -u root -p`grep -i password /root/.my.cnf |sed -e 's#password=##g'`>> /var/log/cronwork.log
server:~# /usr/bin/mysqlcheck –defaults-extra-file=/etc/mysql/debian.cnf –analyze –all-databases -u root -p`grep -i password /root/.my.cnf |sed -e 's#password=##g'`>> /var/log/cronwork.log
server:~# /usr/bin/mysqlcheck –defaults-extra-file=/etc/mysql/debian.cnf \–auto-repair –optimize –all-databases -u root -p`grep -i password /root/.my.cnf |sed -e 's#password=##g'`>> /var/log/cronwork.log
server:~# /usr/bin/mysqlcheck –defaults-extra-file=/etc/mysql/debian.cnf \–optimize –all-databases -u root -p`grep -i password /root/.my.cnf |sed -e 's#password=##g'`>> /var/log/cronwork.log

In order for above commands to work, I've created the /root/.my.cnf containing my root (mysql CLI) mysql username and password, e.g. file has content like below:




Btw a good note here is its generally a good idea (if you want to have consistent mysql databases) to automatically execute via a cron job 2 times a month, I've in root cronjob the following:


crontab -u root -l |grep -i mysqlcheck
04 06 5,10,15,20,25,1 * * /usr/bin/mysqlcheck –defaults-extra-file=/etc/mysql/debian.cnf \–check –all-databases –silent -u root -p`grep -i password /root/.my.cnf |sed -e 's#password=##g'`>> /var/log/cronwork.log 07 06 5,10,15,20,25,1 * * /usr/bin/mysqlcheck –defaults-extra-file=/etc/mysql/debian.cnf –analyze –all-databases –silent -u root -p`grep -i password /root/.my.cnf |sed -e 's#password=##g'`>> /var/log/cronwork.log 12 06 5,10,15,20,25,1 * * /usr/bin/mysqlcheck –defaults-extra-file=/etc/mysql/debian.cnf \–auto-repair –optimize –all-databases –silent -u root -p`grep -i password /root/.my.cnf |sed -e 's#password=##g'`>> /var/log/cronwork.log 17 06 5,10,15,20,25,1 * * /usr/bin/mysqlcheck –defaults-extra-file=/etc/mysql/debian.cnf \–optimize –all-databases –silent -u root -p`grep -i password /root/.my.cnf |sed -e 's#password=##g'`>> /var/log/cronwork.log

Strangely I got a lot of errors that some .MYI / .MYD .frm temp files, necessery for the mysql tables recovery can't be written inside /home/mysql/database_name

That was pretty weird and I thought there might be some issues with permissions, causing the inability to write, due to some bug or something so I went straight and checked /home/mysql/database_name permissions, e.g.::


server:/home/mysql/database_name# ls -ld soccerfame
drwx—— 2 mysql mysql 36864 Nov 17 12:00 soccerfame
server:/home/mysql/database_name# ls -al1|head -n 10
total 1979012
drwx—— 2 mysql mysql 36864 Nov 17 12:00 .
drwx—— 36 mysql mysql 4096 Nov 17 11:12 ..
-rw-rw—- 1 mysql mysql 8712 Nov 17 10:26 1_campaigns_diez.frm
-rw-rw—- 1 mysql mysql 14672 Jul 8 18:57 1_campaigns_diez.MYD
-rw-rw—- 1 mysql mysql 1024 Nov 17 11:38 1_campaigns_diez.MYI
-rw-rw—- 1 mysql mysql 8938 Nov 17 10:26 1_campaigns.frm
-rw-rw—- 1 mysql mysql 8738 Nov 17 10:26 1_campaigns_logs.frm
-rw-rw—- 1 mysql mysql 883404 Nov 16 22:01 1_campaigns_logs.MYD
-rw-rw—- 1 mysql mysql 330752 Nov 17 11:38 1_campaigns_logs.MYI

As seen from above output, all was perfect with permissions, so it should have been something else, so I decided to try to create a random file with touch command inside /home/mysql/database_name directory:


touch /home/mysql/database_name/somefile-to-test-writtability.txt touch: cannot touch ‘/scr1/data/somefile-to-test-writtability.txt‘: No space left on device

Then logically I thought the /home/mysql/ mounted ext4 partition got filled, because of crashed SQL database or a bug thus, checked with disk free command df whether there is enough space on server:

server:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/md1 20G 7.6G 11G 42% /
udev 10M 0 10M 0% /dev
tmpfs 13G 1.3G 12G 10% /run
tmpfs 32G 0 32G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 32G 0 32G 0% /sys/fs/cgroup
/dev/md2 256G 134G 110G 55% /home

Well that's weird? Obviously only 55% of available disk space is used and available 134G which was more than enough so I got totally puzzled why, files can't be written.

Then very logically, I thought it might be that /home directory has remounted as read only, because the SSD memory disk on server is failing and checked for errors in dmesg, i.e.:


server:~# dmesg|grep -i error

Also checked how exactly was partition mounted, to check whether it is (RO) read-only:


server:~# mount -l|grep -i /home
/dev/md2 on /home type ext4 (rw,relatime,discard,data=ordered)

Now everything become even more weirder, as obviously the disk continued to be claiming no space left on device, while in reality there was plenty of disk space.

Then after running a quick research on the internet for the no space left on device with free disk space, I've come across this great thread which let me realize the partition run out of inodes and that's why no new file inodes could be assigned and therefore, the linux kernel is refusing to write the file on ext4 partition.

For those who haven't heard of Linux Partition Inodes here is link to Wikipedia and a quick quote:


In a Unix-style file system, the inode is a data structure used to represent a filesystem object, which can be one of various things including a file or a directory. Each inode stores the attributes and disk block location(s) of the filesystem object's data.[1] Filesystem object attributes may include manipulation metadata (e.g. change,[2] access, modify time), as well as owner and permission data (e.g. group-id, user-id, permissions).[3]
Directories are lists of names assigned to inodes. The directory contains an entry for itself, its parent, and each of its children.

Once I understood it is the inodes, I checked how many of them are occupied with cmd:


server:~# df -i /home
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/md2 17006592 17006592 0 100% /home

You see, there were 0 (zero) free file inodes on server and that was the reason for no space left on device while there was actually free disk space

To clean up (free) some inodes on partition, first thing I did is to delete all old logs which were inside /home and files I positively know not to be necessery, then to find which directories allocating most innodes used:


server:~# find . -xdev -type f | cut -d "/" -f 2 | sort | uniq -c | sort -n

If you're on a regular old fashined IDE Hard Drive and not SSD or you have too much files inside this command will take really long …:

Therefore a better solution might be to frist:

a) Try to find root folders with large inodes count:

for i in /home/*; do echo $i; find $i |wc -l; done
Try to find specific folders:

You should get output like:



b) Then once you know the directory allocating most inodes, run the command again to see the sub-directories with most files (eating) partition innodes:


for i in /home/webservice/*; do echo $i; find $i |wc -l; done


One usual large folder which could free you some nodes is the linux source headers, but in my case it was simply a lot of tiny old logs being logged on the system for few years in the past without cleaning:

After deleting the log dirs and cache folder in my case /home/new_website/{log,cache}:

server:~# rm -rf /home/new_website/log/*
server:~# rm -rf /home/new_website/cache/*



a) Then, stopping Apache webserver to check prevent Apache to use MySQl databases while running database repair and restaring MySQL:

server:~# /etc/init.d/apache2 stop Restarting MySQL server
server:~# /etc/init.d/mysql restart

b) And re-issuing MySQL Check / Repair / Optimize database commands:


mysqlcheck –defaults-extra-file=/etc/mysql/debian.cnf \–check –all-databases -u root -p`grep -i password /root/.my.cnf |sed -e 's#password=##g'`>> /var/log/cronwork.log

mysqlcheck –defaults-extra-file=/etc/mysql/debian.cnf –analyze –all-databases -u root -p`grep -i password /root/.my.cnf |sed -e 's#password=##g'`>> /var/log/cronwork.log

mysqlcheck –defaults-extra-file=/etc/mysql/debian.cnf \–auto-repair –optimize –all-databases -u root -p`grep -i password /root/.my.cnf |sed -e 's#password=##g'`>> /var/log/cronwork.log

mysqlcheck –defaults-extra-file=/etc/mysql/debian.cnf \–optimize –all-databases -u root -p`grep -i password /root/.my.cnf |sed -e 's#password=##g'`>> /var/log/cronwork.log

c) And finally starting the Apache Webserver again:

server:~# /etc/init.d/apache2 start

Some innodse got freed up:

server:~# df -i /home Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/md2 17006592 16797196 209396 99% /home

And hooray by God's Grace and with help of prayers of The most Holy Theotokos (Virgin) Mary, websites started again !

Adding another level of security to your shared Debian Linux webhosting server with SuPHP

Tuesday, April 7th, 2015


There are plenty of security schemes and strategies you can implement if you're a Shared Web Hosting company sysadmin however probably the most vital one is to install on Apache + PHP Webserver SuPHP module.

# apt-cache show suphp-common|grep -i descrip -A 4

Description: Common files for mod suphp Suphp consists of an Apache module (mod_suphp for either Apache 1.3.x or Apache 2.x) and a setuid root binary (suphp) that is called by the Apache module to change the uid of the process executing the PHP interpreter to the owner of the php script.

So what SuPHP actuall  does is to run separate CPanel / Kloxo etc. Users with separate username and groupid permissions coinciding with the user present in /etc/passwd , /etc/shadow files existing users, thus in case if someone hacks some of the many customer sites he would be able to only write files and directories under the user with which the security breach occured.

On servers where SuPHP is not installed, all  systemusers are using the same UserID / GuID to run PHP executable scripts under separate domains Virtualhost which are coinciding with Apache (on Debian / Ubuntu  uid, gid – www-data) or on (CentOS / RHEL / Fedora etc. – user apache) so once one site is defaced  exploited by a worm all or most server websites might end up infected with a Web Virus / Worm which will be trying to exploit even more sites of a type running silently in the background.  This is very common scenarios as currently there are donezs of PHP / CSS / Javasripts / XSS vulnerability exploited on VPS and Shared hosting servers due to failure of a customer to update his own CMS  scripts / Website  (Joomla, Wordpress, Drupal etc.) and the lack of resource to regularly monitor all customer activities / websites.

Therefore installing SuPHP Apache module is essential one to install on new serverslarge hosting providers as it saves the admin a lot of headache from spreading malware across all hosted servers sites ..
Some VPS admins that are security freaks tend to also install SuPHP module together with many chrooted Apache / LiteSpeed / Nginx webservers each of which running in a separate Jailed environment.

Of course using SuPHP besides giving a improved security layer to the webserver has its downsides such as increased load for the server and making Apache PHP scripts being interpretted a little bit slower than with plain Apache + PHP but performance difference while running a site on top of SuPHP is often not so drastic so you can live it up ..

Installing SuPHP on a Debian / Ubuntu servers is a piece of cake, just run the as root superuser, usual:

# apt-get install libapache2-mod-suphp

Once installed only thing to make is to turn off default installed Apache PHP module (without SuPHP compiled support and restart Apache webserver):

# a2dismod php5 …

# /etc/init.d/apache2 restart

To test the SuPHP is properly working on the Apache Webserver go into some of many hosted server websites DocumentRoot

And create new file called test_suphp.php with below content:

# vim test_suphp.php

Then open in browser http://whatever-website/test_suphp.php assuming that system(); function is not disabled for security reasons in php.ini you should get an User ID, GroupID bigger than reserved system IDs on GNU / Linux e.g. ID > UID / GID 99

Its also a good idea to take a look into SuPHP configuration file /etc/suphp/suphp.conf and tailor options according to your liking 

If different hosted client users home directories are into /home directory, set in suphp.conf

;Path all scripts have to be in


Also usually it is a good idea to set 


Merge (convert) multiple PDF files into one single PDF – Generate one pdf from many on Linux / Windows and Mac

Wednesday, August 6th, 2014

I was looking for English Orthodox Bible translation of the Old Testament (Septuagint Version) and found such divided in many pdf files. I wanted to create a common (single) PDF from all the separate Old Testamental Book files in order to put it online as it might be convenient for English native speakers to download and later read offline on their computers the Old Testament Orthodox version Holy Bible.

Before I explain how I did it I will make a short turn to explain few things about Septuagint, as this is probably interesting stuff, you might not know.

Septuagint (also referred as LXX or the Alexandrian Canon) – Is Translation of the Hebrew Bible and some related text in Koine Greek) by legendary 70 Jewish scholars as early as the 2nd century BC. Just for those interested in Christianity it is curious fact that the number of Old Testament books are different among Protestant, Roman Catholic and Orthodox Christians, whether the number of New Testament books are the same in Catholics, Protestant and Orthodox.

So How Many books are in Roman Catholic, Protestant and Orthodox Old Testament Holy Bible?

The Old Testament in Orthodox Holy Bible version has 50 (where Slavonic versions of the bible include also +2 More which are the  Edras books), whether protestant Holy Bible includes only 39 books in old testament and Roman Catholics has 46 old testamental books in there bibles. The reason why Protestants choose to have less books (only 39) is some of the books in the Roman Catholic and Orthodox Church are Apocryphal are referred to as the Apocryphal, or Deuterocanonical books this doesn't mean that the extra 8 Books in Orthodox Bibles are not God Inspired, this means, they don't have the historic authenticity as the early Church accepted canonicals.

The Orthodox Church accepted the Septuagint LXX as divinely inspired to be used in Church.

Now back to how I managed to merge (convert) multiple PDF files into single PDF on my Debian Linux home router.

My first attempt was with ImageMagick's convert (in the same manner as I used to generate PDF files from pictures earlier), e.g.:

convert intro.pdf genesis.pdf exodus.pdf leviticus.pdf numbers.pdf deuteronomy.pdf … SINGLE-FILE.PDF

I waited for convertion to complete quite long but it seemed looping so finally after 7 minutes I stopped it and decided to try with something else and, after quick search I found pdftk.

pdftk has plenty of functions and is great for anyone who needs to do Merge / Split Update / Encrypt / Repair corrupted PDFs on Linux:

 apt-cache show pdftk |grep -i desc -A 17
Description: tool for manipulating PDF documents
 If PDF is electronic paper, then pdftk is an electronic stapler-remover,
 hole-punch, binder, secret-decoder-ring, and X-Ray-glasses. Pdftk is a
 simple tool for doing everyday things with PDF documents. Keep one in the
 top drawer of your desktop and use it to:
  – Merge PDF documents
  – Split PDF pages into a new document
  – Decrypt input as necessary (password required)
  – Encrypt output as desired
  – Fill PDF Forms with FDF Data and/or Flatten Forms
  – Apply a Background Watermark
  – Report PDF on metrics, including metadata and bookmarks
  – Update PDF Metadata
  – Attach Files to PDF Pages or the PDF Document
  – Unpack PDF Attachments
  – Burst a PDF document into single pages
  – Uncompress and re-compress page streams
  – Repair corrupted PDF (where possible)

To install pdftk on Debian Linux Lenny / Wheezy:

apt-get install –yes pdftk

After installed to convert a number of separate PDF files into single (merged) PDF file:

pdftk file1.pdf file2.pdf file3.pdf cat output single-merged-pdf-file.pdf



pdftk intro.pdf genesis.pdf exodus.pdf leviticus.pdf numbers.pdf deuteronomy.pdf joshua.pdf judges.pdf ruth.pdf kingdoms_1.pdf kingdoms_2.pdf kingdoms_3.pdf kingdoms_4.pdf paraleipomenon_1.pdf paraleipomenon_2.pdf esdras_1.pdf esdras_2.pdf nehemiah.pdf tobit.pdf judith.pdf esther.pdf maccabees_1.pdf maccabees_2.pdf maccabees_3.pdf psalms.pdf job.pdf proverbs_of_solomon.pdf ecclesiastes.pdf song_of_songs.pdf wisdom_of_solomon.pdf wisdom_of_sirach.pdf hosea.pdf amos.pdf micah.pdf joel.pdf obadiah.pdf jonah.pdf nahum.pdf habbakuk.pdf zephaniah.pdf malachi.pdf isaiah.pdf jeremiah.pdf baruch.pdf lamentations_of_jeremiah.pdf an_epistle_of_jeremiah.pdf ezekiel.pdf daniel.pdf maccabees_4.pdf slavonic_appendix.pdf cat output Orthodox-English-translation-of-Old-Testament-Septuagint.pdf

And Hooray! It worked The resulting share Old Testament (Orthodox) English translation from Septuagint PDF is here

pdftk is also ported for Fedora / CentOS / RHEL etc. (RPM distros), so you to install it there:

yum -y install pdftk

Or if missing in repositories grab the respective pdf and

rpm -ivh pdftk-*yourarch.pdf

PDFtk has also Windows and Mac OS version just in case if you need to script Merging of multiple PDFs to single ones for more check out PDftk Server page homepage here

Happy Sysadmin day! – Last Friday of July – The day of the system administrator

Friday, July 25th, 2014


Every Last Friday of July is System Administrator's day. This relatively new technocrat tradition started as suggested by the system administrator Ted Kekatos in 2000.

SysAdmin Day or (SAD) 🙂 as it is also famous is a day to appreciate the achieviments of anyone seriously involved in IT industry. Now is time to say SAD day is not a day for programmers to celebrate as there is separate Programmer's day / Day of the Programmer feast or (DOP / DOPE ) 🙂 that is celebrated on the 256th (hexadecimal 100th, or the 28th) day of each year (September 13 during common years and on September 12 in leap years).

System Administrator Appreaciation Day – (SAAD) was historically inspired by Hewlett Packard magazine advertisement in which a system administrator is presented with flowers and fruit-baskets by grateful co-workers as thanks for installing new printers.


DOPE's started as proposed by Valentin Balt and Michael Cherviakov, employees of Parallel Technologies (a software company). In 2002, they tried to gather signatures for a petition to the government of Russia to recognize the day as the official programmers' day.

The modern usual way to celebrate Sysadm day is to get your system administrator a day. If you're at poisition to administrate a couple of hundreds of Windows hosts, you can send a prank message to your colleagues reminding them to buy you a beer or mass mail / set a Outlook Meeting reminder that system administrators – doesn't drink flowers and chocolate 🙂


A Day In The Life Of A SAN Administrator

Since 2000, a lot of UNIX / Linux sysadmins and  geeks tend to organize gatherings and Free Software celebration meetings on the SAD day.

SysAdminDay has inspired plenty of other pranky novels and music to glorify the remarkable event 🙂

Here are few to cheer you up.

System Administrator's Day song

Sysadmin day (Karaoke) song

Here are also some PoC for some weird ways to celebrate the day of the system administrator 🙂

System Administrator's Day in Russia Remix


Russians Celebrate Christmas / Why some Orthodox Christians celebrate Nativity ( Christmas ) on 7th of January

Tuesday, January 7th, 2014


Merry Christmas to all Eastern Orthodox Christians!

I wish to all my Russian blog readers Christ's blessings, Wisdom of the 3 Wise man following the star. Humility of Christ for being born in a Cave and love of Mother of God Virgin Mary and Joseph to the incarnated Lord in flesh, Joy of the universe for the Universe rejoiced seing the birth of the savior of us sinful humans!

On 7th of January, the day on which biggest part of Eastern Orthodox Church,- Russian Orthodox Church along with Ukrainian, Macedonian, Croation, Serbian Arabic and part of Greek orthodox Church and Holy Mount Athos celebrate the day of Christ's birth. The original place where the Lord Jesus Christ was born as we read in the Gospels is BethlehemAccording to Church tradition on top of the Cave (known as Grotto) where the savior was born a Church basilica was built around year 333 A.D..

church of nativity bethlehem nowadays palestine - Jesus Christ birth place

The first Church building on top of Nativity Cave begun by Saint Helena, the mother of saint Emperor Constantine.


The Basilica was destroyed a couple of times throughout the 3th, 4th, 5th, 10-th , 14-th and 18-th centuries in attempt to wipe out memory for Christ's birth and futile attempt of early times Roman emperors to destroy christianity.
Today Bethlehem Church is situated on Palestinian territories and place for pilgrimage of both Eastern Orthodox and Roman Catholic Christians. Its
interior is a very interesting mixture of a classic Orthodox Christian and a Roman Catholic basillica.

Church of the Holy Nativity Christs birth place Bethlehem

There is plenty of confusion and misunderstanding on the topic why bigger part of Christians worldwide celebrate Christmas on 24th against 25th of December and why more than half of Eastern Orthodox Christians celebrate on 6th against of 7th of January?

In fact it is interesting fact that in the early Christian one holy apostolic Church, Christmas and Eastern was celebrated many times as this two feasts since beginning of the Church are center of Christian faith. In later times, when Church was already formed as an Eastern and Western Church, there are Church canons on exact date to celebrate Christmas and Eastern following the Julian Calendar (introduced by Julius Caesar in 46 BC). In later times with development of Science it was found that this calendar was not so precise and another Church calendar was introduced in y. 1582 by Roman Catholic pope Gregory XVIII (Gregorian Calendar named after pope). I will not get into details but from modern science Astronomical point of view Gregorian calendar is more scientifically correct. The Gregorian calendar quickly become in secular life because of its mathematical precision. And by Western Roman Catholic church Influence and desire to be more scientifically correct parts of the Eastern Orthodox Church partly accepted use of the Gregorian Calendar for counting the Church feasts. Because of that many of the feasts in those Eastern Orthodox Churches moved in forward with 13 days like the Romanian and Bulgarian Orthodox Church. However due to Church canon part of the feasts in Eastern Church can't be celebrated according to the Gregorian Calendar dates. Most important feast dates is the Resurrection day (Eastern), which according to Orthodox Church rule has always to be one week after the Jewish Pascha. There are plenty of problems that emerged due to change of acceptance of reformed Church calendar in part of the Eastern Orthodox Church, however what is most important is that the difference doesn't separate Orthodox Christian it just gives us reason to celebrate feast twice 🙂

Psychological instability and the gap between desire and reality

Wednesday, August 7th, 2013

sad reality - bulgarians see no future, protests in bulgaria are the least people can do

I'm in Sofia just for a few days and I'm stunned how expensive is life here if compared to people's revenues. I think it is almost impossible to live normal live in Sofia with money lower than 500 eur. I'm here for a  4 day with my Belarusian girlfriend and I'm trying not to spend too much and already spend about 200 EUR. This makes 50 euro per two person a day and this is just for going outside public transport Metro, Buses and taxis. This makes about 50 euro per day or 25 euro a day required for person to live normal (not at all luxury life) … It is no strange that people are protesting for already about 50 days here in Sofia and that Bulgarians are heavily drinking and smoking and don't want to work. Our Bulgarian nation is depressed and there is a good reason for that. We are forced to live almost like animals. There are no money for renovation the buildings, no money to eat properly, young people's morale is totally messed up for the reason culture here is almost dead or even the one that's left is heavily  connected with godlessness, sexuality and consumerism. It is no strange our structures politics and infrastructure here is so messed up. It all starts with people's messed heads and all this gets materialized in our daily lives … Money are the main aim of living of young people and life here is made in a way that you have to only strive after money and for money you should learn to do anytihng … I just don't understand how we ended up here, its quite a pain especially as I lived in end up communistic Soviet time sand I remember people was not so much after money as there was money for normal almost middle class life in Socialistic Bulgaria … There are plenty of knowledgeable people in my dear homeland. Plenty of brilliant and good people but most emigrate for the reason here conditions of living has become extremely abnormal. Truth is European union totally smashed us. With all this shop chains in Western model like Lidl and Billa  made just to collect even our last money and the lack of industry, if something doesn't change ASAP we will simply be cleaned up of the face of the world or at least noone will stay in this country. There are plenty of emigrants already, the problem is even in western europe and most other countries there is big problem with unemployment so even if we Bulgarians try to go out we can't find job. I know this post is a big rant but I feel sad for my beautiful homeland. We have one of the most beautiful natures in Europe, we have Sea Beaches and Mountains, we have culture of 15 centuries and own well developed language. But it seems we're loosing our identity day by day. Almost everywhere you go you hear some music in English – even though most people in Bulgaria do not speak decent English and are far from understanding music in English I more and more think there is almost straight logic information in English. Most song lyrics are just fractured and incomplete or messed up, mostly speaking about evil than good. It is tragedy how young people spend there time here in Bulgaria for nothing hanging in pubs and bars spending money for alcohol and cigarettes trying to waste themselves for the only reason they see no future …

Истории Ветхого Завета мультфильм / History of Biblbe old Testament in Russian – Kids movie

Saturday, June 15th, 2013

While looking for Bulgarian Orthodox Bible to listen. I submed upon a Russian video,re-telling the story of old testament in Russian. I decided to share the movie as I liked how the story of old testament is retold. Its on very understandable language, so even kids about 5 years old can understand. It is perfect for big kids like me too. After all as the saviour Jesus Christ said all of us Christians, has to "become like Kids to see the Kingdom of Heaven". Watching such movies is  definitely a good way to strengthen faith 🙂 Enjo!


History of Old Testament Russian Cartoon / Истории Ветхого Завета мультфильм все серии

By the way currently Russian Orthodox Church is in big bloom and there are plenty of other Animations for kids revealing the truths of faith for the tiny one. I hope one day, if God Bless and have kids myself I will play this video to teach them the wonders of our Christian faith.

The history of Climate change in 83 seconds – The ridiculous climate protection negotiations and actions of world governments

Friday, June 14th, 2013

The last 15 years, we've been accustomed to listen about the Climate Change and the Global Warming problem. I remember for a first time heard about this possible problem from my Grandfather in late 1990's. Since then there is plenty of initiatives like Kyoto (Protocol) Convict for reduce of unwanted emissions. While browsing I found interesting video which is short overview of History of Climate Change. I think it is worthy to see it and get idea on the pure mess and lack of interest of governments to work well for solving the is issue…

There are plenty of youth organizations who claim to suggest how to solve global warming. But most of it is just talks. The fact is to stop it, the only way is by individual change of each of us. It is impossible for a consumer society to keep going. From time of creation of human, God created us not as consumers but as creator beings. Now most of us are dumb consumers hanging in front of Computer in Youtube and Facebook all day, watching post after post video after video, then you go to shop and you buy a lot of food. Because we're depressed of the unhuman way of living most of us eat plenty of food to somehow mitigate our awareness of unhappy reality (Americans are best in that). With overeating there is the increased number of health issues in us. We produce too much and consume too much, if we don't stop this parasite behavior soon it is more than clear, humans and our planet as ecosystem will not survive.

Trip from Sofia Bulgaria to Minsk Belarus through Warsaw and how to issue VISA for Belarus

Wednesday, April 24th, 2013


I had to travel from Sofia to Minsk to be a guest to my beloved girlfriend Svetlana, thus I needed as cheap ticket as possible to reach there. Sofia Minsk is not very common destination especially in Winter, Spring and Summer, because Summer Tourist season is not still opened. I checked for all possibilities to reach the capital of Belarus. Since Bulgaria is in European Union and Belarus is in alliance with Russia and Ukraine. Bulgarian and rest of EU citizens need to issue VISA for Belarus, just like Belarusian citizens needs to have VISA for their summer holidays in Bulgaria.

In order to reach Belarus, I first needed Приглашение / Priglashenie (Invitation) from Belarusian citizen. My beloved girlfriend Svetlana issued one for me and sent it via Belarusian Post Services. In order for VISA to come over post it took about 12 working days. Once I had the Invitation in my hands I had to go to Belarusian Embassy, bring invitation, fill up some documents and pay VISA taxes which as of time of writing this post costs 60 EUR for issuing one person private VISA.

Application of Priglashenie I received over post looks like in picture below:

To have the VISA issued I had to bring my "Red" International (Foreign) Passport to Belarusian Embassy together with Recent Photos of mine. In Russian Embassy in Bulgaria photo is made and paid directly in Embassy with Belarusian Embassy this is not so, so I had to manually take new photo and bring those photo to embassy, I learned that first time I was in Embassy.

Photos had to be in special format (size) a bit different from the standard for accepted for most International VISA photos – at least this is what I was told in Studio where I went to make Photos. A note to make here is Belarus has only one embassy in Bulgaria located in Sofia and as far as I researched though Russia and Belarus are in union it is not possible to issue Belarusian VISA in Russian Embassy in city of Varna or Plovdiv.

Once photos were ready I bring them together with my Passport and had to leave them in Embassy. My visa was issued to be maximum of 90 days but unfortunately I could make it only for 45 days, because my International Passport is expiring in August and there is a rule that you cannot have the VISA issued for date longer than 3 months until Foreign Passport Expires. You can find website of Belarusian Embassy in Bulgaria here. Application form to print and fill in and hand in Belarusian Embassy for request of VISA is here.

Contact information of Belarusian Embassy in Bulgaria is:


Postal Address of the Embassy:

1505, Sofia, area «Reduta», «Nikola Karadjov» str. Building 3

Phone: (+359 2) 971 95 28, 971 71 31

Phone/Fax: (+359 2) 973 31 00


To issue me VISA I had to leave my Foreign Passport in Embassy and took it back after about 1 week and half (10 days or so). Issued VISA is not on a separate Application like VISAs for Dubai for Example but is directly sticked inside Passport;

Issued Belarusian Visa for Bulgarian citizen specimen I had my VISA issued for 45 days starting from 1 of April (as filled in app. form), ending in 15 of May.

Once having the VISA, the next question come what will be best way to travel from Bulgaria to Belarus. I did quite a research on this topic until decide with what to travel. There are 3 variants (bus, train or airplane). Distance between Belarus capital Minsk and my hometown Dobrich is only 1508 KM. Sofia is a bit far so distance Between two capitals is 1870 KM.
I call to check for bus price as I saw on the Internet some offers to travel with bus and though it seemed to be most cheap about 250 euro (two way ticket) after calling the agency contact found on the net, they told me this bus line is closed (probably working only in Summer because of the bigger number of Belarusian tourists travelling to BG). Option with train was also impossible for the reason Train line
Black Sea Coast -> Minsk operates only in Summer for months . (June – August).
Hence the only way to ravel left was by plain. I checked on Plain tickets and some recommendations on cheap ways to travel to from European Union to Belarus.
My first idea was to fly from Sofia to Lithuania Capital Vilnius and from there to take bus to Minsk as bus goes to Minsk for 3 hours or so. I checked low cost flights from Wizzair as I always try to fly with them for their cheap prices but unfortunately they don't have destination Sofia -> Vilnius. I checked other companies for same destination and found only tickets from LuftHansa, the ticket however was too expensive and I had to change two airplanes something I very much wanted to avoid, cause I hate so much the airport Laggage checks / Scanning moment. Two way ticket to Vilnius costed about 400 EUR with taxes and included a flight trhrough Vienna airport or through Germany and included few hours waiting on airports which doesn't sound well at all. I checked then the variant to fly to Kiev but again it was very expensive plus Ukraine is not in EU and thus I didn't wanted to risk. Though officially as I've red Bulgarians are permitted to travel and stay in Ukraine without VISA for 90 days period I didn't wanted to try my luck. Other option was to fly from Sofia to Minsk using 1 airplane change in Vienna or Moscow. I contacted airport in Moscow to ask whether I can fly Sofia -> Moscow -> Minsk with my Belarusian Visa but unfortunately to fly through Moscow Scheremetyevo I need a transit VISA which costs some money and moreover Scheremetyevo is enormous airport and I guessed it will be hard for me to orientate there and will bring me too much stress. Third variant which I liked best was to Fly from Sofia -> Warsaw and from there travel by bus to Bus Station Dworec Zahodnyi (West Warsaw Bus Station) and travel with Bus international line Warsaw -> Minsk. I decided to stop on this option and reserved fly ticket Sofia -> Warsaw. Flight date was 20th of Apr 14:40, ticket reserved with Polish Airlines (LOT).

Departure was from Sofia Terminal 2 – in Sofia we have two terminals (The Old one Terminal 1 and new one Terminal 2). All times I flight so far from Sofia airport was from Terminal 1 so this time it was my first time from the bigger and much newer and modern Terminal 2.

Sofia International airport Bulgaria newer Terminal2

My dear friend Mitko (Nomen), leave me by his car to airport and then I checked-in.

Sofia airport SA logo and building Terminal 2

I could bring up to 20 KG with me, ticket costed 326 EUR because I reserved it a bit late (8 days before flight), moreover Sofia -> Warsaw is not very common flight destination from Bulgaria, as not much of Bulgarian citizens live in Poland.

Sofia airport courtesy Terminal 1

The ticket included also a meal and cold-drinks so this also added a bit to high ticket price. Flight was on a very little airplane and though scheduled for 14:40, flight was late and we were in plain about 14:50 and airplane take off around 15:00. By the way the airplane was the smallest one I ever traveled with so far with, very very small one. I think the pilot  was quite professional or the reason was the small plane size but anyways the landing was amazingly smooth. In Warsaw the airport is maybe a bit bigger than Terminal 2 but in general it was easy to orientate take luggage and go out very quickly. The luggage come quite quickly I had to wait for it only few minutes. Then I went directly to bus station and rided on BUS number 175 (there is second possibility to take bus 188) both go to Dworec Centralni Avtogara (Central Bus Station). According to prior instructions I red on the internet it was said to go to bus station Pomnik Lotnika. I tried with this but unfortunately the information to go down on Pomnik Lotnika and took bus 523 is obsolete now. And in order to reach Dw. Zahodny you need to go directly to Dw. Centralni with bus nr. 188 or 175 and then go through a subway on left side and wait on bus station for bus nr. 123 or 125 (not sure the exact nr.). Then Dw. Zahodnyi is only 6 / 7 stops away, I asked some people in English and thanksfully some Polish speak English or at least I can partially understand what they say because their language is close to Russian and Bulgarian. BTW it is very interesting for me as I can understand plenty of what is written on small shops in bus etc. On Dworec Zahodniy Avtogara stop after going down from bus I had to take left direction and in 2 minutes walk it is the West bus Station. There I asked on information if they can give me information whether there is bus Warsaw -> Minsk. The man in kiosk was not speaking English but fortunately he speaks Russian, so I was able to understand I should go out of bus station and stay on the left Pilon waiting for Bus Warsaw -> Minsk. Bus came in 18:30 just like written on the Internet the Bus company was called "ВизитТурс / VisitTurs". I had 1 hr and half to wait for it cause was little earlier on Bus Station. The Platform Nr. Bus stopped is Platform 10.
Just for info for otheres who like to catch such bus on the Internet I read there are bus-es traveling to Minsk  every Wednesday, Friday, Saturday and Sunday in times varying from 18:30 / 19:00 / and 21:00. While waiting for the bus I meet two ppl from Kazakhstan waiting for another bus for Vilnius and had a good chat with them about situation in Kazakhstan  and Bulgaria. I took also a quick meal – from bus station on price even cheaper than Bulgaria (about 2.5 leva – 1.25 euro). In bus all was fine, they took my luggage I placed myself and waited to issue me ticket. I didn't have Zloty (The Polish currency) in me and only euro and at first the bus driver was not happy with that but then he agreed I pay in euro so all went fine. The bus had 2 or 3 quick 15 minutes Rests. Overall travel with Bus from Warsaw Minsk took about 10 hrs, because of some delay and while checking documents on Belarusian Border. As it is normal with crossing Borders by Bus they checked our documents twice once on Polish Border and then on Belarusian one. After crossing Belarusian Border, right after entering the Border Control Police man give me a tiny application form to fill in with information about my stay in Belarus. As well as I had to go to one small kiosk to create Insurance for me (Insurance for month costs 12 EURO). Making the policy took only few minutes, then we had to go down from Bus with our laggage and we waited on a queue with rest of Belarusians to check our documents. This took about 40-50 minutes. Thanksfully all went normal we were back in bus around 3:00 and arrived in Minsk about 07:00. I didn't have Belarusian Rubles (RBL) so I had to change to take a taxi. I asked one person with my bad Belarusian, where from there is a Change Bureau and on my way to it met another Belarusian who was calling for people looking for transportation to some street in Minsk. I spoke a bit with me and offered to change my EURO, changed me 20 euro for 200 000 B. RBL. He was kind enough to call for me a Taxi. He said I should wait for his friend who will bring me to the address I was looking for. I went to a car which was not officially a taxi but just a guy who will bring me to the destionation. In 25 minutes time was to address ul. Kalinovskogo, Dom (block) 93, apr. 43. Here in Belarus all was new for me. My first impressions were Traffic Lights which were unusually thin if compared to ones we have in Bulgaria and rest of EU.

Minsk unusually thin Traffic Lights picture / Unique Traffic Lights

On my way to address I was impressed by a big magnificient Orthodox Church in construction.

orthodox church All saints cHRISTIAN church in construction Minsk Belarus and wooden orthodox church

I was also striked that everywhere all advertisements and everything was in cyrillic. Some in Russian and some in Belarusian Language. Something noticable was also the street was very clean, the construction of most of Buildings were in style of communist countries with (Panel Blocks) just like it used to be in BG when we had communism.

Minsk Panelnij dom panel block Minsk - typical construction for Minsk remains from Communism

Тhough newer constructions looked very modern and very much imitated constructions from Western Europe.

Minsk ZamyK Trade Center Korona one of most modern Minsk Buildings

Something else noticable is here they continued building using (Block Panels) many buildings as I can see some buildings still in construction. It was clear that the city has good infrastructure (transportation system), much better than one I expected as well the country has a functional economy. Bus-es seem like very much a copy of Bus-es in Holland, actually a lot of the things I saw in Minsk seem like copying Holland and Germany.

Minsk transportation by Bus Maz bus

On my way I saw plenty of University buildings, clear sign that education in Belarus meaning education here is on good high level. The most impressing building I saw so far is the building of Minsk National Library.

New National library awesome building Belarus Minsk

Unquestionably this is amazing construction, I had the opportunity on my first day when in Belarus go there and see the old books stored. Amazingly there are books ancient books starting from 10th century onwards. Most of the books were Church books, Ancient Gospels, Faith Codexes plenty of artifacts. There were of coursesome books remains from communism. Something noticable in Minsk is the amount of policy probably in number of times more than in countries in European Union. Since I'm few days already in Belarus I had the chance to see Minsk's Metro which is probably one of city's attractions. In general the Metro was quite cool, there are plenty of communist slogans and statues remains but it looks normal and almost modern.
The feeling in Metro Station is very industrial, as even from going inside the Metro Subway there is a thin smell of machine oil 🙂

Minsk Belarus Metro transportation Uruch

The metro is accessed by using electronic access card similar to old bank (tape cards). Using Metro and bus inside Minsk is very easy. The city is a strange combination of modern culture with communist spirit remains. Though the city is enormous (2 000 000 million population), all seems very relaxed compared to Bulgaria for instance. As far as I interacted with people, I can say people are kind and helpful and very hospitable. A lot of people in Minsk as far as I can see are religious and civilized. Though I've heard people talk about information eclipse in Belarus, I've seen plenty of people who dress very modern like in western countries. I've seen plenty using E-books, Pads and various tech gadgets so it seems technological development of Belarus is on a normal European level. In general what I see here seems much better than what I expected priorly. There is plenty of more things to write which I will probably do in coming days. So far I hope this little article will help someone who needs basic information on traveling from Sofia to Minsk.

It is curious that Bulgarian and Belarusian people have common root as Pre-historic Bulgarians used to be one nation with Pre-Historic Belarusian. Similarity is visible even to now as there are plenty of common words matching or very similar between Bulgarian and Belarusian. More over later from 9th to 12th century Bulgariaused to be Empire and spread near to territory of Belarus. Similarity between Bulgarians and Belarusians is also visible even in country flag colors and country names Bul-garia (ar) / Bel-arus (ar). Even on a country flag level we share the same colors (white / green / red) in different order.

bulgaria national flag similar to Belarusian (white, green, red)

Bulgaria National Flag

Bulgarian national flag similar to Belarusian (red, green, whtie)

Belarus National flag

As a conclusion I should say Belarus and Minsk looks like a lovely normal modern country no matter the bad rumors we hear on the news that they're communist or ruled by a (Dictator) President Lukashenko. Oh one last thing, if you're in Belarus try to avoid to speak bad things or jokes for Lukashenko. As far as I heard there is plenty of tab devices virtually everywhere. Speaking against Lukashenko or the government might lead you to problems with Militia (Police) or even send you in Jail 🙂

How a Ponzi Scheme works – Ponzi the most famous fraudulent network

Monday, March 4th, 2013


Those who are living in ex-communist countries who have been through the so called "Perestroika" – Pre-structuring of economy and in the so called privatization process which is selling factories, land and whateve in a country to a private sector business investors have already experienced the so called "Pyramidal" structure businesses which at the end collapse and left after itself a tens of thousands of cheated "investors" without their capital money. In my homeland Bulgaria, during this pre-structuring which in practice was "destructioning" there was thousands of companies for a very long period of time who somehow used this pyramidal structures to steal people investments which already melted in times because of the severe inflation that invaded the country. Near my city in Dobrich. There was a company called Yugoagent started by a "serbian Pharaoh – a charlatan CEO" whose company was promising extraordinary profit interest for people who invested money in Yugoagent as well as big reduction of prices of all investors to purchase "white technigue" home equipment from Yugoagent stores. What happened was maybe between 10 000 to 30 000 of people because "investors" to Yugoagent led only by the blind faith and personal desire to earn. The interest offered by Yugoagent was more than 10% to money put in, I believe he was offering 30% of interest or so and people easily get into the trap of his pre-determined to collapse company. What happened after was Mirolub Gaich's company survived for few years while some of the "investors" ripped benefits, where the multitude just lost their money because of epochal bankruptcy of YUGOAGENT.… I know even some of my relatives has been fooled into the obvious fraudulent business, because our society in Bulgaria lived in communism and was not prepared to face the sad reality of money only centered economy – the so loudly proclaimed as "just" democracy.

Today there are plenty of companies around the world still opened and operated under the same fraudulent model leaving after their bankruptcy their makers with millions in banks smartly stolen and claimed as company losses right before the collosal company collapse. A friend of mine Zlati, took the time to invest some time to research more into how this fraudulent Scheme works and found some references to wikipedia which explains the Scheme in details. Thus I also red a bit and thought my dear readers might be interested to know also how the scheme works. I believe it is a must for anyone who has the intention to be in business. It is good to know to escape the trap, cause even in Pro and High profit businesses there are companies operating under the same hood. Today there are plenty of online based companies today who are somehow involved into Offshore business or even do some kind of money laundry frauds, while offering beneficial investments in a booming companies. It is useful for even ordinary people to get to know the fraudulent scheme to escape from it. With the worsening crisis, the fraudulent activities and companies that does some kind of fraud to make profit increased dramatically and thus the old but well known fraudulent model is blooming.


How Ponzi scheme works explained in 5 minutes

To know a bit more about the Ponzi scheme as well as the so called "Pyramid" based fraudulent business check in Wikipedia Ponzi scheme

For those lazy to read in Wikipedia, here is extract from it explaining the Ponzi fraudulent Scheme in short

A Ponzi scheme is a fraudulent investment operation that pays returns to its investors from their own money or the money paid by subsequent investors, rather than from profit earned by the individual or organization running the operation.
The Ponzi scheme usually entices new investors by offering higher returns than other investments, in the form of short-term returns that are either abnormally high or unusually consistent. Perpetuation of the high returns requires an ever-increasing flow of money from new investors to keep the scheme going The system is destined to collapse because the earnings, if any, are less than the payments to investors. Usually, the scheme is interrupted by legal authorities before it collapses because a Ponzi scheme is suspected or because the promoter is selling unregistered securities. As more investors become involved, the likelihood of the scheme coming to the attention of authorities increases. The scheme is named after Charles Ponzi, who became notorious for using the technique in 1920.
Ponzi did not invent the scheme (for example, Charles Dickens' 1844 novel Martin Chuzzlewit and 1857 novel Little Dorrit each described such a scheme),[ but his operation took in so much money that it was the first to become known throughout the United States. Ponzi's original scheme was based on the arbitrage of international reply coupons for postage stamps; however, he soon diverted investors' money to make payments to earlier investors and himself.