Oracle user .profile change and running Database

We have 1 Oracle Database (9i) running on AIX Server for long time. Now we are making some room to create second database. We would like to make change to Oracle User .profile , so it would prompt to specify ORACLE_SID upon login under oracle to UNIX. Also we would add new entry in oratab for new database. However we will not be creating this database for another couple of weeks. Could this cause some trouble for currently running Database? Could existing backup jobs, stats job and other monitor jobs fail on existing running DB?
Let me know if you need more information to help us on this question

This is very unlikely, though it would depend on how you developed the jobs you discuss. Without these jobs: no problem.
What I do with multiple databases on Unix boils down the following.
In /etc/profile, I set up a env var DEFDB
In .profile of Oracle I set ORACLE_SID to the value of this DEFDB, and I set
ORAENV_ASK to "NO". I run oraenv (which is in /usr/local/bin), and I leave ORAENV_ASK set.
I don't want oraenv asking for a database during login, and I want to issue
export ORACLE_SID=<some value> prior to running oraenv manually.
Sybrand Bakker
Senior Oracle DBA

Similar Messages

  • Using Oracle Users in Realms and DataSource.getConnection

    Is it possible to authenticate using an Oracle User via JAASRealm and also retrieve connections specific to that user from a DataSource?
    I currently have an application which doesn't use either, but rather sets up a OracleDataSource. So basically I just want to allow the container to administer both the authentication and data source setup, while still allowing the getConnection(user,password):
    CODE
    ocpds = new OracleConnectionPoolDataSource();
    ocpds.setURL(connectionString);
    ocpds.setConnectionProperties(props);
    ods = new OracleDataSource();
    ods.setURL(connectionString);
    ods.setConnectionCachingEnabled(true);
    ods.setConnectionProperties(props);
    // Pool and Cache
    Properties poolProps = new Properties();
    poolProps.setProperty("AbandonedConnectionTimeout", "60");
    poolProps.setProperty("InactivityTimeout", "5");
    poolProps.setProperty("TimeToLiveTimeout", "60");
    poolProps.setProperty("ConnectionWaitTimeout", "60");
    ods.setConnectionCacheProperties(poolProps);
    ods.setConnectionProperties(props);
    Util.logln("Connection Cache Properties");
    cache = OracleConnectionCacheManager.getConnectionCacheManagerInstance();
    cache.createCache(cacheName, ods, poolProps);
    cache.setConnectionPoolDataSource(cacheName, ocpds);
    ........later in the BatCave (JSP or a servlet).....
    conn = (OracleConnection) ods.getConnection(username, password);
    ENDCODE
    This section from OAS Containers for J2EE Services Guide worries me:
    (from: http://download-east.oracle.com/docs/cd/B14099_19/web.1012/b14012/datasrc.htm#sthref572 )
    Using Different User Names for Two Connections to a Single Data Source
    When you retrieve a connection from a DataSource object with a user name and password, this user name and password are used on all subsequent connection retrievals within the same transaction. This is true for all data source types.
    For example, suppose an application retrieves a connection from the jdbc/OracleCMTDS1 data source with the scott user name. When the application retrieves a second connection from the same data source with a different user name, such as adams, the second user name (adams) is ignored. Instead, the original user name (scott) is used.
    Thanks for reading all of this, and I appreciate any help!

    Update:
    I'm still not quite sure what to do. Where I am now:
    1. I don't know how to authenticate against Oracle database users (non-ldap) via JNDI/JAAS/whatever
    2. Proxy authentication (ALTER USER...CONNECT THROUGH...) seems to be promising for using connection pools, and in addition, once realm authentication happens, I can just pass the username and piggyback on the middletier connection without knowing the password used in authentication
    3. I'm not sure if proxy addresses the issue that OAS Containers for J2EE Services Guide talks about in the original post
    4. I'd prefer not to use OID
    Again, if you have any little information, I'd really like to hear it.

  • The User profile synchronization Full , runs for 1 second successfully

    Hi!
    On our sharepoint 2013 farm we can run the user profile incremental synchronzation timer job without issues, it runs for about 2-3 min.
    However when trying to run a Full import, we observe that the full user profile synchhronization job only runs for a second and is finished. There must be something wrong..
    The user profile service and synchronzation service are up and running. The connections to Active directory are present and working (incremental synchronization works).
    Have anyone experienced this?
    brgs 
    Bjorn

    Hello Bjorn,
    You should not run Full incremental until anything on UPA is broken. It should be only ran in case of disaster and recovery.
    Thank You, Pallav S. Srivastav ----- If this helped you resolve your issue, please mark it Answered.

  • Unix Perl Script To verify a Up and Running Database on Different Server

    Unix Perl Script To verify a Up and Running Database on Different Server
    Hi
    can any one please tell me a solution to verify a Up and Running Database on Different Server other than the one where we run the unix perl script? The perl script should check if the database is running else it must exit.
    Thanks much
    Kiran

    The other best solution would be Enterprise Manager, load the EM on the other machine and install oracle intelligent agent on all the boxes where oracle is running and problem solved.
    FTP is only a File Transfer Protocol, you can upload/download the files but cant execute them.
    Apart from EM the best way is load oracle client and make connection to all the databases.
    AND There are some free oracle monitoring software available I dont know much about them but one is NAGIO (if I am not wrong), try that if you want.
    BTW whats the problem in monitoring the boxes from the same physical box, means just schedule a script using cron on the same physical box where oracle is to either make connection using SQLPLUS or check the processes using "ps" command and if there is anything wrong then send alert from that box only. In this way there is no need to maintain a central monitoring server.
    Daljit Singh

  • SharePoint 2010 Enterprise Search for User Profile tags and Notes

    Hi,
    Actually my requirement is, "Sharepoint Enterprise Search for User Profile tags and Notes".
    I would like to use the Tags and Notes in enterprise search.
    Is it possible?
    Thanks & Regards
    Poomani Sankaran

    Check if this helps
    http://blogs.msdn.com/b/spses/archive/2011/02/05/social-computing-part-3-activity-feeds-social-ratings-tags-and-notes.aspx
    If this helped you resolve your issue, please mark it Answered. You can reach me through http://itfreesupport.com/

  • User Profile Disks and DFS replication

    We're looking to replace a single, heavily used 2003 TS server--for performance, feature, and capacity reasons.  Our users frequently have small amounts of data on their desktops/settings that we'd to persist between sessions, and they tend to have
    long-running sessions (disconnecting and reconnecting while traveling, but not logging off--keeping open apps in the meantime).
    The servers were originally purchased intending for 2008R2 SP1 remote desktops services, with lots of fast internal (RAID 5, 12x300GB 15K) storage.  We're considering the option of using 2012 (virtual sessions, not virtual desktops) so that we can scale
    out as we grow--and use the User Profile Disks.  
    Ideally, we'd like to maximize the usefulness of the purchased servers (and their internal storage), and not have to purchase additional hardware for shared storage--(iSCSI/External array that can be clustered).  We're wondering if it's possible to pair
    the User Profile Disks (UPD) with DFS replication (possibly over a dedicated NIC). Then, a user could log in to server X, connect to her local UPD (with the changes replicating to server Y's copy).  If she disconnected/reconnected, the RD connection broker
    would connect her to back to her existing session, and if she logs off and back on, she could connect to either server X or Y and it would all work.  For maintenance, we'd be able to drainstop one server via the connection broker, perform the maintenance,
    let DFS catch up, and then do the same on the second server.
    Would something like this be possible?  Or is it just asking for major problems?

    Hi,
    Thank you for your question.
    I am trying to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience.
    Thank you for your understanding and support.
    If you have any feedback on our support, please click
    here
    Cataleya Li
    TechNet Community Support

  • The oracle user profile......

    Hi, All.
    I would like install oracle 10g on the Solaris 9. but I was create the /oracle file system during install Solaris system. can I set the groups and user by following??
    1. login as root
    2. # groupadd oinstall
    3. # groupadd dba
    4. # useradd -g oinstall -G dba -s /usr/bin/bash oracle
    5. # chown oracle /oracle
    6. # chgrp oinstall /oracle
    7. # usermod -m -d /oracle oracle
    but I can't find the user profile at oracle's home directory ( /oracle ), what should I do? thanks a lot!!!

    don't worry about the OS user home directory location.
    just use the OS default location and then make sure where and
    which is the user profile you need to edit for ORACLE_HOME,
    ORACLE_BASE, PATH,etc. (user profile location refer your OS administrator guide) when you done, you can get correct return when you enter
    echo $ORACLE_HOME and echo $PATH.
    then you can use sqlplus to connect DATABASE..

  • App-V 5 sp2, Citrix user profile manager and Event IDs 19104

    Hi,
    the environment:
    Full Infrastructure, Appv 5 sp2 Client on server 2008r2, xenapp 6.5 and Citrix user profile manager.
    We get the event error 19104 on published packages. But not on all users. %APPDATA%\Microsoft\AppV\Client\VFS and %LOCALAPPDATA%\Microsoft\AppV\Client\VFS are excluded per
    http://blogs.technet.com/b/appv/archive/2013/10/01/support-tip-event-ids-19104-and-19105-are-logged-when-publishing-and-unpublishing-app-v-5-0-packages.aspx from my test GPO:
    List of directories to exclude:
    AppData\Local\Microsoft\AppV
    AppData\Roaming\Microsoft\AppV\Client
    Appdata\local
    appdata\locallow
    Still some users get app-v Applications, but some that are copies of the ones working does not get the Applications. I have tried to delete the profile. but still no closer to a solution. Anyone got this working?

    Thanks Nicke, I should have tried harder to get you to come and work with me in Oslo earlier this year ;)
    That thread does point on the Profile managment, and redirection of %appdata% and %localappdata% . Those to folders are not redirected. But when i run Procmon, i can see that a working user creates the c:\users\<username>\appdata\local\temp but non
    working does not even try.Non working users also does not query the registry as much as working. Ofcourse this all work in my lab so the settings should be sound. but i cannot find the smoking environment variable or setting that causes it.

  • User Profiles, Roles and  Permission folder empty

    Hi,
    We installed Peoplesoft 8.49 Apps 9.0, and 10G Oracle on Windows 2003, everything working perfectly except User profiles and Roles and Permission Folders
    I have ran AE scripts well, even then we are not able to browse those sections
    Any help much appreciated
    Thanks

    >
    We installed Peoplesoft 8.49 Apps 9.0, and 10G Oracle on Windows 2003, everything working perfectly except User profiles and Roles and Permission Folders
    >
    What do you mean by this? What is not working? What are you expecting and what is happening?

  • User Profile Application and Managed Metadata services are missing

    Running SharePoint 2013 servers on a set of 2012 R2 Servers.  One of our farm administrators deleted the Secure Store service account.  They recreated the Secure Store account, but after doing so, the Managed Metadata Service and User Profile Service
    are now unavailable.
    When going to the User Profile Page, there is an error that says "Sorry, something went wrong."
    When going to the Metadata page, there is an error that says "The Managed Metadata Service or Connection is currently not available."
    There is an additional error that says "The Security Token Service is not available."
    How can all three services be brought back online?

    That specific event log error is as follows:
    WebHost failed to process a request.
    Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/12547953
    Exception: System.ServiceModel.ServiceActivationException: The service '/SecurityTokenServiceApplication/securitytoken.svc' cannot be activated due to an exception during compilation.  The exception message is: Exception has been thrown by the target
    of an invocation.. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: certificate
       at System.IdentityModel.Tokens.X509SecurityToken..ctor(X509Certificate2 certificate, String id, Boolean clone, Boolean disposable)
       at System.IdentityModel.Tokens.X509SecurityToken..ctor(X509Certificate2 certificate)
       at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceManager.ConfigureTokenHandlerCollection(SPSecurityTokenServiceManager manager, SecurityTokenHandlerCollectionManager collectionManager, String key, SecurityTokenHandlerCollection&
    tokenHandlerCollection)
       at Microsoft.SharePoint.IdentityModel.SPSecurityTokenServiceConfiguration.ConfigureTokenHandlerCollectionForLocalIssuer(SPSecurityTokenServiceManager manager, SecurityTokenHandlerCollectionManager collectionManager, String key)
       at Microsoft.SharePoint.IdentityModel.SPSecurityTokenServiceConfiguration..ctor()
       --- End of inner exception stack trace ---
       at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
       at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
       at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
       at System.Activator.CreateInstance(Type type, Boolean nonPublic)
       at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
       at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
       at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture)
       at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustServiceHostFactory.CreateSecurityTokenServiceConfiguration(String constructorString)
       at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses)
       at Microsoft.SharePoint.IdentityModel.SPSecurityTokenServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses)
       at System.ServiceModel.ServiceHostingEnvironment.HostingManager.CreateService(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)
       at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(ServiceActivationInfo serviceActivationInfo, EventTraceActivity eventTraceActivity)
       at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)
       --- End of inner exception stack trace ---
       at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)
       at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath, EventTraceActivity eventTraceActivity)
    Process Name: w3wp
    Process ID: 5504

  • Pre-requirements to install and run database

    Hi,
    I need to justify to our parent company production support team that "pre-required software installation list" mentioned in the Installation document of Oracle are software tools and packages required not just for the installation but also for the day-to-day operations to run Oracle Database. Can somebody from Oracle please answer to clear this doubt ?
    For example,
    We have linux AS 3 (Red hat Linux) and following software packages are listed as pre-requirements. I need an email, reply or document which says all these software packages are also required after installation to run daily operations of Oracle RDBMS ? I appreciate your help.
    gcc-3.2.3-2 or greater
    make-3.79 or greater
    binutils-2.11 or greater
    openmotif-2.2.2-16 or greater
    setarch-1.3.-1
    compat-db-4.0.14.5
    compat-gcc-7.3-2.96.122
    compat-gcc-c++-7.3-2.96.122
    compat-libstdc++-7.3-2.96.122
    compat-libstdc++-devel-7.3-2.96.122 or greater
    Thanks,
    - Sanjay

    These packages are required for installation of Oracle SW not for "after installation to run daily operations".
    After installation you could uninstall them but note that you will need these packages to apply patches and patchsets.
    Don't uninstall openmotif it may be required also for some components of Oracle SW.

  • How to determine how long a User Profile incremental and a Audience incremental take to complete?

    I'm looking at the ManageUserProfileServiceApplication.aspx page for my User Profile service. Just wanted to confirm a couple things based on what I'm seeing here.
    Audience Compilation Schedule looks like it takes under a minute to complete:
    Profiles
    Number of User Profiles
    3,467
    Number of User Properties
    72
    Number of Organization Profiles
    1
    Number of Organization Properties
    15
    Audiences
    Number of Audiences
    66
    Uncompiled Audiences
    0
    Audience Compilation Status
    Idle
    Audience Compilation Schedule
    Every day at 05:00 AM
    Last Compilation Time
    Ended at 1/15/2015 5:00
    AM
    Profile Synchronization Settings
    Synchronization Schedule (Incremental)
    Every day at 03:00 AM
    Profile Synchronization Status
    Idle
    User Profiles seemed to take just a few minutes, even though the times are off (8:5x am instead of 3 am).
    Stage History Cleanup
    Start Time 1/15/2015 8:51:57 AM
    End Time 1/15/2015 8:51:58 AM
    MX
    Stage Active directory import
    Additions 0
    Updates 0
    Unchanged 0
    Successes 0
    Failures 0
    Start Time 1/15/2015 8:51:58 AM
    End Time 1/15/2015 8:52:14 AM
    MXCB
    Stage Active directory import
    Additions 0
    Updates 0
    Unchanged 0
    Successes 0
    Failures 0
    Start Time 1/15/2015 8:51:58 AM
    End Time 1/15/2015 8:52:14 AM
    US2
    Stage Active directory import
    Additions 0
    Updates 0
    Unchanged 0
    Successes 0
    Failures 0
    Start Time 1/15/2015 8:51:58 AM
    End Time 1/15/2015 8:51:58 AM
    MOSS
    Stage SharePoint Server import
    Additions 0
    Updates 0
    Unchanged 0
    Successes 0
    Failures 0
    Start Time 1/15/2015 8:51:58 AM
    End Time 1/15/2015 8:52:32 AM
    US
    Stage Active directory import
    Additions 0
    Updates 0
    Unchanged 0
    Successes 0
    Failures 0
    Start Time 1/15/2015 8:51:59 AM
    End Time 1/15/2015 8:52:00 AM
    MOSS
    Stage SharePoint Server synchronization
    Additions 0
    Updates 0
    Unchanged 0
    Successes 0
    Failures 0
    Start Time 1/15/2015 8:52:32 AM
    End Time 1/15/2015 8:52:33 AM
    US
    Stage Active directory synchronization
    Additions 0
    Updates 0
    Unchanged 0
    Successes 0
    Failures 0
    Start Time 1/15/2015 8:52:33 AM
    End Time 1/15/2015 8:52:43 AM
    MX
    Stage Active directory synchronization
    Additions 0
    Updates 0
    Unchanged 0
    Successes 0
    Failures 0
    Start Time 1/15/2015 8:52:58 AM
    End Time 1/15/2015 8:53:01 AM
    US2
    Stage Active directory synchronization
    Additions 0
    Updates 0
    Unchanged 0
    Successes 0
    Failures 0
    Start Time 1/15/2015 8:53:01 AM
    End Time 1/15/2015 8:53:02 AM
    MXCB
    Stage Active directory synchronization
    Additions 0
    Updates 0
    Unchanged 0
    Successes 0
    Failures 0
    Start Time 1/15/2015 8:53:02 AM
    End Time 1/15/2015 8:53:04 AM
    MOSS
    Stage SharePoint Server export
    Additions 0
    Updates 0
    Unchanged 0
    Successes 0
    Failures 579
    Start Time 1/15/2015 8:53:04 AM
    End Time 1/15/2015 8:53:51 AM
    Stage Post-processing
    Start Time 1/15/2015 8:53:51 AM
    End Time 1/15/2015 8:53:51 AM

    Audience Compilation is fairly intense job. That is why it has its own timer
    job(User Profile service application - audience compilation)to
    which runs weekly basis and not suggested to run everyday. You can use below blog to find out exact time duration of that job
    Extract Timer Job History Using PowerShell
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • Server 2012 R2 user profile disks and outlook search not working

    Hi,
    I`m having a problem with my setup for quite some time now with Windows Search and indexing the outlook OST files.
    I`m using user profile disks in my setup but it seems that Windows Search can`t index the user profile disks, hence when i`m searching in outlook (the OST file is located in the user profile disk) with windows search enabled i`m not getting any results because
    it can`t index the OST file.
    If I don`t use the disks then windows search works fine but because i`m using clustered TS servers I need the profile disks and I don`t want to go back to redirects if possible..
    At the moment I`ve disabled Windows Search which forces outlook to search online, it works but is slow..

    Next issue that popped up, after the user logs off it will deleted the indexed data and start over the next time the user logs on..
    Any fix for that?
    There are three other Technet threads describing the same exact problem about indexing data being deleted when a user logs off from RDS. I'm experiencing this bug also and haven't found anything to fix it yet.
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/dffeb258-b985-452b-82f3-b66b950b98b6/user-profile-disks-with-windows-search?forum=winserverTS
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/e6d4e3e6-37ef-488c-86ac-d135e3f2353f/windows-search-index-and-user-profile-disks?forum=winserverTS
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/dc6328e9-96dc-4377-a23f-0fb7020e5daa/indexing-user-profile-disk-on-a-file-server-or-on-the-rdsh-server?forum=winserverTS
    my PC Techs http://www.mypctechs.com

  • User Profile Service and Sync Service

    I will be using Active Directory security groups to manage my SharePoint 2013 internal and external users. These groups will be put into SharePoint Groups. Is User Profile sync required to insure group members stay in sync between our 2 ADs and the SharePoint
    resources or is AD checked whenever a user accesses a resource?
    Love them all...regardless. - Buddha

    The groups that users are a member of will be included in the user's token during authentication.  But SharePoint does use the User profile sync to identify AD groups that are used by the users.  So User Profile Sync is a necessary part of the
    whole process.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • Profile changed and mac mail wont send..

    i ahve a name macdoodle bu t now its chnged to alreadyhaveone
    how do i get my orignial back..
    please email [ Edited by Host, No personal information please. ]
    i need to ask why allmail staring to ahng up in outbox of mailbox.
    i set one server up to port 25 and one to port 587 and still,
    right now 4 messages sitting..
    anyhting to be done?

    Hi alreadyhaveone a.k.a. macdoodle!
    Is this your User Profile: macdoodle?
    I suspect that you created a new account when you tried to log in.
    What happens when you log in with macdoodle?
    ali b

Maybe you are looking for