skip to Main Content

I have executed the following on SSH on my Centos 7 VPS following a tutorial

sudo yum install epel-release -y
sudo yum update -y
sudo shutdown -r now

After which all my websites hosted on the same VPS went down and are giving connection error.
I am still able to connect to SSH and Plesk however. I am unable to get help from my hosting company as they said it is my sole responsibility.

How can I approach to solve this issue? (Note: I am beginner to SSH.)

2

Answers


  1. Chosen as BEST ANSWER

    I have resolved the issue by restarting NGINX and APACHE, apparently it was a conflict between the 2 after restart and has nothing to do with sudo installation. For Centos 7

    systemctl stop nginx.service
    systemctl restart httpd.service
    apachectl graceful
    systemctl restart nginx.service
    

    I followed the guide from this page https://wpguru.co.uk/2015/04/how-to-fix-apachenginx-trouble-after-restarting-your-plesk-server/ in case anyone needed it.


  2. Restart the servers:

    sudo service httpd restart
    sudo service mysqld restart
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search