Home » Infrastructure » Windows » Re: Can I install Personal Oracle 7 on Windows 2000?
Re: Can I install Personal Oracle 7 on Windows 2000? [message #100654] Wed, 02 April 2003 04:21 Go to next message
Marius Grigoriu
Messages: 1
Registered: April 2003
Junior Member
Installing Oracle 7.3.3.0.0 on Windows 2000 Professional
********************************************************

DISCLAMER!!:
************
I found the solution to this problem by myself after spending hours on the InterNet
looking for an answer, using all kinds of different search phrases and keywords. But
it just wasn't meant to be! I didn't find anything that was even remotely helpfull.
So I thought I'd have a try at solving this riddle myself.

Now you must believe me when I say that I tried all kinds of things, before I came
accross this answer. So the reason that I am making this information available is so
that people can have at least one option that they can try. This is because at the
time of writing this article, no information was apparently available on the
InterNet that the author could find after a very extensive search.

Therefore, considering nobody else was involved in generating this solution, i.e.
Oracle Corp, a Qualified Oracle Administrator etc., I cannot provide any kind of
guarantee or any type of warranty of any kind. Full Stop!! That's because there is
no kind of endorsement from any kind of company or professional to this solution,
as you can very well imagine. IF YOU ARE UNSURE THEN DO NOT USE THIS INFORMATION!!

SO IF YOU DECIDE TO TRY THIS OUT AND ENCOUNTER PROBLEMS, THEN PLEASE DON'T FLAME ME
FOR THE CONSEQUENTIAL DAMAGE YOU MAY HAVE INCURRED. THIS WORKED FINE ON MY MACHINE
AND THAT IS ALL. IT HAS NOT BEEN TESTED ANYWHERE ELSE. YOU HAVE ALSO BEEN WARNED
ABOUT FIVE TIMES IN VARIOUS FORMS UP UNTIL NOW, AS YOU CAN SEE ABOVE.

TO BE CLEAR: THERE ARE NO WARRANTIES OF ANY KIND PROVIDED WITH THIS INFORMATION!!!

Now the unpleasant part is over, let's begin...

ERROR DESCRIPTION:
******************
When installing Oracle 7.3.3.0.0 on Windows 2000 Professional, the following error
was generated, stating:

"Unable to delete the NT Service for the SQL*Net V2 Listener"

when Oracle is at the position:

"Installing SQL*Net Add-on Sample Files..."

This error was encountered at around the 1% mark of the total overall program
installation.

RESOLUTION:
***********
To resolve this issue, the following steps were conducted in the exact order
detailed below:

1 - Copy the entire Oracle CD onto a suitable location on your hard drive. I placed
mine in "D:Oracle".

2 - Now you will need to go to the "NT_X86" directory in this new location. For me
this location was "D:OracleNT_X86".

3 - Now go to "SQLNET" -> "NET23" -> "SERVER". This placed me on my machine in
"D:OracleNT_X86SQLNETNET23SERVER".

4 - In this directory, locate the file "NETS23.INS" and take a copy of it as backup
and remove it's Read-Only attribute if it has one.

5 - Now open this file in Notepad, and scroll about two thirds the way down until
you reach the code that is shown in the "OLD SCRIPT CODE" Section below. As you can
see, it's trying to delete a service that doesn't exist, which is fine because the
code tells the installer to continue if the service doesn't exist. As far as I can
tell however, Windows 2000 doesn't like that very much and tells the installer
where to dump it :)

6 - OK. I tried installing this on a machine that had no previous version of Oracle
so this solution worked OK for me. What you do if you have a previous version of
Oracle is up to you. I would suggest you un-installed it first and then install a
fresh copy. Obviously backup all your data first. Now, what we want to do is comment
out the offending code. To people who are not programmers this basically means you
will tell the installer to ignore that instruction. So place the comments where I
have indicated in the "NEW SCRIPT CODE" Section below. Non-programmers please be
aware that the start of a comment is indicated by a "/*" and the end of a comment
is indicated by a "*/". They are the exact opposite way round. Any deviation from
this and it will not work or maybe even worse, I don't know. You must also ensure
that both the start and finish comment markers must be entered exactly where I have
indicated. IF YOU ARE IN ANY WAY UNSURE ABOUT THIS THEN DO NOT DO ANYTHING!! DO NOT
TRY AND INSTALL ORACLE USING THIS SOLUTION!! GO OUT AND BUY A COPY OF ORACLE THAT
IS WINDOWS 2000 COMPATIBLE!!

7 - OK. Save the file and exit Notepad.

8 - Now go back to the "NT_X86" directory. On my machine it's at
"D:OracleNT_X86".

9 - Run the "Setup.exe" file and installation should work normally now.

10 - Continue with your installation as normal for Windows NT.

11 - You can now delete the copied Oracle CD files, for me this was "D:Oracle".

REMARKS:
********
During my search for an answer to this problem, I read quite a lot of very short
proposals to fix this problem, none of which worked. How do I know this? Because
I tried every single suggestion. A lot of this information was generally in news
groups.

One suggestion was to use the Updated Installer, as it was Year 2000 compliant.
I tried this and had no success. The solution above used the original Installer,
which according to the information I read was not Y2K compliant, but it still
worked.

Another suggestion was to alter the System Time to a year prior to 2000. Again,
I tried this proposal and found that it did not work. I tried 1999 and 1997,
neither of which worked. Again, the solution above was not affected by any
date/time changes.

Also, it does not matter whether the Read-Only Attributes on the installation
files are set or not, including the modified file. The solution above will
install correctly either way.

Instead of copying all of the Oracle CD to your hard-drive to install Oracle
I found that if I copy the following directories and files, I managed to get
Oracle to install OK:

DOC (Directory)
NT_X86 (Directory)
WIN32 (Directory)
WELCOME.HTM
PRODINFO.ORA

Just to be safe, I copied all of the above directories and files into one
directory on the root of my hard-drive, D:Oracle. I ran the installation
from there with the modified file and it worked OK.

Another idea that I haven't had time to try, but I am quite confident that it
would work is creating the service "OracleTNSListener" before you start the
installation of Oracle. To create the service you would need the tool Sc.exe
to help develop services for Windows NT, which is provided in the Microsoft
Windows NT 4.0 Resource Kit. What I would do is create a new text file and
rename it to something like "Temp.exe". Then you would be able to create the
Service using the following syntax:

"sc create OracleTNSListener binpath=c:temp.exe"

This service is created as a WIN32_SHARE_PROCESS with a SERVICE_DEMAND_START
start-type by default. It does not have any dependencies, and runs in the
LocalSystem security context. You would then probably be better off to change
the start-type to Manual. Don't forget to re-start, just to be safe.

With this Service created you should be able to run the original Oracle Setup
without having to modify the file as described in the solution above. Looking
at the script, the Install Program should then delete this Service and
re-create it. Like I said, I think this method should also work, but I have
not tried/tested it because I've already spent far too much time on this, so
I can't give you any kind of result. I may return to this at a later stage
and try it out when I have some spare time, but don't hold your breath :)

Well, that's it. I wish you the very best of luck and I hope this information
has been of some help.

OLD SCRIPT CODE:
****************

if (platform() == "nt")
{
/* Delete and recreate as automatic. */

{
nt_delete_service("OracleTNSListener") ;
}
[[
'PERMISSION_DENIED, 'OS_ERROR : { signal('FAILURE, failure_of_deltns); }
'INVALID_SERVICE_NAME : { continue(); }
'SERVICE_DOES_NOT_EXIST : { continue(); }
]]

{
winnt_create_service("%ORACLE_HOME%BINTNSLSNR.EXE",
"OracleTNSListener",
SERVICE_ALL_ACCESS,
SERVICE_WIN32_OWN_PROCESS,
SERVICE_AUTO_START,
SERVICE_ERROR_NORMAL,
"LocalSystem",
"");
}

NEW SCRIPT CODE:
****************

if (platform() == "nt")
{
/* Delete and recreate as automatic. */


--> /*
{
nt_delete_service("OracleTNSListener") ;
}
[[
'PERMISSION_DENIED, 'OS_ERROR : { signal('FAILURE, failure_of_deltns); }
'INVALID_SERVICE_NAME : { continue(); }
'SERVICE_DOES_NOT_EXIST : { continue(); }
]]
--> */

{
winnt_create_service("%ORACLE_HOME%BINTNSLSNR.EXE",
"OracleTNSListener",
SERVICE_ALL_ACCESS,
SERVICE_WIN32_OWN_PROCESS,
SERVICE_AUTO_START,
SERVICE_ERROR_NORMAL,
"LocalSystem",
"");
}

AUTHOR:
*******
Marius Grigoriu - 24/05/2002

EOF
icon14.gif  Re: Can I install Personal Oracle 7 on Windows 2000? [message #327053 is a reply to message #100654] Fri, 13 June 2008 10:00 Go to previous messageGo to next message
sameh_riad
Messages: 4
Registered: June 2008
Junior Member
YOU ARE A GREAT GUY

I CANNOT THANK YOU ENOUGH FOR THIS POST

I registered here specially to be able to reply to you and say thank you. Cause this worked perfectly. Thank you really for taking the time to post this message

Best Regards,

Sameh.
Re: Can I install Personal Oracle 7 on Windows 2000? [message #327055 is a reply to message #327053] Fri, 13 June 2008 10:03 Go to previous message
Michel Cadot
Messages: 59748
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Are you saying you are still using Oracle7?
But why?
And why not with DOS?

Regards
Michel
Previous Topic: installing developer 10g on windows vista
Next Topic: ora 1034 ORACLE NOT AVAILABLE
Goto Forum:
  


Current Time: Sun Nov 23 03:57:54 CST 2014

Total time taken to generate the page: 0.11630 seconds