Fixing SELinux Content in a HTML directory

Unable to access web files in a directory under the /var/www/html becuase of a 403 forbidden might be a context problem. Problem Getting a 403 forbidden error message when accessing a new file or directory in /var/www/html. Check /var/log/messages to see if there are any: Sep 13 13:11:28 fserver02 kernel: audit(1221336688.892:14): avc:  denied  { getattr […]

Oracle XE Recovery

How to recover an Oracle XE Backup First make sure the database is in archive log mode and running backups on a daily basis. See Oracle XE Backup for instructions on how to do this. Reverting to a Previous Backup If something has gone wrong with the database, such as deleting or corrupting a database file, and […]

Setting up VNCServer

How to setup vncserver on a linux machine to run gnome or kde. Initialize Startup vncserver for the first time on port 5910 (:10) and set the password. [root@localhost ~]# vncserver :10 You will require a password to access your desktops. Password: Verify: xauth: creating new authority file /root/.Xauthority New ‘localhost.localdomain:10 (root)’ desktop is localhost.localdomain:10 […]

OCS Content Services – ORA-12705: invalid or unknown NLS parameter value specified

Unable to access Oracle Collaboration Suite Content Services due to a ORA-12705: invalid or unknown NLS parameter value specified Problem When going to http://servername:port/content/app you get a http 503 error. The log file <mid-tier>/j2ee/OC4J_Content/application-deployments/content/OC4J_Content_default_island_1 has the following error message: java.sql.SQLException: ORA-12705: invalid or unknown NLS parameter value specified Solution Change the IFS.SERVICE.JDBC.DriveType to thin for […]

OID Query to get Portal Password

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  

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 […]