ERROR: 1062 Duplicate entry ‘localhost-root’ for key 1

MySql Server installation fails when your host name is localhost you will get the “ERROR: 1062  Duplicate entry ‘localhost-root’ for key 1” or “ERROR: 1062  Duplicate entry ‘localhost-‘ for key 1” Simple solution is Use the command hostname to give your system a host name and also change host name  in the configuration file /etc/sysconfig/network … Read more

How to monitor vos3000 services and start if vos3000 services stop

If you want to monitor vos3000 services and start if vos3000 services stop .VOS3000 version 2.1.2.0 is stop after some time so you can monitor the vos3000 services  and start it . Here I am using three shell scripts to monitor to vos3000 service and start it. I am checking vos3000 service every 5 second and if stops I am starting with a script and send email alert.

Read more

How to know vender by MAC address

if you want to know network card vender by MAC address .MAC address first  16 bit is assign to vender  OUI code . Search your MAC address starting 16 bit below link http://standards.ieee.org/develop/regauth/oui/oui.txt VMware uses the Organizationally Unique Identifier (OUI) 00:50:56 for manually generated addresses Xen project  uses the Organizationally Unique Identifier (OUI)  00:16:3e: for manually generated … Read more

how to run jar file from command line

If you are trying to run Java file from command line (run jar file from command line) use the following example C:\Program Files (x86)\Java\jre6\bin>java -jar .jar I want to run Nexus 1000v installer from command line i will use following command C:\Program Files (x86)\Java\jre6\bin>java -jar D:\Nexus1000v.4.2.1.SV2.2.1a\VSM\Installer_App\Nexus1000V-install_CNX.jar

Microsoft Visio Stencils for Cisco

You will need Microsoft Visio Standard or Professional in order to view and use these stencils correctly. The files listed for download on this page are .vss (Visio stencil) files within .zip files. Some of the .zip files contain Microsoft PowerPoint files in addition to Visio files. The PowerPoint files contain .emf (enhanced metafile) vector … Read more

How to change VOS3000 browser client port

If you want to change VOS3000 browser client port address edit the following file or find server.xml file under apache-tomcat installation conf folder change the Connector port 80 to whatever you want which is not used on system and reboot the system.
# nano /usr/apache-tomcat-5.5.15/conf/server.xml

Read more

How to change Timezone in VOS3000 after VOS3000 installation

Some tome you want to change Timezone in VOS3000 after VOS3000 installation For Example I want to change my Time zone to Asia/Shanghai

 

easy way to change time zone on centos  run the system command 

# system-config-date

and select your timezone

timezone

 

 

 

 

 

 

 

 

 

 

 

 

 

click OK   and reboot the server.

if  system-config-date  command is not working then install this tool 

# yum install system-config-date

manual way to do this is follow the below steps.

Reinstall Timezone database

# yum -y reinstall tzdata

Install NTP Client to accurate time according to time zone

# yum -y install ntp # chkconfig ntpd on # service ntpd restart

Read more