Emoncms ready-to-go image MySQL start fails.

Hello,

I've just been trying to set up a Raspberry Pi using the ready-to-go image (emonSD-13-08-14.img). I have dd'ed it to an SD card and when I run the 'rpi-rw' and 'localemoncms-enable' commands following the instructions here (https://github.com/emoncms/emoncms/blob/bufferedwrite/docs/setup.md) I get the following message:

pi@raspberrypi ~ $ rpi-rw
Filesystem is unlocked - Write access
type ' rpi-ro ' to lock
pi@raspberrypi ~ $ localemoncms-enable
update-rc.d: using dependency based boot sequencing
update-rc.d: using dependency based boot sequencing
update-rc.d: using dependency based boot sequencing
update-rc.d: using dependency based boot sequencing
[....] Starting web server: apache2apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
. ok
[FAIL] Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!
Starting redis-server: redis-server.
Log is turned off
Starting RPI

pi@raspberrypi ~ $

I checked syslog and found this amongst others:

Aug 18 08:28:22 raspberrypi mysqld: 140818  8:28:22 InnoDB: Fatal error: cannot allocate memory for the buffer pool

It just occurred to me, is this because I am using one of the old Raspberry Pis (ie. 256MB RAM)? I checked

gapintheclouds's picture

Re: Emoncms ready-to-go image MySQL start fails.

...and then pressed the wrong button :-).

Just remembered that I can change the video memory split so trying it with 16MB video memory now............

...and its solved my problem. I guess I should leave this post for future reference.

Cheers!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.