Password file locked??

Hi,
We have a reporting database on Oracle 10.2.0.4 (AIX 5.3) from which we want to create a DG physical standby.
The process fails because of a "possible" locked password file.
I have sorted things out, and it turns out that even on UNIX, when copying the file it says:
$ cp orapwREPPRD /tmp
cp: orapwREPPRD: A system call received a parameter that is not valid.Has anybody seen this behaviour. Can it be that the database holds an exclusive lock on the file, making it impossible for the OS to read/copy the file
The file's function looks OK. It gets updated if I grant 'sysdba' to a certain user.
However another database on the same server doesn't show this behaviour, so it could be the password file somehow got corrupted
The initfile says
SQL> show parameter remote_login_passwordfile
NAME TYPE VALUE
remote_login_passwordfile string EXCLUSIVE
SQL> Can I (simply) recreate the password file while the database is up and running?
Any hints are appreciated
Thanks

Password file is used when the first time connection is requested using it. So its not going to impact your current db if you are going to remove it. See here,
SQL> select * from V$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for Linux: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
SQL> select status from V$instance;
STATUS
OPEN
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
-bash-3.00$ cd $ORACLE_HOME
-bash-3.00$ cd dbs/
-bash-3.00$ ls
hc_orcl.dat initdw.ora initorcl.ora lkPROD orapwprod spfileprod.ora
hc_prod.dat init.ora lkORCL orapworcl spfileorcl.ora
-bash-3.00$ rm orapworcl
-bash-3.00$ ls
hc_orcl.dat hc_prod.dat initdw.ora init.ora initorcl.ora lkORCL lkPROD orapwprod spfileorcl.ora spfileprod.ora
-bash-3.00$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Thu Aug 13 15:53:11 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> select status from V$instance;
STATUS
OPEN
SQL>
So if you are going to change the password file also, it won't impact the current db.
HTH
Aman....                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • How to set up password to lock Time Machine files?

    Hello Friends at Apple Community,
    I would like to know how to set up a password to lock Time Machine backup files as it is in Drobo backup server. I have two Time Machine backups for Mac Pro - first backup performed and saved backup created by Time Machine in one of hard drives inside Mac Pro. I am also performing other Time Machine backup externally to Drobo - just to play it safe. But want to set up a lock password on that backup file only for Drobo. I believe the OS X Mountain Lion version 10.8.4. at the moment. I am aware that there is a small update of 10.8.5 as I havent updated it yet... until Time Machine backup is done successfully.
    Please advise. Thanks in advance!

    http://www.macyourself.com/2011/09/04/how-to-password-protect-and-encrypt-time-m achine-backups/

  • So my daughter set a password to lock her ipod and now she can't remember it.  I tried to restore to factory settings but it still wants a password.  I tried 0000 and that doesn't work.  Any ideas what to do to?

    So my daughter set a password to lock her ipod touch and now she can't remember it.  I tried to restore to factory settings but it is still asking for a password.  I tried 0000 and that didn't work  Any ideas what to do?

    From this Apple support document: iTunes: Specific update-and-restore error messages and advanced troubleshooting
    This device is not eligible for the requested build: Also sometimes displayed as an "error 3194." If you receive this alert, update to the latest version of iTunes. Third-party security software or router security settings can also cause this issue. To resolve this, follow Troubleshooting security software issues.
    Downgrading to a previous version of iOS is not supported. If you have installed software to perform unauthorized modifications to your iOS device, that software may have redirected connections to the update server (gs.apple.com) within the Hosts file. First you must uninstall the unauthorized modification software from the computer, then edit out the "gs.apple.com" redirect from the hosts file, and then restart the computer for the host file changes to take affect.  For steps to edit the Hosts file and allow iTunes to communicate with the update server, see iTunes: Troubleshooting iTunes Store on your computer, iPhone, iPad, or iPod—follow steps under the headingBlocked by configuration (Mac OS X / Windows) > Rebuild network information > The hosts file may also be blocking the iTunes Store. If you do not uninstall the unauthorized modification software prior to editing the hosts file, that software may automatically modify the hosts file again on restart. Also, using an older or modified .ipsw file can cause this issue. Try moving the current .ipsw file, or try restoring in a new user to ensure that iTunes downloads a new .ipsw.
    Error 3194: Resolve error 3194 by updating to the latest version of iTunes. "This device is not eligible for the requested build" in the updater logs confirms this is the root of the issue. For more Error 3194 steps see: This device is not eligible for the requested build above.
    B-rock

  • Data Services (BODI) password file synchronization by external application

    Hello,
    Question: Is there any batch/shell process that update the BODS password file?
    Issue: An external system (P-Synch) change the developper repository passwords every 60 days. The passwords have to be changed manually on the BODS server or account get locked.
    Objective: Automation of BODI password syncrhonization (reset) on the server.
    My dream: application_cmd -Repsoitory -Account -Password 
    Thank you,

    There's not a good option for that.
    In the past, there was ABC Amber IPD converter which could extract or convert data from backup files to CSV or text files, but ABC is no longer available and I don't know of another IPD file extractor.
    I don't know of another option. Let's see if someone else might.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • File Locks and SMB shares with ML

    I've been doing a lot of research on SMB and the way it locks files during access. I've made a lot of ground work in my research but could use a little further assistance from this support community.
    The symptom is simple to explain: Users are occasionally being prompt for a username and password when attempting to rename or move files and folders.
    After doing some research on this topic, I have discovered that there is a direct relationship to files being open on the server at the time the user is attempting to rename or move the folder. The following thread, albiet old, appears to have nailed the problem on the head http://arstechnica.com/civis/viewtopic.php?p=24558131. In particular, there appears to be file locking happening when preview is turned on through the finder. I've had all users remove preview from their Macs and this appears to have helped reduce the occurances of the password prompt, but has not completly solved the problem. This is also a work around, not a fix.
    I've been using a series of command to help me trace the problem including openfile.exe on the Windows 2012 Storage Server (sharing the files via smb only) to discover who has what files open on the server, and the lsof command on the client workstations to discover what process has the file open. So far, the finder is consistently the only thing with the file open... even with the finder preview turned off. I've also found that the "open file" is simply the fact that the offending users Mac has a finder window with just the folder open (none of the files within the folder or previews open).
    Is the real solution to simply close all finder windows when you're done working in a folder, or is there more that anyone can think of to help me find out exactly what is holding the file lock? Is this a known bug in the SMB implementation of ML? Can we expect to see a fix with Mavericks which will now be using SMB2.0?
    Any help or information anyone can provide would be greatly appreciated. I have a bunch of documentation on this issue and would be happy to share. Please let me know if anyone needs any additional details.

    Hello all - many apologies for my delay in posting here; and Squiggle, thanks for the second-hand nudge. As Stephen said we have been testing a solution concerning a setting in Finder's view options for the last few months, and these seem to have solved the issue in hand.
    Essentially, we found that Finder was holding files open whenever the 'Show Icon Preview' option was set, on any of the four folder views, on any client machine accessing the share. Below is a piece of documentation I wrote up for our Service desk explaining how to diagnose and manually fix this issue on the client:
            - In Finder, open any folder
            - Click on the cog icon and select 'show view options.' Check that, in the dialogue box which appears, the 'Show icon preview' box is not checked. Click the other three Finder views and check it's turned off here too.
            - Click 'Use as Defaults'
    In order to make this change remotely on multiple machines, you will need to change the clients' com.apple.plist files, and set every instance of the <showIconPreview> key to <False>. This is nested within several key / dictionary pairs in com.apple.finder.plist, once under <standardViewOptions> and thrice within <standardViewSettings>. As Stephen has already mentioned, the fact that this key is nestled deep within compound dictionaries seems to render them untouchable by defaults, though I would be very happy to be corrected on this.
    How you push this change out will depend on your management system. We had been using Casper to
    to create a managed preference pertaining to <standardViewOptions> and <standardViewSettings> within com.apple.finder.plist. These contained as values the entire dictionary associated with these keys, with the value for each <showIconPreview> set to false. This was then applied at a User Enforced Level (running every logon after Finder has set up the system defaults).
    As a side note, I have found that certain machines (Such as the 10.8.3 machine I'm working on now) contain a key named <FK_StandardViewSettings>, which I have been unable to ascertain the purpose or origination of. These don't seem to affect the fix, so we've left them alone.
    Irritatingly, Casper has dropped support for custom Managed Preferences in their latest release, so this problem has now resurfaced. I will keep this page updated with any fixes or workarounds I find.
    Hope that helps,
    Josh Smith

  • Password file(s)

    I need to fill out a form for our security dept. The form asks for the location of the password file(s), presumably so one can show/prove they are locked down.
    I need to answer for Mac OS X 10.5.x client, and for Open Directory network-home users whose accounts reside on OS X Server (10.5.x).
    An old version of this form, which was used for Mac OS X 10.3.x (Client & Server), mentioned only the following: /var/db/shadow/
    Is that still correct (and the only file/dir)?

    Answered:
    The passwords for the local directory are stored in
    /var/db/shadow/hash/
    For Open Directory they are stored in
    /var/db/authserver/

  • Password Protected Locked Layer?

    As a photographer, we are very protective of our creations. I have an image that I took for a client, that needs some Photoshop clean-up work, that will probably take me 15~30 minutes to complete, and I plan on billing my client for my labor. However, when I mentioned this work to my client, they told me that they can't afford my price (which isn't that much), and that they'd like to have a family member who is a "Photoshop expert" do the work, instead of me, and then give me the image, so that I can send it to my lab for printing. I can't imagine having the image out of my control, where it could be printed by them, posted to Facebook or shared with others, so this option really doesn't sit very well with me!
    I like to do what I can to make my clients happy, but may not be able to in this instance. However, what I was thinking, although I believe that I already know the answer, is adding a password protected, locked layer with my low opacity watermark over the image. Unfortunately, I can't think of anyway to achieve this password protecting of a layer. Sure I can lock a layer, but it can be turned off at will.
    Can any one out there think of any other options or solutions, that will allow me to give my image to a client, and ensure that my watermark/copyright remain visible on the image during the entire time that they're editing it?

    We can only make conclusions based on what little you have described. GIGO.
    We're only left to addressing the foolishness of the shoot as there is nothing that can further be said about a ridiculous hope of software. Do we recognize the silliness in supposing that you could supply a file that is both editable and not editable?
    Adobe already offers some security options in PDF files (preventing copying, printing, editing, opening, etc), which are easily defeated. Hold your breath to wait for this stunningly ineffective technology to make it to other Adobe apps.
    As this is such an issue for you, it may be time to reevaluate the business model of prints as a significant portion of your service.  Home computers and Walmart's in-store photo printer have replaced most of your service, even if you forced the client to sign a piece of paper vowing not to duplicate.  Photographers really need to focus on and charge appropriately for the craft of photography (like employing guards on windy, rainy days) and not try to be intellectual property managers for an end product that they really cannot control anymore.
    You can enter feature requests here and then wait a year or so for the release cycle. How soon does your client need prints? 

  • Disable file locking

    I have an expansion drive that is locked, I tried unlocking it (using the termnal) but every time it asked me to type in my password at the end, nothing happens. So I would like to know how to disable file locking not using tim machine!
    Thanks

    Type your password in even though nothing's appearing. Press Enter when done.
    (63888)

  • Bios password is lock....how to unlock it ???????

    i was provided with a laptop from university of delhi..but when i starting accessing it i found that its BIOS password was locked...pls tell me how to unlock that password,,plz...rply as soon as possible 

    Hi Chetan,
    You need to call HP and log a ticket.
    Along with this you need to provide the 32 character UUID (universal unique identifier)
    and the serial number of the unit.
    HP will give you file named SMC.BIN
    It requires special instructions to be run 
    You do not need to give ID proof - lol
    2- Invoice copy
    3- Authorization letter
    I'm an HP Employee.
    The opinions expressed here are my personal opinions, not of HP.
    Click on Thumbs up if my post helped you.
    Make it easier for other people to find solutions, by marking an answer “Accept as Solution” if it solves your problem.

  • File locking with OSX Server & Microsoft Word

    We have a small office LAN based on a Airport Extreme bases station. Periodically Microsoft Word reports a break in connection to the shared folder where we store documents to get disconnected. When that happens and the user reconnects to the share, the user gets the file read-only message for the Word document that was open at the time.
    I have found that in order to clear the read-only flag, I have to restart the server and open the Word file on the server with the ID of the user who was editing the file on the remote computer. Only that seems to clear the file locking that causes the file to be read-only.
    I cannot figure out a less drastic way to release the lock file. I don't see any hidden temp files in the same folder as the document that is locked for editing found by ls -a or in the root direction of the shared folder in the .TemporaryItems/folders.<UID> that seems to be holding the lock.
    I have run chflags nouchg <Word file> from Terminal, but that seems to have no effect either. I also used xattr to see if there were any locks held that way, but I don't see anything that way either.
    File sharing to Macs only, which are configured just to use AFP through OSX Server.
    Does anyone understand how the file locks of Word documents can be released directly with out restarting the server?
    I should add that the underlying problems seems to be WiFi related. The behavior is that the WiFi connection seems to break long enough that the shared volumes disconnects. Outlook also causes a break. This behavior seems to have started with 10.9 and the purchase of new Retina Display MacBook Pros. I turned off AppNap on the Office applications but that is not clearly helpful. I also have been told the problem seems more likely to occur when Word is open in the background and another program like Outlook is in the foreground.
    Any suggestions appreciated.

    Apple write an operating system and also produce file sharing software as part of that to be used as a file server. Apple provide documentation for third-party software developers on how they should write software to work with Apple's software and also give those developers early access to new versions so those third-party developers can test and if needed make adjustments and issue updates to cope with any Apple changes.
    Some third-party developers are good at dealing with this, some are bad, and some totally ignore what Apple does and give the impression they don't care if their product works properly or not. I think we can all judge where Microsoft sits.
    It appears Microsoft have never paid any attention in particular to how Apple expect file-locking to be handled when accessing files on a Mac server. There have been problems for years and years and years with Office. Two other problems I have seen which seem different to yours but probably related are -
    With Office documents it is supposed to be possible for more than one person to edit the same file at the same time, consider it a miracle if this actually works
    With Office in particular Word, there is an auto-save function, unfortunately the way this seems to be implemented it seems that Word creates a new temporary file each time it auto-saves the document and keeps all the previous temporary files open still, this eventually means potentially over a hundred temporary files are open - just for one Word document and you can then hit a limit on the total number of files you are allowed to have open at the same time. At this point further auto-saves fail, and you also encounter great difficulty doing a real full save of the document.
    I do not hold Apple completely blameless over this issue, it is likely their file-locking implementations change too often, and have inadequate documentation, however even considering this a company the size of Microsoft with the amount of sales (and profit) they derive from Office for the Mac has no excuses at all for failing to put the effort in to resolve any such clearly critical problems.
    We could go on and on about other areas where Microsoft don't play by the (software) rules. Even in Windows Office does not obey the standard print dialog rules Microsoft specified themselves!
    Unfortunately not only is Office for Mac upgraded infrequently, but even when new paid for upgrades are released Microsoft have a history of still not fixing bugs. It goes without saying that a mere free update is even less likely to actually fix a bug, typically such free updates only address security issues. The next version of Office is going to be Office for Mac 2014 see http://www.macworld.com/article/2106643/microsoft-will-release-a-new-version-of- office-for-mac-this-year.html
    One area I confidently predict Microsoft not to resolve in Office for Mac 2014 is that fact that Word for Mac still does not support right-to-left languages like Hebrew and Arabic. This is despite the fact that OS X itself has supported this for years and years, and despite the fact other Mac programs support this including the free TextEdit and Pages - both of which can read Word files. Some people may remember that at one point the Israeli Government temporarily banned all Microsoft software over this issue. See http://apple-beta.slashdot.org/story/03/10/15/2215249/israeli-government-suspend s-microsoft-contracts This issue goes back over TEN years!!
    I note that Microsoft has now taken their OfficeForMac blog offline, probably due to the weight of criticisms. I would not say it is due to out-right anti-Microsoft hate, that war ended long ago. We just want products that work. I myself do use Microsoft products, even at home - where they are the best solution, so I use Microsoft Media Center for example. Sadly this is now being neglected by Microsoft.

  • How to change the default password file's name and path when the database created?

    how to change the default password file's name and path when the database created?
    null

    Usage: orapwd file=<fname> password=<password> entries=<users>
    where
    file - name of password file (mand),
    password - password for SYS and INTERNAL (mand),
    entries - maximum number of distinct DBA and OPERs (opt),
    There are no spaces around the equal-to (=) character.

  • How to change default location of password file ?

    Hi all,
    Can i change the location of my password file from default to any other user defined location ?
    If yes then how ?
    Thanx in advance.
    Deep

    Dad you moved here?
    Can i change the location of my password file ?

  • How to get my ipad to connect to itune if the password is locked

    How to get ipad to connect to itune if the password is locked.

    note total data loss
    recovery mode
    open itunes on computer
    plug cable into computer not iOS device
    turn device off
    hold home button and plug cable into IOS device.  do not release home button until an itunes graphic appears on IOS device.
    look to computer should have message about recovery mode click ok and restore
    Peace, Clyde
    if u need an article see
    http://support.apple.com/kb/HT1808

  • I am trying to connect my new iMac to my Buffalo router.  I forgot my router password, so I reset it and it is working.  I can't figure out how to reset my router password and lock it on my iMac.

    I am connecting my new iMac to my Buffalo router.  I forgot my router password so I pushed the reset button and my computer was able to connect.  The problem is, I can't figure out how to set my new password and lock the router.  I went to the Buffalo website and downloaded the CD, as I can't find that either.  I can't open any of it because it says it is Windows and can't open it.  I am new to Apple!

    kellyfromdanville wrote:
    I am new to Apple!
    Ah, new to routers too.
    Perhaps it's best to have a local computer support person come set you up?
    To explain everything would require writing a book here.
    But this is what you want basically.
    Router, new Wireless N, firmware updated.
    1: Two accounts, one admin, one guest Internet access. Random +30 plus character lenght passwords each preferred.
    (guest password to max password length of any iDevices)
    2: Encryption: WPA2 AES. No Ping. No remote access. No MAC filtering. Visible.
    3: Guest access on devices and computers only.  Passwords written down and stored.
    4: OpenDNS preferred but not mandatory.
    If you get OpenDNS, you can log into their website for free and set parental controls on things like inappropriate sites for children. So whatever device is used on your network can't access a large portion of those sites (nothing is perfect) by most users who are not technical oriented.
    What your doing now is running the bare bones unsecure router which can be used harmfully against you.
    Even a Apple Airport router has to be very well secured. The defautl cd and out of the box setup is not a secure solution.

  • File lock() method problem

    I know this may be a common question, but can someone explain why this code:
    import java.io.*;
    import java.nio.channels.*;
    import java.util.*;
    public class TestFileLock
         private static File file;
         private static RandomAccessFile fileRandom;
         private static FileChannel fileChannel;
         private static FileLock fileLock;
         private static String process;
         public static void main(String[] args)
              process = args[0];
              try
                   file = new File("/home/fauxn/work/blast/java/java_blast/test.log");
                   //fileWriter = new FileWriter(file, true);
                   fileRandom = new RandomAccessFile(file, "rw");
                   fileChannel = fileRandom.getChannel();
                   for(int i =0; i < 1000; i++)
                        writeLogFile(process + ": happy days\n");
              catch(Exception exception)
                   System.out.println(exception.getMessage());
                   exception.printStackTrace();
         * Method lockes the logFile and then append the string to the file and unlocks the file.
         * @author Noel Faux.
         * @param s The string to be written to be appended to the file.
         private static void writeLogFile(String s) throws IOException
         System.out.println(process + ": trying to lock the log file");
         fileLock = fileChannel.tryLock();
         while(fileLock == null)
                   System.out.println(s + ": waiting!!!!");
                   fileLock = fileChannel.tryLock();
         System.out.println(s + ": logfile locked");
              fileRandom.seek(fileRandom.length());
         fileRandom.write(s.getBytes());
              fileLock.release();
              System.out.println(s + ": logfile unlocked");
    produces this error:
    Invalid argument
    java.io.IOException: Invalid argument
    at sun.nio.ch.FileChannelImpl.lock0(Native Method)
    at sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:528)
    at java.nio.channels.FileChannel.tryLock(FileChannel.java:967)
    at TestFileLock.writeLogFile(TestFileLock.java:43)
    at TestFileLock.main(TestFileLock.java:23)
    on a intel linux box, java 1.4 and this code works fine:
    import java.io.*;
    import java.nio.channels.*;
    import java.util.*;
    public class TestFileLock
         private static File file;
         private static RandomAccessFile fileRandom;
         private static FileChannel fileChannel;
         private static FileLock fileLock;
         private static String process;
         public static void main(String[] args)
              process = args[0];
              try
                   file = new File("/home/fauxn/work/blast/java/java_blast/test.log");
                   //fileWriter = new FileWriter(file, true);
                   fileRandom = new RandomAccessFile(file, "rw");
                   fileChannel = fileRandom.getChannel();
                   for(int i =0; i < 1000; i++)
                        writeLogFile(process + ": happy days\n");
              catch(Exception exception)
                   System.out.println(exception.getMessage());
                   exception.printStackTrace();
         * Method lockes the logFile and then append the string to
    * the file and unlocks the file.
         private static void writeLogFile(String s) throws IOException
         System.out.println(process + ": trying to lock the log file");
         fileLock = fileChannel.tryLock(0, fileRandom.length(), false);
         while(fileLock == null)
                   System.out.println(s + ": waiting!!!!");
                   fileLock = fileChannel.tryLock(0, fileRandom.length(), false);
         System.out.println(s + ": logfile locked");
         fileRandom.seek(fileRandom.length());
         fileRandom.write(s.getBytes());
         fileLock.release();
         System.out.println(s + ": logfile unlocked");
    Any suggestions welcome, or is this a bug????
    Thanks in advance :)

    Its a known bug. The default tryLock() method calls the parametered
    tryLock method as follows
    tryLock(0,Long.MAX_VALUE,false);unfortunately under linux the parameter Long.MAX_VALUE is too big for
    the underlying OS file locking. This causes the IOException to be thrown
    It has been fixed in version 1.4.1 i believe.
    For more info
    http://developer.java.sun.com/developer/bugParade/bugs/4532474.html
    matfud

Maybe you are looking for