How can solve the problem of accidentally deleted var directory of Ubuntu amazon aws server.My website down right now.Support from amazon is paid service I am new to Ubuntu Hosting and unable to pay for support. Please help
There's usually some important stuff in
/var, if you have a backup now would be a good time to restore. Or even reinstall Ubuntu and then restore your data from a backup.
It might be possible that your system will still boot & run after deleting
/var, but since you're having problems now...