Help with "Check that you can ping the server mysql"

ah, thanks for trouble shooting that, any additional help would be greatly appreciated!

First thing Iā€™d try is connecting to the OpenEMR docker and seeing if thereā€™s an issue with your Apache logfiles ā€“ there might be a lot of them, if thereā€™s no rotation.

Failing this, you can increase the size of the EBS volume attached to the EC2 instance, and then extend the file system to make use of the additional space. See the Amazon documentation (or the support forums) for more information about this process.

1 Like

so @susmitahunter, reconnect to the openemr docker and run the below to see the size of the files

/var/www/localhost/htdocs/openemr # ls -lrt /var/log/apache2/
/var/www/localhost/htdocs/openemr # ls -lrt /var/log/apache2/
total 359932
-rw-r--r--    1 root     wheel            0 Apr 28  2018 ssl_request.log
-rw-r--r--    1 root     wheel            0 Apr 28  2018 ssl_access.log
-rw-r--r--    1 root     wheel         6908 Sep 18 13:38 ssl_error.log
-rw-r--r--    1 root     wheel     88104960 Sep 20 12:43 error.log
-rw-r--r--    1 root     wheel    280445360 Sep 20 13:58 access.log

try this

/var/www/localhost/htdocs/openemr # : > /var/log/apache2/access.log

the command includes the :
: > /var/log/apache2/access.log

I put in the command as you have it, no errors, but it didnā€™t output anything

rerun the long list,

/var/www/localhost/htdocs/openemr # ls -lrt /var/log/apache2/
total 86052
-rw-r--r--    1 root     wheel            0 Apr 28  2018 ssl_request.log
-rw-r--r--    1 root     wheel            0 Apr 28  2018 ssl_access.log
-rw-r--r--    1 root     wheel         6908 Sep 18 13:38 ssl_error.log
-rw-r--r--    1 root     wheel     88104960 Sep 20 12:43 error.log
-rw-r--r--    1 root     wheel            0 Sep 20 14:31 access.log

do the same with the error_log
: > /var/log/apache2/error.log
and then exit back to the bash root shell and run
root@ip-10-0-1-118:~# docker restart d05167f16b1f
and you should be up and running again :slight_smile:

ps it might be docker start d05167f16b1f since itā€™s not running

1 Like

omg, it works. I cannot express how thankful I am, I could kiss you, this has been such a burden operating for the past week without it. Thank you so very much for practically holding my hands through this process.

I honestly have just been copying the commands through with only a vague idea of what/why I was doing itā€¦ but I take it the log file just got too large and that was why there was a space issue? I also had a problem doing the backup through openemr last wednesday, and Iā€™m guessing that was related to this as well.

Again, thank you so much, youā€™re a life saver! I know itā€™s tedious to spell things out for me through this, so thank you again!

1 Like

no prob, :blush:, itā€™s going to be helpful for others who encounter this issue since the logs arenā€™t rotating yet. Also, in the not too distant future we should help you to a larger ec2 instance since your database is healthy and growing

1 Like