To query OID you can use ldapsearch that comes with oracle. If you want to get the Portal password for you Oracle Portal installation you can issues the following from the command line: ldapsearch -v -D “cn=orcladmin” -w “orcladminpassword” -h host -p 389 -s sub -b “cn=IAS Infrastructure Databases, cn=IAS, cn=Products, cn=OracleContext” “orclresourcename=PORTAL” orclpasswordattribute
Author Archives: markcallen
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 […]
Oracle XE Client Connection String
Oracle XE Client does not come with sqlnet therefore you need to connect to the database using a connection string. Oracle XE Connection String username/password@[//]host[:port][/service_name] port is required if the port number is not 1521. service_name defaults to XE.
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 […]
Unable to use Mac OS X FTP
Unable to use the Mac OS X command line ftp client because of Illegal EPRT command. Problem When trying to use the Mac OS X ftp client the following error occues when trying to list the files on the ftp server. ftp> ls 229 Entering Extended Passive Mode (|||37628|) 502 Illegal EPRT Command 200 PORT […]
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 […]
Setting up PXE
PXE is a great way to install linux on a server without the need of have a CD Rom. The following is a good starting point: http://www.redhat.com/docs/manuals/enterprise/RHEL-3-Manual/sysadmin-guide/ch-pxe.html
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