How to stop/start listener

Hi Everyone,
I am new in Oracle!
I have oracle 11g installed on my windows system. I am trying to start/stop listener from em web console but it is not working.
The system is asking for username and password, I am typing my own (which is DBA) or even SYS .... and it still unsuccessful...it is saying :
Error: Invalid username and/or password
Please, help!
How can I do that from em console
P.S. Before I was using 10g version and it was OK, I was able to start/stop listener from em web console using SYS or my username.
Thanks

If you want to perform OS related tasks from the enterprise manager, such as starting/stopping services or performing backup/recover, export/import, sqlldr, etc. you are required to provide an OS username and password, this password should be stored at the preferred credentials, and this user must have the 'log on as a batch job' , otherwise Enterprise Manager will keep on asking for a username/password.
This is also a symptom of a missconfigured Enterprise manager, but before diagnosing this situation, verify at the preferred credentials section that your user's credentials are properly tested, validated and stored, if this is the case, then look for the logs found at the ORACLE_HOME\hostname_sid\log directory and find out if another error message is displayed there.
~ Madrid

Similar Messages

  • Script to automate stop/start listener on aix

    Hello everyone,
    We have a database on oracle 8i on aix platform and we have a scheduled restart on the db everyday. But we have been facing problem with the db restart and it gets hanged.
    As a solution, i wanted to develop a shell script that will stop the listener first before the db shut down.
    Can anyone help me please?

    If I remember correctly, example scripts to automate db and listener startup and shutdown are in the oracle 8i installation guide for your platform.
    The following should work:
    vi /etc/init.d/oracle
    ORACLE_HOME=your path to oracle home directory
    case "$1" in
        'start') 
             su - oracle -c "$ORACLE_HOME/bin/lsnrctl start"
             su - oracle -c "$ORACLE_HOME/bin/dbstart"
        'stop')  
             su - oracle -c "$ORACLE_HOME/bin/dbshut"
             su - oracle -c "$ORACLE_HOME/bin/lsnrctl stop"
    esacThen set execute privileges on the above file:
    chmod 750 oracle
    Next add the appropriate symbolic links:
    ln -s /etc/init.d/oracle /etc/rc.d/rc3.d/K01oracle
    ln -s /etc/init.d/oracle /etc/rc.d/rc3.d/S99oracle
    ln -s /etc/init.d/oracle /etc/rc.d/rc5.d/K01oracle
    ln -s /etc/init.d/oracle /etc/rc.d/rc5.d/S99oracle
    The oracle dbstart and dbshut scripts rely on entries in */etc/oratab*, so make sure you have a "Y" in the file for yes to autostart and auto shutdown.

  • Stop start listener RAC

    Hi,
    DB : 10.2.0.4
    OS: AIX 5.3 L
    This is 2 node RAC on ASM with single standby on ASM.
    To stop listener in all RAC nodes , are the below steps correct?.
    crs_stop ora.rac1.LISTENER_rac1.lsnr
    crs_stop ora.rac2.LISTENER_rac2.lsnr
    OR
    srvctl stop listener -n rac1 -l ora.rac1.LISTENER_rac1.lsnr
    srvctl stop listener -n rac2 -l ora.rac2.LISTENER_rac2.lsnr
    Node1: rac1
    Node2: rac2
    Same i have to follow to start listener , start word in place of stop , right?.
    Please confirm me on this.
    Thanks,
    Sunand

    This is 2 node RAC on ASM with single standby on ASM.
    To stop listener in all RAC nodes , are the below steps correct?.
    crs_stop ora.rac1.LISTENER_rac1.lsnr
    crs_stop ora.rac2.LISTENER_rac2.lsnr
    OR
    srvctl stop listener -n rac1 -l ora.rac1.LISTENER_rac1.lsnr
    srvctl stop listener -n rac2 -l ora.rac2.LISTENER_rac2.lsnr
    Node1: rac1
    Node2: rac2
    Same i have to follow to start listener , start word in place of stop , right?.
    You should use the second option using srvctl.
    Because srvctl is meant for starting/stopping resources.
    Even using first command also you can achieve this and also using lsnrctl also. But I would prefer srvctl.
    Regards
    Rajesh

  • How to stop start SAP system from SAP transactions?

    Hi Experts,
    How can i stop start the SAP system from SAP screens? Are there any transaction for this  need?
    thanks,
    philaphi

    Hi,
    Use Tcode RZ03 -->  Control --> Stop SAP Instance.
    Best Regards,
    Sachin.

  • How can i start listener?

    i have installed oracle8.1.6 on solaris7,but i cannot start the listener. the following is the error message.
    LSNRCTL> start listener
    Message 1070 not found; No message file for product=network, facility=TNSTNSLSNR for Solaris: Version 8.1.6.0.0 - Production
    Message 279 not found; No message file for product=network, facility=NL
    Message 1073 not found; No message file for product=network, facility=TNSMessage 1074 not found; No message file for product=network, facility=TNSTNS-12542: Message 12542 not found; No message file for product=network, facility=TNS
    TNS-12560: Message 12560 not found; No message file for product=network, facility=TNS
    TNS-00512: Message 512 not found; No message file for product=network, facility=TNS
    Solaris Error: 125: Address already in use
    beg you for help???
    thanks very much.

    It sounds like your environment isn't set up, e.g. ORACLE_HOME, etc.
    However you should post your question to the database forum.
    Regards,
    Robin Zimmermann
    Forms Product Management

  • How to stop/start an animation with setImageObserver()

    Hi,
    I have an animated gif that I want to use for when I'm waiting on a long operation (like the upper right icon on Netscape). The gif starts its animation without me telling it. I was doing some code like this:
    ImageIcon icon = ...
    JLabel label = new JLabel( icon );
    icon.setImageObserver( label );
    I assumed if I removed the setImageObserver() call then it wouldn't stop it. But, it didn't so I tried:
    icon.setImageObserver( null );
    But, that didn't have any effect. I want to start and stop this animation as I begin and end long operations how do I do this without using a Timer() and painting it myself.
    charlie

    Hi Charlie, did you ever find the answer to your question? I'm in an identical situation..

  • How to stop B2B listener polling when SOA server in Admin Mode

    Hi ,
    I recently came across this situation like my B2B FTP listener is polling and deleting file when my SOA server is Admin Mode.
    Can anyone help me to stop that polling when server is in Admin Mode ?
    Thanks,
    Saba

    thanks for quick reply...
    the "catch (IOException e) {... } " block in Server already catches this exception, and as there is no other code but printing the exception, the method run() is quitted (no need to terminate the loop). However, the thread is NOT terminated even after that. To make it sure, I added a public variable and accessed it from Handler at the end of the code, after sd.resetSock(); !!!
    You told that it doesn't stop because of the way I coded it, isn't it the traditional way of setting a listener socket? If no, may be recoding the listener would be much better...

  • How to stop a listener?

    hello, i'm working on a small school project, i'm experimenting a little with listeners
    and I wanted to know if it was possible to exit a listener?
    as soon as i start draging, i want to execute the commando "jPanel1.add(com)" and right after that i want to leave the listener so possible other listeners/actions can be executed. (while i'm still dragging...)
            public class componentMouseMotionListener implements MouseMotionListener
                    Component com;
              public componentMouseMotionListener (Component component)
                   com=component;     
                   public void mouseDragged(MouseEvent e)
                   {jPanel1.add(com);}
                   public void mouseMoved(MouseEvent e)
            }

    hello, i'm working on a small school project, i'm
    experimenting a little with listeners
    and I wanted to know if it was possible to exit a
    listener?
    as soon as i start draging, i want to execute the
    commando "jPanel1.add(com)" and right after that i
    want to leave the listener so possible other
    listeners/actions can be executed. (while i'm still
    dragging...)
    public class componentMouseMotionListener
    ener implements MouseMotionListener
    Component com;
    public componentMouseMotionListener (Component
    nt component)
                   com=component;     
    Perhaps--in some situation, you want to temporarily disable activity based on some condition, maybe something like this? Where you are basically setting a flag for whether at this specific point you are wanting to respond to the event or not...
        boolean ignore=false;
         public void setIgnore(boolean b)
         {ignore=b;}
                   public void mouseDragged(MouseEvent e)
                            if (!ignore)
                            jPanel1.add(com);
                            if (somecondition) {setIgnore(true);}
                   public void mouseMoved(MouseEvent e)

  • How to stop/start SAP XI Message flow in controlled way?

    Hi All,
    I am facing a scenario where for maintenance activity I need to stop all message flow in XI, system should be up and running but no message should processed by XI. I also don't want to shut down system.
    Is there any way by which I can stop message coming to XI?
    I don't want to deactivate communication channel..
    Regards,
    Gourav

    Hi,
    maybe (just an idea) you can try to deregister all queues?
    raport : RSXMB_REGISTER_QUEUES
    then all the queues should stop but I haven't checked it
    so you'd have to do some tests and find out if this
    does not have any other negative impact of some other
    XI processes
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions">XI FAQ - Frequently Asked Questions</a>

  • Stop and then start Listener from OEM

    Hi,
    I am new to Oracle. I notice after stopping listener using OEM on Windows XP, the TNSLNR.exe is terminated as I expected. At that point, all connections include OEM, iSQL*PLUS and SQL*PLUS should close connection.
    If this is right, how can one start listener from OEM? One needs listener work before using OEM to config something else. What is the purpose of Start button for listener on OEM? Even more perplexing me is that iSQL*PLUS is still works! Does iSQL*PLUS not use listener for connection?
    Your help will be appreciated,
    -Hong

    Hi
    i think its not possible to start the listener from oem, because the oem use the listener to communicate to the db.
    Regards
    Mirko

  • How to stop and start MDBs to listen for JMS messages

    Hello! This might be more of an architecture question rather than a technical questing, but I post it here, in the lack of a better place...
    For several years I have been using Webster and Webster MQ to send messages back and forth to clients. The architecture for the middleware platform has been designed around the functionality of ListenerPorts. Listenerports is a Webster functionality that let you "stop" and start to listen to JMS messages for a given MDB either by admin console, or by JMX.
    The arhitecture we used was something like this :
    1.Client sends a persistent message to a queue. (order)
    2. An MDB pics up the order message, calls a SessionBean that "fronts" the IIOP back end system.
    This is quite "out of the box" architecture, but we used the Listenerports to solve a stability problem for our back end system.
    The backEnd system was quite unstable, so the EJB threw an exception (typically because of timeout or connection refused) back to the MDB.
    The Listenerport was "defined" to handle 3 errors before stopping, so the MDB resent the message twice before the listenerport automatically stopped. The nice thing about this feature was that the client could continue to send orders, and was not bothered when the back end system was down.
    When the backEnd system was up and running, we could start the listenerport and it was all back to normal state. We even had a start script that checked the state of the listenerport every 30 minute, and started it automatically if it was stopped, making the admin task of starting the MDB unnecessary..
    Now.. Why am I telling this story..
    I would like to know how this could be done using "clean" J2EE technologies..That is..Not using any technology that is not portable..
    I`m playing with glassfish at home, and it struck me that there is nothing in the J2EE spec that defines the functionality described above ? Am i missing something ?
    I Do not want to stop My application because the back end system is down? That is the only way (i know of) that i can "stop" to listen for messages..
    I can put all the messages on an error queue when the backbend system is down, but that would lead to more code just to handle the error messages. Maybe the easiest way to solve this is to "move" (programmatically) all messages from the error queue over to the "standard" queue every XX minute, but somehow that sounds "wrong"
    Can anyone give me some advice to how this problem situation should be solved ? I`m interested in the solution both from an architectural perspective and from a more technical perspective..
    Best regards
    Hans-Jacob Melby

    Breakpoints, whether normal or conditional, are just meant for debugging of your code.  I had the sense from your question that the pausing you want to do is a part of normal operation of your code.  I would NOT recommend using a breakpoint for that situation.  It would bring up the block diagram showing the breakpoint when it occurs.  A user besides the programmer would not know what to do in that case.
     Yes, both the inner and outer loops would have shift registers.
    Putting a case structure with a small while loop inside the "Pausing Case" is doable.  It just depends on what you are doing or waiting for while the program operation is "paused".

  • How to stop and start only the process of Oracle Application Express?

    I'd like to know how to stop the process of Oracle Application Express on my server installed oracle express package.
    After installed Oracle Express edition, not only oracle database server processes but also Oracle Application Express, such as http server, is started automatically...
    I hope to stop and start Application Express on demand but is this feature enabled?

    Oracle Apex is an API, if that helps you understand / visualize. You do not start Apex process nor stop it.
    When an Apex session starts it starts calling the API.
    You can however start / stop the listener. It may be OHS, ApexListener and the J2EE container running it, OC4J or any other "server" that you are using.
    The built-in EPG is something like an API again, you cannot start / stop it but you can disable/enable it with DBMS_XDB.SETHTTPPORT API.
    Regards,

  • How to stop and Start ASM in 11gR2

    Hi,
    Any one please let me know the complete process of how to stop and start the ASM instance in
    11.2.0.1 oracle.
    Thanks.
    Ali

    Hi;
    If you need to close ASM than you need to also close database
    You need to close db:
    srvctl stop database -d instance_name
    or
    set ORACLE_HOME and ORACLE_SID
    sqlplus "/as sysdba"
    shutdown immediate;
    srvctl stop LISTENER
    srvctl stop ASM -f
    or see:
    Stop asm instance in standalone database
    Re: Stop asm instance in standalone database
    Regard
    Helios

  • How to STOP and START the BO EXPLORER/POLESTAR - LINUX

    Dear friends,
    Could you please let me know on How to STOP and START the BO EXPLORER/POLESTAR on LINUX platform?
    Thank you,
    Nikee

    Oracle Apex is an API, if that helps you understand / visualize. You do not start Apex process nor stop it.
    When an Apex session starts it starts calling the API.
    You can however start / stop the listener. It may be OHS, ApexListener and the J2EE container running it, OC4J or any other "server" that you are using.
    The built-in EPG is something like an API again, you cannot start / stop it but you can disable/enable it with DBMS_XDB.SETHTTPPORT API.
    Regards,

  • How to connect to PC-ORACLE8.0.4 & Forms 5.0 without Starting Listener?

    i have installed pco8.0.4 and d2k(form5,rep3) , i couldn't connect to pco without starting listener, this gives me after some time , unable to attach or connect oracle error, how to connect pco8.0.4 from form5.0 without starting listener?
    thanks

    dj143 wrote:
    I developed an application and then built it and deployed to a cRIO processor.  It runs correctly on start up.[...]
    This sounds like you have created a startup-exe for your cRIO. So this is what you do if you want the cRIO to run independently from your host. This is what you do if you want the cRIO to start working as soon as you power it.
    Running a VI from your LV project on the cRIO is for debugging. So if an executable is running on the cRIO, it will have to terminate before you can run the debugging version of the VI.
    So regarding what you want to have, you either have not to run the application as startup-exe at all or you must not connect to the cRIO using your LV project.
    If you choose to keep the rtexe, you will have to implement an interface to it in order to exchange data with your host. You should take a look into the cRIO reference architectures for ideas for possible solutions. This reference architecture shows a quite good solution....
    hope this helps,
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

Maybe you are looking for