Linux “service xyz does not support chkconfig”

 

Majority of the scripts, which you want to startup certain services during the boot process itself are usually placed (CentOS, RHEL, OUL(Oracle Unbreakable Linux)) in /etc/init.d folder

We had a requirement to disable the automatic startup of Oracle database, which was a part of Oracle Vision Instance 12.1.3

The vision database node server on Oracle linux, starts up the database services during the boot process itself, thus delaying the booting process.

After a long scrutiny (as I am not very familiar with Linux) I found that during the boot up, one particular service “ebizdb” was being executed and I found a script with automatic execution within “/etc/init.d” folder

Recently I have learned that I could change a .sh script using “chmod” command to executable so that I could call it without using “./” and the syntax was

chmod +x myscript.sh

Just keeping my fingers crossed (make a note of my acceptance that I am not a linux geek) I tried the following

chmod –x ebizdb

and bingo!

Prior that I tried

chconfig ebizdb off

and kept on receiving error message stating “service ebizdb does not support chkconfig”

The job was done by just the script’s behavior from executable to non-executable.

Hope this helps few out there, who are Linux noobies like me!

 

regards,

admin

Oracle E-Business Suite R12 Internet explorer 10 “unidentified”

 

Just 24 hours back, I made another attempt to setup a vision instance at home using VM templates from Oracle and, guys, it was a total success *grin* (Will post the installation steps later, stay tuned, it is loads of fun!)

However I was stuck with an issue, the html/jsp pages will not render properly in Internet Explorer 10 (I am using Windows 8 Pro 64bit) and started with my favorite search toy “google” once again

image

 

image

I came across a blog post from Oracle discussing about the certification path here

and within the thread there was another reference towards a later blog entry, which explained the certification details(here). Unless you are in a hurry, you shouldn’t miss the minimized quote says

Compatibility Mode for IE 10 + EBS 12

To prevent issues with certain OA Framework pages, you should run IE 10 in “Compatibility Mode.” See the “Known Issues” section in Note 389422.1 for more details.

 

image

How to? have a look at the below images

image

That’s all Smile

image

hope the post was useful for minimum few out there

 

regards,

admin

Oracle Database 11g Release 2 (11.2) Installation On Oracle Linux 6

 

We always refer www.oracle-base.com for exclusive tips on installing various Oracle products and we would suggest, it is one of the best repositories you can also depend upon for.

Recently we were having a requirement to migrate our legacy 10.1.2.x Oracle database to 11gR2 and we followed this thread by www.oracle-base.com to.

Our scenario was involving a VM instead of physical server which was hosted on Windows 8 64 Professional edition using Oracle’s VirtualBox 4.2.18

Following the straight forward instructions we installed Oracle Linux 6.2 X86_64 (64bit) and added Oracle’s own public repository for yum repository (instructions here)

Next we ran an update cycle, and our distro was upgraded to 6.4 from 6.2 and the first issue we realized was X terminal. To resolve, we did the following few activities

Uninstalled the VirtualBox addons

Re-configured the X terminal

Re-installed VirtualBox addons

Then went ahead with instructions available with the oracle-base post for the 11gR2 installation.

Even though all the instructions were tailored for a successful installation of 11GR2 we were stuck as soon as we tried to start the installation process by calling

./runInstaller

A number of Java exceptions where thrown and while digging around, came to a conclusion that, it was due to the exporting DISPLAY and later allowing access to the same.

We found a thread on stackoverflow, with a solution and the solution was

as root

set DISPLAY

$DISPLAY=:0.0

$export DISPLAY

$xhost +

then as user oracle

$su – oracle

$DISPLAY=:0.0

$export DISPLAY

$cd /stage/database

$./runInstaller

A number of .so files were upgraded to recent versions during the 6.2 to 6.4 upgrade process, hence the installer will prompt missing library files which you can safely ignore (We would recommend you to resolve such warning if you are doing a production installation, a test scenario could overlook these wanings)

It is painful, however, please do confirm all the recommended packages or new versions are already available with your linux installation prior going ahead with the installation.

We installed unixODBC package(s) using the add remove software, a newer version than the one suggested by Oracle and proceeded with the database installation.

Even though we were able to complete the installation successfully, left us with huge concerns like the time and efforts required, the level of knowledge about linux and complexities resolving the dependency which is almost nothing in the case of Windows environment.

Anyway, we hope you would enjoy another quality post by us!

regards,

admin

Oracle, Migrating from Developer 6i to 11g & Weblogic Application Server 10.3.6

 

There are no guarantees that Windows 7 and Windows 8 machines will support Client/Server architecture applications developed by Oracle developer 6i, even after your patch certain .dll files (refer to our previous post here )

So, it is time to move on. Many legacy applications cannot be discontinued as they serve the businesses in tailored manner. Hence the best practices should include migration to latest Oracle products and retaining such applications for next “N” number of years.

We are going to draft the easiest methods to migrate to Oracle Weblogic server 10.3.6 & Developer suite 11g briefly over here. Please read on how to install the weblogic server here

Make sure you have made multiple backups for your forms 6i source modules & reports

Create local folders from development machines with easily identifiable names (eg: myapp11gtest)

Start compiling your 6i modules (forms, menu modules, libraries) using 11g forms developer or use the batch mode compiler.

Address the obsolete triggers (KEY-NEXT-ITEM for eg)

Port the compiled forms & other modules to your weblogic server

Please note, if your environment is totally windows based, you may not recompile the form modules once again at weblogic server end. On the other hand if you are developing modules on windows environment and later porting them to Weblogic server hosted in a linux environment, you must recompile the modules once again

Idiot proof notice: Always keep multiple backups for your source files!, You cannot port 6i applications compiled using Developer 10g suite to Weblogic server which has 11g developer suite components and expect the .fmx files to load

regards,

admin

Install Oracle database 10.2.0.3 onwards on Windows 8.1 Preview

 

If you came here for answer, the first answer is yes, you can install Oracle 10.2.0.3 onwards database, as in you have done it on Windows 7, 8 following our other posts.

Just change the refhost.xml and add an additional entry for Windows version 6.2 (If have done it for Windows 8 already, you don’t have to change anything)

Go ahead and install the database and enjoy

image

Regards,

Admin

Oracle Database, Send SMS through SMS Gateway

Tested on 10g 10.2.0.3 database with default installation(no additional packages were installed to achieve the results)

There are many APIs (developed by 3rd parties) which will allow you to send SMS from a Oracle database on demand. Many times such APIs would become costly, depending upon your requirements.

Here, we are providing a zero cost solution, incase if your SMS gateway provider allows you to send SMS through a web service portal.

You may wrap the entire procedure and call it against a table trigger or through a button click available with user form(s)

SET SERVEROUTPUT ON;
 SET DEFINE OFF;
 DECLARE
 HTTP_REQ    UTL_HTTP.REQ;
 HTTP_RESP   UTL_HTTP.RESP;
 URL_TEXT    VARCHAR2 (32767);
 URL         VARCHAR2 (2000);
 SMS_MSG     VARCHAR2 (160):= 'Congratulations! Your database has been configured propoerly for sending SMS through a 3rd party SMS Gateway';
 BEGIN
 DBMS_OUTPUT.ENABLE (1000000);
 --Based ON your SERVICE provider, THE FOLLOWING LINK FORMAT may differ FROM
 --What we have specified below!
 URL :='http://yourwebsmsdomain.com/alerts/api/web2sms.php?username=demo&password=demo2&to=95xxxxxxx&sender=ODBSMS&message='
 || UTL_URL.Escape (SMS_MSG, TRUE);
 --UTL_URL.Escape manages ESCAPE CHARACTERS LIKE SPACE BETWEEN words IN A message.
 HTTP_REQ := UTL_HTTP.BEGIN_REQUEST (URL);
 UTL_HTTP.SET_HEADER (HTTP_REQ, 'User-Agent', 'Mozilla/4.0');
 HTTP_RESP := UTL_HTTP.GET_RESPONSE (HTTP_REQ);
 -- PROCESS Request
 LOOP
 BEGIN
 URL_TEXT := NULL;
 UTL_HTTP.READ_LINE (HTTP_RESP, URL_TEXT, TRUE);
 DBMS_OUTPUT.PUT_LINE (URL_TEXT);
 EXCEPTION
 WHEN OTHERS
 THEN
 EXIT;
 END;
 END LOOP;
 UTL_HTTP.END_RESPONSE (HTTP_RESP);
 END;

Enjoy another quality solution from us :)

Regards,

Admin

OiilNativeException is thrown, While Installing Older Oracle products (Windows)

 

Recently we were forced to re-install Oracle Developer suite 10g (10.1.2.0.2) and came across a peculiar error and the installation log out file had the following entries

[sourcecode language='text'  padlinenumbers='true']
OiilNativeException is thrown 
OiilNativeException is thrown 
OiilNativeException is thrown 
OiilNativeException is thrown 
OiilNativeException is thrown 


path: C:\Users\rthampi\AppData\Local\Temp\OraInstall2013-04-28_08-56-48AM\jre\1.4.2\bin;.;C:\Windows\system32;C:\Windows;D:\oracle\product\10.2.0\db_1\bin;D:\WLS\Middleware\Oracle_FRHome1\bin;C:\orant\bin;C:\orant\jdk\bin;D:\WebLogic\Middleware\Oracle_FRHome1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Windows Live\Shared;C:\Windows\System32\Windows System Resource Manager\bin;C:\Program Files (x86)\PC Connectivity Solution\;C:\Program Files (x86)\QuickTime\QTSystem\;D:\WLS\Middleware\Oracle_FRHome1\opmn\bin;D:\WLS\Middleware\Oracle_FRHome1\opmn\lib;D:\WLS\Middleware\Oracle_FRHome1\perl\bin;D:\WebLogic\Middleware\Oracle_FRHome1\opmn\bin;D:\WebLogic\Middleware\Oracle_FRHome1\opmn\lib;D:\WebLogic\Middleware\Oracle_FRHome1\perl\bin


toload is C:\Users\rthampi\AppData\Local\Temp\OraInstall2013-04-28_08-56-48AM\WindowsGPortQueries.dll
[/sourcecode]

and by the end of install log file we were able to see that, the installation was terminated while trying to setup LD_LIBRARY_PATH environment variable

[sourcecode language='text' ]
oracleHomes = C:\orant,D:\DevSuiteHome_1,D:\Oracle\Middleware\oracle_common,D:\oracle\product\10.2.0\db_1,D:\WLS\Middleware\oracle_common,D:\Weblogic\Middleware\oracle_common,D:\WebLogic\Middleware\Oracle_FRHome1,D:\DevSuiteHome_2,

configurationPath = D:\DevSuiteHome_2\j2ee\DevSuite\config\default-web-site.xml

attributeName = port

UDPFlag = null
Query Returned: 8892
Setting variable 's_httpPort' to '8892'. Received the value from the variable calculation. 
*** Entering Component: oracle.developer.forms.builder installation
Calling Query generalQueries10.1.0.3.0  getOSName
Query Returned: NT_X86
Setting variable 'SO_EXT' to 'so'. Received the value from the variable calculation. 
Calling Query generalQueries10.1.0.3.0  getOSName
Query Returned: NT_X86
Setting variable 'PROD_LIBDIR' to 'lib'. Received the value from the variable calculation. 
Calling Query generalQueries10.1.0.3.0  getOSName
Query Returned: NT_X86
Setting variable 'OS_CHECK' to 'NT_X86'. Received the value from the variable calculation. 
Calling Query generalQueries10.1.0.3.0  getOSName
Query Returned: NT_X86
Setting variable 'OHOME_LIBDIR' to 'lib'. Received the value from the variable calculation. 
Calling Query generalQueries10.1.0.3.0  getenv

name = LD_LIBRARY_PATH
[/sourcecode]

Obvious, we had an installation for Oracle Weblogic Server 10.3.6 and Oracle developer suite 11g which were done much later stages, and the Environment was setup with a static entry for LD_LIBRARY_PATH=D:\WebLogic\Middleware\Oracle_FRHome1\lib;D:\instantclient32

During the installation time, the installer was trying to setup the LD_LIBRARY_PATH variable for sourcing the required files/other components, and failing to setup the same was causing an unexpected error and thus the entire installation failing without producing any specific error within the log file, other than the .out file stating an exception towards “OiilNativeException “

Workaround

Copy the LD_LIBRARY_PATH value to a text file and delete the environment variable after stopping Weblogic services.

Restart the computer and try to install your product. This should solve the dreaded issues with installation.

Tested environment: Windows 8 64Bit Professional edition running Oracle database 10g 10.2.0.3, Oracle weblogic server 10.3.6, Oracle developer suite 11g

 

Regards,

Admin