miscellaneous crap

Debian broken package lists


I experienced little drama with the disk on my laptop. After Fix the problem with apt-get update after the final scour not pleasant end of the process

E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/debian.ipacct.com_debian_dists_sid_contrib_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.

As usual problem is extremely obvious /var/lib/apt/lists/debian.ipacct.com_debian_dists_sid_contrib_binary-i386 can not be read correctly. The fix is ​​as simple as the very diagnosis of the problem:

 rf -f /var/lib/apt/lists/*

Ultimately the result is forced synchronization and apt.

Upgrade to Debian Jessie


The new Debian Stable a fact about a week and hands itched to upgrade virtualkata to it but I had no time today. Since the day I started early, I decided to devote my time to upgrade. Промених сорс листа ми като промених wheezy на jessie

sed -i "s/wheezy/jessie/g" /etc/apt/sources.list && apt-get update

here roared 2 mirrors:

  • MariaDB – on mirror no longer need Jessie includes version 10.0.6 in myself I did not sit well many. then 5.5 michetodb and mysql are not quite consistent because at the time she turned round back to mysql 5.5.42 – it is the default jessie
  • DotDeb – I used it before for php55 here is also unnecessary because Jessie comes with 5.6.7-1

After kicking the extra mirrors and turned round by MariaDB to Mysql apt-get dist-upgrade mine clean, reboot and I had to Debian 8.0. I opened my web server-and to my surprise worked here a long story – a few words Nginx-and I compiled from source further with additional directives. dpkg -l nginx-full 1.2 Yep someone forgot to unhold-not packages. Unhold and upgrade everything is on schedule and nginx-breaking 😆 . Nginx-and work processes queries and php-fpm process is up and runnign but php code is not executed and not spit errors 🙄 my favorites.

After a search of information about the changes I found the following passage

Fastcgi configuration issues ============================

nginx shipped a modified fastcgi_params, which declared SCRIPT_FILENAME fastcgi_param. This line has now been removed. From now on we are also shipping fastcgi.conf from the upstream repository, which includes a sane SCRIPT_FILENAME parameter value.

So, if you are using fastcgi_params, you can try switching to fastcgi.conf or manually set the relevant params.

bingo. I changed the virtual hosts to use fastcgi.conf instead make rude intrusions and everything lit. Then hit a quick diff to see what is the difference between the 2 config

diff /etc/nginx/fastcgi_params /etc/nginx/fastcgi.conf
> fastcgi_param  SCRIPT_FILENAME    $document_root$fastcgi_script_name;

Which reminded me that pouring large configurations in Virtual hosts are cool idea. It remains to be recompiled again Nginx-and-ons who want mod_sec + pagespeed but that can wait. Far more importantly, че правилото ми се повтори ако нямаш огледа от 3-ти източници и кастъм изпълнения Debian не се чупи при dist-upgrade!



След дълго двумесечно обмисляне взех решение да напусна настоящата си работа. Днес ми беше последния работен ден. So far worked for 4 and a half years (roughly) мога да кажа, for me it was hellish pleasure and privilege to work with some of the- best linux administrators in Bulgaria. I worked in one of the largest Internet providers in southern Bulgaria gave me an awful lot of experience, stimulus, thirst for new knowledge and the need for such. I owe everything I have achieved their colleagues who helped me and encouraged me, but there comes a time when one feels not good enough. In the last 1 year stopped loving the place of which live, I stopped feeling those frantic zeal every day to discover the new world to plague my mind some interesting conundrum. Everything was becoming more and more a routine, which is not well.

Terribly I miss my work colleagues for lunch for coffee morning. All I'll miss it but some things just need a change. Me thinks, that is the end point for this. I hope that I took the right decision in before me that this place was like a rock, Nobody has the power to oust me from the position in which I. Now I start with something not radically different activities but to large extent it different than what I was doing. I know more or less everything is an adventure, but how we understand that we are alive. 🙂 can not always safe to play.

Cross my fingers and wish me luck!

Валиден XHTML 1.0


Today leaped lightly to clear all XHTML errors on my main page and now the result is a person absolutely valid code.

The document located at <https://neo2shyalien.eu/> was successfully checked as XHTML 1.0 Transitional. This means that the resource in question identified itself asXHTML 1.0 Transitionaland that we successfully performed a formal validation of it. The parser implementations we used for this check are based on OpenSP (SGML/XML) and libxml2 (XML).

I am satisfied, защото това е една важна част от един експеримент които съм започнал с блога ми от няколко дни. Сега се боря и с скоростта на зареждане, че е доста ниска което не ме радва преди времето беше максимално до 2 секунди сега е около 4 което не е никак добре.

When will we fix


Last week I came home from a weeklong vacation in Netherlands. I thought, that some day will be fine situation in Bulgaria, but I'm not so optimistic. There, the system is extremely well uredena.V Hague more avenues I saw were 2 lanes and the biggest in 3 I never saw brutal traffic. Another shock was exceptional prices on their large supermarkets – very close to Bulgarian. However, minimum salaries start at around 2000 Euros 😀 how you. I thought that the Dutch are cold people – again error. At least the ones I met were very benevolent and tolerant towards foreigners (and). Another nice impression is their low mass construction houses 3 floors 6 families, A very pleasant countryside setting in such a large grad.Horata are smiling and friendly – which is normally still, not burdened by daily rounds that plague the average Bulgarian. Which itself is based on the well-governed system.

This was my first trip abroad for a long time roughly 7 years 😀 world has changed, identity card is sufficient to 2 hours later on 2500 kilometers. Traveling within the EU is more than simple. Already cut evil plans for further destinations – Italy, France 🙂 world is table let's drink together as the poet said,.

p.s In the logic of my thoughts when it will be fine – the answer is never. After completion of the CCNA and decision certificate, think of a good side. Overall outcome of the crisis is one – the first terminal.

Go to Top