WordPress can’t establish connection with DB

I just got an error message coming from wordpress saying on the index page that the connection to the database is not possible. I expected a problem in the connection chain but the real issue was related to a corrupted table in the database.

This as been fixed by repairing this table. So take care of the messages that can be wrong in the index page. The message in the admin index page was better concerning this point.

Restoring a grub2 bootloader broken

After I had to change a hard drive for another my linux Opensuse 12.2 grub bootloader was broken, here are some of the learning of this debugging phase :

– Restore grub to the new disk

– Start kernel manually

– Fix hard drive references

At the end, the process to recreate the bootloader and particularly to recreate the initrd file was broken, and I assume bugged. To really make it works, I had to update the whole Linux and again at the end of the process the booloader based on grub2 was impossible to execute. The solution was to select Grub (version 1) and it worked. I assume it was possible before update the whole distribution to use yast2 booloader and choose grub instead of grub2.

When you get a message like waiting for device … to apear at boot, it may be because of the initrd does not contain the right modules to access the hard drive. It appears when the motherboard has been changed.

This article is mostly notes taken during this debugging phase … so do not consider it as an howto but as a list of command and possible way to debug this kind of issues…

Continue reading

Idea of the day – virtual local shopping platform

The purpose of this idea is to make a middle step between local physical shopping and Internet shopping. The problem of local & physical shopping is that you have to go to multiple place with your car to get advice and product, when you go to the shop you never sure to find what you are looking for, but if you find it, you can immediately get it.

On Internet shopping, it’s hard to get advice, you have to deal with technical description by yourself and depend on the product category it is more or less easy. Once you finally find a product you want, you need to wait at least half a week to get it.

The idea is to have a new type of on line shopping where you can easily discuss (vocally) with someone to find the right references regarding the type of need you have and your budget. The distant person providing you the advice would be able to show you the product by doing a kind of web conference where he will navigate through the shop website to show you the products. Then you would be able to place an order and to take your car to take it directly like a driving classical shop.

As all the idea in this category, feel free to comment, and develop, if you become rich with it … don’t forget to help me paying my house !

Promiscious mode wifi capture on iMac with Atheros 5416

Sound a old hardware, but as it is not the first time I have issue to dump (tcpdump or wireshark) wifi connection on promiscuous mode, I prefer to write it once of all … It is not working !!!

If any of you have a solution to make it works, I’ll be happy to update this post. For the others, I expect you will loss less time searching and trying.

I’ve try to change the rights on the /dev/bfp* devices

I’ve try to use tcpdump -i en1 host xx.xx.xx.xx instead of wireshark

And at the end, I finally just got the broadcast traffic and the local traffic.

 

Idea of the day – micropayment to consult blog and article

The purpose of this idea is to propose an alternative to advertisement to finance websites and blogs. I my point of view, the problem is not to pay to read an article, when the quality is good enough, the problem is the way to pay. When you subscribe to a website you generally have to do it monthly, even if you are not interested by the whole content. As a consequence, the price is high and not adapted to the classical web surf jumping from a site to another.

The idea is to have a wallet easily accessible, like a paypal system we could use to pay to watch an article or to consult a website a limited time like 1min or 1hour or more. The price should be a couple of cents to replace the ads system. The system must be standard and widely used to make sense. Article could be accessed only after paying or free but easily congratulated by a donation.

It really looks paypal, but able to do quickly transactions for 0.01$ or less with a pre-founded account.

As all the idea in this category, feel free to comment, and develop, if you become rich with it … don’t forget to help me paying my house !

Idea of the day – dropbox for parcels

With web commerce, we are actually facing the difficulty to get our parcels at home, some are requiring signatures, some are too big and the transporter (ups, fedex, post) never come the right time. They come again and at the end we need to go to get our parcel. There are some shops where we can get parcel also, but they are rare, closed on monday, closed after 7pm …

The purpose of this idea is to have safes where parcels can be delivered. This dropbox can be owned by a post office, a transporter, a shop or an individual person. All will be referred in a system and what you will have to do is to choose a space in the nearest from your home. Reserve it for a period, obtain a secret code to open it and put this address and this code as the delivery address for your parcel. The transporter will let the parcel in, then you will use another personal code to open it a second time and get your parcel.

This service will have a cost for the user and could also have a cost for transporter as it simplify the delivery process be limiting the number of retry. The idea is to make it a viable model to cover the investment of the drop box in a reasonable time.

As all the idea in this category, feel free to comment, and develop, if you become rich with it … don’t forget to help me paying my house !

Idea of the day : meeting room auto configuration

The purpose of this idea is to locate a professional laptop inside a meeting room to automatically setup the video, audio connectivity to the equipment of the room. The solution would be fully wireless, based on wifi connectivity to room equipments. On the laptop a specific software allow to take control of the video, audio to start conferencing. This can also be coupled to a video conference to help connection. This could also be used for locating users by populating location information given by the IM systems. All of this could be based on wifi for location detection and device connectivity but the location precision is an important thing so other external system could be imagine even if they make it more complex to deploy.

As all the idea in this category, feel free to comment, and develop, if you become rich with it … don’t forget to help me paying my house !

Idea of the day – get road status from tires

This is about making a system, able to measure the state of the road like water, snow, ice and locate it precisely. These information would be transmitted, for example using bluetooth to the driver cell phone, then publish on a central website. This website will then share the data to alarming systems and GPS system to send alerts before you reach a dangerous zone. The GPS will also be able to propose you a safer road than the direct one.

As all the idea in this category, feel free to comment, and develop, if you become rich with it … don’t forget to help me paying my house !