Wordpress on EC2 responds an error "this site can't be reached" frequently.

0

I am using AWS EC2, and our site is frequently not reached. In the console, I checked the server status using the below command, sudo /opt/bitnami/ctlscript.sh status, and it shows Apache, Mariadb, and PHP-fpm were not running. I need to restart the services frequently to reach the site.

3개 답변
0

What about Increasing the size of the instance? I had a issue similar, I increased the instance size to t2alarge and it solved my issue.

답변함 8달 전
  • My Instance size is T3 Large and i have a free space also.

  • Can you give some other solution for this because my instance size is T3 Large and i have a free space also

0

Hello.

Is autostart enabled with the following command?
If the system does not start even if autostart is enabled, it is necessary to check the system logs to find the cause of the stoppage, etc.

sudo systemctl enable httpd
sudo systemctl enable mariadb
sudo systemctl enable php-fpm
profile picture
전문가
답변함 8달 전
  • I am running the above commands, but it shows the error, can you please clear this Failed to enable unit: Unit file httpd.service does not exist. Failed to enable unit: Unit file mariadb.service does not exist. Failed to enable unit: Unit file php-fpm.service does not exist.

0

why don't you run those service commands, after you do sudo su, see if that works, could be permissions issue !

profile picture
Kazman
답변함 8달 전
  • I tried this after using sudo su, but the above issues exist.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠