Setting up ntpd

A quick way to setup ntpd to set the system and hardware clock On a Redhat system (Redhat, CentOS, Fedora or Oracle Linux) edit the /etc/sysconfig/ntpd file: Change: SYNC_HWCLOCK=no to SYNC_HWCLOCK=yes Add: -x to OPTIONS so that the clock will be set every time ntpd is started OPTIONS=”-u ntp:ntp -p /var/run/ntpd.pid -x” Now make sure […]

ORA-19809: limit exceeded for recovery files

Unable to startup the database due to ORA-19809: limit exceeded for recovery files Problem The database will not mount when started SQL> startup ORACLE instance started. Total System Global Area  608174080 bytes Fixed Size                  1263200 bytes Variable Size             406849952 bytes Database Buffers          192937984 bytes Redo Buffers                7122944 bytes Database mounted. ORA-16038: log 3 sequence# 1933 […]

Oracle ESB Web Service Returns a java.security.PrivilegedActionException

When sending information to a ESB Web Service a java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection refused is returned. Problem If you try and access a ESB webservice on a webserver other than localhost and port 8888 the following error message is returned and the ESB flow is not run: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection […]

Setup LDAP with Openfiler

How to configure LDAP so that Windows shares will work with Openfiler. Configure LDAP for Samba The assumption is that LDAP is already up and running with user accounts with the posixAccount object classes. Add samba.schema to LDAP Copy samba.schema from /usr/share/doc/samba-3.0.10/LDAP to /etc/openldap Add the samba.schema to slapd.conf include         /etc/openldap/schema/samba.schema Install smbldap-tools Copy all […]

Disk Performance

Using hdparm to measure a hard disks performance. To measure the current performance of your disk run: hdparm -tT /dev/sda You will get something like: /dev/sda: Timing cached reads:   896 MB in  2.01 seconds = 446.06 MB/sec Timing buffered disk reads:  168 MB in  3.01 seconds =  55.77 MB/sec

ORA-20603: Updating timezone region of a target is not supported

Enterprise manager does not start after updating the database. The emdb.nohup has an ORA-20603: Updating timezone region of a target is not supported error message in it. The problem The timezones have been updated within the database. Solution As Oracle run: $ORACLE_HOME/bin/emctl resetTZ agent and follow the instructions.  You’ll need the sysman or sys password […]