昨天突然发现博客无法访问,报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。成功启动。网站也进去了~


58 条评论

  1. all the time i used to read smaller articles or reviews that as well clear their motive, and
    that is also happening with this post which I
    am reading at this time.

  2. Hmm it looks like your site ate my first comment (it was extremely long) so I guess I’ll
    just sum it up what I wrote and say, I’m thoroughly enjoying your blog.
    I too am an aspiring blog writer but I’m still new to the whole thing.
    Do you have any suggestions for novice blog writers?
    I’d really appreciate it.

  3. Awesome! Its really amazing piece of writing, I have got much clear idea on the topic
    of from this piece of writing.

  4. Yes! Finally someone writes about quest bars cheap.

  5. minecraft games

    Magnificent items from you, man. I have be mindful your
    stuff prior to and you are simply too great. I really like what you have got here, certainly like what you’re saying
    and the way wherein you are saying it. You make it enjoyable and you still care for to stay it smart.
    I can’t wait to read much more from you. This is really a great web site.

  6. minecraft games

    Good answer back in return of this question with firm arguments and describing the whole
    thing about that.

  7. minecraft games

    Your mode of explaining everything in this piece of writing is in fact fastidious, every one be capable of effortlessly know it, Thanks a lot.

  8. minecraft games

    Howdy! This post couldn’t be written any better!
    Reading through this post reminds me of my old room mate!
    He always kept chatting about this. I will forward this
    page to him. Pretty sure he will have a good read. Thank you for sharing!

  9. Ahaa, its fastidious conversation on the topic of this
    paragraph here at this web site, I have read all that, so at this time me
    also commenting here.

  10. Paragraph writing is also a fun, if you be familiar with then you can write if not it is difficult to write.

  11. Pretty part of content. I just stumbled upon your blog and in accession capital to claim that I get
    in fact enjoyed account your weblog posts. Anyway I’ll be subscribing in your feeds
    and even I achievement you access consistently quickly.

  12. I every time used to study post in news papers but now as
    I am a user of net thus from now I am using net
    for articles or reviews, thanks to web.

  13. whoah this weblog is excellent i love reading your articles.
    Keep up the great work! You understand, lots of individuals are looking around for this information, you
    could aid them greatly.

  14. minecraft games

    Excellent, what a weblog it is! This blog provides helpful data to us, keep it up.

  15. I’m more than happy to uncover this website. I wanted to thank you for your
    time for this particularly wonderful read!! I definitely appreciated every bit of it and I have you bookmarked to check out
    new stuff in your blog.

  16. plenty of fish dating site

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

  17. plenty of fish dating site

    I’d like to find out more? I’d like to find out more details.

  18. Hi there! I’m at work browsing your blog from my new iphone!
    Just wanted to say I love reading through your blog and look forward
    to all your posts! Carry on the outstanding work!
    plenty of fish natalielise

  19. dating site

    Nice blog right here! Also your website so much up fast!
    What host are you the usage of? Can I am getting your affiliate hyperlink for your host?
    I desire my website loaded up as quickly as yours lol

  20. dating site

    This is the perfect web site for everyone who hopes to find out about this topic.
    You understand so much its almost hard to argue with you (not that I
    actually will need to…HaHa). You definitely put a brand new spin on a subject that has been discussed for
    many years. Excellent stuff, just wonderful!

  21. pof

    Thanks in favor of sharing such a nice idea, post is pleasant, thats why i have read it completely

  22. plenty of fish dating site

    Asking questions are actually fastidious thing if you are not understanding something entirely, but this article presents
    good understanding yet.

  23. natalielise

    Hello, just wanted to mention, I loved this blog post.
    It was helpful. Keep on posting! pof natalielise

  24. plenty of fish dating site

    Do you mind if I quote a couple of your posts as
    long as I provide credit and sources back to your weblog?
    My blog site is in the very same niche as yours and my visitors would genuinely benefit from some of the information you provide here.
    Please let me know if this alright with you. Cheers!

  25. plenty of fish dating site

    Hello! I just wanted to ask if you ever have any problems
    with hackers? My last blog (wordpress) was hacked and I ended up losing
    several weeks of hard work due to no data backup. Do you have any methods to prevent hackers?

  26. You really make it appear really easy with your presentation but I find this topic
    to be really one thing that I feel I might never understand.
    It sort of feels too complex and very huge for me.
    I’m taking a look ahead in your next post, I’ll attempt to get the hang of it!

  27. Appreciate this post. Will try it out.

  28. plenty of fish dating site

    Everything is very open with a clear explanation of
    the issues. It was really informative. Your website is useful.
    Thanks for sharing!