Raspberri Pi Installation failed


I tried to install Homegear on my Raspberry PI B+.
I followed the installation instructions (apt-get method) and everything seemed to work well.
However the homegear service refuses to start saying:

chmod: Zugriff auf „/var/lib/homegear/db.sql“ nicht möglich: Datei oder Verzeichnis nicht gefunden
/etc/init.d/homegear: Zeile 51: 18443 Speicherzugriffsfehler  $DAEMON -c $CONFIGPATH -s $RUNASUSER $RUNASGROUP
[....] Starting Homegear: homegear/etc/init.d/homegear: Zeile 51: 18450 Speicherzugriffsfehler  start-stop-daemon --start --quiet --oknodo -c $RUNASUSER -g $RUNASGROUP --pidfile $PIDFILE --startas $DAEMON -- -p $PIDFILE $HOMEGEAR_OPTS

I uninstalled and re-installed homegear. No luck. Uninstalled again, added all packages from the list on the installation page -> reinstalled. No luck either.
The file /var/lib/homegear/db.sql does not exist. However the directory exists and there are several other files and dirs in there.

Any help is appreciated !



Sorry - never mind !

It was a simple mistake. I have installed from the debian repository instead of raspian.

The service is working now.


I made the same mistake today. Shit happens.