Identifying instance on windows machine
Hi all,
We can identify all the instance by firing the command *"ps -ef|grep pmon*" in unix machines. But, can anyone please help me find which "oracle.exe" process is running for which instance??..i.e, equivalent command in windows to identify various instances.
Regards,
Saikat
sc query| findstr OracleServiceCheck this
similar windows command for ps -ef | grep pmon
Similar Messages
-
Is there any way to make a Mac identify as a Windows machine on a local network?
I work for a municipal government organization. Occasionally, I am blocked by the network spam/firewall software (Barracuda) from accessing websites from my Mac, but NOT blocked from them if I go from a Windows machine -- even if it's a Windows VM running on the Mac! The reason given is usually because the sites are identified as "shopping".)
My suspicion is that, since AFAIK I am on the only Mac on the city's network that is NOT in one of the school department's computer labs, that there is a setting on the server side that is set to assume that any Mac is a classroom machine and that the user is a minor. (***PLEASE NOTE*** Before anyone says anything, he sites in question tend to be free font or free graphics sites and ARE actually work-related, since I have no budget for fonts or stock photos... Keep it clean, you! <gr>)
I know that there are ways to spoof a browser, say, on the web, but is there any way to do this directly on a local network? More to the point, if it IS possible, is there a way for ME to do it from my end rather than putting in a request to the MIS **** Desk to do something at THEIR end?Try this, UneasySilence.com has a guide on how to use SheepShaver to run Mac OS 9 on an Intel Mac.
http://www.gibix.net/dokuwiki/en:projects:sheepshaver
"Who said you can't use MacOS 9 because you have an Intel Mac? It is completely possible with a little bit of tinkering, and a really cool universal application called Sheep Shaver, which came to us via a tip from Kazaki. Sheep Shaver is a full speed 'Classic' emulator for Windows, Linux, and Intel based Macs, that runs older MacOS's at shockingly full speed!"
http://www.uneasysilence.com/archive/2006/08/7352/
If my answer helps or solves your problem, please mark it accordingly, it provides an incentive for posters here to try and help and gives others a quicker way of finding solutions faster, thank you. -
Unable to connect to Oracle database running on Windows machine from linux.
Hi,
I'm not able to connect to oracle database running on Windows machine from Linux machine. I'm geting the below mentioned error. I have given below the code I used to connect to database and database propertes.Do I need to use any specific driver?
Please help me.
Thanks,
Sunjyoti
Code :
import oracle.jdbc.pool.OracleDataSource;
import java.sql.Connection;
import java.util.*;
import java.sql.*;
import java.io.*;
class try2{
public static void main(String args[]) {
try {
System.out.println("hi");
// Load the properties file to get the connection information
Properties prop = new Properties();
prop.load(new FileInputStream("/home/sreejith/EDIReader/Connection.properties"));
// Create a OracleDataSource instance
OracleDataSource ods = new OracleDataSource();
System.out.println("prop is "+prop);
configureDataSource(ods, prop);
Connection conn=null;
// Create a connection object
conn = ods.getConnection();
System.out.println("Connection is"+conn);
// Sets the auto-commit property for the connection to be false.
conn.setAutoCommit(false);
} catch (SQLException sqlEx){ // Handle SQL Errors
System.out.println("In exception "+sqlEx);
} catch(Exception excep) { // Handle other errors
System.out.println(" Exception "+ excep.toString());
private static void configureDataSource(OracleDataSource ods, Properties prop) {
// Database Host Name
ods.setServerName(prop.getProperty("HostName"));
// Set the database SID
ods.setDatabaseName(prop.getProperty("SID"));
// Set database port
ods.setPortNumber( new Integer( prop.getProperty("Port") ).intValue());
// Set the driver type
ods.setDriverType ("thin");
// Sets the user name
ods.setUser(prop.getProperty("UserName"));
// Sets the password
ods.setPassword(prop.getProperty("Password"));
Connection properties :
# Your Database Connection details
HostName = 10.20.3.19
SID = EDIREAD
Port = 1521
UserName = dbuser
Password = dbuser
Error I'm getting is
error while trying to connect with odbc datasource
[root@iflexpau2217 EDIReader]# java try2
hi
prop is {HostName=10.20.3.19, Password=dbuser, UserName=dbuser, SID=EDIREAD, Port=1521}
In exception java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
Also I tried to connect with weblogic JDBC driver
Code is here:
import java.io.BufferedReader;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.sql.Blob;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.SQLException;
//import com.entrust.toolkit.util.ByteArray;
public class trial{
public static void main(String args[]) throws IOException{
System.out.println("hi");
Connection p_conn = null;
PreparedStatement xml_insert = null;
try {
// Load the JDBC driver
System.out.println("hi2");
// String driverName = "oracle.jdbc.driver.OracleDriver";
String driverName = "weblogic.jdbc.oracle.OracleDriver";
System.out.println("hi2");
Class.forName(driverName);
// Create a connection to the database
String serverName = "10.20.3.19";
String portNumber = "1521";
String sid = "EDIREAD";
//String url = "jdbc:oracle:thin:@" + serverName + ":" + portNumber + ":" + sid;
String url = "jdbc:bea:oracle://10.20.3.19:1521";
String username = "dbuser";
String password = "dbuser";
System.out.println("connection is:"+p_conn+"user name is"+username+"password is"+password);
p_conn = DriverManager.getConnection(url, username, password);
System.out.println("connection is:"+p_conn+"user name is"+username+"password is"+password);
xml_insert=p_conn.prepareStatement("insert into PRTB_SUBUNIT (SUBUNT_ID,SUBUNT_SUB_UNIT,SUBUNT_PHYUNT_ID) values (?,?,?)");
//InputStream in=null;
File l_file=new File("/home/sreejith/EDIReader/propertyfiles/inputfile/BUG_10802_ES_CSB19_68.txt");
BufferedReader input =null;
input=new BufferedReader(new FileReader(l_file));
String line = null;
StringBuffer trial=new StringBuffer();
while (( line = input.readLine()) != null){
trial.append(line);
trial.append(System.getProperty("line.separator"));
//InputStream is = new BufferedInputStream(new FileInputStream(l_file));
System.out.println(trial.toString());
//Blob b ;
//byte[] bytes=trial.toString().getBytes();
//System.out.println("Size-->"+bytes.length);
xml_insert.setString(1,new String("SpecailChar"));
//xml_insert.setBinaryStream(2,new ByteArrayInputStream(bytes),15920);
xml_insert.setString(3,"SpecailChar");
xml_insert.executeUpdate();
p_conn.commit();
} catch (ClassNotFoundException e) {
System.out.println("ClassNotFoundException:"+e.getMessage());
// Could not find the database driver
} catch (SQLException e) {
System.out.println("SQEXCEPTIN:"+e.getMessage());
// Could not connect to the database
}catch (FileNotFoundException e) {
System.out.println("filenot found:"+e.getMessage());
// Could not connect to the database
Error I'm getting is
error while trying with jdbc:
SQEXCEPTIN:[BEA][Oracle JDBC Driver]Error establishing socket to host and port: 10.20.3.19:1521. Reason: Connection refusedIs the Windows firewall active? Have you enabled the port on the firewall, if it is?
-
How to install more than one instances on one machine
Hi ALL,
I want to install more than one instances on one machine, but i am a freshman on SAP field. How and where can i get the related infomation for that? thank you very much !!Hi tieyan,
Glad the information was of some help.
For Windows, there is an older note <a href="http://service.sap.com/sap/support/notes/28392">28392</a> that has some more information. It is important also that the SAP parameter PHYS_MEMSIZE is sized correctly according to note <a href="http://service.sap.com/sap/support/notes/88416">88416</a> (the bottom of the note gives some examples). For example, if there were two central instances and the two Oracle database instances on one host, PHYS_MEMSIZE for both instance profiles (of the central instances) would be 35% of the RAM (1/2 of 70%). In the case of MSSQLSRV 2000, for PHYS_MEMSIZE you would refer to the scenarios of note <a href="http://service.sap.com/sap/support/notes/327494">327494</a>.
If you ever want to thank somebody else for helping in answering a question, the <a href="https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement">Rules of Engagement</a> has a section 'Thank Others by Giving Points' that explains this further.
Regards, Mark -
No Windows machines in Finder/Shared - but lots of clues
Like many, I am having problems on my home LAN getting Windows PCs to show up automatically in Finder/Shared. I've scoured these boards & many others looking for the solution but I'm still frustrated.
My current thinking is that this must somehow be related to my router. Maybe, maybe not. But here's what I do know...
Home LAN config:
- 3 Windows Vista PCs
- 1 Windows XP Pro PC
- 1 MacBook Pro
- DSL modem (Speedstream 4200) in pass-through mode to...
- D-Link router (DVG-5102S). It's a Telephone Adapter for AT&T Callvantage VoIP (but it's a router). The D-Link Router connects into...
- Netgear 8-port switch (not a router). This feeds 2 of the 4 PCs (wired). It also feeds...
- Airport Express. In bridge mode. This feeds the MBP and 2 of the other PCs
- File sharing configured on all PCs & Mac
- Firewalls off on PCs and Mac ("accept all incoming connections" on the MBP and Windows firewall turned off on the PCs)
- No other software firewalls on any of the computers
- Router & AE are on the same subnet
Home LAN scenario:
- All 4 of the PCs can see each other and can see the MBP when I click on "Network" in Windows. No problems
- All 4 PCs can exchange files amongst themselves as well as with the Mac all according to the specific folder access rules on the PCs and Mac. No problems.
- I can connect the MBP to any of the PCs by doing Finder/cmd-K and entering smb//<pcname>. I do not have to use the IP (although that works; too)
- For what it's worth, I have iTunes on all machines (PCs & Mac) with iTunes sharing turned on. All of the machines show up to each other in iTunes automatically and can share with no issues
What's not working:
- None of the PCs show up automatically under Finder/Shared. Obviously, if I do cmd-K smb//<pc name> it appears there with the "eject" button next to it but as soon as I reboot, it disappears again.
I also use the MBP at work. The scenario there is brighter:
- Shared PCs on the office LAN all automatically appear in Finder/Shared
- Server drives automatically appear in Finder/Shared
- All machines can read/write/share according to sharing rules set up on each machine. In other words, the office LAN works as it should
I've been puling my hair out trying to figure out the missing link (pun intended) to get things to work fully at home. Granted, I am in better shape than many with the "no Windows shared computers" on these boards - I can at least access the Windows machines 100% of the time using cmd-K smb/<pc name>. But I shouldn't have to; something's not right.
I'm not a LAN expert by any stretch. But given what I knew before & what I've learned in the last few days trying to resolve this, it seems like whatever the PCs are broadcasting across the LAN to say "hey, I'm here and I have shared folders" is being blocked before it can get to the MacBook Pro. That broadcast is clearly getting to the other PCs because they all show up under Windows. And the broadcast from the MBP is working, too because it shows up to all of the PCs.
I guess it could be the MBP "blocking" or ignoring it but I don't think so. When I take the MBP into the office, all of the PCs and servers automatically show up in Finder/Shared.
So my "smoking gun" is the D-Link router. I guess it could be something in the DSL or AE but both are in bridge mode so I doubt it.
Help???Ok Ed,
I did some digging on this today, as I played with my (working) network. SMB name serving is handled by one of four mechanisms (this is from the "man" page for smbclient):
o lmhosts: Lookup an IP address in the Samba lmhosts file. If
the line in lmhosts has no name type attached to the NetBIOS
name (see the lmhosts(5) for details) then any name type
matches for lookup.
o host: Do a standard host name to IP address resolution, using
the system /etc/hosts , NIS, or DNS lookups. This method of
name resolution is operating system dependent, for instance on
IRIX or Solaris this may be controlled by the /etc/nss-
witch.conf file). Note that this method is only used if the
NetBIOS name type being queried is the 0x20 (server) name
type, otherwise it is ignored.
o wins: Query a name with the IP address listed in the wins
server parameter. If no WINS server has been specified this
method will be ignored.
o bcast: Do a broadcast on each of the known local interfaces
listed in the interfaces parameter. This is the least reliable
of the name resolution methods as it depends on the target
host being on a locally connected subnet.
Insights from this:
1) The name of your server does matter. However I don't know what a 0x20 name type is! If you have that, then it is most likely a DNS lookup issue.
2) Most home networks don't have a WINS server specified, so
3) Most name resolution is being sorted out by a broadcast.
I am doing some more experiments tonight to try and replicate the issue. Insights from others are more than welcome! -
Using tar with zip for Datafiles backup on windows machine
Dear all,
We have R12 e business suite instance on windows.
I was implementing cold backup for this. Unfortunately i am not a windows guy.
I do have MKS tools installed on my windows machine, which contains the tar command.
Can i use tar -cvzf <bkp>.tgz <location of datafiles> for this?, My main concern is, is it going to harm the source like corruption etc..
ThanksIf MKS tools are supported under Windows it should not corrupt input files whether input files are Oracle database files or any other Windows files.
You could try instead to use RMAN for cold backup if you have already RMAN experience:
- RMAN does not backup empty blocks
- RMAN can also compress backups
- RMAN is fully supported on Windows if corresponding Oracle version is certified on your Windows server.
See an example of cold backup for database running in NOARCHIVELOG mode in http://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmquick.htm#BRADV90059.
If your database runs in ARCHIVELOG mode just backup your database online: http://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmquick.htm#i766544. -
Transfering files from Windows machine freezes my wi-fi connection
Guys, this is very weird, and it started to happen a week ago.
I use finder to connect to my windows machine on my home network, and after typing my password, I get access to the folder in the windows machine that I want.
The problem is: any file I try to transfer FROM or TO the windows PC freezes up mac os X after some seconds of transfer ... like a 60 mb file, it freezes after 20mb have been transfered ... and that's not only it ...
It freezes mac os x until I get the message "Connection to server LOST", and I only can get back on the network if I literally shut down my wi-fi router, because my macbook simply can't get DNS ip assigned again, it always auto-assign some weird ip and doesn't come back to the network till I restart my wi-fi router.
What in the **** may be going on ? Remember, it started to happen lately, it was not like this before !
Apple Macbook 13inch 2.0ghz Core Duo 512 60GB White SuperDrive Mac OS X (10.4.7)Dear Customer
Welcome in lenovo community
Have you check the wirless device status from the PC setting , is the switch are dimmed ( Please share a screen shot ) also please check the driver if installed properly or not .
Please let us know
Thanks
Alaa
Did someone help you today? Press the star on the left to thank them with a Kudo!
If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
Follow @LenovoForums on Twitter! -
Flash cs 5.5 app development using a windows machine?
can any one tell me if it is possible for me to buy a publish certificate for Flash CS 5.5 for windows so that i can publish some games for the iPhone in retina display supported? also the other question is that, i have heard that apple will not allow ipa files published using a windows machine such as Flash cs 5.5 even if i buy the flash publish certificates. Is it true that once i buy a developers lisence all the features such as publishing for app store and the publish certificate for Flash CS 5.5 will be at my disposal? or do i have to purchase them again seperately and what will be the total cost for all this?
And even if i can publish it to the app store, since I am from the country Maldives, can any one guide me to how I can register and receive the payments for the profits I earn from my apps? I use windows 7.
Any help regarding this would be greatly appreciated.
Thanx.
NaaffaXHi , I am having the same question,I am having a MAC and XCODE programme.
Can any one helps me to let the XCODE opens non MAC files for instance flash ipa.
I am new in XCODE , could you help step by step so I can open the flash IPA CS5 file.
I will learn Xcode, but I want to publish some Apps made by flash since I spent long....Time...
Then from now I will start from the scratch using XCODE. I think it is easier as some developers adviced me.
one of my is at my site www.kalmne.com
regards. -
Is it better to connect iPod to a windows machine at the very first time?
I've a Macbook and a Desktop PC. I just bought an iPod few days ago and expecting to recieve it pretty soon. Because I heard that a Mac formated iPod would not work on windows' machines, but otherwise works. So should I conncet my new iPod to the PC first??? if I want to use it on both systems later.
ThanksYour information is correct, an iPod formatted for Mac won't run natively on a PC because the Windows OS does not support the HFS Plus file system and therefore will not see the drive. If you want to use it on both platforms then connect it to your PC first so that it gets Windows formatted. Just remember though that you'll need to do any software updates or restores on the PC as well to maintain the formatting. Updating or restoring on the Mac will change it. Just a bit of additional information, there are third party programs that will allow you to use a Mac formatted iPod on Windows. This is one for instance will let you connect you Mac iPod to a PC and also copy non iTMS songs from the iPod to the PC: XPlay 2
-
Oracle AS cluster on single windows machine.
Hello All,
would appreciate your input here. I have two OAS 10g r2 (say node1 and node2) on my windows machine. I deployed my application on node1 and added node1 to a cluster. Then i added node2 to the cluster and the OC4J instance in node1 was duplicated into the second node.
My problem is the RMI port for my application is the same on both the OC4J instances and because of this only one OC4J instance can start at a time. I tried modifying the RMI port of node2 and I got both OC4J components working but the application broke. I want to later modify node1 to act as load balancer but my question is how do I modify the ports and get both OC4J isntances and the application working properly?
Thank you,
trrThanks for the reply hamdy. Could you please specify where I can find that doc?
Here's something I found which might answer this partly: When I redeployed using enterprise manager, the RMI server port specified in the server.xml is assigned automatically by the EM. Both the nodes have a different rmi port specified in this file. This allows both OC4J instance to start up at the sametime.
However, the RMI port in the rmi.xml correctly specifies what I assigned for my application and this is the same in the RMI.xml files for both the nodes. Because of this, some features of my application dont work. If I end up shutting down one of the nodes, all features work fine.
This makes me think that I cant get this working on windows and might have to shift to vmware/linux and continue my cluster testing. hoping this doc confirms or denies my assumption!
Thanks,
trr -
Installables for 32 bit windows machines
Hello,
It seems SAP has stopped providing installables for 32 bit windows machines. IS it correct?
If yes which SAP versions can be installed on - Windows server 2003 SP2 (32 bit).
Can we have ECC6 EHP4 based on SQL database on it?
Thanks,
AmbarishHi,
If you read the installation guide then following thing is mentioned there:
As of SAP ERP 6.0 SR3, you must install an SAP ERP system only on 64-bit operating
systems.
For the dialog instance, you can still use a 32-bit operating system. Therefore, you
only see the folder Software Life-Cycle Options on the Welcome screen when you start the
installation from a 32-bit installation master DVD.
You might need to install dialog instances on 32-bit operating systems if you want to
use 32-bit SAP NetWeaver components, such as Adobe document services. However,
first check whether such 32-bit components can run on 64-bit operating systems. If
so, we recommend running these 32-bit components on a 64-bit operating system.
Thanks
Sunny -
Deploying Multiple Presentation Services on a single Windows machine
Hi All,
Have any one tried to deploy multiple presentation services in single windows machine. Can any one give me clear steps configure presentation services to access different repositories at a time.
Thanks in AdvanceRight the conclusion was to either have everything in the same repository or create different presenation service instance. Can anyone please tell us how can different instances of presenation service be created in the same machine.
-
Two Instances on one machine questions
I need to install about 4 db instances on one windows machine for the start of a peoplesoft migration. I am not interested in grid computing.
I know I need to have multiple ports for the oem's but how do I sign on to the correct database when doing rman/, sqlplus and other common functions?
I am particularly concerned with upgrades and running opatch .
How do I set "ENVIRONMENT VARIABLES" when there are two oracle_sids?
I am starting to think 4 small boxes may be better?
Any advice?
THANKS!There are two ways of setting the environment variables in WIndows:
command line (valid for that command line window only)
set {env var}={value}
eg: set ORACLE_SID=abc
system wide (valid for everything, and therefore may interfere if not unset when not in use)
Start > Settings > Control Panel > System > Advanced > Environment Variables
If you are attempting to create a second database in the same Oracle Home, consider using the steps here -
I moved to Mac from a Windows machine where I had downloaded all of my CDs into iTunes. When I got my Mac it only put my purchased items into my library. So I merged my windows library and it created a whole new user account with that on it. I now have two libraries and can only sync music with one account or I lose all of my imported CDs. Help! How do I merge them.
The easiest way is to get both computers on your home network and copy the files over the network. It's easier than you think
Check this earlier thread:
[How do I move my itunes library to new computer|http://discussions.apple.com/thread.jspa?messageID=7937172�]
That thread mentions Target Disk Mode, which won't help moving from a PC to a Mac. But you can use file sharing to copy the files.
As the articles all say: don't forget to de-authorize your PC before you get rid of it. -
I have recently just bought a new mac and want to edit files that are currently saved on my external hard drive that I used on my windows machine.
Is there any way to be able to do this or will I have to transfer all files across to my mac and then re-format the external?
Thanks in advance.Either copy files over, reformat drive from NTFS to a Mac format and copy files back, or tell your Mac how to write to NTFS drives with a third-party product. Tuxera NTFS has high ratings: http://www.tuxera.com/products/tuxera-ntfs-for-mac/
Maybe you are looking for
-
No video on brand new mac mini
I am trying to get a brand new mac mini going for the first time, and although it switches on, there is no video on the attached VGA display. I have connected the same display to my Ibook VGA adapter and it works perfectly, so it is not the display.
-
EREC: Help Posting job in a web (using webservice)
Hello, I'm new in HR and I need help to posting job in a web (like moster.com), SAP HR - > Posting job - > web (like monster.com) (web service) I know this standard eRecruting interface: IF_HRRCF_PUBLISHER But I not how it is us
-
Regular expression usage question
Hi there. I have a 200 bytes EBCDIC variable record which I need to break down into fields. Fields are positional and are either text, binary numbers, packed-decimal and 64bytes long numbers. My question is. Can regular expression handle this complex
-
Beim Umwandeln einer Bilder-Sammlung von Phototshop Elements 4 in eine Dia-Show sind die Bilder anschließend von schlechterer Qualität. Wer kann mir da einen Rat geben. Danke
-
Upgrade 1121 autonomous to LWAPP
I have some access-points AIR-AP-1121G-TO-K9 and it would like to use them with a WLAN Controller. Is possible to change IOS for the software LWAPP to use with the WLAN Controller? I know that that is possible in another models of access-points, but