Monday, August 22, 2011

Http Server Error Message Exception KeyError Unable To Change Directory

After I configure http service.While I restart the service. I got the following error message. [root@rhel6 ~]# /etc/init.d/httpd start Starting httpd:                            [FAILED] 1)read the log file 2)#cat /var/log/httpd/error_log | grep error ) in ignored [Thu Feb 24 12:20:19 2011] [error] Exception KeyError:...
read more "Http Server Error Message Exception KeyError Unable To Change Directory"

Install Package With Configure Make Make Install .tgz Command

Most of Linux Open Source Software Package come with .tgz tarball format. These Packages install with three command 1)./configure 2)make 3)make install ./configurea)configure it is just shell script b)configure it check lot of dependency on the current system. c)output it has short question with [YES/NO] answer. d)if any of the major requirement is missing then it will not continue. e)if it is fulfill there requirement,Then it...
read more "Install Package With Configure Make Make Install .tgz Command"

How To Check Whether Tar backup Differ From the Original Source File Or Not

Using tar -df option we can find out the difference between tar backup and the original Source files. And we can check whether tar it take Backup complete or not. it will check size,time,file present or not Sample Output size is differMod time differsNot found in archive >> backup.tar doesn't contain the file No such file or directory >> backup.tar file it has file but not persent in source file Syntax #tar -dvf...
read more "How To Check Whether Tar backup Differ From the Original Source File Or Not"

Linux Folder Chkconfig Add Service Ubuntu Change Root Password Tee command

Linux How to Open the folder IN the Same Window Default Linux setting whenever we open the Folder it will open the New Folder.So it will increase the no of windows in the Desktop.it will create the Lot of complex to work. To Make it user friendly. 1)Open the folder> Edit>preference>Behavior>Always Open in Browser Windows. 2) How to add New service to chkconfig #chkconfig --add ServiceName Example #chkconfig --add...
read more "Linux Folder Chkconfig Add Service Ubuntu Change Root Password Tee command"

Login Remote System ssh Without Password | Linux Redhat Rhel5

First we need to create rsa Key 1)#ssh-keygen -t rsa -t rsa it will create the RSA(Rivest, Shamir and Adleman) Key it will creat the key with file name "id_rsa.pub" under the current user Home Directory. If it is root mean /root/.ssh/id_rsa.pub if it is redhat mean /home/redhat/.ssh/id_rsa.pub ssh-copy-id it will install public key to the remote machine then copy the id to the remote system, For first time it will ask the password. Next...
read more "Login Remote System ssh Without Password | Linux Redhat Rhel5"
Monday, August 15, 2011

NFS ERROR: NFS Server Hostname failed:RPC Error: Program not registered

server I configured with NFS. /etc/export file I add the entry what are directories need to mount In the client /etc/fstab add the entry to mount  directory from server to client IN THE CLIENT While I try with #mount command To check what are things are mounted. server shared directory it is not mounted to the client. So I try to remount #mount -a it will mount directory according to the /etc/fstab file while I try thes I...
read more "NFS ERROR: NFS Server Hostname failed:RPC Error: Program not registered"

How To Run Teamviewer Under Root User | exec: /opt/teamviewer/teamviewer//bin/wrapper:

while run team viewer From the root User I got the following error message Team Viewer must not be executed as root! or team viewer will not open. Actual team viewer shell script they write the shell script if we execute team viewer from the root user [ root user id=0 ] display the error message or it will not open. shell script located under /usr/bin/teamviewer [root@rhel5 bin]# cat teamviewer #!/bin/shuserid=$(id -u)tv_ver="6" if...
read more "How To Run Teamviewer Under Root User | exec: /opt/teamviewer/teamviewer//bin/wrapper:"

Restore Recreate Lost MBR Grub Boot Loader Linux

Problem - lost grub.conf & MBR Master Boot Record In my system due to unclean shutdown, grub.conf and mbr are corrupted.So when I restart the system it is going to the grub window.I restart the Operating system using rescue mode. After I loading we need to do the following things SOLUTION Restore MBR grub loader 1)Find where the grub.conf file are located. grub> find /boot/grub/stage1 (hd0,0) 2)Find the File system of...
read more "Restore Recreate Lost MBR Grub Boot Loader Linux"

Useful Linux KeyBoard Shortcut Hot Keys

1)ctrl+c -> kill the current process 2)ctrl+z -> kill the process to the background 3)ctrl+d -> Log out the current terminal 4)~ (tidle) refer to the home directory cd ~/Desktop/ 5)alt+f1 Access the K-menu (k-menu similar to star button in windows) 6)alt+print screen take the screen shot only to the current window 7)print Screen Take the snapshot for the entire window 8)ctrl+u - Delete the whole statement 9)ctrl+w -...
read more "Useful Linux KeyBoard Shortcut Hot Keys"

SSH Login Error Message: MANPATH: Undefined variable man.csh

Server, When I Login From the Master to the client Node. I got the following error message.d [redhat5@master ~]$ ssh node6 Last login: Tue Jan 25 11:45:11 2011 from node1.modeling.in MANPATH: Undefined variable. [redhat5@node6 ~]$ Reason MANPATH VARAIBLE is declare but these value is not assign. SOLUTION So create the man.csh file under the /etc/profile csh refers to the C ShellSSH Login Error Message #/etc/profile.d/man.csh cat...
read more "SSH Login Error Message: MANPATH: Undefined variable man.csh"

Create New File System To New Partition No such file or directory

I create the New Partition under /dev/sda sata Hard disk(dev/sda3). After create the the partition using fdisk then while I create the file system using mkfs.ext3 command I got the following error message. [root@node2 ~]# mkfs.ext3 /dev/sda3 mke2fs 1.39 (29-May-2006) Could not stat /dev/sda3 --- No such file or directory The device apparently does not exist; did you specify it correctly? I try to mount with the following command [root@node1...
read more "Create New File System To New Partition No such file or directory"

VNCVIEWER Error Message: vncviewer unable to open display

I try to connect Remote system(GUI- Remote Desktop) through ssh for that Purpose I used VNC. VNC - Virtual Network Computing,Remotely control another Computer Like Remote Desktop. It is used to Trouble shooting the problem.While I try [root@remote ~]# ssh 151.8.19.140 Last login: Tue Feb 1 15:47:03 2011 from 151.8.19.145 [root@ha2 ~]# vncserver New 'ha2.hcl.in:5 (root)' desktop is ha2.hcl.in:5 Starting applications specified...
read more "VNCVIEWER Error Message: vncviewer unable to open display"

Flag counter

free counters