Start/stop listener daily
Hi,
Please can someone tell me if it is good practice to restart the dabase listener daily and if so why? I have just the one listener configured on the server for about 4 databases. Databases are 10gR1, 10gR2 and 11gR1 but the listener used on the server is the one that resides in the 10gR2 home as it happens to be compatible with all the other versions.
thank you.
The only sensible reason to do it, would be to rename the listener.log and reset it by issuing touch listener.log
If you don't do that, the procedure is redundant.
Sybrand Bakker
Senior Oracle DBA
Similar Messages
-
I listen to a lot of live performances (house sets that are from 1 hour to 3 hours long) when I start to listen to a set and then stop to do something else on the iPhone when I go back to start to listen to the track it has started from the beginning.
It sounds like either your hard drive or the SATA cable that connects it to the motherboard are failing. This could be heat related in your case, which is why you see it after it runs awhile. You can take it to the Genius Bar for a free evaluation. If you decide to test it yourself, I usually suggest moving the hard drive to an external enclosure. If it works there for awhile, the cable is probably the issue.
http://www.amazon.com/Sabrent-2-5-Inch-Aluminum-Enclosure-EC-TB4P/dp/B005EIGUD4/ ref=sr_1_3?ie=UTF8&qid=1397647657&sr=8-3&keywords=2.5+enclosure
http://www.ifixit.com/Device/MacBook_Pro_13%22_Unibody_Mid_2009 -
Most of the time siri works fairly well, but there are a good amount of times where it just stops "listening" and starts searching. Like ill say Find directions to...and it jumps ahead and starts searching before i can say where i want directions too. ***.
There are a few reasons why siri will stop listening:
1. It is having problems connecting to the network so can't search for what you are looking for. You are prompted with something like: I am sorry I can't connect right now.
2. There is a pause when you are dictating something to siri so it assumes you are done. Pauses of about 2 or 3 seconds should do it.
3. You accidentally press the siri button indicating you are done dictating to siri.
If none of these are the problem, I don't know what else to do. How often is this occuring? -
How we can control auto start/stop of db/listener on Unix/linux?
How we can control auto start/stop of db/listener on Unix/linux?
http://download-uk.oracle.com/docs/html/B10812_01/chapter2.htm#BABGDGHF
-
Start and Stop Listener service -Oracle 10g
Please, How I can stop and start listener service? My question is because I have "Oracle Instance" Oracle NT Service" in start up options in manually (i need to have them in way).
Platform: Oracle 10g.10.2.0.1.0 / Windows XP Professional.If I understand your issue....
C:\> net start <listener service name>
and
C:\> net stop <listener service name>
where <listener service name> is exactly the service name you see in Services panel. -
Can an iPad mini operate/control via Bluetooth, a UE Mini boom speaker and an Irig Blueboard footswitch simultaneously please? I am hoping to use the Blueboard footswitch to start/stop guitar backing tracks on my iPad and hear them on the UE Mini boom. Anyone have any thoughts or experience with this. Thanks
Thanks for confirming it should work man.
A quick check of the talktalk forum and it's my talktalk D-link 2780 router. It's a known problem.
It all works ok on next doors router so Off to PC World for a decent router.
Thanks again. -
Unable to auto start database/listener/EM on Oracle Enterprise Linux 5
All Experts
I have install oracle 11g on Oracle Enterprize Linux 5 successfully.
done all post installating steps, but when i restart server oracle listener/database/EM not automatically start.
Please guide what is wron (server dbora error: /bin/sh: :No such file or directory).
1. Log in as the root user
2. Edit the oratab file (SID=Y)
3. Create a file called dbora
4.Run chmod and chgrp on the dbor file
# chgrp dba dbora
# chmod 750 dbora
6.Creat symbolic links to the dbora script
# ln -s /etc/init.d/dbora /etc/rc.d/rc0.d/K01dbora
# ln -s /etc/init.d/dbora /etc/rc.d/rc3.d/S99dbora
# ln -s /etc/init.d/dbora /etc/rc.d/rc5.d/S99dbora
7. add service
# chkconfig --add dbora
# chkconfig –list dbora
0:off 1:off 2:off 3:on 4:off 5:on 6:off
# ls -l /etc/rc*.d/*dbora
# !/bin/sh -X
# chkconfig: 35 99 10
# description: Start and stop the Oracle database, listener, EM, and iSQLPlus
# Change the value of ORACLE_HOMe to specify the correct Oracle Home Firectory for your installation.
# Change the value of ORACLE to the login name of the oracle owner at your site
ORACLE_HOME=/oradisk/app/oracle/product/11.1.0/db
ORACLE=oracle
PATH=${PATH}:$ORACLE_HOME/bin
HOST="hostname"
PLATFORM="uname"
export ORACLE_HOME PATH
if [ ! -f $ORACLE_HOME/bin/dbstart ]
then
echo "Oracle startup: cannot start"
exit
fi
case $1 in
'start')
su - $ORACLE -c "$ORACLE_HOME/bin/dbstart $ORACLE_HOME"
'stop')
su - $ORACLE -c "$ORACLE_HOME/bin/dbshut $ORACLE_HOME"
echo "usage: $0 {start|stop}"
exit
esac
exitdoes the script work when you log on to your freshly started system, logon as root and execute /etc/init.d/dbora start?
the script does not have to have group membership of the dba group.
also, do not create symlinks yourself.
by adding the service using chkconfig the script is started and stopped as indicated by chkconfig --list, no need to do additional steps like creating symlinks. -
Something similar to 'gcstartup' for automatic start / stop
Hi @ll
Is there any similar to ‘/etc/rc.d/init.d/gcstartup’ script for an automatic start / stop for GoldenGate manager on a Server.
I use an OBEY command in a start.txt file with start_ogg.sh file, but there are an OEM agent , a listener and the database on this machine and I would like to start all of them automatic at ones.
Regards
jfaHi Nic:_W
Thank for the answer.
I have just modified the gcstartup like that :
#!/bin/sh
#Source Function Library
SU=/bin/su
DBST="N"
if [ -f /etc/oratab ]
then
oratab="/etc/oratab"
else
if [ -f /var/opt/oracle/oratab ]
then
oratab="/var/opt/oracle/oratab"
fi
fi
if [ -f "$oratab" ]
then
for i in `cat $oratab | grep -v '^#' | cut -d ":" -f2`;
do
if [ -f "$i/start_goldgate.sh" ] ;
then
user=`ls -l $i/start_goldgate.sh|awk '{print $3}'`;
if [ $1 = start ];
then
DBST='Y'
$SU - $user -c "$i/start_goldgate.sh ";
else
DBST='N'
$SU - $user -c "$i/stop_goldgate.sh ";
fi;
fi;
done
fi
and it works fine
the content of start_goldgate.sh
is
cd /orasoft/app/ogg
/orasoft/app/ogg/ggsci << EOF
OBEY /orasoft/app/ogg/startup_ogg.txt
EOF
the content of startup_ogg.txt
is :
START MANAGER
INFO ALL
exit
automatic restart of REPLICAT und EXTRACT parameters are in mgr.prm file.
Analogue for stop*/shutdown* files with 'STOP MANAGER'
regards
jfa -
Mail service on start/stop of services ...
Hi,
Please let me know the way to send mail when services are started/stopped in oracle application 11.5.10.2. How to configure this on ibm aix 5.3.
Thanks,
Sai RamThere is a way to configure emails on startup/shutdown of Concurrent Manager service - but I'm not aware about any such configuration around other services (eg. Apache, Apps Listener, Forms Server etc..)
I think you'll have to do this outside Oracle's scripts if you wish to set this up - either by wrapping the calls to seeded scripts in your own custom script, or if you want a periodical probing, then via use of cron/scheduler depending on the OS you're on.
Hope that helps.
Regards,
Rakesh
PS : In addition to the Concurrent Managers, I think you should be also able to achieve this for database services if you wish to do that - by use of startup and shutdown database triggers. -
[Debian] Oracle 10g Express - init.d start/stop script problem + fix
I've experienced a problem with the init.d script "oracle xe" which is used to start/stop/reload the 10g server and comes with the debian package from oss.oracle.com.
I noticed that after installing Oracle 10g in the "Debian" way (via .deb package and an apt-source oss.oracle.com), the start and stop method of the script doesn't do anything.
It's checking for the value of the "ORACLE_DBENABLED" variable, which is on my installation set to "false", because I answered during installation false to the question "do you want to start Oracle 10g at system boot?".
In my opinion that's wrong. I should always be able to start/stop the Oracle server trough the init.d script regardless of your choice starting Oracle at boot or not.
I commented out row 604 and 621 in the file "/etc/init.d/oracle-xe" :
case "$1" in
start)
if test -f "$CONFIGURATION"
then
if test "$ORACLE_DBENABLED" != "true"
then
echo "exit"
# exit 0
fi
else
echo "Oracle Database 10g Express Edition is not configured. You must
exit 0
fi
start
configure)
configure
stop)
if test -f "$CONFIGURATION"
then
if test "$ORACLE_DBENABLED" != "true"
then
echo "exit"
# exit 0
fi
else
echo "Oracle Database 10g Express Edition is not configured. You must
exit 0
fi
stop
;;Hello,
I have the same problem on RH9.
[root@phpsrv init.d]# ./oracle-xe start
Starting Oracle Net Listener.
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/lsnrctl: relocation error: /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/../lib/libclntsh.so.10.1: symbol semtimedop, version GLIBC_2.3.3 not defined in file libc.so.6 with link time reference
Starting Oracle Database 10g Express Edition Instance.
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/sqlplus: relocation error: /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/../lib/libclntsh.so.10.1: symbol semtimedop, version GLIBC_2.3.3 not defined in file libc.so.6 with link time reference
Failed to start Oracle Net Listener using /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/tnslsnr and Oracle Express Database using /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/sqlplus.
Regards,
Pavel Kucera -
Auto Start/Stop Oracle Database Lintener DBConslone on Linux
Dear all
I have install oracle 10.2.0 on redhat 4.7 every time i have to start manualy.
it try with following scrip / process but database not starting automatically.
Please any one can provide steps for auto start and stop oracel services on RedHat 4.7
Once the instance is created, edit the "/etc/oratab" file setting the restart flag for each instance to 'Y'.
TSH1:/u01/app/oracle/product/10.2.0:Y
Next, create a file called "/etc/init.d/dbora" as the root user, containing the following.
#!/bin/bash
#chkconfig: 345 95 10
#description: init script to start/stop oracle database 10g, TNS listener, EMS and isqlplus
case $1 in
start)
su - oracle -c 'lsnrctl start'
su - oracle -c 'dbstart'
su - ora10g -c 'isqlplusctl start'
su - oracle -c 'emctl start dbconsole'
stop)
su - oracle -c 'emctl stop dbconsole'
su - oracle -c 'isqlplusctl stop'
su - oracle -c 'dbshut'
su - oracle -c 'lsnrctl stop'
restart)
su - oracle -c 'emctl stop dbconsole'
su - oracle -c 'isqlplusctl stop'
su - oracle -c 'dbshut'
su - oracle -c 'lsnrctl stop'
su - oracle -c 'lsnrctl start'
su - oracle -c 'dbstart'
su - ora10g -c 'isqlplusctl start'
su - oracle -c 'emctl start dbconsole'
esac
create service on linux
Actions >> System Settings >> Server Settings >> Services Then
Actions >> Add Service Then
Service Name = dbora Then Press Ok
chmod a+x /etc/init.d/dbora
Check is it running this service properly
service dbora stop
service dbora start
showing error
:bad interperter : no such file or directory
Please forward me process/steps for auto start/stop oracel services:bad interperter : no such file or directorymeans that it could not find the interpreter which should be used to interpret the script.
most probably this is caused by the shebang (#!/bin/bash)
the default location of bash on RHEL (OEL/CentOS) is /bin/bash, which means that the shebang looks correct.
can you make the shebang:
#!/bin/bash -xso shelltracing is put on and execute script again?
this will make clear if it is the shebang in your script, or in another script. -
Start/stop the OMS Services on Same Host
Hi,
I have OMS, Repository database and Agent on the same host.....
I want to stop and start the services...
==========================
FOR Shutdown
=====================================
Stop the Agent
$cd $ORACLE_HOME/agent10g/bin/emctl stop agent
stop the OMS Services
$cd $ORACLE_HOME/oms10g/opmn/bin/opmnctl stopall
Stop the Repository Databas Listner
$cd $ORACLE_HOME/bin/lsnrctl stop LISTENER
STOP THE database
$cd $ORACLE_HOME/bin/sqlplus '/as sysdba'
sql> shutdown immediate
====================================
FOR Startup
=====================================
start the Repository Listener
$cd $ORACLE_HOME/bin/lsnrctl start LISTENER
start the Database
$cd $ORACLE_HOME/bin/sqlplus '/as sysdba'
sql> startup
start the OMS Service
$cd $ORACLE_HOME/oms10g/opmn/bin/opmnctl startall
start the Management Agent
$cd $ORACLE_HOME/agent10g/bin/emctl start agent
======================================
is this the correct procedure...
can anybody help in this regard....As an outline, it looks ok I think.
You may need some env variables set up in the script, add some error handling, etc...
I want to stop and start the services...
$cd $ORACLE_HOME/agent10g/bin/emctl stop agent
$cd $ORACLE_HOME/oms10g/opmn/bin/opmnctl stopallRemove the "cd" from your command lines. -
Script to start/stop all manager sever/Admin server
Hi Gurus,
I am new bee to weblogic and learning it on daily basic.
I have a scenario and would like to see if this is possible.
We have one server and have couple of applications are running like SOA,OSB, OSR etc. During any downtime, we have to shut down each Admin Server, Manage server one by one and take up. This take time and effort too.
Do we have some options through which we can configure all start/stop script in one file and do this work with few clicks. server shout down should be clean and take care of node manager recycle also.
Could you please advise me on this or pls point me towards some already documented solution. I goggled this but did not find.Thanks radoui for your response.
I see this approach as the default one.. Could you please advice me whats the correct sequence of shutting down the servers including node manager and starting back.
Like I have SOA installed.
So First I have to take down SOA managed server followed by Admin server and then node manager ..? Let me know if this is not correct.
I still have doubt on this approach as if, managed server failed to stop and means while script will take down admin server and so on.. -
How to Start/Stop manually an oracle 9i database with a bat file?
Hi;
I have a manual Start/Stop of the db.
How can i Start/Stop the 9i database all services with a batch file (windows 2000) ?
All in one batch files ( One for Start & one for Stop)(Including listener)
thanks for your answer !Save the scripts below in a batch file and use the first one to start your services, and the second one to shutdown.
This script will shutdown your database first using SQL*Plus and stop the service later. This way you will avoid the timeout.
Also will ask you for confirmation if you are sure to start Oracle services and database. press Y for yes and N for No.
@echo off
%systemdrive%
REM #
echo.
echo You are about to start Oracle Services and Database
echo.
set /p Input=Do you want to continue? (Y=Yes N=No) =
IF /i "%Input%"=="Y" (goto Proceed)
exit /b
:Proceed
echo Oracle Instance and Services Startup in progress
echo.
Net start OracleOraHome92Agent
Net start OracleOraHome92HTTPServer
Net Start OracleOraHome92TNSListener
Net Start OracleMTSRecoveryService
Net Start OracleServiceORCL
echo.
echo Oracle ORCL Instance and Services Startup completed Successfully
echo Good Bye
echo on
EXIT /BSave this one in a seperate batch, again it will ask for confirmation, and shutdown the database using SQL to avoid timeout
Just replace the connect string with your own and the {SID} with your Database name
@echo off
%systemdrive%
echo.
echo You are about to shutdown Oracle Instance and Services
echo.
set /p Input=Do you want to continue? (Y=Yes N=No) =
if /i "%Input%"=="y" (goto Proceed)
exit /b
:Proceed
echo.
echo Closing and Dismounting ORCL Database
echo.
echo shutdown immediate | sqlplus "/ @ORCL as sysdba"
echo.
echo Shutting down Oracle system services
echo.
Net Stop OracleService{SID}
Net Stop OracleOraHome92HTTPServer
Net Stop OracleOraHome92TNSListener
Net Stop OracleMTSRecoveryService
Net Stop OracleOraHome92Agent
echo.
echo Oracle Instance and Services Shutdown completed successfully
echo Good Bye
echo on
EXIT /bTony Garabedian -
How to Start / Stop Oracle Applications
How to Start / Stop Oracle Applications.
Oracle Applications Services (TCF, ConcManagers, Metric, Forms, Reports etc...) TnsListner & Oracle Service (DB) are started when the Server is started.
What is the sequential Order to Start / Shutdown services, Listener & DB.
Best regards,hi
there is no hard coded rule on which service should be started first.
the basic thing is concurrent manager uses database for starting, so i advice you the following sequence:
1. start the database
2. start the database listener
3. Apache server
4. forms server
5. report server
6. concurrent manager
and shutdown in the reverse order
simple
regards
srinivas
Maybe you are looking for
-
Adding/deleting attachments using Fuego.Papi in OBPM10g
Hi, I am seeking a resolution to the below issue. It will be really great if somebody can help me on this. The scenario is as follows. - Using global creation activity to fetch all eligible instances for a particular process using Fuego.Papi api. - T
-
How to get multiple selections from jsp page in my servlet
Hello Everyone, I've a list that allows users to make multiple selections. <select name=location multiple="multiple"> <option> All </option> <option> Hyd </option> <option> Dub </option> <option>
-
How do I write onto a PDF form?
I have a PDF file that I want to enter text in. When I click on it, an auto pop up box comes up and says I need to sign up for PDF, which I did. I then converted the form to a word document, but it still will not let me write on the form. How do I
-
I have 4gb of free space but cannot sync
This happened yesterday, but I have not downloaded loads of songs or anything since the last sync. The only thing it could be is Tuneup. Does anyone else use this? Perhaps it is storing album artwork and other information on my iPhone in a most inef
-
ACE: wrong IP in HTTP header HEALTHCHECK packet
Hi, I encounter a strange problem with ACE when the blade performs a HTTP healthcheck towards a RSERVER. Sometimes, ACE insert in the HTTP header a strange IP address, others then the IP address of the rserver, for which it performs a healthcheck. An