I cannot startx !The message ask me to remove the /tmp/.X0-lock.
Then when try 'rm -vf /tmp/.X0-lock', a message say 'Bad file descriptor' appear and the file cannot be deleted.
When, I run 'fsck', a message like 'unlink ... /tmp/.X0-lock ... REMOVE? no' display.
I guess something wrong with the filesystem/harddisk since last night I saw a message in terminal 'ad0 write error..' message. My
FreeBSD don't like my new Western Digital harddisk.
The solution: reboot in single user mode, then run 'fsck -y'. Now the /tmp/.X0-lock is removed. Exit single user mode, then I can startx now.
Harddisk problem?You can use badblocks to search for device for bad blocks. (I not found
yet badblocks in my
FreeBSD, 'Command not found').
Use
fsck to file system consistency check and interactive repair.
Still got problem, then better read this
mail for solution :).
To monitor harddisk use
smartctl. This
article give good explanation to monitor hard disk with SMART. (Thanks to Han). In FreeBSD it is in /usr/ports/sysutils/smartmantools.
Got this error
Smartctl open device: /dev/ad0 failed: Inappropriate ioctl for device
when '> smartctl -a /dev/ad0' ? That's mean, you need to be superuser to run this application.
View
here for my 'smartctl -a /dev/ad0'.
Cannot login to flyspray.I cannot login to flyspray in IE (Internet Explorer 6). The address is something like http://helmi_ibrahim.com.my/flyspray. The solution is get ip address for this address (hint: ifconfig) for e.g. http://192.168.1.30/flyspray then now you can login. Why? The IE assume address with underscore '_' as security risk, so not allow flyspray to set cookies.
A quote for today "the antivirus program give more hassle than the virus".
Malaysian Bloggers,
MYOSS.Python development in Eclipse.