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


32 条评论

  1. Very good article. I will be experiencing many
    of these issues as well..

  2. Hello there! I could have sworn I’ve been to this website before but after
    checking through some of the post I realized it’s new
    to me. Nonetheless, I’m definitely happy I found it and I’ll be bookmarking and
    checking back often!

  3. My brother suggested I might like this website. He was entirely right.
    This post truly made my day. You can not imagine just
    how much time I had spent for this info! Thanks!

  4. Hi this is kind of of off topic but I was wondering if blogs use WYSIWYG
    editors or if you have to manually code with HTML.
    I’m starting a blog soon but have no coding experience so I wanted to
    get advice from someone with experience. Any help would
    be enormously appreciated!

  5. quest bars

    Hi there, I found your website by the use of Google even as searching
    for a related subject, your web site came up, it looks good.
    I’ve bookmarked it in my google bookmarks.
    Hello there, just was aware of your blog through Google, and
    found that it’s really informative. I am going to watch out for brussels.
    I will appreciate for those who continue this in future. Lots of other folks shall
    be benefited out of your writing. Cheers!

  6. Hmm is anyone else encountering problems with the pictures on this blog
    loading? I’m trying to figure out if its a problem on my end or if it’s the blog.
    Any feedback would be greatly appreciated.

  7. I’m not that much of a internet reader to be honest but your sites really nice,
    keep it up! I’ll go ahead and bookmark your site to come back later on. Many thanks

  8. Link exchange is nothing else however it is only placing the other person’s web site link on your page
    at proper place and other person will also do similar in favor
    of you.

  9. quest bars

    Link exchange is nothing else except it is simply placing the other person’s blog link
    on your page at appropriate place and other person will also do similar for

  10. quest bars cheap

    Actually no matter if someone doesn’t be aware of afterward its up to other people that they will assist,
    so here it takes place.

  11. quest bars cheap

    Thanks to my father who shared with me concerning this
    web site, this weblog is really remarkable.

  12. We stumbled over here different website and thought
    I may as well check things out. I like what I see so now i am following you.
    Look forward to looking into your web page yet

  13. Thanks to my father who stated to me regarding this
    web site, this website is really amazing.

  14. Hi there would you mind sharing which blog platform you’re working with?
    I’m looking to start my own blog soon but I’m having a difficult
    time deciding between BlogEngine/Wordpress/B2evolution and Drupal.
    The reason I ask is because your layout seems different then most blogs and I’m
    looking for something unique. P.S Sorry
    for being off-topic but I had to ask!

  15. gamefly free trial

    I like what you guys tend to be up too. This type of clever work and exposure!

    Keep up the good works guys I’ve added you guys to my own blogroll.


    Undeniably believe that that you said. Your favorite
    justification appeared to be at the net the easiest factor to consider of.
    I say to you, I definitely get annoyed at the same
    time as other folks consider worries that they just do not know about.
    You controlled to hit the nail upon the top and outlined out the
    whole thing with no need side effect , other folks could take a signal.
    Will probably be back to get more. Thank you

  17. gamefly free trial

    naturally like your website however you need to test the spelling on quite a few of your posts.
    Many of them are rife with spelling problems and I in finding it very
    bothersome to tell the truth however I’ll definitely come
    back again.

  18. gamefly free trial

    Howdy! This post couldn’t be written any better!
    Reading this post reminds me of my good old room mate!
    He always kept chatting about this. I will forward
    this article to him. Fairly certain he will have a good read.
    Thanks for sharing!

  19. gamefly free trial

    Great items from you, man. I have take into account
    your stuff previous to and you are just extremely great.
    I really like what you have acquired here, really like what you are stating and the
    way by which you are saying it. You’re making it
    entertaining and you still take care of to keep it wise. I can not
    wait to read much more from you. This is actually a terrific site.

  20. gamefly free trial

    Awesome! Its genuinely amazing post, I have got much clear
    idea regarding from this paragraph.

  21. gamefly free trial

    I’m not sure exactly why but this website is loading extremely
    slow for me. Is anyone else having this issue or is it
    a issue on my end? I’ll check back later on and see
    if the problem still exists.

  22. gamefly free trial

    I think the admin of this site is in fact working hard in favor of his site, as here every
    stuff is quality based stuff.

  23. gamefly free trial

    Howdy! This blog post couldn’t be written any better!
    Going through this post reminds me of my previous roommate!
    He always kept talking about this. I will send this post to
    him. Fairly certain he’s going to have a very good read.

    Thanks for sharing!

  24. gamefly free trial

    Hi friends, its wonderful article regarding teachingand entirely explained,
    keep it up all the time.

  25. gamefly free trial

    It’s an remarkable post in support of all the online viewers; they will obtain benefit
    from it I am sure.

  26. gamefly free trial

    With havin so much written content do you ever run into any
    issues of plagorism or copyright violation? My site has a lot of unique content I’ve either created myself or outsourced but it looks like a lot of it is popping it up all over the web without my authorization. Do you know any methods to help reduce content from being ripped off?
    I’d truly appreciate it.

  27. Thank you for the auspicious writeup. It in fact was
    a amusement account it. Look advanced to more added agreeable from you!
    By the way, how could we communicate?

  28. gamefly free trial

    Have you ever considered writing an e-book or guest authoring on other blogs?

    I have a blog based upon on the same information you discuss and would really like to have you share some stories/information. I know my viewers would enjoy your work.
    If you are even remotely interested, feel free to send
    me an e-mail.

  29. gamefly free trial

    Having read this I believed it was extremely
    informative. I appreciate you finding the time and energy to put this content together.
    I once again find myself personally spending a lot of time both reading and leaving comments.
    But so what, it was still worthwhile!

  30. Hi it’s me, I am also visiting this web site on a regular basis, this website is actually good and the visitors are in fact sharing pleasant