1) The first issue looks like a problem with the backup file...... but it is not. Message:
** (myloader:42526): CRITICAL **: cannot open file vcadminweb.message.sql.gz (24) * (myloader:46190): CRITICALIn my case, I needed to check and to change the open files:
ulimit -n 10000 ..... and solved!2) The second one looks like a problem accessing to the database.... but it is not. Message:
**: Error switching to database CMSB076 whilst restoring table multidevicevideo_playersIn my case, it was a timewait very low in the mysqld config.
wait_timeout = 300solved the issue for me.
Thanks for this post! I was getting the "Error switching to database" error, the wait_timeout fix worked for me too
ReplyDeleteHey Paul... i am happy for you. It's great. Finally this post was useful for someone.... hehehe!
DeleteGood day,
ReplyDeleteI was wondering if you could help me with the following error message:
(myloader:15722): GLib-ERROR **: /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmem.c:165: failed to allocate 1073741824 bytes
I get this every time I do a restore of the database and then MySQL rolls back the information updated and myloader loses connection to the server.
I was only the packager. Currently I am not using it ever. It seems something like a memory limit. Did you check it loading only one table?
DeleteIt does it with two different table, both containing binary data in the tables.
DeleteRestoring it on the server it was backed up on works fine. I transfer the data to another AWS instance and restore there for a testing platform and then it bombs out with the restore.
Both servers are running Ubuntu (14.04 and 16.04) for production and test, respectively. I have checked in top at the time it failed and the server did have sufficient memory available at the time it failed.
Great insights! I really appreciate how clearly you’ve outlined the topic. Your post has provided some valuable clarity. Thanks for sharing!
ReplyDeleteCheck the logs for more details, ensure your MySQL HostMyCode connection settings are correct, and validate your data source configuration.
ReplyDelete