Find the answer to your Linux question:
Results 1 to 7 of 7
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Centos 6.5 Web Server crashing hTTpd wont start input/output error


    I am not that familiar with Linux but can perform some troubleshooting. We have a one Linux Server at my office which is our web server that hosts all of our member websites. Lately we seem to be losing connectivity ( perhaps hard drive is failing) as i can ping at all times but sites go down. It started infrequently about once every couple months which we thought were power related however now the sites will not remain up for more than 10 minutes.

    I attempted to restart httpd | apache and receive
    # service httpd restart
    Stopping httpd: awk: fatal error: internal error

  2. #2
    Linux Guru Segfault's Avatar
    Join Date
    Jun 2008
    Location
    Acadiana
    Posts
    2,181
    I'd boot from an external media, SystemRescueCD is an excellent choice, and check the health of drive and filesystems. If the hard drive is failing, replace and restore from backup.

  3. #3
    Linux Guru
    Join Date
    Dec 2013
    Posts
    2,747
    Quote Originally Posted by fredr View Post
    # service httpd restart
    Stopping httpd: awk: fatal error: internal error
    there MUST be more than that.

    also:
    i'm no expert, but i'm pretty sure you shouldn't be using 6.5 anymore - only 6.9 is supported anymore, of the 6.x series.

  4. $spacer_open
    $spacer_close
  5. #4
    Quote Originally Posted by Segfault View Post
    I'd boot from an external media, SystemRescueCD is an excellent choice, and check the health of drive and filesystems. If the hard drive is failing, replace and restore from backup.


    Hi Segfault,

    Is it fairly straightforward to change out the hard drive and recover? We use Jungledisk to backup which store locally on the machine in the home directory. The webpages stay up for about 10 minutes after i hard boot server and then the server stays on but all the Domains go down after a short period of time and get the input/output error with almost every command.

    Thanks!

  6. #5
    We use Jungledisk to backup which store locally on the machine in the home directory. The webpages stay up for about 10 minutes after i hard boot server and then the server stays on but all the Domains go down after a short period of time and get the input/output error with almost every command. It started a couple months ago where once every couple weeks server would be on but websites would be down. It was also breaking our Jungledisk connection as the resolv.conf kept reverting back to our old domain controllers for DNS settings and i woudl have to manually go in and set them again. Then this past weekend the pages/Domains will not stay up for more than 10 minutes after a hard reboot.

  7. #6
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    4,031
    Only you can tell if the backup of the home dirs are enough.

    You probably need a database dump as well.
    If there is a database, you didnt tell.

    Configfiles for your daemons, firewalls, etc wouldnt hurt either.

    I agree with the others.
    It sounds like failing hardware.
    It wont be long before the machine wont get up for even 10min.

    And tbh, as you seem pretty new to admin work,
    you might want to hand over and/or pay someone with linux experience.
    You must always face the curtain with a bow.

  8. #7
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    4,031
    Assuming your backups are enough,
    I would suggest to build a new server in the same network,
    configure the daemons,
    restore the data from Jungledisk
    and test it.

    If it works, switch the LBs (or dns).
    You must always face the curtain with a bow.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •