昨天突然发现博客无法访问,报500数据库错误,可是用SSH登录终端的时候发现无法连接SSH,用Console 等上去后发现SSHD服务没起来报   

Starting sshd:/var/empty/sshd must be owned by root and not group or world-writable


chown  -R  root.root  /var/empty/sshd
chmod 744 /var/empty/sshd
service sshd restart


/usr/local/mysql/bin/mysqld: File ‘./mysql-bin.~rec~’ not found (Errcode: 13)
160910 11:01:27 [ERROR] MYSQL_BIN_LOG::open_purge_index_file failed to open register file.
160910 11:01:27 [ERROR] MYSQL_BIN_LOG::open_index_file failed to sync the index file.
160910 11:01:27 [ERROR] Aborting

到数据库文件夹看了一下有很多www的所属.于是执行 chown -R mysql:mysql 数据库目录   重启mysql。成功启动。网站也进去了~


106 条评论

  1. Appreciating the time and energy you put into your site and in depth information you offer. It’s awesome to come across a blog every once in a while that isn’t the same outdated rehashed material. Great read! I’ve saved your site and I’m including your RSS feeds to my Google account.

  2. excellent points altogether, you just gained a new reader. What would you suggest in regards to your post that you made some days ago? Any positive?

  3. Hi, just required you to know I he added your site to my Google bookmarks due to your layout. But seriously, I believe your internet site has 1 in the freshest theme I??ve came across. It extremely helps make reading your blog significantly easier.

  4. There is noticeably a bundle to know about this. I assume you made certain nice points in features also.

  5. Very nice info and straight to the point. I don’t know if this is truly the best place to ask but do you people have any thoughts on where to get some professional writers? Thanks 🙂

  6. website here

    My brother suggested I might like this blog. He was once totally right. This put up truly made my day. You can not believe just how so much time I had spent for this information! Thank you!

  7. click here

    I went over this site and I think you have a lot of fantastic information, saved to favorites (:.

  8. next page

    I know this if off topic but I’m looking into starting my own weblog and was curious what all is required to get setup? I’m assuming having a blog like yours would cost a pretty penny? I’m not very internet savvy so I’m not 100 certain. Any suggestions or advice would be greatly appreciated. Cheers

  9. go to website

    My husband and i ended up being very thankful when Ervin managed to carry out his inquiry from the ideas he came across out of your blog. It is now and again perplexing just to choose to be giving freely secrets which usually people have been trying to sell. So we discover we’ve got the blog owner to give thanks to because of that. The explanations you made, the straightforward web site navigation, the friendships you will assist to promote – it’s got everything exceptional, and it is aiding our son and our family reason why the topic is enjoyable, and that is incredibly pressing. Many thanks for everything!

  10. basics

    Excellent blog here! Also your web site loads up fast! What web host are you using? Can I get your affiliate link to your host? I wish my website loaded up as fast as yours lol

  11. Outstanding post, you have pointed out some superb points, I besides think this s a very wonderful website.

  12. useful link

    I admire your work, regards for all the useful blog posts.

  13. useful site

    I would like to express my appreciation to this writer for bailing me out of this dilemma. As a result of surfing throughout the online world and seeing methods which are not powerful, I was thinking my life was done. Being alive without the presence of strategies to the issues you’ve resolved by means of your main blog post is a crucial case, and the kind that could have in a negative way affected my entire career if I had not discovered the website. Your primary know-how and kindness in controlling all the things was tremendous. I don’t know what I would have done if I hadn’t discovered such a stuff like this. I can also now look ahead to my future. Thank you very much for your professional and effective guide. I will not be reluctant to endorse the blog to any individual who ought to have guide about this problem.

  14. find out here

    I’m still learning from you, as I’m trying to achieve my goals. I definitely love reading everything that is written on your website.Keep the tips coming. I loved it!

  15. follow this

    You are my aspiration, I possess few blogs and very sporadically run out from post :). “To die for a religion is easier than to live it absolutely.” by Jorge Luis Borges.

  16. click resources

    Hiya, I’m really glad I’ve found this information. Today bloggers publish only about gossips and net and this is really irritating. A good blog with interesting content, that’s what I need. Thank you for keeping this website, I will be visiting it. Do you do newsletters? Can not find it.