Accidentally I run environment using root account

Hi There
I'm trying to restart concurrent manager but accidentally run in root account then also the env of both DB and APPS
the solution i performed was that change the owner chown -R applmgr:dba apps/ and inst and also to the DB chown -R oracle:dba db/
after that I run the env of DB and it was succesfully wihtout any exisitng errors or addbctl.sh: exiting with status 0
but in APPS when i run ENV then go to ADMIN_SCRIPTS_HOME/sid_name/
then adstrtal.sh the APPS asking me a username and password which is before no need to input because Im on the APPS side
error message:
adstrtal.sh: Database connection could not be established. Either the database is down or the APPS credentials supplied are wrong
USAGE: adstrtal.sh <appsusername/appspassword>
adstrtal.sh: exiting with status 1
please help
thanks
Edited by: cheesewizz on Nov 23, 2010 10:05 PM

Hi,
but in APPS when i run ENV then go to ADMIN_SCRIPTS_HOME/sid_name/
then adstrtal.sh the APPS asking me a username and password which is before no need to input because Im on the APPS side
error message:
adstrtal.sh: Database connection could not be established. Either the database is down or the APPS credentials supplied are wrong
USAGE: adstrtal.sh <appsusername/appspassword>
adstrtal.sh: exiting with status 1This is an expected behavior as you have to pass the apps username and password to run adstrtal.sh script, so as applmgr user source the env file and issue "adstrtal.sh apps/<apps password>".
Thanks,
Hussein

Similar Messages

  • Used Root Account - Is My Computer Safe?

    I am new to Mac, and had a problem with my "short name." I went to the Apple website and they said I needed to use the "root" account and explained how to enable it and do what I needed to do while in the account. I was in the account for a few minutes and only went to the Apple site while in the account. After I was done I disabled the "root" account, but I came across something after doing it saying using the "root" account opens my computer up to threats. Since I disabled the root account am I still at a security risk?

    No, but do you have a link to the Apple website where it suggests enabling the root account? If so, that needs to be removed. There is no reason to use the root account and especially none to use the Finder as root.
    There are easier, safer ways to fix "short name" problems.

  • Lion can not connect to smb if use root login

    I found if use root account login lion, that can't connect to smb but use other account ok.who can help me take a look?

    This might help.  I have a Seagate Dockstar (Pogoplug w/samba) with attached drives connected to my network that was easily discoverable with Bonjour in Snow.
    From my experience -
    I got the SMB share working (sort of) in Lion 10.7
    While the network hub and connected drive(s) won't automatically appear as a Connected Server, or Bonjour Computer I was able to find the Dockstar by going to -
    Go/Connect to Server and then enter it's specific info -  smb://fabx2d09fe (my device's actual number was different than this).
    The dialog pops up for name and password - or connect as Guest.  I couldn't remember if I had set these so tried Guest and was able to access/mount the drive on the desktop and sucessfully read/write to/from it.
    I may have to always connect to recent servers to get the thing to mount so it's not as automatic as Bonjour in the sidebar - but it does work!
    This mostly solved the issue for my needs....maybe it would work for yours?

  • [SOLVED] Mouse Acting Up When Using Cinnamon In Non-Root Accounts

    I have recently installed Arch linux on my computer, alongside Ubuntu and Windows. I installed cinnamon and xorg from the official repositories, and was happy with the experience. However, I wanted to transition from a root account to a normal user account, because certain software (e.g. Chrome) refuses to run under root. So, I created my user, home directory, and password, and was able to login. I copied my .xinitrc from my root home directory to my normal user accounts' home directory. The contents were this:
    exec gnome-session-cinnamon
    So, I type startx on the command line, expect everything to work normally, and I find that my mouse is not working properly:
    1. I am unable to drag windows around
    2. Applications with a scroll bar automatically scroll down to the bottom of page, and you can't scroll back up again
    3. I cannot click anything on the sidebar of the cinnamon menu (which contains things like logoff and shutdown, so I had to kill the x server)
    However, when logged in on root, none of this happens. At first, I thought this problem was due to me using a display manager (I used gdm and slim). This, however, is not the case. There isn't much out there on the internet for the problem I have, and I assume that this doesn't happen very often. What I did find, however, was to install the following packages:
    sudo pacman -S xf86-input-evdev
    sudo pacman -S xf86-input-mouse
    The problem was still not fixed. I do not have an xorg.conf, but I do have a 50-vmmouse.conf in /etc/X11/xorg.conf.d (I don't know if that's helpful, though):
    Section "InputClass"
        Identifier    "vmmouse"
        MatchIsPointer    "on"
        MatchTag    "vmmouse"
        Driver        "vmmouse"
    EndSection
    Edit: I have a (I think) slightly more useful file: 10-evdev.conf in the same directory:
    # Catch-all evdev loader for udev-based systems
    # We don't simply match on any device since that also adds accelerometers
    # and other devices that we don't really want to use. The list below
    # matches everything but joysticks.
    Section "InputClass"
            Identifier "evdev pointer catchall"
            MatchIsPointer "on"
            MatchDevicePath "/dev/input/event*"
            Driver "evdev"
    EndSection
    Section "InputClass"
            Identifier "evdev keyboard catchall"
            MatchIsKeyboard "on"
            MatchDevicePath "/dev/input/event*"
            Driver "evdev"
    EndSection
    Section "InputClass"
            Identifier "evdev touchpad catchall"
            MatchIsTouchpad "on"
            MatchDevicePath "/dev/input/event*"
            Driver "evdev"
    EndSection
    Section "InputClass"
            Identifier "evdev tablet catchall"
            MatchIsTablet "on"
            MatchDevicePath "/dev/input/event*"
            Driver "evdev"
    EndSection
    Section "InputClass"
            Identifier "evdev touchscreen catchall"
            MatchIsTouchscreen "on"
            MatchDevicePath "/dev/input/event*"
            Driver "evdev"
    EndSection
    Last edited by iandun (2013-07-26 13:42:05)

    I have fixed it! After my mouse started automatically moving to the left side of the screen, even when logged in as root, I thought I would have to go back to Ubuntu, but I was able to read another forum thread about someone who was having the same issue (about the mouse moving left), and said that when he unplugged his joystick, everything worked. I realized that I had a joystick, so I unplugged mine and now everything is working like a charm!

  • Help apple help me, at first I was new to iphone registration 1 apple ID account but because I hardly use icloud account. so I do not remember the password and login name, my computer crash when I decided to run the software on ios7.1, but do not expect m

    help apple help me, at first I was new to iphone registration 1 apple ID account but because I hardly use icloud account. so I do not remember the password and login name, my computer crash when I decided to run the software on ios7.1, but do not expect me to be locked iclou account, I hope this mail unlocked apple for my apple account. I'm currently using the machine iphone 5, IME: ********. thank you ... ask yourself? machine is in warranty period warranty icloud error not send mail to me at mail
    <Personal Information Edited by Host>

    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • I accidentally removed my iPhone from manage devices in my iTunes account.  How do I get back on as a device to use my account?

    I accidentally removed my iPhone from manage devices in my iTunes account.  How do I get my iPhone 5s back on as a device to use my account?

    Hi jakefrombishop,
    If you changed that old ID to your current ID using Manage your Apple ID, try the following to see if it will accept your current password:
    1.     Go to Manage your Apple ID and sign on with your current Apple ID and password. EDIT the ID and change it to the old email address. This is temporary. Do NOT verify it, do NOT change the password: Apple - My Apple ID
    2.     Now on the iPhone, where it is asking for your password to turn off Find My iPhone, type in your current password
    3.     Go back to Manage your Apple ID and sign on with the old email address and your current password. EDIT the Apple ID back to your current email address. You may need to verify it again.
    Fingers crossed!
    GB

  • UNIX: problem running an DEV & QA environment using form/report servlets

    UNIX: problem running an DEV & QA environment using form/report servlets
    I am trying to setup on one server an DEV and QA environment using the Forms Servlet, Forms Listener Servlet and Report Servlet.
    I think I have the Forms Servlet and Forms Listener Servlet running properly. The problem is setting up the DEV and QA environment for running reports.
    For example, when in DEV environment I would like to run a report from a directory specified in the REPORTS60_PATH. This doesn't seem possible.
    It might be easier if I describe my configuration first:
    DEV: run all forms and reports from the directory /data/release/dev
    QA: run all forms and reports from the directory /data/release/qa
    ---DEV & QA Settings Forms Listener Servlet:
    zone.properties:
    # DEV
    servlet.fl60dev.code=oracle.forms.servlet.ListenerServlet
    servlet.fl60dev.initArgs=EnvFile=/u01/app/oracle/product/ias/6iserver/forms60/server/dev.env
    # QA
    servlet.fl60qa.code=oracle.forms.servlet.ListenerServlet
    servlet.fl60qa.initArgs=EnvFile=/u01/app/oracle/product/ias/6iserver/forms60/server/qa.env
    ---DEV & QA Settings Forms Servlet:
    servlet.f60servlet.code=oracle.forms.servlet.FormsServlet
    --- Settings for Reports Servlet:
    servlet.RWServlet.code=oracle.reports.rwcgi.RWServlet
    Custom Env files since we are using Developer 6i Patch 7
    dev.env and qa.env
    Here I specify FORMS60_PATH and REPORTS60_PATH,
    eg: DEV -> FORMS60_PATH=/data/release/dev
    REPORTS60_PATH=/data/release/dev
    likewise for QA ../qa
    In the formsweb.cfg file i have something like:
    [dev]
    serverURL=/servlet/fl60dev
    form=test.fmx
    [qa]
    serverURL=/servlet/fl60dev
    form=test2.fmx
    I have tested the following and they work without problems:
    1. forms listener test page, eg: http://webserver:7777/servlet/fl60dev
    2. running forms from the 2 environments
    eg: http://webserver:7777/servlet/f60servlet?config=dev
    this runs the form in the FORMS60_PATH (/data/release/dev)
    Now my problems start with Reports.
    When I run a report from forms (using run_report_object) it will not run any reports
    as specified in the REPORTS60_PATH
    Even using this url:
    http://webserver:7777/servlet/RWServlet?server=rep60&report=test.rdf&destype=cache&desformat=html&
    userid=scott/tiger@test9i
    It NEVER seems to pickup and use the REPORTS60_PATH. I have tried nearly everything.
    I have gone throught the instructions in "Integrating Oracle9iAS Reports in Oracle9iAS Forms -
    White Paper"
    (http://otn.oracle.com/products/forms/pdf/277282.pdf)
    and Forms6i Patch 7: Oracle Forms Listner Servlet for Deployment of FOrms on the Internet
    (http://otn.oracle.com/products/forms/pdf/p7listenerservlet.pdf)
    plus any other documents in metalink relating to forms, or report servlets. I am
    totally confused, please help.
    I have tried setting the REPORTS60_PATH in the following files without success:
    custom.env (as specified by initArgs=EnvFile in zone.properties)
    jserv.properties
    in the zone.properties I have tried to set a custom env file for the report servlet:
    servlet.RWServlet.code=oracle.reports.rwcgi.RWServlet
    servlet.RWServlet.initArgs=EnvFile=/u01/app/oracle/product/ias/6iserver/forms60/server/dev_rep.env
    NO LUCK.
    The only place that I can set the REPORTS60_PATH
    is in "[6iserver home]/reports60_server" file when I start the reports server (did I even
    get this right - I do have to have a reports server running don't I?)
    Does this meaan I have to run multiple report servers for each of my environments?
    Based on all the documentation I thought that REPORTS60_PATH as specified in the files relating
    to the forms servlet would be the place to specify the path.
    As you will understand I am getting really fustrated with this and it seems to
    me that the reports servlet configuration in 6i is really half baked and since 9i
    is coming out it will never be fixed.

    I am even not able to run forms servlets from two different forms60_path, Is there any configuration do you make other than what you have mentioned in this post.
    I already open a TAR in this regard, I am still waiting reply from ORACLE.
    Thanks,
    Shaik Ather Ahmed

  • Can't turn off Verbose Mode after running disk defrag in minimal environment using Drive Genius 3

    New to posting on here. I'm using a
    Mid-2009 15in MacBook Pro
    2.8 GHz Intel Core 2 Duo
    4 GB memory
    After running Disk Defrag in a minimal environment using Drive Genius 3 my MacBook Pro only starts up in Verbose Mode.
    I've done my searching on how to turn verbose mode on and off on the web and it gets me nowhere.
    Using
         sudo nvram –p
    in terminal shows that there is no " v" after " boot-args "
    Using
         sudo nvram boot-args=
    to turn it off hasn't done anything.

    I'm having the same issue but the solution suggested by prosoft doesn't work because that file des not exist.
    Prosoft was able to help me.
    First, FileVault is not reccomended and they are adding a FAQ to address that.  Next, they said to trash this file:
    /Library/Preferences/SystemConfiguration/com.apple.Boot.plist
    and to restart.  It seemed to have worked for me.
    If anyone has any other suggestions then I would be grateful.
    Many Thanks.

  • Need urgent help! - I accidentally sycn my friend's iphone account to my company's phone. I could not swich back to my own icloud account because of the icloud password i enter was incorrect. My friend does not use this icloud account since age.

    Need urgent help! - I accidentally sync my friend's iphone account to my company's iphone. I could not switch back to my own icloud account because of the icloud password i enter was incorrect. My friend does not use this icloud account since age only remember 1 password which i already try but iphone shown that " incorrect password" I checked on icloud ID and try to log in but it shown as " You Apple ID was disable for security reason. To enable your account must reset password" but so bad again, the email address that he used to create icloud ID also lock for security reason. May Apple Supporter please help reset it ASAP? I can verify that I am the iphone's owner, as it belong to company's phone.

    Have your company IT department get proof that the company was the
    original purchaser of the iPhone and visit a physical Apple store with
    proof of original purchase, proof that person is company representative,
    and the iPhone - Apple may be able to help. If no physical Apple store,
    contact Apple - you will still need the same items of proof.

  • How to download Lion to a computer already running Lion using a different app store account?

    Hello Everyone,
    I currently have Lion installed on my imac. A friend of mine currently has problems with his internet connection and would like me to download a copy for him. Anyway, I logged into the app store using his account but it won't let me download a copy for him. Lion just shows as being installed which is the case but I want a copy for him to burn to dvd. Do any of you know a solution to this? Of course, I could burn my copy for him but he wants his own.
    Many thanks in advance.

    Thanks for the reply. I downloaded Lion again using my account and I have a copy of the installer that we could install on my friend's machine but we are concerned that he wouldn't get updates via the app store. This is why we wanted to purchase it for him using his account. The problem is that I can't buy it for him on my machine using his id because Lion is already running on my imac. We're trying to do this correctly and legally but it's proving to be quite difficult. Thanks again.

  • Cron job not running - script uses rsync, ssh (with id_rsa)

    Does anyone know how to get cron to run a rsync/ssh script which uses id_rsa for passwordless logins?
    I have a backup script I have slaved for months over that works wonderfully when running it from the command line.
    It uses rsync and connects with SSH (passwordless using ssh keys). I have setup id_rsa and id_rsa.pub for passwordless logins (this is my user account, and connects using root@ to the server)
    As stated all works find when run from the command line. But when I setup a cron job to run this file (exact same line I run from the command line) it does not execute. Actually, it does run, as I have an email notifiction which sends to me. It is just the rsync/ssh part that does not run.
    I have spent days and days trying to figure it out. No error messages occur, nothing.  Took me a while to find out cron is emailing the user account on Lion the messages (not to a proper email address).
    The error shows a permission denied, which I believe to be the cron user cannot use the id_rsa/ssh connection.
    Cron is running the script as my user, the same I use on the command line. I even tried copying the id_rsa to the root user .ssh folder in case cron is running as root but that does not work either.
    So does anyone know how to get cron to run this rsync/ssh script which used id_rsa for passwordless logins?
    Thanks a lot

    YES! Got it working, finally!
    So the issue is indeed cron/launchd not being able to access the ssh-agent which holds the key.
    So this is the solution...
    Download keychain for Mac:
    http://www.funtoo.org/wiki/Keychain
    Then once its installed and configured, the script to run needs this added to the top:
    eval `keychain --noask --eval id_rsa` || exit 1
    Note I am using id_rsa whereas keychains instructions refer to id_dsa so I just changed it and it works OK.
    When the script runs the first time it asks for the key password. Then it works from then on.
    What I do not know yet is will I need to re-enter the password when I logoff/logon again. That will cause an issue as I auto restart the Mac every day which means if I am off for a few days backup will stop (can you see the madness in this issue!).

  • How can I transfer the root account on my computer to a regular account?

    Not sure if this in the correct category, but anyway...
    Back in October 2010, I installed a Java update or something on my regular account, and it broke the account for some reason. I had no other account to use except for the root user that I enabled previously (just for testing). I logged into it and used it as my regular account, checking every so often to check if my regular account fixed itself. Sadly, it didn’t (at the time), but after a while, I upgraded my computer to Snow Leopard (I was previously running Leopard), I found that my old account finally fixed itself. Immediately, I attempted to copy over all of my files from the root account to the other account. I went onto the account, and it seemed to be a fresh account, so I assumed that it didn’t register the account files as legitimate and I guess it made it into a new account. I gave up after fiddling with it for a bit. To this day, I’m still using the root user as my main account, but a lot of things are broken (like Spotlight, Mail search, some other things) and I’d just like to know a clean way I could easily transfer all of the stuff from the root user to my old account (including all of the Library files and such). Please don’t say “You shouldn’t have used the root user because it’s really dangerous,” or whatever. I’ve been responsible with it for almost 2 years and I don’t think I could’ve done anything else. Thanks for any help.

    Its doable with Terminal. Log into your new userfolder in the /Users/ folder and open Terminal and say:
    whoami
    This is the owner of your newly transferred files.
    Log into your root account and Launch Terminal. You will use the scp (secure copy) command to copy your files over to the new userfolder, replacing PathToNewFolder with the path to your new folder:
    cd /PathToNewFolder
    scp -r /private/var/root/* .
    The copied files will all have ownership of root account, so you will then set ownership of all the files to your new username that you remember from above, replacing "NewName" with your new username:
    $USER=NewName
    find . -exec chown $USER:admin {} \;
    find . -type d -exec chmod 750 {} \;
    find . -type f -exec chmod 640 {} \;
    chmod 755 Library
    find Library -type d -exec chmod 755 {} \;
    find Library -type f -exec chmod 600 {} \;
    chmod 755 Library/Autosave\ Information Library/Application\ Support Library/Keychains Library/Application\ Support/Terminal
    chmod 644 Library/Preferences/QuickTime\ Preferences Library/Keychains/* Library/Favorites/* Library/Caches/com.apple.preferencepanes.cache Library/Caches/com.apple.preferencepanes.searchindexcache
    chmod 755 Public ~/Sites
    chmod 733 Public/Drop\ Box
    find Sites -type d -exec chmod 755 {} \;
    find Sites -type f -exec chmod 644 {} \;
    Then you can login to your new account with all your stuff hopefully intact. If anything doesn't work respond here and it can be fixed.

  • Su vs sudo : run dolphin as root[SOLVED]

    Hi,
    I am trying to understand the difference in how su and sudo work.
    I tried to run dolphin as root to add a mount point at /media/drivex
    with su :
    I type dolphin at the prompt
    and I get this error
    <unknown program name>(2348)/: KUniqueApplication: Cannot find the D-Bus session server: "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken."
    <unknown program name>(2347)/: KUniqueApplication: Pipe closed unexpectedly.
    dolphin doesnt work
    however,
    when I use sudo dolphin from a regular user,
    dolphin works even though I get a number of errs
    Error: "/var/tmp/kdecache-myx" is owned by uid 1000 instead of uid 0.
    kdeinit4: preparing to launch /usr/lib/libkdeinit4_kbuildsycoca4.so
    kbuildsycoca4 running...
    this is repeated a few times, as though it keeps retrying.
    1.Anyway why does su not work when sudo does?
    2. So when does one use su vs sudo?
    3. I did this yesterday and was able to add a mnt point for my esata drive. Today, I had to do it again. The mount point had disappeared. what may have happened?
    thanks
    Last edited by myxolam (2009-10-16 11:27:15)

    The only reason I use "su" (as "su -") is to create a new, clean session, just as logging in with that user.
    Using "sudo", or "su" without the dash creates a new environment inheriting the session variables from the current user, thus GUI apps can work fine (as they have inherited the $DISPLAY, $DBUS_SESSION_BUS_ADDRESS and other variables used by X applications).
    Anyway, as an alternative to "su", you could use "sudo -i".
    Another difference which is applicable to Ubuntu and maybe Arch, is that "su"ing to root you are asked for the root password, while using "sudo" you are asked for your password, not the "root" one.

  • What's the difference between the Admin and Root accounts in Mac OS X?

    Does anyone know what the difference is between the Admin account and Root user option on Snow Leopard?
    I've read on Network Security forums that I should have two accounts on my Macs (I'm the owner and only user), 1 for Admin controls / access and another for general use.  I was under the impression that I only needed one account, and even though it was specified as an "Admin" account I didn't really need to worry about it as I would still need to go into Directory Utility and "Enable Root User" to really allow a program to gain access / control of my Mac.
    Can somebody please clear this up for me?
    Thanks in advance
    L Rembrandt

    Root can do anything, without further authentication.  There is only one root account and it is disabled by default.
    An admin user can do many things without further authentication, but can become root by authenticating with his own password.  There can be any number of admin users.
    A standard (non-admin) user can only modify the contents of his own home folder, but can become and do admin and even root tasks by authenticating with an administrator's username and password, if he knows it.
    Most security professionals recommend running with the fewest privileges as are necessary, elevating to the higher privilege only when needed, and returning to the lower privilege when the higher one is no longer needed.
    Apple recommends running as a non-admin user all the time.  It is the best for security, and is convenient too, since nearly all admin and root tasks can be done from a non-admin account, simply by authenticating with an admin username/password when prompted.  I do admin and root tasks from my non-admin account all the time this way.  My admin account almost never gets used; it has been months since I actually logged in to it.
    If you are not already using a non-admin account, it's easy to switch:  Just create a new account with admin privileges, and then remove admin privileges from your own account.

  • I am trying to activate root account on my MAC.  The directions I've seen do not match what is in System Preference for Accounts or Users

    I am trying to activate the root account on my new Mac Book Pro.  The instructions that I have found do not match what I have in System Preferences.  What is the process when using Users and Groups.  When I click on Join the Network Account Server- Open Directory Utility I don't see a option to  activate root user as the instructions say at http://support.apple.com/kb/HT1528
    OS X Lion
    From the Apple menu choose System Preferences....
    From the View menu choose Users & Groups.
    Click the lock and authenticate as an administrator account.
    Click Login Options....
    Click the "Edit..." or "Join..." button at the bottom right.
    Click the "Open Directory Utility..." button.
    Click the lock in the Directory Utility window.
    Enter an administrator account name and password, then click OK.
    Choose Enable Root User from the Edit menu.
    Enter the root password you wish to use in both the Password and Verify fields, then click OK.

    Do you mean you cannot select "Enable Root User" from the "Edit" menu as shown below?
    Why do you think you need to enable the root user? I've never needed it in the history of OS X.

Maybe you are looking for