ORAENV file to be disabled

Hi,
Oracle Version:10.2.0.3
Operating system: Linux
Here i have a doubt .I was unable to connect to database with oracle OS user until i run the oraenv file .
How can i disable oraenv file in order to connect to the database with out running the oraenv file.
Please help me.
Thanks & Regards,
Poorna Prasad.S

Hi,
Here is the output for my .batch_profile for oracle user
oracle@virqts1ora001{Primary}:pavs:/home/oracle
$ cat .bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin:/usr/bin
export PATH
unset USERNAME
export ORACLE_BASE=/home/oracle/oracle
ORACLE_SID=pavs
PS1=`whoami`@`uname -n |awk -F. '{print $1"{Primary}"}'`':${ORACLE_SID}:${PWD}
$ '
# <--  Alias  -->
alias sysdba='sqlplus "/ as sysdba"'
alias cdump='cd $ORACLE_BASE/admin/$ORACLE_SID/cdump'
alias dpdump='cd $ORACLE_BASE/admin/$ORACLE_SID/dpdump'
alias scripts='cd $ORACLE_BASE/$ORACLE_SID/scripts'
alias pfile='cd $ORACLE_BASE/admin/$ORACLE_SID/pfile'
alias udump='cd $ORACLE_BASE/admin/$ORACLE_SID/udump'
alias adump='cd $ORACLE_BASE/admin/$ORACLE_SID/adump'
alias bdump='cd $ORACLE_BASE/admin/$ORACLE_SID/bdump'
alias standby='cd $ORACLE_BASE/admin/$ORACLE_SID/standby'
alias monitor='cd /home/oracle/rdbae/bbc4.30-bbpe'
alias archive='cd /u02/arch/PAVS'
echo '***************************************** '
echo '***            List of alias          *** '
echo '***************************************** '
aliasand here is the output for UTPALA user .batch_profile .
oracle@virqts1ora001{Primary}:pavs:/home/oracle
$ su - utpala
Password:
[utpala@virqts1ora001 ~]$ cat .bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin:/home/oracle/oracle/product/10.2.0/db_1/bin
ORACLE_HOME=/home/oracle/oracle/product/10.2.0/db_1/
export ORACLE_HOME
export PATH
unset USERNAME
[utpala@virqts1ora001 ~]$Thanks & Regards,
Poorna Prasad.S

Similar Messages

  • URL file-access is disabled in the server configuration

    My hosting company has made a server config change and my xslt pages have stopped working with the following error.
    It says url file access is disabled but my phpinfo() still shows allow_url_fopen = on
    What else might be the problem?
    Warning: require_once() [
    function.require-once]: URL file-access is disabled in the server configuration in
    /homepages/0/xxx/htdocs/xxxx/inc/horoscope_xml.php on line
    3
    Warning: require_once(
    http://www.xxxx.co.uk/includes/MM_XSLTransform/MM_XSLTransform.class.php) [
    function.require-once]: failed to open stream: no suitable wrapper could be found in
    /homepages/0/xxxx/htdocs/xxxxx/inc/horoscope_xml.php on line
    3
    Fatal error: require_once() [
    function.require]: Failed opening required 'http://www.xxxxx.co.uk/includes/MM_XSLTransform/MM_XSLTransform.class.php' (include_path='.:/usr/lib/php5') in
    /homepages/0/xxxx/htdocs/xxxxx/inc/horoscope_xml.php on line
    3

    bikeman01 wrote:
    I don't understand your use of the word 'class' in your reply - I am using php not asp.net.
    The name of the file that you are trying to access is MM_XSLTransform.class.php. It is a PHP class created by Dreamweaver for the XSL Transformation server behavior.
    The servers php is 5.2.11, as it has been for sometime, so I know that it previously worked with allow_url_fopen = on and allow_url_include = off
    Judging from the error message, you are trying to include the file using a URL, rather than a file path:
    Fatal error: require_once() [
    function.require]: Failed opening required 'http://www.xxxxx.co.uk/includes/MM_XSLTransform/MM_XSLTransform.class.php' (include_path='.:/usr/lib/php5') in
    /homepages/0/xxxx/htdocs/xxxxx/inc/horoscope_xml.php on line
    3
    Change the URL to a file path:
    require_once('/homepages/0/xxxx/htdocs/includes/MM_XSLTransform/MM_XSLTransform.class.php');
    Is it possible for phpinfo() to show allow_url_fopen = on yet be actually off on the server?
    No.
    [Edited to correct name of server behavior]

  • File Attachments Temporarily Disabled: Joke? Ha! Ha!

    On Feb 22, 2010, File Attachments were disabled... with the caveat that it was temporary. That 'Temporarily' now seems to be a joke... at whose expense i wonder...
    Because, today, many moons and even more suns later ( i refuse to count), it still remains disabled...

    Hi Claudio
    I only have the status of Community Professional and Moderator helper because I've been a tireless forums supporter since long before Adobe entered my world. In other words, I'm basically a simple user same as you. I'm a total volunteer that freely shares my time and I do not receive a paycheck from Adobe. Only recognition for being helpful to others. The forums activity for Jive only paint a partial picture because I've been through about six different incarnations of assorted forums software. Some I liked and some I didn't. But it's what we have to work with.
    So please do tell us of your vast experience supporting forums that support a hundred or so products, thousands of users and probably spanning numerous servers. Obviously you seem to feel that you know much better than the folks at Adobe how things should be run. Personally I do not envy the position of Adobe and the folks that are responsible for maintenance of our community. They probably have Adobe management on one side screaming that they need to cut costs while they have the user community on the other telling them how bad things are with the community and the forums.
    I never claimed things were perfect. All I did was state the facts as I see them. And the facts are that (pay close attention to this because it seems lost for so many) in the areas where I particpate we didn't see the world ending as some would like to paint the picture. Nobody left in disgust because the house was painted a different color and the room arrangement was different. The forums have shortcomings for sure. I openly said that all software has bugs. I meant the forums were no exception to this because they are software. I'm not saying this holds true for all forums. Only the ones where I participate. I've seen similar reports from other forum moderators here.
    As for FAQs, I myself have created FAQs for my own fora and can attest that the majority of users simply ignore them. So even if they exist, you STILL end up answering many basic questions day after day from new users. Such is the nature of forums support. The way you get used to it is by remembering that we all are new to things and need help. So we create FAQs and hope for the best.
    Basically you are saying that the forums simply aren't worth visiting. So this begs the following question. I will note that everyone has their own reasons for doing so and by asking you this please note that I'm in no way suggesting you should consider leaving. I'm genuinely interested to know what it is that keeps folks such as yourself and Phillip visiting day after day if you honestly feel the forums have nothing left to offer.
    Cheers... Rick

  • MSS Reporting : Local File option is disabled

    Hello,
    We are unable to execute this MSS reporting functionality via the portal. Any suggestions ?. Thanks.
    Menu>System>List>Save>Local File
    The Local File option is disabled.
    Regards,
    Sunil

    Hi,
    Not sure why it got grayed out ...however you can save to local file by using list option list->export->localfile.
    As well as even the system --->save ---> local file is grayed out in screens i can find above option working as well as the small icons bar also has one icon which saves to local file /spreadsheet/wordprocessor.You can use these options.
    Thanks.

  • How do I compare two csv files and not disable the user if the username is found in the 2nd file using powershell?

    Hi Guys
    I have two csv files with the following headers and I need to import both files into the script to check whether the StaffCode is present in the Creation/Renewal of Contract csv in a DisableAccount Script so I can stop any action to disable the account as
    the staff has renewed the contract with the company so the account should not be disabled.
    However my accounts are still being disabled. I am not sure now to construct the query so that it detects that the account is to be left alone if the staffcode is present in both files
    I does recognize that the $staffcodeN in the renewal file matches the $staffcode in the termination file
    but still proceeds to disable or set an expiry date to the account anyway based on the termination file. 
    How do I stop it from doing that?
    1)In the Creation/Renewal of contract file the following headers are present
         -  TranCode,StaffCode,LastName,FirstName,SocialSecurityNo,DateJoin,Grade,Dept,LastUpdateDate,EffectiveDate
    2)In the Disable of contract file the following headers are present
        - TranCode,StaffCode,LastName,FirstName,SocialSecurityno,LastDateWorked,Grade,Dept,LastUpdateDate,
    My data is not very clean , I have a-lot of special characters such as = , ' ,/ and \ characters to remove first before i can compare the data
    Thanks for the help in advance.
    Yours Sincrely
    Vicki
    The following is a short snippet of the code 
    $opencsv = import-csv "D:\scripts\Termination.csv"
    $opencsv2 = import-csv "D:\scripts\RenewContractandNewStaff.csv"
    foreach ($usertoaction in $opencsv) 
    $Trancode = $usertoactionTranCode
    $StaffCode = $usertoaction.StaffCode.replace("=","").replace('"','')
    $LastName = [string]$usertoaction.LastName.Replace("/","\/").Replace(",","\,")
    $FirstName = [string]$usertoaction.FirstName.Replace("/","\/").Replace(",","\,")
    $socialsecurityno = $usertoaction.SocialSecurityNo.replace("=","").replace('"','')
    $DateJoin = $usertoaction.DateJoin.replace("=","").replace('"','')
    $LastDateWorked = $usertoaction.LastDateWorked.replace("=","").replace('"','')
    $Grade = [string]$usertoaction.Grade
    $Dept = [string]$usertoaction.Dept
    $LastUpdateDate = $usertoaction.LastUpdateDate.replace("=","").replace('"','')
    $AccountExpiry = [datetime]::Now.ToString($LastDateWorked)
    foreach ($usertoaction2 in $opencsv2) 
    $TrancodeN = $usertoaction2.TranCode
    $StaffCodeN = $usertoaction2.StaffCode.replace("=","").replace('"','')
    $socialsecurityNoN= $usertoaction2.SocialSecurityNo.replace("=","").replace('"','')
    $DateJoinN = $usertoaction2.DateJoin.replace("=","").replace('"','')
    $GradeN = [string]$usertoaction2.Grade
    $DeptN = $usertoaction2.Dept
    $LastUpdateDate = $usertoaction.LastUpdateDate.replace("=","").replace('"','')
    $EffectiveDate = $usertoaction.EffectiveDate.replace("=","").replace('"','')
    $LastName2 = [string]$usertoaction2.LastName.Replace(",", "").Replace("/","").trim()
    $FirstName2 = [string]$usertoaction2.FirstName.Replace("/","").trim()
    # Use DirectorySearcher to find the DN of the user from the sAMAccountName.
    $Domain = [System.DirectoryServices.ActiveDirectory.Domain]::GetCurrentDomain()
    $Root = $Domain.GetDirectoryEntry()
    $Searcher = [System.DirectoryServices.DirectorySearcher]$Root
    $Searcher.Filter = "(sAMAccountName=$samaccountname)"
    $doesuserexist1 = $Searcher.Findall()
    if ($doesuserexist1 -eq $Null)
    {Write-Host $samaccountname "account does not exist"}
    elseif ($StaffCodeN -match $staffcode)
    write-host "user has renewed the contract, no action taken"
    else
    if(($lastupdatedate -ne $null)-or($LastDateWorked -ne $null))
                        write-host "Setting Account Expiry to"$accountexpirydate
    #$ChangeUser.AccountExpires = $accountexpirydate
               #$Changeuser.setinfo()
    if ($UserMailforwarding -ne $null)
    #Set Account expiry date to Last Date Worked
    # $ChangeUser.AccountExpires = $accountexpirydate
    # $Changeuser.setinfo()
     write-host "staff" $displayname "with staff employee no" $samaccountname "has                          
    mailforwarding" 
    Write-host "Please disable the account manually via Active Directory Users & Computers and 
    Elseif ($accountexpirydate -lt $todaysdate)
    #disable the account

    Hi Vicki,
    This Forum has an insert-codeblock function. Using it will make your script far more readable
    Your script is missing some parts, it is impossible to follow the problem.
    You are performing the same string cleaning action on $opencsv2 for each element in $opencsv, when doing it once should suffice. Why not start it all by cleaning the values and storing the cleaned values in new arrays?
    The Compare-Object function is great, why not take it out for a stroll on these lists, it might just safe you lots of unnecessarily complicated code ...
    You are creating a new $Domain, $Root and $Searcher object each iteration, when doing it once should suffice. Probably not much of a time-saver, but every little thing contributes.
    Try pinpointing the problem by doing extensive logging, not only by writing which action was taken, but writing the inidividual information (variables, mostly) before evaluation occurs. Your if/elseif/else looks sound, so if it's still not doing what you
    want, the ingoing data must be different from what you think should be there.
    Cheers,
    Fred
    There's no place like 127.0.0.1

  • HELP - Guest Log In on File Sharing Suddenly Disabled (Grey Out)?

    Hello all.
    This is my office MacPro, we have a pool of Macs running graphics and also Avid software. We file share with local network through Apple File Sharing.
    By default we would be able to turn on our own Mac's file sharing, and other user would log in to our Public folder > Drop Box ... etc
    In Leopard, we are able to designate other folder for file share, which I have done. I disabled my default Public folder for file sharing. And created a folder outside my User folder for file sharing, so that others log into my mac as guest user can access it too.
    Actually everything is just fine, other mac users just need to log in as Guest to access my share folder.
    But this morning, all of a sudden, without any tweaks or anything, other mac users cannot log in as Guest, the Guest option is grey out.
    I have tried disabling file share, enable, re-create a new folder to share or re-enable the default Public folder to share, but the Guest option is still grey out.
    What could have happen?
    Need to solve this as soon as I can, thanks and cheers

    Thanks - the weekend was very pleasant indeed!
    I agree that something seems to awry in the Leopard MBP. The question is "what". The symptoms now are:
    1) iTunes music sharing from MBP is broken
    2) Connecting to Panther Mac via AFP is broken (although one Mac can be connected via IP address)
    3) Machine works well on a Windows network
    Based on all of this, I would guess that there is a problem in the "Bonjour" networking of the MBP. You could try:
    1. Using a different account to see if it is local to your user id.
    2. Failing that, removing your com.apple.AppleFileServer.plist and com.apple.AppleShareClient.plist files from /Library/Preferences
    Outside of that, I would have to do some more digging.

  • Why is "Reduce File Size" in the "File" menu always disabled?

    I have a rather large presentation file, about 100Mbyte, and Keynote has become almost impossible to use, because it has become so slow.
    Have to wait about 5 seconds for each letter to appear on screen after typing! Almost impossible to use Keynote under these conditions.
    So I tried to use "Reduce File Size" to reduce the presentation file size by compressing the images, but "Reduce File Size" is always disabled!
    Anybody else having such problems?
    Gerhard

    OK, sounds like memory will be fine, so let's look at some other stuff...
    Is it only one particularly keynote presentation that slows up for you, or does keynote behave in the same way even if you start from scratch and create a new presentation?
    If it's just the one presentation then there's probably some content (possibly video) within it that KN takes exception to. Sometimes a single problematic slide or piece of content can slow down the whole app.
    Is the problematic presentation one that was imported from Powerpoint? If so, import it again and look carefully at the import error/warning logs.
    Before you start keynote, start up activity monitor - which will give you an indication of what programs are using all the CPU/memory/disk bandwidth etc. You'll then have an idea of whether it is KN maxing out on CPU or whether anything else is dragging the system down.
    Another thing you could try would be to log in to a different user account on your machine (create one if necessary) and then try opening the presentation from within this different account. If this works for you then it suggests a problem with the keynote plist file in your original user account.
    I don't know if it'd be acceptable to you, but if you could post a link to your problematic presentation then I could download it and try it out on my normally reliable Keynote on one of my computers. (Make sure that you've ticked the box to embed all media in the presentation)
    Hope some of this is helpful,
    Mike.

  • SMB File Sharing - Account Disabled

    I am unable to get SMB sharing working on my Mac Mini under Yosemite.  While I have seen several postings about NTLMv2 sharing and the Windows Registry Key LmCompatabilityLevel, I don't think I'm far enough to use that option.  I am unable to fully turn on SMB sharing as the check-box next to my account is disabled. 
    I am logged in via my iCloud account.  Could that be part of the issue?  This is rather vexing, so if anyone has any pointers, I'd be greatly appreciative. 
    Thanks.

    file sharing seems to be working... you will probably have to authenticate prior to beginning the file transfer though, so that is likely what is failing in the first instance.

  • Why has file sync been disabled again?

    After my Creative Cloud file sync had been enabled again a week ago, it has been disabled again today. I have been waiting for it to be available again for months and now without any warning it has been disabled. I know the 'new' functionalities of file synchronisation and sharing are very poor, but at least it was there. Why did Adobe do this and when is it going to be solved again? I need an answer on this topic soon, because I'm working on a project and need CC to function like it should.
    (The 'Update' is for Adobe Premiere)
    Adobe is not giving me the full service I am paying for each month. Perhaps I will have to take juridical actions in this matter.

    Norbert, firstly my apologies for the inconsitency of the service.  This is not something that should be occuring.  In order to better understand the cause, could you confirm the version of the Creative Cloud app you are running? (got to Preferences/Account)  Also, could you send me a copy of your log file, which you'll find here:
    AppData\Adobe\CoreSync\CorSync-yyyy-mm-dd.log
    Please email me the files that correspond to the days you noticed the issue.  I'm on [email protected]

  • [Solved] hosts file with ipv6 disabled

    Hello community!
    So I have disabled ipv6, as it was causing various issues and Comcast has not yet implemented ipv6 in my area.  Disabling was no problem, but nowhere can i find information regarding whether or not to keep the ipv6 line in the hosts file.  Should I comment it out? 
    For clarity I am referring to the ::1 line.  Will commenting it out be problematic, or will keeping it be problematic, or does it not really matter?  I know having an improperly configured hosts file can cause all sorts of network issues, so I am very curious. 
    Right now I have it commented out, and I have not noticed any real problems, but I also have a Realtek wireless card using rtl8192ce, which is not the most stable driver/connection.  Thus my connection is kind of intermittently crappy.  So I am curious if I am making my connection crappier than it was before.
    Thanks in advance!
    Edit:  Of course as soon as I posted this, I found an answer.  The Debian wiki recommends commenting it out when completely disabling ipv6.  So to those who at least read my post, thanks!
    Last edited by WonderWoofy (2012-08-19 20:19:44)

    @WonderWoofy,
    Do you have a link for the Debian wiki? I'd like to understand the reasoning.
    To be honest, I didn't even realise that line was for ipv6. Since I've disabled it in sysctl.conf, I should probably consider commenting it out, too. Right now, I seem to be loading firewall modules for ipv6, mind, which seems like slightly more security than can be strictly necessary if the thing is disabled...
    @ghen,
    It isn't, that I know of, a matter of "figuring it out correctly". Having ipv6 enabled can screw up ipv4 connections. Having it enabled prevents me from connecting to the internet at all on one of the networks I use. As I understand it, a properly configured network shouldn't do this but when the official IT support people say the problem is that you have ipv6 enabled, you don't have much choice. (And it isn't as if there's anything to be gained by having it enabled.)

  • Services for Object- Attached file option is disable

    Hi All,
    I am not able to see the attached file in services to object in billing document.As for other document I am able to see that , Pl le me know the configure setting related to this Icon. how to configure for see the attached document If i create a invoice.
    Rds
    VM

    Hi Vip,
    I am facing the same problem now.. Can you share the solution if you got it done ...
    Thanks
    Avinash Raju

  • GRANT failed: password file missing or disabled

    Hi,
    I created password file using
    orapwd FILE=orapwprj ENTRIES=30 (where prj is the instance name)
    SQL> show parameter remote_login_passwordfile
    NAME TYPE VALUE
    remote_login_passwordfile string EXCLUSIVE
    SQL> grant sysdba to rempar;
    grant sysdba to rempar
    ERROR at line 1:
    ORA-01994: GRANT failed: password file missing or disabled

    Command to be used as
    orapwd file=password_file_name_with_complete path password=the_passwordBy default, the password file should be located in $ORACLE_HOME/dbs location for UNIX platform with password file format as "orapw<SID>"
    For windows, the password file should be located in %ORACLE_HOME%\database location with password file format as "PWD<SID>"

  • Downloads fail - File & Font sync disabled OSX Mavericks

    this is more of a bug report than a question but im leaving it here for whoever can fix the problem.
    I am running OSX 10.9 (mavericks) and everytime i open the Creative cloud desktop application, it says at the bottom "File and Font syncing is Off - Resume sync"
    but when i resume, it takes a few seconds generally and then stops syncing and returns with that message again (also there is a pause icon on the cc menu bar icon)
    and i now have an update for Flash professional CC, but whenever i try to update, it prompts me for my password, then after i type it in, after a few seconds  it says "The update failed, the file appears to be corrupted, try again in a few minutes"
    but it never works...
    anyway! no other issues just wondering if there is a fix?
    - Connor

    Toggle_Norvell did you search the installation log for the word error?  Which Flash Professional CC update exactly are you trying to apply?  As a general suggestion you could remove your current installation, reinstall, and try applying the update again.  Without knowing the exact error though you are facing it is difficult to determine if this will resolve your current difficulties or not.  You may also want to review Installation failed. Error U44M1P7 | Updates - http://helpx.adobe.com/creative-suite/kb/error-u44m1p7-installing-updates-ccm.html which discusses a common error received while applying updates.
    For File sync difficulties you will need to work directly with our support team.

  • The file browser is disabled for security reasons. Please contact your system administrator and check the CKFinder configuration file.

    Hi,
    This message appeared as I tried to upload to images a site, using their image uploader.
    I am technologically challenged, so however you answer, please go slow
    Thanks a lot,
    Raphael

    Thanks Kirk! For once it's not on my end!
    Raphael

  • File Attachments Temporarily Disabled

    Any word when, or if, this "temporary" forum limitation will be lifted?
    Thanks,
    Jim Leichliter

    I just use acrobat.com.

Maybe you are looking for

  • Calendars sync together issue :-(

    All, I have an iPhone running the latest IOS and I seem to have an issue.  I have 3 exchange accounts and at some point two have become sync'ed together.  One account is with the company and another is with Google.  When I first started using the pho

  • Unable to update Lumia 620 updates

    In my Lumia unable to update amber update. When I check software update, its showing your phone is updated . Please tell me how to update

  • Cisco ACE default vlan

    Hello everybody, I am installing a ACE 4700 in a customer but when i started to work and saw their topology, then i realized that i had a problem. The problem is that i cannot create the interface vlan 1 and assign an ip address to it. I saw some doc

  • How to disable IPv6 for loopback adapter (lo0)

    I was wondering if anyone knows how to disable IPv6 for the loopback (lo0) adpater. I know how to do it for other adapters using the Network preferences pane, but lo0 doesn't appear there... Thanks, - alan

  • Adobe creative suite

    Why doesn't Mountain Lion support Adobe Creative Suite? What options do I now have?