error message

When I ssh into my server and login as t root user and I’m getting the following error on screen:

Could not chdir to home directory /root: No such file or directory

How do I fix this error under CentOS or Debian Linux server?

{ 1 comment }

I‘ve used the mdadm command line utility to setup and manage software RAID 6 under Debian Linux server. However, I get the following message in /var/log/messages file:
[ 14.003707] JBD: barrier-based sync failed on md0-8 – disabling barriers

How do I fix the message ‘JBD error message “barrier-based sync failed”‘?

{ 3 comments }

I‘ve downloaded Backtrack Linux version 5 KDE desktop 64 bit. To start a graphical interface I’ typed startx command. But it failed with the following error message:

BackTrack Linux 5 64bits Vmware Workstation Installation

How do I fix this problem and install Backtrack Linux version 5 KDE desktop on my hard disk?

{ 27 comments }

I block or deny access based on the host name or IP address of the client visiting website under nginx web server. I want to display customized e403.html error page, but it doesn’t appear to be working. Nginx always displays the built-in, hardcoded “403 Forbidden” error message. Here is my configuration:

.....
  ...
 deny 1.2.3.4;
 deny 91.212.45.0/24;
 deny 91.212.65.0/24;
 .....
 ...
 error_page 403 /e403.html;
        location = /e403.html {
           root   html;
       }

How do I fix this problem and display custom error 403 page under nginx server?

{ 1 comment }

I want find out if a command exists on UNIX from a bash shell script. If command does not exists, then I would like to display an error message on screen. How do I find out if a command exists on Posix system or not?

{ 6 comments }

When I run hdparm -tT /dev/sda command under CentOS / RHEL I get the following error on screen:

/dev/sda:
Timing buffered disk reads: 908 MB in 3.00 seconds = 302.39 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device


How do I fix this problem?

{ 0 comments }

Can you explains and provide us “Bourne Shell Exit Status Code” examples?

{ 0 comments }