Howto use yum CentOS DVD To install packages directly from the DVD one must do: # vi /etc/yum.repos.d/CentOS-Media.repo enabled=1 # mkdir /media/cdrom # mount /dev/cdrom /media/cdrom # yum –disablerepo=* –enablerepo=c5-media install pacakge-name
How can I configure GlassFish to use a 64-bit JVM?
If you need to break the 2GB or 4GB heap memory size(depending on your OS/JVM combinaison) the maximum barrier for your GlassFish-powered application, you can move to a 64-bit JVM. The following applies to the GlassFish “developer” and “cluster” profiles. To […]
How to setup timezone on glassfish
How to setup timezone on glassfish/jvm Download http://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/VerifyItem-Start/tzupdater-1_3_33-2010l.zip?BundledLineItemUUID=IXeJ_hCvlacAAAErQScpGPRn&OrderID=97KJ_hCvNGcAAAErNCcpGPRn&ProductID=T56J_hCwuZIAAAEre0AZ1adz&FileName=/tzupdater-1_3_33-2010l.zip Application Server > JVM Settings > JVM Options Add JVM Option -Duser.timezone=Brazil/East Configuration –> System settings user.timezone = Brazil/East Restart glassfish # service glassfish stop # java -jar tzupdater.jar -u -v # […]
Compare float in bash
Compare float in bash If you have a regular if and one of the integers has a float value like 1.200 you will get an error message. The best way to do is using the bc command. Like: $ echo […]
refused smux peer: oid >SNMPv2-SMI::enterprises.674.10892.1
In my ESX server after installing Dell Open Manager we are getting this message on the syslog: “refused smux peer: oid >SNMPv2-SMI::enterprises.674.10892.1” The solution: The openmanage install should have appeneded this line to # vi /etc/snmp/snmd.conf #(comment) Allow Systems Management […]
Nagios Plugin Collection
The Nagios Plugin Collection is a set of scripts for the Nagios monitoring project to check the status off various system components. Please release these notes before reporting any bugs to Bugdatabase. Thanks. The following scripts are included in this […]
socket:java.net.SocketException: Too many open files
On our Glassfish enviroment we started seeing the following error: socket:java.net.SocketException: Too many open files Its caused by a limit on the OS. To find out your OS limit type: # ulimit -n To check how many open files a […]
