The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

iput/output errors no MySQL no httpd

Discussion in 'General Discussion' started by nooby, Jun 30, 2003.

  1. nooby

    nooby Active Member

    Joined:
    May 9, 2003
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    Hi

    I'm getting input/output errors.

    service stop/start command does not work

    MySQL is down

    Can't login to whm

    I already tried /etc/rc.d/init.d/cpanel3 restart

    Here are the errors:

    /bin/ls: install.log: Input/output error
    /bin/ls: install.log.syslog: Input/output error
    /bin/ls: .Xresources: Input/output error
    /bin/ls: .cshrc: Input/output error
    /bin/ls: .tcshrc: Input/output error
    /bin/ls: .accesshash: Input/output error
    /bin/ls: .securesslreqs: Input/output error
    /bin/ls: kernel-2.4.20-13.8.i386.rpm: Input/output error

    Any help would be appreciated.

    cPanel.net Support Ticket Number:
     
  2. rhood

    rhood Well-Known Member

    Joined:
    Feb 15, 2003
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    6
    Have you tried rebooting the server?

    cPanel.net Support Ticket Number:
     
  3. ciphervendor

    ciphervendor Well-Known Member

    Joined:
    Aug 26, 2002
    Messages:
    1,052
    Likes Received:
    0
    Trophy Points:
    36
  4. nooby

    nooby Active Member

    Joined:
    May 9, 2003
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    Yes it was rebooted.

    But it was very slow. I than did a easyapache option 2 and restart.

    And for now it works.

    I've been told it might be bad drive

    I first posted here, then on WHT.

    I hope there is no rule I'm breaking here?

    Thanks for the response.

    cPanel.net Support Ticket Number:
     
  5. Sash

    Sash Well-Known Member

    Joined:
    Feb 18, 2003
    Messages:
    252
    Likes Received:
    0
    Trophy Points:
    16
    Have you tried a manual fsck? What is displayed when you typed dmesg?

    Mike

    cPanel.net Support Ticket Number:
     
  6. nooby

    nooby Active Member

    Joined:
    May 9, 2003
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    Hi Sash

    I get a pagefull of stuff but I don't know what I am looking for?

    Can you help me figure it out?

    It has been intermittingly shutiing down, apache, and I had to restart a few times last week.

    Then I upgraded to CP7 and just about everything went weird. :(

    cPanel.net Support Ticket Number:
     
  7. ciphervendor

    ciphervendor Well-Known Member

    Joined:
    Aug 26, 2002
    Messages:
    1,052
    Likes Received:
    0
    Trophy Points:
    36
    paste the entire dmesg output in reply to this thread.

    cPanel.net Support Ticket Number:
     
  8. nooby

    nooby Active Member

    Joined:
    May 9, 2003
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    dmesg

    Here goes:

    root@server [~]# dmesg
    Linux version 2.4.20-13.8 (bhcompile@daffy.perf.redhat.com) (gcc version 3.2 200
    20903 (Red Hat Linux 8.0 3.2-7)) #1 Mon May 12 12:37:55 EDT 2003
    BIOS-provided physical RAM map:
    BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
    BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
    BIOS-e820: 0000000000100000 - 000000001f7f0000 (usable)
    BIOS-e820: 000000001f7f0000 - 000000001f7f3000 (ACPI NVS)
    BIOS-e820: 000000001f7f3000 - 000000001f800000 (ACPI data)
    BIOS-e820: 000000001f800000 - 0000000020000000 (reserved)
    BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
    503MB LOWMEM available.
    On node 0 totalpages: 129008
    zone(0): 4096 pages.
    zone(1): 124912 pages.
    zone(2): 0 pages.
    Kernel command line: ro root=LABEL=/
    Initializing CPU#0
    Detected 1716.960 MHz processor.
    Console: colour VGA+ 80x25
    Calibrating delay loop... 3420.97 BogoMIPS
    Memory: 504176k/516032k available (1193k kernel code, 9296k reserved, 1004k data
    , 112k init, 0k highmem)
    Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
    Inode cache hash table entries: 32768 (order: 6, 262144 bytes)
    Mount cache hash table entries: 512 (order: 0, 4096 bytes)
    Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes)
    Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
    CPU: Trace cache: 12K uops, L1 D cache: 8K
    CPU: L2 cache: 256K
    Intel machine check architecture supported.
    Intel machine check reporting enabled on CPU#0.
    CPU: After generic, caps: 3febfbff 00000000 00000000 00000000
    CPU: Common caps: 3febfbff 00000000 00000000 00000000
    CPU: Intel(R) Pentium(R) 4 CPU 1.70GHz stepping 03
    Enabling fast FPU save and restore... done.
    Enabling unmasked SIMD FPU exception support... done.
    Checking 'hlt' instruction... OK.
    Checking for popad bug... OK.
    POSIX conformance testing by UNIFIX
    mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
    mtrr: detected mtrr type: Intel
    PCI: PCI BIOS revision 2.10 entry at 0xf9d80, last bus=1
    PCI: Using configuration type 1
    PCI: Probing PCI hardware
    PCI: Ignoring BAR0-3 of IDE controller 00:1f.1
    Transparent bridge - Intel Corp. 82801BA/CA/DB PCI Bridge
    PCI: Using IRQ router PIIX [8086/24c0] at 00:1f.0
    PCI: Found IRQ 10 for device 00:1f.1
    PCI: Sharing IRQ 10 with 00:02.0
    isapnp: Scanning for PnP cards...
    isapnp: No Plug & Play device found
    Linux NET4.0 for Linux 2.4
    Based upon Swansea University Computer Society NET3.039
    Initializing RT netlink socket
    apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16)
    Starting kswapd
    VFS: Disk quotas vdquot_6.5.1
    Detected PS/2 Mouse Port.
    pty: 512 Unix98 ptys configured
    Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT SHARE_IRQ SER
    IAL_PCI ISAPNP enabled
    ttyS0 at 0x03f8 (irq = 4) is a 16550A
    ttyS1 at 0x02f8 (irq = 3) is a 16550A
    Real Time Clock Driver v1.10e
    floppy0: no floppy controllers found
    NET4: Frame Diverter 0.46
    RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
    Uniform Multi-Platform E-IDE driver Revision: 7.00beta3-.2.4
    ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
    ICH4: IDE controller at PCI slot 00:1f.1
    PCI: Found IRQ 10 for device 00:1f.1
    PCI: Sharing IRQ 10 with 00:02.0
    ICH4: chipset revision 2
    ICH4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:pio, hdd:pio
    hda: WDC WD800BB-00DAA1, ATA DISK drive
    blk: queue c036e560, I/O limit 4095Mb (mask 0xffffffff)
    ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
    hda: attached ide-disk driver.
    hda: host protected area => 1
    hda: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=9729/255/63, UDMA(100)
    ide-floppy driver 0.99.newide
    Partition check:
    hda: hda1 hda2 hda3
    ide-floppy driver 0.99.newide
    md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
    md: Autodetecting RAID arrays.
    md: autorun ...
    md: ... autorun DONE.
    NET4: Linux TCP/IP 1.0 for NET4.0
    IP Protocols: ICMP, UDP, TCP, IGMP
    IP: routing cache hash table of 4096 buckets, 32Kbytes
    TCP: Hash tables configured (established 32768 bind 65536)
    Linux IP multicast router 0.06 plus PIM-SM
    NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
    RAMDISK: Compressed image found at block 0
    Freeing initrd memory: 122k freed
    VFS: Mounted root (ext2 filesystem).
    Journalled Block Device driver loaded
    EXT3-fs: INFO: recovery required on readonly filesystem.
    EXT3-fs: write access will be enabled during recovery.
    kjournald starting. Commit interval 5 seconds
    EXT3-fs: ide0(3,3): orphan cleanup on readonly fs
    ext3_orphan_cleanup: deleting unreferenced inode 5750822
    ext3_orphan_cleanup: deleting unreferenced inode 9404503
    ext3_orphan_cleanup: deleting unreferenced inode 8880252
    ext3_orphan_cleanup: deleting unreferenced inode 7962809
    ext3_orphan_cleanup: deleting unreferenced inode 7913501
    ext3_orphan_cleanup: deleting unreferenced inode 7274587
    ext3_orphan_cleanup: deleting unreferenced inode 6979726
    ext3_orphan_cleanup: deleting unreferenced inode 6668306
    EXT3-fs: ide0(3,3): 8 orphan inodes deleted
    EXT3-fs: recovery complete.
    EXT3-fs: mounted filesystem with ordered data mode.
    Freeing unused kernel memory: 112k freed
    usb.c: registered new driver usbdevfs
    usb.c: registered new driver hub
    PCI: Setting latency timer of device 00:1d.7 to 64
    ehci-hcd 00:1d.7: Intel Corp. 82801DB USB EHCI Controller
    ehci-hcd 00:1d.7: irq 5, pci mem e0044000
    usb.c: new USB bus registered, assigned bus number 1
    ehci-hcd 00:1d.7: enabled 64bit PCI DMA
    PCI: 00:1d.7 PCI cache line size set incorrectly (0 bytes) by BIOS/FW.
    PCI: 00:1d.7 PCI cache line size corrected to 16.
    ehci-hcd 00:1d.7: USB 2.0 enabled, EHCI 1.00, driver 2003-Jan-22
    hub.c: USB hub found
    hub.c: 6 ports detected
    usb-uhci.c: $Revision: 1.275 $ time 12:45:18 May 12 2003
    usb-uhci.c: High bandwidth mode enabled
    PCI: Setting latency timer of device 00:1d.0 to 64
    usb-uhci.c: USB UHCI at I/O 0xd800, IRQ 10
    usb-uhci.c: Detected 2 ports
    usb.c: new USB bus registered, assigned bus number 2
    hub.c: USB hub found
    hub.c: 2 ports detected
    PCI: Setting latency timer of device 00:1d.1 to 64
    usb-uhci.c: USB UHCI at I/O 0xd000, IRQ 6
    usb-uhci.c: Detected 2 ports
    usb.c: new USB bus registered, assigned bus number 3
    hub.c: USB hub found
    hub.c: 2 ports detected
    PCI: Setting latency timer of device 00:1d.2 to 64
    usb-uhci.c: USB UHCI at I/O 0xd400, IRQ 9
    usb-uhci.c: Detected 2 ports
    usb.c: new USB bus registered, assigned bus number 4
    hub.c: USB hub found
    hub.c: 2 ports detected
    usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
    usb.c: registered new driver hiddev
    usb.c: registered new driver hid
    hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
    hid-core.c: USB HID support drivers
    mice: PS/2 mouse device common for all mice
    EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,3), internal journal
    Adding Swap: 2048276k swap-space (priority -1)
    kjournald starting. Commit interval 5 seconds
    EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,1), internal journal
    EXT3-fs: mounted filesystem with ordered data mode.
    parport0: PC-style at 0x378 [PCSPP,TRISTATE]
    ip_tables: (C) 2000-2002 Netfilter core team
    8139too Fast Ethernet driver 0.9.26
    PCI: Found IRQ 11 for device 01:05.0
    divert: allocating divert_blk for eth0
    eth0: RealTek RTL8139 Fast Ethernet at 0xe0168000, 00:20:ed:79:31:eb, IRQ 11
    eth0: Identified 8139 chip type 'RTL-8139C'
    eth0: Setting 100mbps full-duplex based on auto-negotiated partner ability 41e1.

    cPanel.net Support Ticket Number:
     
  9. nooby

    nooby Active Member

    Joined:
    May 9, 2003
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    In addition I've been keep getting these since upgrade:

    When I restart my server I get the following warnings:

    [Sat Jun 28 12:13:57 2003] [warn] Loaded DSO libexec/mod_attach.so uses plain Apache 1.3 API, this module might crash under EAPI! (please recompile it with -DEAPI)

    [Sat Jun 28 12:13:57 2003] [warn] Loaded DSO libexec/mod_bwprotect.so uses plain Apache 1.3 API, this module might crash under EAPI! (please recompile it with -DEAPI)

    [Sat Jun 28 12:13:57 2003] [warn] NameVirtualHost *********has no VirtualHosts

    cPanel.net Support Ticket Number:
     
  10. ciphervendor

    ciphervendor Well-Known Member

    Joined:
    Aug 26, 2002
    Messages:
    1,052
    Likes Received:
    0
    Trophy Points:
    36
    It looks like the file system did some cleanup when you rebooted your machine:
    You may want to reboot your machine again and force a fsck or ask your data center to do one. Further to that you may also want to upgrade your kernel; there's many IDE updates in 2.4.21 and you can remove a bunch of garbage from your current kernel. (i.e. USB support, mouse drivers, etc.)
     
  11. nooby

    nooby Active Member

    Joined:
    May 9, 2003
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    Scary stuff :eek:

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page