Tuesday, October 9, 2012

vncpasswd need passwd, and directory!

Question :

While accessing the vnc terminal created on the server i saw that it prompts for passwd but setting password was not working as shown below :

bash-3.00# vncpasswd
need passwd, and directory!
bash-3.00#



Answer :

Provide a valid password and directory name as shown below and it works .


bash-3.00# vncpasswd new4now ~/.vnc/passwd
bash-3.00#

Sunday, February 5, 2012

Deleting duplicate rpms error: "xyz" specifies multiple packages:

Problem Statement : How to remove duplicate rpms on the machine .

[root@vminstlnx64test11 ~]# rpm --nodeps -e gpfs.gpl-3.4.0-0.noarch
error: "gpfs.gpl-3.4.0-0.noarch" specifies multiple packages:
  gpfs.gpl-3.4.0-0.noarch
  gpfs.gpl-3.4.0-0.noarch
[root@vminstlnx64test11 ~]#

Solution : Use the command  "package-cleanup --cleandupes"

Note : If package-cleanup is not available of the machine .Install the  utility install yum-utils.noarch .

#yum -y install yum-utils.noarch




Search This Blog