flyersa / MuninMX-Frontend

Frontend for MuninMX
5 stars 1 forks source link

Error Connecting to database #6

Closed npolite closed 8 years ago

npolite commented 8 years ago

Hello,

I'm having an issue where I tried to change the debug level from INFO to WARN and after restarting MuninMX, I am getting an error in the logs mentioning unable to connect to the database. I see that Tokumx is running as well as mysqld. Can you help out?

2016-01-15 09:21:41,099 ERROR Error in dbUpdatePlugin: null 2016-01-15 09:21:41,099 ERROR Error in dbUpdatePlugin: null 2016-01-15 09:21:41,099 ERROR Error in dbUpdatePlugin: null 2016-01-15 09:21:41,099 FATAL Error connecting to database: Could not create connection to database server. Attempted reconnect 10 times. Giving up. 2016-01-15 09:21:41,099 FATAL Error connecting to database: Could not create connection to database server. Attempted reconnect 10 times. Giving up.

Also the online documentation doesn't mention about what exactly the logging levels do. When you select a level such as WARN, I assume that it will include all levels to the right of it such as ERROR and FATAL...it would be helpful for some additional information on what it would include and not include with each level.

Thanks, Nick

npolite commented 8 years ago

I found the issue. Seems to have been a mysql max connection error. I increased the max_connections in the my.cnf, restarted mysqld and now everything works again.

Nick