Quote:
Originally Posted by eco
OK, the aim is to check your entire file system so if you are using grub.
Boot the box and in the grub menu, chose the single user option. If you don't have one. type e to edit and add the word 'single' at the end of the kernel line.
It will boot in single mode. Now you can start checking your filesystem by hand with a
but you might prefer to simply
so that this type it checks the fs for you at boot.
Let me know how it goes, I'll try to keep an eye open for you. Back at 14h though.
|
-----------------
After above commands ...
and rebooting ans scanning my mdX
echo ${CONFIG##*/}
2400 Segmentation fault | grep -q '[^g]-'
./network-functions: line 66: 2415 Done echo ${CONFIG##*/}
2416 Segmentation fault | grep -q '[^g]-'
./network-functions: line 216: 2420 Done LC_ALL= LANG= ip -o link
2421 Segmentation fault | grep -q $1
./network-functions: line 216: 2424 Done LC_ALL= LANG= ip -o link
2425 Segmentation fault | grep -q $1
./network-functions: line 385: 2426 Done LC_ALL=C iwconfig $ 1 2>&1
2427 Segmentation fault | grep -q "no wireless extensions"
Error for wireless request "Set Encode" (8B2A) :
SET failed on device eth0 ; Operation not supported.
/etc/sysconfig/network-scripts/ifup-eth: line 297: 2441 Done LC_ALL=C ip addr ls ${REALDEVICE}
2442 Segmentation fault | LC_ALL=C grep -q "${IPADDR}/${PREFIX}"
./network-functions: line 66: 2470 Done echo ${CONFIG##*/}
2471 Segmentation fault | grep -q '[^g]-'
./network-functions: line 66: 2491 Done echo ${CONFIG##*/}
2492 Segmentation fault | grep -q '[^g]-'
[ OK ]
[root@mail ~]# /etc/init.d/httpd status
httpd dead but pid file exists
[root@mail ~]#
[root@mail ~]#
-----------------------
[root@mail ~]# service httpd restart
/etc/rc.d/init.d/functions: line 256: 2589 Segmentation fault rm -f "${pid_file:-/var/run/$base.pid}"
/etc/init.d/httpd: line 65: 2590 Segmentation fault rm -f ${lockfile} ${pidfile}
Starting httpd: [ OK ]
[root@mail ~]# service httpd restart
/etc/rc.d/init.d/functions: line 256: 2624 Segmentation fault rm -f "${pid_file:-/var/run/$base.pid}"
/etc/init.d/httpd: line 65: 2625 Segmentation fault rm -f ${lockfile} ${pidfile}
Starting httpd: [ OK ]
[root@mail ~]#
[root@mail ~]# service httpd restart
/etc/rc.d/init.d/functions: line 256: 2589 Segmentation fault rm -f "${pid_file:-/var/run/$base.pid}"
/etc/init.d/httpd: line 65: 2590 Segmentation fault rm -f ${lockfile} ${pidfile}
Starting httpd: [ OK ]
[root@mail ~]# service httpd restart
/etc/rc.d/init.d/functions: line 256: 2624 Segmentation fault rm -f "${pid_file:-/var/run/$base.pid}"
/etc/init.d/httpd: line 65: 2625 Segmentation fault rm -f ${lockfile} ${pidfile}
Starting httpd: [ OK ]
[root@mail ~]#
root@mail ~]# /etc/init.d/dovecot restart
/etc/init.d/functions: line 256: 2731 Segmentation fault rm -f "${pid_file:-/var/run/$base.pid}"
/etc/init.d/dovecot: line 26: 2732 Segmentation fault rm -f /var/lock/subsys/dovecot
Starting Dovecot Imap: