Problem with the avahi daemon during the boot

Tuesday, 24 November 2009 at 00:23
A small reminder that I'm still alive plus a problem that almost scared me today (technologically speaking).

My Fedora 11 did me a trick and after an "apparently normal" shutdown yesterday, the avahi daemon failed during the boot hanging it on the login page (background image missing and plenty of error messages about the fail installing the daemon).
There were no ways to log in since after entering the password the laptop would have got stuck in an infinite loading machine. The other terminals (Ctrl+Alt+F2...) worked well, but they were almost useless (if not to backup) to me since I am a beginner.

What I did was then load the live cd and search for help over the internet being prepared to backup and re-install Fedora.
There weren't almost any hint on the web on how to solve this problem, if not for some issues with wireless cards, but nothing similar to my problem that completely blocked me from opening my GUI. I was lost.

Looking at these problems, anyway, enlightened me on how effective is the log system in Linux and the common suggestion to solve problems was, first of all and always, looking at the log in /var/log/messages, that is a record of everything Linux does in background or not.
That's how, after few minutes of searching and reading, that I stumbled upon this line:

Nov 23 09:49:01 acer avahi-daemon[1290]: write(): No space left on device
Nov 23 09:49:01 acer avahi-daemon[1290]: Failed to create PID file: No space left on device


That's even too clear. What seemed a serious problem on some damaged part of my distro was, instead, a problem of carelessly leaving the hard-disk with few bytes not even sufficient to start Gnome.

This is just to prove that sometimes problems that seem too complicate, can be solved just looking at a description of what is going on in the machine, given in detail by the machine itself.
Such an elegant service must not be wasted googleing the problem without mercy but, in most of the cases, "problems" can be solved locally using logs, man pages and your brain.

Hope I've learned the lesson!


Edit: thread found on fedoraforum.org (that is an excellent support forum, anyway) about a similar issue.

Problem with Grsync and (partial) remedy

Friday, 2 October 2009 at 01:01

I seize the opportunity of a recent problem with Grsync to talk about it.

Grsync is an useful GUI for the command rsync.
This command is very powerful, since it synchronizes two folders that can be on two different machines, or the same machine. Usually, if on the same machine, rsync is used for backup purposes.
Grsync provides a lot of options to make synchronizations and backups and is really user friendly: it only needs source and destination folders and some options to be set.

The synchronization consists in making the destination folder equal to the source folder.
This is a very common task, since it is common that a folder on a usb stick is used on other PCs and then we want to copy this folder on the PC at home. Copying the entire folder every time will be a slow method, especially if we are handling with gigabytes of data! Copying the files one by one requires a lot of memory and patience. Grsync requires just one click to identify (there are different methods that I will not list, for now) the differences between the two folders and copy only the files different, saving time, memory (human in this case) and cpu.

The Linux Glossary

Wednesday, 30 September 2009 at 01:39
BASH:---
Distribution
:
---
Downgrade: the contrary of an upgrade. It is less common than the upgrade, in fact, it could seem silly to go back to an older version of a software, often with more bugs and less features. Yet, in the Linux world, downgrades are often indispensable, if you try new unstable versions of software and you want to pass to older but stable versions or if a new version have conflicts with other programs.
GUI:
Graphical User Interface - is a tool that bring a command-based program into the graphic mode, allowing to use the mouse and other visual facilities. Basically, everything we see and click is a GUI that allow the user to interact easily with the core of the program. Easy example: file movements can be made using the terminal (with the mv command) or using a GUI (such as Nautilus file browser) with the easy drag and drop.
Man: it stands for manual, and it is a command that shows the manual page for a specific command including syntax, explanations, options and examples. You will be surprised by how often it will help you understanding some commands!
Open Source: is a software with its source code published and free to be modified, and then, improved. There are a lot of advantages using open source software, since it can be modified and debugged by anyone. This term ought not to be confused with "free". A program can be free (of costs) but closed source and viceversa. Yet, an open source program is often free.
Operative System (OS): ---
Upgrade: an upgrade is the action of updating a program (or even a hardware) to a newer version. This will happen a lot with Linux, since it is in continuous development, especially regarding the software open-source.
Yum: yum is a easy-to-use software packet manager for the terminal (there are some GUIs, though) that allows the user to directly and automatically download, install, and keep up to date programs. The list of programs is kept and updated in the repositories. The convenience of this program consists in having all the programs installed and updated under one manager. Some distributions (such as Fedora) have it installed by default.



*** Post in continuous development ***

Summer Inactivity and possible upcoming project

Tuesday, 29 September 2009 at 18:13
I confess that I haven't quite kept up to date this blog recently, and with recently I refer to the past 2 months.
I've been quite busy in a lot of stuff that can be mainly summed up in:
- Relaxing, swimming, sleeping in Campomarino (Italy)
- Installing, configuring, exploring Linux (Fedora 11)
- Coming in London, settle down here and enjoy the short and sweet last days of unconsciousness before the start-up of that machine that has been almost completely off during the entire summer.

Progresso

Sunday, 23 August 2009 at 14:05
La mente è uno degli strumenti più sofisticati di cui disponiamo, ma non lo prendiamo in considerazione e, con un atteggiamento tipico dei nostri tempi "moderni", facciamo fare alla chimica quel che invece potremmo, almeno in parte, far fare alla mente. La chimica è sempre di più la soluzione di tutto. Si è depressi, si è stanchi, si è sterili, si è magri, si è grassi? C'è sempre una pillola inventata - e messa appunto in vendita - per risolvere il problema. Un bambino è agitato? Non serve andare a capire perché. Il Prozac lo calma sia che all'origine della sua irrequietezza ci siano i genitori divorziati che lo trattano come un pacco postale continuamente rimandato al mittente, sia che la scuola cerchi di far di lui quel che lui non è. Il Prozac viene oggigiorno prodotto in confezioni per l'infanzia e negli Stati Uniti decine di migliaia di bambini dipendono ormai dalla somministrazione quotidiana di questo tranquillante per poter funzionare "normalmente".
Lo stesso avviene col dolore. La sconfitta del dolore è considerata una delle grandi vittorie dell'uomo moderno. Eppure anche questa vittoria non è necessariamente tutta positiva. Innanzitutto il dolore ha una sua importante funzione naturale: quella di allarme. Il dolore segnala che qualcosa non va e in certe situazioni il non avere dolore può essere ancor più penoso dell'averlo. Un orribile aspetto della lebbra è che distrugge i nervi capillari dell'ammalato e quello, non sentendo più alcun dolore, non si accorge quando le sue dita sbattono e si spezzano contro qualcosa o ancora peggio, come avveniva nei lebbrosari dei paesi più poveri, quando le dita gli venivano mangiate dai topi, di notte, mentre dormiva.
E poi: eliminando la sofferenza al suo primo insorgere, l'uomo moderno si nega la possibilità di prendere coscienza del dolore e della straordinaria bellezza del suo contrario: il non-dolore. Perché in tutte le grandi tradizioni religiose il dolore è visto come una cosa naturale, come una parte della vita? C'è forse nel dolore un qualche significato che ci sfugge? che abbiamo dimenticato? Se anche ci fosse, non vogliamo saperne. Siamo condizionati a pensare che il bene deve eliminare il male, che nel mondo deve regnare il positivo, e che l'esistenza non è l'armonia degli opposti.
In questa visione non c'è posto né per la morte, né tanto meno per il dolore. La morte la neghiamo non pensandoci, togliendola dalla nostra quotidianità, relegandola, anche fisicamente, là dove è meno visibile. Col dolore abbiamo fatto anche di meglio: lo abbiamo sconfitto. Abbiamo trovato rimedi per ogni male e abbiamo eliminato dall'esperienza umana anche il più naturale, il più antico dei dolori: quello del parto, sul quale da che mondo è mondo si è fondato l'orgoglio della maternità e l'unicità di quel rapporto forse saldato proprio dalla sofferenza. Ma questa è la nostra civiltà. Ci abituiamo sempre più a risolvere con mezzi esterni i nostri problemi e con ciò perdiamo sempre più i nostri poteri naturali. Ricorriamo alla memoria del computer e perdiamo la nostra. Ingurgitiamo sempre più medicine e con ciò riduciamo la capacità del corpo a produrre le sue.

Tiziano Terzani - Un altro giro di giostra (One More Ride on the Merry-go-round, 2004)

Pepe Blog | Entries (RSS) | Comments (RSS) | Designed by MB Web Design | XML Coded By Cahayabiru.com | Modified by giuliopepe