HELP!! squid dead, /var: Read-only & smartd is confusing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all

when trying to access the web through firefox I get an access denyed
error from the proxy server.

I have tried to restart squid as listed below and get the following
errors:-


[root@athlon init.d]# cd /etc/init.d
[root@athlon init.d]# ./squid status
squid dead but pid file exists
squid: ERROR: Could not send signal 0 to process 2828: (3) No such
process
[root@athlon init.d]# ./squid stop
Stopping squid: ./squid: line 84: /var/log/squid/squid.out: Read-only
file system
                                                           [FAILED]

[root@athlon init.d]# echo temp > /var/temp
bash: /var/temp: Read-only file system



[root@athlon init.d]# mount
/dev/hda4 on / type ext3 (rw)
none on /proc type proc (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hda1 on /boot type ext3 (rw)
none on /dev/shm type tmpfs (rw)
/dev/hdg1 on /usr type ext3 (rw)
/dev/hde3 on /var type ext3 (rw)
/dev/hde1 on /home type ext3 (rw)
/dev/hdf1 on /mnt/hdf type ext3 (rw)
/dev/hdh1 on /tracks type ext3 (rw)
/dev/hda3 on /windows/C type vfat (rw,uid=500,gid=500,umask=000)
/dev/hde2 on /windows/D type ext3 (rw)
/dev/hdg2 on /windows/E type vfat (rw,uid=500,gid=500,umask=000)
/dev/hda5 on /windows/F type vfat (rw,uid=500,gid=500,umask=000)
/dev/hda6 on /windows/G type vfat (rw,uid=500,gid=500,umask=000)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
/proc on /var/named/chroot/proc type none (rw,bind)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
//athlon-64/athlon-64(C) on /athlon-64/C type smbfs (0)
automount(pid2195) on /net type autofs
(rw,fd=4,pgrp=2195,minproto=2,maxproto=4)nfsd on /proc/fs/nfsd type nfsd
(rw)


mount obviously sees /var on /dev/hde3 as read-write

on the last reboot I got the following messages in /var/log/messages:-

Feb 17 15:12:31 localhost smartd[2202]: smartd version 5.33
[i386-redhat-linux-gnu] Copyright (C) 2002-4 Bruce Allen
Feb 17 15:12:31 localhost smartd[2202]: Home page is
http://smartmontools.sourceforge.net/
Feb 17 15:12:31 localhost smartd[2202]: Opened configuration
file /etc/smartd.conf
Feb 17 15:12:31 localhost smartd[2202]: Configuration
file /etc/smartd.conf parsed.
Feb 17 15:12:31 localhost smartd[2202]: Device: /dev/hda, opened
Feb 17 15:12:31 localhost smartd[2202]: Device: /dev/hda, not found in
smartd database.
Feb 17 15:12:31 localhost smartd[2202]: Device: /dev/hda, is SMART
capable. Adding to "monitor" list.
Feb 17 15:12:31 localhost smartd[2202]: Device: /dev/hde, opened
Feb 17 15:12:31 localhost smartd[2202]: Device: /dev/hde, found in
smartd database.
Feb 17 15:12:32 localhost smartd[2202]: Device: /dev/hde, is SMART
capable. Adding to "monitor" list.
Feb 17 15:12:32 localhost smartd[2202]: Device: /dev/hdf, opened
Feb 17 15:12:32 localhost smartd[2202]: Device: /dev/hdf, found in
smartd database.
Feb 17 15:12:32 localhost smartd[2202]: Device: /dev/hdf, is SMART
capable. Adding to "monitor" list.
Feb 17 15:12:32 localhost smartd[2202]: Device: /dev/hdg, opened
Feb 17 15:12:32 localhost smartd[2202]: Device: /dev/hdg, found in
smartd database.
Feb 17 15:12:33 localhost smartd[2202]: Device: /dev/hdg, is SMART
capable. Adding to "monitor" list.
Feb 17 15:12:33 localhost smartd[2202]: Device: /dev/hdh, opened
Feb 17 15:12:33 localhost smartd[2202]: Device: /dev/hdh, found in
smartd database.
Feb 17 15:12:33 localhost smartd[2202]: Device: /dev/hdh, is SMART
capable. Adding to "monitor" list.
Feb 17 15:12:33 localhost smartd[2202]: Monitoring 5 ATA and 0 SCSI
devices
Feb 17 15:12:33 localhost smartd[2202]: Device: /dev/hde, 1 Currently
unreadable (pending) sectors
Feb 17 15:12:33 localhost smartd[2202]: Sending warning via mail to
root@xxxxxxxxxxxxxxxxxxxxx ...
Feb 17 15:13:36 localhost smartd[2202]: Warning via mail to
root@xxxxxxxxxxxxxxxxxxxxx: successful
Feb 17 15:13:36 localhost smartd[2202]: Device: /dev/hdf, 1 Currently
unreadable (pending) sectors
Feb 17 15:13:36 localhost smartd[2202]: Sending warning via mail to
root@xxxxxxxxxxxxxxxxxxxxx ...
Feb 17 15:14:36 localhost smartd[2202]: Warning via mail to
root@xxxxxxxxxxxxxxxxxxxxx: successful
Feb 17 15:14:36 localhost smartd[2202]: Device: /dev/hdf, 1 Offline
uncorrectable sectors
Feb 17 15:14:36 localhost smartd[2202]: Sending warning via mail to
root@xxxxxxxxxxxxxxxxxxxxx ...
Feb 17 15:15:37 localhost smartd[2202]: Warning via mail to
root@xxxxxxxxxxxxxxxxxxxxx: successful
Feb 17 15:15:37 localhost smartd[2202]: Device: /dev/hdg, 2 Currently
unreadable (pending) sectors
Feb 17 15:15:37 localhost smartd[2202]: Sending warning via mail to
root@xxxxxxxxxxxxxxxxxxxxx ...
Feb 17 15:16:37 localhost smartd[2202]: Warning via mail to
root@xxxxxxxxxxxxxxxxxxxxx: successful
Feb 17 15:16:38 localhost smartd[2621]: smartd has fork()ed into
background mode. New PID=2621.


Feb 17 17:16:38 localhost smartd[2621]: Device: /dev/hde, 1 Currently
unreadable (pending) sectors
Feb 17 17:16:39 localhost smartd[2621]: Device: /dev/hdf, 1 Currently
unreadable (pending) sectors
Feb 17 17:16:39 localhost smartd[2621]: Device: /dev/hdf, 1 Offline
uncorrectable sectors
Feb 17 17:16:39 localhost smartd[2621]: Device: /dev/hdg, 2 Currently
unreadable (pending) sectors
Feb 17 17:46:39 localhost smartd[2621]: Device: /dev/hde, 1 Currently
unreadable (pending) sectors
Feb 17 17:46:39 localhost smartd[2621]: Device: /dev/hdf, 1 Currently
unreadable (pending) sectors
Feb 17 17:46:39 localhost smartd[2621]: Device: /dev/hdf, 1 Offline
uncorrectable sectors
Feb 17 17:46:40 localhost smartd[2621]: Device: /dev/hdg, 2 Currently
unreadable (pending) sectors



since this last reboot everything seemed to run OK until this morning


the last part of /var/log/messages reads:-

Feb 22 08:01:01 localhost kernel: SMB connection re-established (-5)
Feb 22 08:16:39 localhost smartd[2621]: Device: /dev/hde, 1 Currently
unreadable (pending) sectors
Feb 22 08:16:49 localhost kernel: hdf: irq timeout: status=0xd0 { Busy }
Feb 22 08:16:49 localhost kernel: ide: failed opcode was: 0xb0
Feb 22 08:16:49 localhost smartd[2621]: Device: /dev/hdf, not capable of
SMART self-check
Feb 22 08:17:03 localhost kernel: hdf: irq timeout: status=0xd0 { Busy }
Feb 22 08:17:03 localhost kernel: ide: failed opcode was: 0xb0
Feb 22 08:17:03 localhost smartd[2621]: Device: /dev/hdg, 2 Currently
unreadable (pending) sectors
Feb 22 08:46:38 localhost smartd[2621]: Device: /dev/hde, 1 Currently
unreadable (pending) sectors
Feb 22 08:46:54 localhost kernel: hdf: irq timeout: status=0xd0 { Busy }
Feb 22 08:46:54 localhost kernel: ide: failed opcode was: 0xb0
Feb 22 08:46:55 localhost smartd[2621]: Device: /dev/hdg, 2 Currently
unreadable (pending) sectors
Feb 22 09:01:01 localhost mount.smbfs[2049]:
[2006^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@



is it smartd?

how can I clear the 'unreadable (pending) sectors'?

I have done a mkfs on /dev/hdf1 & 
I have tried running fsck on /dev/hdf1 with the -c -c options but it
finds no errors.

the partition/file system is empty of data.


anyone got any ideas what is going on?


laurence



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux