Connect as sysdba between Linux and Windows without using password

hello
Hello
I need to connect as sysdba between Linux and Windows without using password for the sys user
Sqlplus /@string_connection
Plz help me

Duplicate post:
Connect as sysdba between Windows and Linux
Actually you have been given the answer in your above thread. You need to read the Oracle documentation. Search password file at tahiti.oracle.com
regards

Similar Messages

  • Problems using RMI between linux and windows.

    I have problems using RMI between linux and windows.
    This is my scenario:
    - Server running on linux pc
    - Clients running on linux and windows PCs
    When a linux client disconnect, first time that server try to call a method of this client, a rmi.ConnectException is generated so server can catch it, mark the client as disconnected and won't communicate with it anymore.
    When a windows client (tested on XP and Vista) disconnect, no exceptions are generated (I tryed to catch all the rmi exception), so server cannot know that client is disconnected and hangs trying to communicate with the windows client.
    Any ideas?
    Thanks in advance.
    cambieri

    Thanks for your reply.
    Yes, we are implementing a sort of callback using Publisher (remote Observable) and Subscribers (remote Observer). The pattern and relative code is very well described at this link: http://www2.sys-con.com/ITSG/virtualcd/java/archives/0210/schwell/index.html (look at the notifySubscribers(Object pub, Object code) function).
    Everything works great, the only problem is this: when a Publisher that reside on a Linux server try to notify something to a "dead" Subscriber that reside on a Windows PC it does't receive the usual ConnectException and so tends to hang.
    As a workaround we have solved now starting a new Thread for each update (notification), so only that Thread is blocked (until the timeout i guess) and not the entire "notifySubscribers" function (that contact all the Subscribers).
    Beside this, using the Thread seem to give us better performance.
    Is that missed ConnectException a bug? Or we are just making some mistake?
    We are using java 6 and when both client and server are Linux or Windows the ConnectException always happen and we don't have any problem.
    I hope that now this information are enough.
    Thanks again and greetings.
    O.C.

  • Different stringWidth between Linux and Windows

    When I use Ms Windows Arial Font in my Java Program running on Linux
    I found out the rendering result of the Font is different with same program running on Windows
    The Arial Font in Linux become wider, and this cause problem because i used absoule position.
    I am using Java 1.3.1, How can solve this problem??

    The Arial under Linux and Windows are not the same. Firts, they may be different font files, second, both systems uses different rendering engines to draw them. Also, some systems, as mine, won't have Arial font at all - substitute font will be used then. So, I would expect, you will have similar problems with any other font, any other operating system or even in some specific locales which uses reversed (right-to-left) line ordering. You will also be not able to do internationalization properly.
    Simply your application is not portable and written with breaking may portability rules. I hope, you are not doing it for money. The layout managers is the only existing aswer to your problem. The closest to absolute is a SpringLayout introduced in 1.4.x.
    The absolute location problem is not a bad thing in Java only - it can screw C, VisualC and CBuilder applications. Take some of them and tweek your system settings - use large fonts for buttons, tiny fonts for menu, change whatever OS provides you to be able to change in L&F and look what will happen with some of those applications. I would be really happy to have layout managers in CBuilder.
    regards,
    Tomasz Sztejka.

  • Oracle weirdness between Linux and Windows........Any ideas??

    Hi,
    I'm connecting to the same database which is on a linux server.....
    This is the weirdness I'm getting...
    ---Connecting via SQLDeveloper in Linux (ubuntu), I'm running the following:
    desc message_instance_attr
    Name                           Null     Type                                                                                                                                                                                         
    INSTANCE_NO                    NOT NULL NUMBER(10)                                                                                                                                                                                   
    A_NAME                              NOT NULL VARCHAR2(32 CHAR)                                                                                                                                                                            
    A_VALUE                            VARCHAR2(1024 CHAR)                                                                                                                                                                          
    OWNER                              NOT NULL VARCHAR2(3 CHAR)                                                                                                                                                                             
    LAST_UPDATED_DATE       DATE                                                                                                                                                                                         
    UPDATE_COUNT                NOT NULL NUMBER(8)                                                                                                                                                                                    
    6 rows selected----Connecting via SQL plus to the same database in Windows:
    SQL> desc message_instance_attr
    Name                                      Null?    Type
    INSTANCE_NO                               NOT NULL NUMBER(10)
    A_NAME                                        NOT NULL VARCHAR2(128)
    A_VALUE                                      VARCHAR2(4000)
    OWNER                                        NOT NULL VARCHAR2(12)
    LAST_UPDATED_DATE                 DATE
    UPDATE_COUNT                          NOT NULL NUMBER(8).
    Why is the Datatype limit different between the two even thoughI'm connected to the same database? for example why is A_VALUE on Linux VarChar2 (1024) and in Windows VarChar2 (4000)
    Thanks!

    Check this link -
    http://download.oracle.com/docs/cd/B10501_01/server.920/a90842/ch13.htm
    DESC is not standard SQL. It is SQL*Plus specific.
    Many tools may allow desc commands to describe the table structure - but not sure whether they act the same way.
    Why don't you use DESC from SQL*Plus from both windows & linux and let us know the output?
    Regards.
    Satyaki De.

  • HotSynch Connection gets lost between TE2 and Windows Vista

    I'm trying to hotsync (by bluetooth) between my Tungsten E2 and Windows Vista. I got them speaking to each other, but the hotsync starts and never gets past the Calendar. The laptop looks like it's still running, but the TE2 hotsynch log says the connection was lost.
    Is there a way to keep them connected long enough to sync?
    The TE2 is running Palm OS Garnet v. 5.4.7 and HotSync v. 5.0P
    The laptop is running Windows Vista 7 64 bit, HotSync Manager 7.0.2 and Palm Desktop 6.2.2.
    Thanks!
    Post relates to: Tungsten E2

    Oh, yeah, one more thing..the hotsync works fine by USB cable on the desktop PC running Windows XP, so I don't think there's any corrupted databases on the TE2 (because if there was, then the USB cable hotsync wouldn't work)

  • Applet font problem between linux and windows

    I just want to share my experience in several project i've taken part.
    In some projects, where all are developed under linux environment (suse 9.2),
    we use jasper report for report generation and use the web applet for our clients to print.
    They print ok in linux env, with the netscape 7.1, courier 10 font and jvm 1.4.2_06b version.
    But when accessed from windows env, with the same browser and the same jvm version, the applet and the print out are different from those of lin env. The headers and footers are missing. When the we edit/lower the header and footer size at the jasper report file, then they appears @ the window env.
    So strange that the font handling between win and lin differ (still my assumption). I'vent been able to solve this problem totally since the client must stick with one OS else the print out will be different.
    Quite dissatisfied, coz i really think i could code once the report and run it anywhere in the applet and behaves in the same way.
    Could anybody help ? T-T
    Regards,
    Albert Gan

    hi!
    this is my first post and i would like to ask if how did you create the web applet printing. im totally new to java and i dont know where to start.
    i hope that you can guide me or give me some instructions. thanks in advance =)

  • Differing behavior loading external swfs between Linux and Windows

    I have a swf that loads several different swfs that implement the same basic class, some of these external
    swfs also import different resources from library swfs, such as font, video, and graphic assets.
    This seems to work perfectly well on both windows and Linux with using the font and graphic assets in
    the flash player (debug v 10r32), everything works as I'd expect.  I am added everything into the main swf's
    appdomain when using the loader (with loadercontext, etc).
    When I am loading the video asset class in the external swfs, it works fine on both systems for the first swf
    loaded that uses the video class.  On windows, whenever the second swf using the video library loads up, it
    gives a #1065 Reference error pointing to one of the variables used in the video asset swf.  It runs fine on Linux.
    I've tried playing around with the different AppDomain settings to no avail.  I am stumped as to why it would
    function perfectly well in Linux, but fail on Windows.  Any pointers as to where to look next?
    Thanks for any and all help,
    RP.

    In this case, it appears to be differing versions of the flexsdk that was being used to compile the application.
    Windows was using the default tarball from the adobe site,
    Linux was using a more up to date version from svn.
    I updated the svn snapshot, recompiled, set the Windows box to use it, and the error messages have disappeared.
    I can still crash the flashplayer doing other things, but it's more or less working exactly as expected now.
    RP.

  • Can Kerberos Server 5 be run on Arch Linux and Windows Clients use it?

    Hi There,
    I was wondering (before I invested a great deal of time into it) if I could run a kerberos 5 server on my Arch box and get a Windows machine on my network to use it to log into Windows? (eg. like a domain)
    I've tried doing the same with Samba 4 (which I bet will be massive when it's eventually released!), but it doesn't really work too great at the moment and wondered if I could achieve what I wanted with Kerberos 5?
    I have DNS & DHCP already running and Samba 3 for network shares; but I really want the whole SSO package for all my machines. I know it's possible for my Mac Laptop to use Kerberos, but just not sure about Windows (XP/2003/7)
    Thanks,
    Tom

    I will post something when I get the last issues ironed out. There is very little information about this anywhere let-alone on Arch wiki! It has been a real struggle, shame Samba 4 isn't more stable/working.
    Stuff like M$ just decided to disable DES encryption by default in Windows 7. You know; the usual c**p-ness!

  • File transfer between Mac and Windows

    I am running Windows on my Mac and I transfer files between mac and Windows alot using my external hard drive. I was wondering if there was an easier way to do this than having to use my external hard drive like a networking solution or something. Thanks...

    i also run windows on my mac (for work). The issue i had was that when booted in osx, i could see the windows partition, and copy files FROM it to the mac side, but i could not copy files TO the windows partition.
    As i understand it, this is because the apple NTFS driver (to read the windows partition) only allows read access (not read and write access). It was easily solved with MacFuse (which is an open source way to add different disk file systems to your mac, kind of like teaching it a new language), and NTFS-3G for mac osx.
    http://macntfs-3g.blogspot.com/
    scroll down a bit for the download link. The installer will put in MacFuse and NTFS-3G, so it's the only one you need.
    After a reboot, i can read/write to the windows partition while booted into macosx (and it's free).
    i hope that helps.
    p.s. the efi boot manager download is NOT required.

  • Oracle DB sessions on Linux and Windows

    Actually I am confused the way session memory is allocated on 32 bit windows and linux OS.
    Windows is a thread based architecture where all user sessions are treated as threads of oracle.exe process. The addressable space is 4GB and oracle.exe can use up to 3GB in case you use /3GB switch in boot.ini file. It means that combined size of SGA ,PGA and other memory structures can not be more than 3GB. When a session gets connected with a database a PGA is allocated. It means that memory required by database sessions also comes from the 3GB limit. If your memory usage goes beyond 3GB you wont be able to connect new sessions with database or you would require to reduce the size of one of your SGA components.
    Linux is a process based architecture where each user session is treated as a separate process and has its own addressable space. Even on 32bit linux the addressable space is 4GB i.e. 2GB for process and 2GB for kernel. It means we need to accommodate our SGA and PGA in the 2GB limit (there are ways to increase the size of SGA but let assume we are doing nothing to raise the 2GB limit).
    As PGA is allocated for every session when it connects with database.
    My question is how PGA memory is allocated against a database session on linux.
    To further clarify my question I am stating the results of an experiment that I did on linux and windows.
    On windows I set the total size of SGA to 1730M and PGA aggregate target to 1024M. I was able to able to startup the database instance without any issue. Then I started connecting sessions with the database and even ran a query doing a heavy sort in one of the sessions but after connecting 10 sessions with DB I started getting ORA-12500 TNS Listener failed to start a dedicated server process error on windows.
    Then I did the same experiment on Red Hat Linux. SGA size was 1633MB and where as PGA aggregate target was only 10MB. I was unable to start instance when I set the SGA size more than 1633MB.
    With that setting I was able to connect more than 200 sessions with database inspite of running query doing heavy sort in 4 sessions without getting ORA-12500 error. I was even able to connect more than 400 sessions with database after setting PGA aggregate target to 1GB on Linux.
    Now my confusion is why linux was able to handle more DB sessions. I know it’s a process base model and each session is a separate process and has its own addressable space but as PGA is allocated against every session and PGA memory comes from 2GB limit then why PGA memory did not exhaust on linux. Is PGA allocated differently on linux as compared to windows?

    Perhaps the problem is easier to understand if you leave PGA_AGGREGATE_TARGET out of this issue completely.
    The out of memory problem you had, has nothing to do with PGA_AGGREGATE_TARGET setting directly. The difference in number of processes comes from architectural differences in how Oracle uses memory in windows vs unix.
    On windows the SGA + ALL PGAs must fit into one 4GB address space (in practice even smaller as youve noticed). This is because there's only one process, oracle.exe. One process = one address space.
    On Unix, you have many processes and every process can use portion of their own address space for PGA.
    So, on windows (32bit) you run out of address space for the single oracle.exe process. On unix you dont hit this limit just because the number of processes grows (but if some process wants to use a lot of PGA memory, then they eventually run out of address space (talking about 32bit again))
    On unix you probably ran into another limit - amount of total usable virtual memory (RAM+swap) available in your system
    Tanel Poder
    http://blog.tanelpoder.com

  • How to set owner-only access file permissions both on Linux and Windows

    Hi everybody.
    I have the following problem. I need to store some private user information in file system. So I need to set owner-only access permissions for some directory in user home. I did not find API for doing this. As I understand this is platform specific thing. Could anybody tell me how can I do this both on Linux and Windows?
    Thank you in advance.

    More ideas just came back to me (of something I did before)
    Each OS requires a different control.
    For Windows you will need to set the .policy file for each user (a pain if you have more than a dozen of clients) granting access (R or RW) to files/directories.
    Then you have to write some native code (access via JNI) to access/modify your authorization.
    A more professional solution that I used was J-Integra (other similar tool exist).
    Basically it is a bridge between Java and COM. It magically give you access to the COM API from Java (and vice versa).
    In my case it was to read/write/modify Winword documents transfered between PC and server.
    From memory you have to run the com2java.exe to build the bridge (classes in Java language) between the 2 families. Compile those classes and you have a "driver" for the COM (Microsoft Objects).
    Here I must confess my ignorance on Microsoft.
    Those COM objets must give you some easy/integrated access to the API for LDAP or Microsoft Active Directory Service (for centralize control with more complex setup).

  • Share files between Mac and Windows in same iMac with boot camp

    Hello,
    I am new in using Mac and recently I buy a IMac 24" model.
    I used to use PC a long time with a lot of old document.
    I want to install Windows XP with boot camp.
    But I also want to share my documents, music, video files between Mac and Windows in same iMac.
    How can I do this?
    Thanks in advance,
    Eric

    Hi Eric and welcome to Discussions and the Apple world.
    Mac OSX can read and write from Windows partitions (like the BootCamp Windows partition you are about to create) when using FAT32 as file system for Windows.
    However with FAT32 you are limited to a partition size of 32GB.
    Mac OSX can also read from Windows partitions that uses the NTFS file system, but it can not write to them unless you use a third-party helper like either Paragons NTFS for Mac http://www.paragon-software.com/home/ntfs-mac/ or NTFS-3G http://www.ntfs-3g.org/
    Windows can not even see or use a Mac OSX partition without additional help by MacDrive http://www.mediafour.com/products/macdrive/
    Regards
    Stefan

  • Reset() of ObjectOutputStream diff in Linux and Windows

    From the previous post and my test, it is better to call ObjectOutputStream oos.reset() to clean up buffer.
    But I notice that it works all fine in Linux, but if the remote site is a Windows machine, if you call oos.reset(), the remote site will throw socket.reset Exception and close the socket, which is not good at all.
    So I have to disable oos.reset() call to avoid remote java socket in Windows close, but I get OutOfTheMemory error after running a while, I suspect it is caused by not calling reset() and clean up buffer. So what should I do to avoid this problem?
    Thanks

    It sounds like you are running different versions or a buggy of the JDK.
    What versions are you using?
    This works fine with 1.4.2_05 (between Solaris and Windows)

  • How to sync iCal between iPhone and MacBookPro without MobileMe?

    Hello,
    How can I sync iCal between iPhone and MacBookPro without MobileMe?
    I'm still using MobileMe, but I will stop soon.
    I'm using my iPhone in India a lot to create new events or to add new contacts. At the end of the day I would like to able to sync it with my MacBookPro without using MobileMe. Internet Connection is often very bad in that area. The iPhone I only use without UMTS and all that Data Transfering stuff. Best for me would be to sync directly by wire or Bluetooth if possible. If you have a solution with and without Internet Connection, that would be very helpfull to me.

    On the Mac, in iTunes with iPhone attached, click on the iPhone section. Go to the "info" tab. There you will see a list of items that can be synced. Make sure that "sync addressbook contacts" is checked, along with the appropriate choices under it.
    Don't know what else to say, it works fine here.
    Hope this helps.

  • How to link Linux and Windows?

    hi,
    i would like to build an application which can link both linux and windows together so that the linux's users can communicate with windows's users without problem. But i don't know which java's technologies used to do this job. Java CORBA? Java RMI? or others? Can you help me?
    thanks a lot.
    from
    mercy

    if i want to build a messaging or chat program like ICQ, java.net package can be used so that ICQ Linux's users can send messages to ICQ windows's users?

Maybe you are looking for

  • Is there a way to stop downloaded files from automatically opening?

    When I download unarchived image files through a web browser (eg: from yousendit) they automatically open up in Preview.app. I thought this was an annoying Preview thing so I changed my .tif and .jpg files to open with Photoshop...which now launches

  • I updated my iphone and everything transferred over but my contacts.  How can I get them back?

    I updated my iphone and most things like pictures, notes, calendar, transferred over, but I lost APPs and contacts.  How can I get them back?  Went to Verizon and they referred me to Apple.  They said they could see the contacts had been downloaded a

  • IPA fonts on my MAC don't work! Urgent help please!!!

    I have installed IPA fonts on my MAC with OSX mountain lion. Unfortunately if i open the .ppt file where the professor has written the symbols i see just a "private use f8ff" and if i try to change the font nothing happens. Could you help me? Here yo

  • Problem scrolling up n down in touchpad

    i've installed Win7 and i don't know how to bring back the scrolling option in my touchpad, i know its got something to do with the Device Manager, cuz i found a solution once and i forgot it. please help, thanks

  • Slow Fast Forward or stalls - streaming over wifi.

    To anyone who is interested, I was having problems trying to fast forward an HD film over my Wifi(g) network. For some reason, apple tv stalls if the fast forwarding out paces your buffering speed. In a nutshell, my network is fast enough to watch hd