Page 1 of 1

I stopped Nginx and all gone

Posted: Mon Jan 30, 2017 6:45 am
by ozdamar
On Vesta control panel i stopped Nginx and CP become non-accessible, i even couldn't connect via SSH probably because of firewall settings of Vesta (i made limitation of SSH connection to IP before) So i only able to access via VNC connection of my hosting provider, i tried "service nginx restart" but didn't helped

Image

Any suggestion?

Re: I stopped Nginx and all gone

Posted: Mon Jan 30, 2017 7:58 am
by ozdamar
One more thing; before this happen I accidentally run "chown nginx:nginx * -R" on SSH. So maybe i'm having a ownership problem, because when i run "sudo service nginx start" it gives me "sudo: /usr/libexec/sudoers.so must be owned by uid 0"

Re: I stopped Nginx and all gone

Posted: Mon Jan 30, 2017 12:55 pm
by mehargags
using Chown -R without caution can be fatal... and you would need a reinstall in most cases. You can try reverse this with

Code: Select all

chown -R admin:admin whatever_folder_you_changed_permissions_before
nginx for vestaCP backend is separate and gets restarted with
service vesta restart

Did you try rebooting your server ?

Re: I stopped Nginx and all gone

Posted: Mon Jan 30, 2017 2:52 pm
by ozdamar
mehargags wrote:using Chown -R without caution can be fatal... and you would need a reinstall in most cases. You can try reverse this with

Code: Select all

chown -R admin:admin whatever_folder_you_changed_permissions_before
nginx for vestaCP backend is separate and gets restarted with
service vesta restart

Did you try rebooting your server ?
Thank you i tried this and then reboot but didn't worked, now i'm creating a fresh install on different VPS

Re: I stopped Nginx and all gone

Posted: Mon Jan 30, 2017 6:04 pm
by skurudo
ozdamar wrote: Thank you i tried this and then reboot but didn't worked, now i'm creating a fresh install on different VPS
Believe me, it's much faster way for this case.