Posts Tagged ‘candidate’

How to get rid of “PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib/php5/20090626/suhosin.so'” on Debian GNU / Linux

Tuesday, October 25th, 2011

PHP-warning-how-to-fix-warnings-and-errors-php-logo

After a recent new Debian Squeeze Apache+PHP server install and moving a website from another server host running on CentOS 5.7 Linux server, some of the PHP scripts running via crontab started displaying the following annoying PHP Warnings :

debian:~# php /home/website/www/cron/update.php

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/suhosin.so' – /usr/lib/php5/20090626/suhosin.so: cannot open shared object file: No such file or directory in Unknown on line 0

Obviously the error revealed that PHP cli is not happy that, I've previously removes the suhosin php5-suhosin module from the system.
I wouldn't have removed php5-suhosin if sometimes it doesn't produced some odd experiences with the Apache webserver.
To fix the PHP Warning, I used first grep to see, where exactly the suhosin module gets included in debian's php.ini config files. debian:~# cd /etc/php5
debian:/etc/php5# grep -rli suhosin *
apache2/conf.d/suhosin.ini
cgi/conf.d/suhosin.ini
cli/conf.d/suhosin.ini
conf.d/suhosin.ini

Yeah that's right Debian has three php.ini php config files. One for the php cli/usr/bin/php, another for the Apache webserver loaded php library/usr/lib/apache2/modules/libphp5.so and one for Apache's cgi module/usr/lib/apache2/modules/mod_fcgid.so .

I was too lazy to edit all the above found declarations trying to include the suhosin module in PHP, hence I remembered that probably all this obsolete suhosin module declaration are still present because probably the php5-suhosin package is still not purged from the system.

A quick check with dpkg , further strenthened my assumption as the php5-suhosin module was still hanging around as an (rc – remove candidate);

debian:~# dpkg -l |grep -i suhosin
rc php5-suhosin 0.9.32.1-1 advanced protection module for php5

Hence to remove the obsolete package config and directories completely out of the system and hence solve the PHP Warning I used dpkg –purge, like so:

debian:~# dpkg --purge php5-suhosin
(Reading database ... 76048 files and directories currently installed.)
Removing php5-suhosin ...
Purging configuration files for php5-suhosin ...
Processing triggers for libapache2-mod-php5 ...
Reloading web server config: apache2.

Further on to make sure the PHP Warning is solved I did the cron php script another go and it produced no longer errors:

debian:~# php /home/website/www/cron/update.php
debian:~#

How to get rid of Debian and Ubuntu GNU / Linux obsolete configuration files and system directories

Wednesday, October 19th, 2011

debian_ubuntu-linux-get-rid-of-obsolete-files
I've been using Debian GNU / Linux on my Thinkpad laptop for almost 3 years and half. Initially the Debian version which I had installed was a stable Debian Lenny. As I was mostly dissatisfied of the old versions of the programs, I migrated to testing / unstable
Testing / unstables shipped program versions were a bit better but still back in the day I wanted to get advantage of the latest program versions so for a while I switched to unstable .
Later I regretted for this bad idea, after the migration to Unstable, it was too buggy to run on a notebook one uses for everyday work.
Then to revert back to a bit stable I downgraded to testing unstable again.
When Debian launched Debian Squeeze I set in my /etc/apt/sources.list file software repositories to be the one for the stable Debian Squeeze.

As you can see, I've done quite a lot of "experiments" and "excersises". Many packages were installed, then removed, some became obsolete with time others I just temporary installed out of curiosity. Anyways as a result I ended up with many packages uninstalled / removed , which still kept some of their directory structres and configurations on the machine.

Today, I decided to check how many of these obsolete packages are still present in dpkg database and I was shocked to find out 412 debs were still in my package database! To check the number I used cmd:

root@noah:~# dpkg -l | grep -i '^rcs.*$'|wc -l

Considering the tremendous number of packs waiting to be purged, I decided to get rid of this old and already unnecessery files for the sake of clarity, besides that removing the old already uninstalled packages removes old configuration files, readmes, directories and frees some little space and therefore frees some inodes 😉

Before proceeding to remove them, I carefully reviewed and all the package names which I was about to completely purge in order to make sure there is no package with a configuration files I might need in future:

root@noah:~# dpkg -l |grep -i '^rcs.*$'
...
After reviewing all the deb packages possessing the rc – (remove candidate) flag, I used the following bash one liners to remove the obsolete deb packages:

root@noah:~# for i in $(dpkg -l |grep -i '^rcs.*$'|awk '{ print $2 }'); do echo dpkg --purge $i done...
root@noah:~# for i in $(dpkg -l |grep -i '^rcs.*$'|awk '{ print $2 }'); do dpkg --purge $i done

First line will just print out what will be purged with dpkg , so after I checked it out I used the second one to purge all the RC packs.

35 years passed since first Bulgarian Аstronaut visited open space (cosmos)

Thursday, April 10th, 2014


soyuz-33_spaceship_pad
On 10th of April 1976 in 20:34 mins Moscow time from Boikonur Cosmodrome was launched s spaceship "Souyz-33 / Union-33" . On spacecraft flies 3 cosmonauts part of the space program Inter-cosmos, one of which is the Bulgarian cosmonaut and explorer Georgi Ivanov. Georgi Ivanov became the first Bulgarian who the leave planet earth, becoming the first space visitor with Bulgarian nationality.

Georgi_Ivanov_first-Bulgarian-cosmonaut

Ivanov spend in space 1 day 23 hours and 1 minute, after that the capsule landed in 320 km south-easy from Jezkazgan (Khazakhstan).
For his short stay in space in Earth's orbit Ivanov made 31 full turns around Planet Earth. With his flight to space Bulgaria joined the elite club of  "austranaut nations", making Bulgaria the sixth nation in world who sent representative in space.

syiuz-33-mission-logo-stamp

Flight mission's goal was linkage of their spaceship with orbital station "Salute-6" but because of technical malfunction "Syiuz 33"s moving with higher than forecasted and speed autoamtic correction system turns on which damages part of fuel camera, making necessary to cancel the flight.

Georgi-Ivanov-cosmonaut-with-russian-colleague-soyuz

Returning home on Earth he was awarded with medals "Hero of the USSR" and "Hero of Republic Bulgaria"
Nevertheless the mission was unsuccesful and dangerous Ivanov's pulse during all flight kept normal.

Georgi Ivanov is born in Lovech on 2-nd of July 1940 in family of Anastasia Kakalova and Ivan Ivanov Kakalov.During his school years he excercised parachutism, graduating in high-school "Todor Kirkov" Lovech in 1958.

Ivanov entered Bulgarian army in 1958 graduated Military school in Dolna Mitropolia (1964) with specialty of flight engineer and a pilot of class 1.
He served in Bulgarian National Army as a pilot, senior pilot, commander  and a squadron commander. In 1984 he defended his thesis and received a science degree "candidate of physics sciences". Georgi Ivanov is currently 73 years old. Nowadays Ivanov's birthouse in qr. "Varosha" is of historical importance and is preserved as a museum.

The fact that we Bulgarians have a cosmonaut is a great pride for me and all of us Bulgarians. Let us not forget our heroes and patriots and know our history.

Palm Sunday day feast in Bulgareevo (Bylgareevo) – A Pilgrimage Journey to venerate a particle of the life giving cross

Sunday, April 17th, 2011

palm sunday cvetnica orthodox icon

I’m just coming back from the Bulgareevo (a small village cituated nearby Kavarna).
Bylgareevo is a middle size bulgarian village situated near the sea and is not famous with anything significant.
The village has two Orthodox Church temples and a serving Priest (an Archimandrite, father Metodii).
Father Metodii is one of this priests that is a person to remember as he is a truly devoted to Christ monk. Since about two years of time he has reconstructed his local village house and the yard nearby the house into something which hopefully in the short future will become a fully monk inhabited spiritual fortress (A Monastery).
Father Metodii lives and believes part of his service to God constitutes in rising this small monastery and gathering together Bulgarian believers in order to further rise up the Bulgarian faith in Christ and to become a center for spiritual pilgrimage.

The monastery already has a monastery bell, a monks cells and the small chapel (parakles/paraklis) prepared to be as a place for monks pilgrimage.

Father Metodii’s efforts to make the monastery an attractive place for future candidate novice Monks and Monks are truly genuine!
All he has done by so far is a good example for all us the Christians to follow. Most of the expenses related to the Monastery building are being paid by the Father himself as he has donated all his possession to the Church.
As part of this efforts to rise up the place as a place for spiritual pilgrimage by God grace Bylgareevo’s monastery has been granted the honour to contain a particle of the Holy Live giving Cross Tree on which our Lord Jesus Christ has been crucified.. By God’s mercy the Patriarch of Jerusalem and the local national museum has donated two particles of the Holy Cross on which our Lord Jesus Christ was Crucified and suffered for our sins.

Now the holy crucifixion cross remains particles are being kept in the Monastery’s small chapel for pilgrimage. Thus the opportunity for a pilgrimage journey to Bylgareevo on this day of great spiritual joy Palm Sunday was a huge blessing for me and the few more brothers and sisters with whom we traveled to Bulgareevo
Below I present you with a picture on which you can see Father Metodii (Methodius) holding in hands the small particle of the Crist’s Crucifixion cross tree (embedded in the center of the wood cross on the picture).Father Methodius holding a cross containing a particle of the cross on which the Lord Jesus's Christ was crucified

The name of the village Bulgareevo is also really interesting as it’s a direct direvative from the word Bylgariq (which translates as Bulgaria).
Along with the two particles of the Holy life giving Cross where the saviour Jesus Christ was crucified, father Metodii has collected some great saint relics, just to name a few of the relics which are in the newly built monastery in Bulgareevo; holy relics of saint Panteleimon, holy Relics of Saint John of Rila etc.

Now going back to Palm Sunday‘s feast essense, Palm Sunday is among the 12 Church feasts in the Orthodox Churches, we use to call (The Lord’s feasts [Gospodski Praznici]), and thus is one of the 12 feasts which are most spiritually richful for Bulgaria as an Orthodox Nation and for all other national Orthodox Churches around the world.

Palm Sunday is always celebrated on the Last Sunday before the beginning of “the passionate week”, the week in which we who believe in Christ’s name remember the great trials and suffering our Lord and Saviour Jesus Christ has carried for the salvation of all Christians.

Palm Sunday is the feast in which we as we read in the Gospel readings in the Church, commemorate Christ’s entrance in Jerusalem on a small donkey.
Here is a small chunk of the Gospel reading for the day:

They took palm branches and went out to meet him, shouting, "Hosanna!" "Blessed is he who comes in the name of the Lord!" "Blessed is the King of Israel!"

In this scripture text as we read above the people were glorifying God and Christ as the son of the God in accordance to the Old testament scriptures in which it was prophecised that the Saviour of Mankind (The Messiah) would walk in through the entrance doors of Jerusalem riding a donkey.
People who were present observing the Lord’s entrance were witnessing the fulfilment of the old testament psalms prophecies by glorifying the Lord.

This were the same people which just a week later were screaming “crucify” him …

On Palm Sunday it is a Church tradition in the Bulgarian Orthodox Church that willow branches are being blessed by the priest and then distributed among layman as a blessing and a remembrance of the Palms which were layed upon the Lord’s entrance in Jerusalem.

Later on we took the willow branches in our homes and place it in our home icon-stands (the place with the icons we use for a prayer to God).

The use of willow branches in our Church has been established through the years as a Palm Trees substitute as the Palm tree does not grow in the Bulgarian lands

In Bulgaria Palm Sunday is known as Tsvetnitsa. People with flower-related names, (for example Tzviatko, Margarita, Lilia, Violeta, Yavor, Zdravko, Zjumbjul, Nevena, Temenuzhka, etc.) has a name day on that date.
It’s a pity that many bulgarian people who are baptized in our Bulgarian Orthodox Church, fails to understand the symbolic meaning of the willow branches and doesn’t really understand the essence of the Church feast but just go to Church to light up a candle “to have a good fortune and health”., usually mostly missing the spiritual importance for us the Christians of this feast.. but I hope things would get better with time and more Bulgarians who lost their roots during communism will come back to their ancient faith the Orthodoxy.

I recommend to all Orthodox Christian believers from Bulgaria, Romania and Russia who has the oportunity to visit Bulgaria as a tourist destination or on any other occasion to visit Bylgareevo and do a pilgrimage journey to Bylgareevo newly constructed monastery containing the holy relicts.

You will receive the great spiritual blessing of venerating the particle of the cross on which our Lord Jesus Christ’s most holy body was hanging on!
The cross on which the redemption of mankind was achieved by God’s son 2010 years ago!
The cross on which we have received a forgiveness of our sins!
I thank the Lord for having this good blessed day and I pray that we all who believe in his name come to the understanding to know his as he knows us!