Closed linwiz closed 9 years ago
Commited 9f9b007379b09be9e783ac713dc821eab35bd9b7 as a possible fix for the Usage: gpio errors, not sure of the cause yet but possibly related to the mysql error
got the commit seems to work here
Appears to be fixed.
Received more errors last night.
{ajax} /www/gpio$ ERROR 2013 (HY000) at line 1: Lost connection to MySQL server during query ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run /mysqld/mysqld.sock' (111) ... ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run /mysqld/mysqld.sock' (111) ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run /mysqld/mysqld.sock' (2) ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run ... ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run /mysqld/mysqld.sock' (2) {ajax} /www/gpio$ * glibc detected * mysql: corrupted double-linked list: 0 xb7aeaee0 ***
Logs were under rotation so mySQL server was stopped for 2-3sec
That may be hard to fix then. Also I wonder why it is polluting my terminal though and not going into a log file.
Just the idea check it out.
mySQL should allow the logs to rotate without stopping itself.
Possible fix for mysql errors at commit 8f4c00772d4d34a845dd93203e0457bea2a2e879
I received random errors last night while the GPIOServer was running but no changes were being made to the pin status.
mysql: error while loading shared libraries: libpthread.so.0: failed to map segment from shared object: Cannot allocate memory Usage: gpio mode pin mode Usage: gpio mode pin mode Usage: gpio write pin value