Stop and Start Services
Hi All,
We are stopping and starting the services for daily backup. Is it advisable to stop and start services.
Because client wants to stop the services before taking the backup anf start the services after backup.
In this scenario, what services do we need to stop for backup process.
Regards,
Kumar
Hi Saichand,
Thanks for the response.
Do u have any idea on the below:
Our scenario is the below:
We have a daily back of BI folders and Loading data from ERP to 10g database.
We logged in with remote desktop user A from ABC system to BI system and We created a batch file to start and stop all the BI the services and scheduled this batch file using windows schedule tasks. These batch files will stop the BI services and after 30 minutes another batch file will load data into the database, after 2 hours start services batch file will start the BI services.
When we open the BI Dashboards in the morning, all the dashboards and reports are working fine. But when I login to BI system, OC4J windows is not visible and dashboards are not coming and when we check the logs, LOGs says OC4J is running.
Please suggest us the solution.
Regards,
Kumar
Regards,
Kumar
Edited by: user597882 on Aug 26, 2010 3:35 AM
Similar Messages
-
VPN stops working unless stop and start service
Hello all - Im am a novice at servers & triyign hard to learn them. I have a mac mini 2010 with most up to date software and up to date OSX Lion Server running. The VPN worked great when i set it up in the begninning. But then I would notice it would stop, I would go check and all settings were the same as before, no different settings just like when it worked , but it just would not work at all unless I stopped the service and started it again. Then it worked fine, but only for a few days. Now it will not work for more than a day tops. Im not sure what to do. I need the VPN so I can use it when i am out and about on my work laptop to have secure internet VPN connection. Please let me know any thoughts or ideas.
I would suggest having your magsafe adapter checked out by a genius my Mid 07 macbook's magsafe had thoes symptoms and it ended up being due to one of the pins springs had gotten warn and it wasnt making proper contact. It never caused damage to my macbook but i had to shell out $50 for a replacement adapter.
or if you have a friend or family member with a compatable magsafe adapter give it a try see if you have the same symptoms or if it goes away
Message was edited by: xmentalx Reason: gave 2nd option -
Automate OBIEE stop and start services.
Hi All,
We are using OBIEE10.1.3.4 version on windows envorinment.In Production instead of doing manual start and stop services we need to automate one batch file that batch file has to bounce all the OBIEE services.And we need one batch file for clear all the cache enties.
can u advice me how to make this batch files .
Thanks,
Vijay.Hi Vijay,
Create a file PurgeAllCache.sql and add the SAPurgeAllCache ODBC Function in it.
{call SAPurgeAllCache()};
And save this file in a directory (for instance OracleBI_Home\Cache).
Then from a command dos, call nqcmd with this statement :
OracleBI_Home\server\Bin\nqcmd.exe -d AnalyticsWeb -u Administrator -p Password
-s "OracleBI_Home\Cache\PurgeAllCache.sql" -o "OracleBI_Home\Cache\PurgeAllCache.log"
It will purge your all cache entries.. -
Order of stop and start of reporting services
Hi All,
I am using 11.1.1.3 version in my laptop,i want know the correct order of stop and start the services,please help me on this.
Thanks
HypuserThe full order list can be found at :- http://download.oracle.com/docs/cd/E12825_01/epm.111/epm_install/ch05s02.html
Cheers
John
http://john-goodwin.blogspot.com/ -
How may I automatically stop and start Mail services at a set time please
Hi folks. I was wondering if anyone could tell me how to automatically stop and start Mail services (or any other services) at a set time please in Leopard Server? Is there a script someone has created which might help?
Cheers, David ( a realy newbie when it comes to administering OS X server)launchd works through a series of XML documents that define tasks to run, either at launch, on a time schedule, in response to network events, etc.
So you'll need to create two .plists - one to start the mail server and one to stop it. They should be saved in /Library/LaunchDaemons. I'd suggest something like:
/Library/LaunchDaemons/local.postfix.stop.plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple
.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>local.postfix.stop</string>
<key>ProgramArguments</key>
<array>
<string>/usr/sbin/serveradmin</string>
<string>stop</string>
<string>mail</string>
</array>
<key>StartCalendarInterval</key>
<dict>
<key>Hour</key>
<integer>1</integer>
<key>Minute</key>
<integer>00</integer>
</dict>
</dict>
</plist>
and /Library/LaunchDaemons/local.postfix.start.plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple
.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>local.postfix.start</string>
<key>ProgramArguments</key>
<array>
<string>/usr/sbin/serveradmin</string>
<string>start</string>
<string>mail</string>
</array>
<key>StartCalendarInterval</key>
<dict>
<key>Hour</key>
<integer>4</integer>
<key>Minute</key>
<integer>00</integer>
</dict>
</dict>
</plist>
You'll need to either use launchctl load /Library/LaunchDaemons/local.postfix.stop (or start) to load the tasks, or reboot your server.
I'm curious, though, as to why you want to do this. Mail is typically one of the services that people want to run 24/7 so they don't miss out on any emails (even though SMTP can tolerate this). Why do you want to shut yours down? -
Task created to stop and start Health service not working.
We have multiple servers being grayed out so we created a task to stop and start the health service on SCOM 2007 R2. We have created two tasks one to stop and another task to start. The STOP task works but the START tasks keeps running but there is no result
as well as when i check in Services.msc it is still stopped. Below are the screen shots .
Task created to STOP the health service which is running.
Screen shot of service start task creation which is NOT working
The same was created for another service windows audio. Which worked for both stop and stop (Created separate tasks).
We also tried the recycle health service and chche which is also failing.
Can any one please help. The issue is on both SCOM 2007R2 and 2012 R2 both. Is there any other way to touch the health service.
We are facing the issue only with Healthservice.Hi All,
Thank you for all your answers.
@ dktoa -
You are right we have to concentrate on the servers to determine why do they go grey (all in one site). But before we do that i felt i find a temporary solution. Then go deep investigation to solve the issue.
@Yan LI: As per the likn provided above you. I overrided the servers but still the health services were not starting or restarting. When i created a custom group and added the servers to that group in that site and then enabled the override on Restart
Health Service for a specific group and pointed towards that group then it worked.
Thanks All. -
Stop and Start Essbase 11.1.2.2 services
Hi All
How to stop and start essbase 1.1.2.2 services? Do I just stop and start OPMN service? Or got to start menu and Oracle EPM System and Essbase to stop and start? Will both work?
ThanksYes you can just stop and start the OPMN service, the start menu option will do pretty much the same thing, for more information have a read of http://docs.oracle.com/cd/E17236_01/epm.1112/epm_install_1112200/ch12s02s08.html
Cheers
John
http://john-goodwin.blogspot.com/ -
How to Stop and Start Scheduler Service
Does anyone know how to stop and start the Scheduler service for Hyperion Financial Reporting in release 9.3.1?
please see the metalink note
How to Start/Stop MWA Services Using Control Scripts adstrtal.sh/adstpall.sh? [ID 731320.1]
This is how i startup and shutdown WMA
for stopping :
1) login to Applications tier
2) To see if the MWA (telnet) server is running use:
ps -ef|grep DPID
3) cd $MWA_TOP/bin
3) ./mwactl.sh -login sysadmin/xxxxx stop_force 10200;
4) check the wma process from OS level
ps -ef|grep mwa
for starting
1) login to Applications tier
2) cd $MWA_TOP/bin
3) ./mwactl.sh -login sysadmin/xxxxx start _force 10200;
4) check the wma process from OS level
ps -ef|grep mwa -
Srvctl on 11.2.0.3 does not stop and start listeners
I recently installed the Grid software under the "grid" user on RH5. Clusterware and ASM run under GRID_HOME, the single instance database runs under ORACLE_HOME. I have created 2 listeners on non-default ports (manually using entried in listener.ora) and then added to srvctl (srvctl add listerner -l LISTENER_XPT -o /app/oracle/product/dhome_1 -p "TCP:1523" -- in ORACLE_HOME.
When stopping the listener using:
oracle@#####>srvctl stop listener -l LISTENER_XPT -- note starting with oracle user in ORACLE_HOME. Below is from "/app/grid/product/11.2.0/grid/log/server_name/agent/ohasd/oraagent_grid/oraagent_grid.log
2012-06-12 12:48:00.549: [ora.LISTENER_XPT.lsnr][1125030208] {0:0:1233} [check] (:CLSN00010:) TNS-00511: No listener
2012-06-12 12:48:00.549: [ora.LISTENER_XPT.lsnr][1125030208] {0:0:1233} [check] (:CLSN00010:) Linux Error: 111: Connection refused
2012-06-12 12:48:00.549: [ora.LISTENER_XPT.lsnr][1125030208] {0:0:1233} [check] (:CLSN00010:)Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1523)))
2012-06-12 12:48:00.549: [ora.LISTENER_XPT.lsnr][1125030208] {0:0:1233} [check]
**********FROM TAILING THE listener LOG ****************************
TNS-01190: The user is not authorized to execute the requested listener command
12-JUN-2012 12:44:12 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=v01orarac01w)(USER=grid))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER_XPT)(VERSION=186647296)) * status * 0
TNS-01195: Listener rejected registration of endpoint "(ADDRESS=(PROTOCOL=TCP)(HOST=10.5.87.5)(PORT=1523)(IP=FIRST))"
12-JUN-2012 12:50:02 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=v01orarac01w)(USER=grid))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER_XPT)(VERSION=186647296)) * status * 0
TNS-01190: The user is not authorized to execute the requested listener command
12-JUN-2012 15:12:58 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=v01orarac01w)(USER=grid))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER_ADMIN)(VERSION=186647296)) * status * 0
12-JUN-2012 15:12:58 * version * 0
12-JUN-2012 15:12:58 * service_register * LsnrAgt * 1195
TNS-01195: Listener rejected registration of endpoint "(ADDRESS=(PROTOCOL=TCP)(HOST=********)(PORT=1524)(IP=FIRST))"
12-JUN-2012 15:12:59 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=********)(USER=grid))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER_XPT)(VERSION=186647296)) * status * 0
12-JUN-2012 15:13:05 * (CONNECT_DATA=(SID=PRDRAC01)(CID=(PROGRAM=perl)(HOST=********)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=*******)(PORT=41398)) * establish * PRDRAC01 * 0
Why wouldnt the Oracle user not be able to start/stop a resource from ORACLE_HOME ? Any assistance would be helpfulI just removed the listener out of the ORACLE_HOME and added it using srvctl to the GRID_HOME. Now I am able to stop and start.
Still the question, why cant oracle user start an oracle_home managed resource. But the oracle user could start and stop using lsnrctl stop/start
Below if the results from ps (note I just started listener from GRID_HOME):
grid@PRODBLD:+ASM>ps -ef |grep lsnr
grid 9114 1 0 09:40 ? 00:00:00 /app/grid/product/11.2.0/grid/bin/tnslsnr LISTENER_ADMIN -inherit
grid 10348 1 0 Jun12 ? 00:00:00 /app/grid/product/11.2.0/grid/bin/tnslsnr LISTENER -inherit
grid 20234 21990 0 09:49 pts/2 00:00:00 grep lsnr
oracle 29926 1 0 Jun12 ? 00:00:00 /app/oracle/product/11.2.0/dbhome_1/bin/tnslsnr LISTENER_XPT -inherit -
We have had a production issue crop up twice now where reports begin running slowly seemingly at random.
When this happens we can see from running SQL Profiler that the report queries are taking an extremely long time to execute. The same queries when run directly in management studio run quickly.
Initially I suspected parameter sniffing, and tried using OPTION (RECOMPILE) in the reports, as well as clearing out the particular query from the plan cache and running the SQL in SSMS to try and get a better plan etc but no amount of jiggery pokery by
me could get the queries to run any faster.
The really weird thing - is that stopping and starting the report server via the reporting services configuration manager instantly cures the problem.
I'd really love to know - why this might be? Is it something to do with the report server closing and re-opening its connections to the database? That's the only sort of thing I can think of...any ideas? Anyone? Any suggestions would be much appreciated.
LucasFHi LucasF,
In your scenario, usually we can monitor the execution log in Report Database. If you run below query, you can get the results how long the report takes to render (TimeRendering), how long to process the report(TimeProcessing) and how long to retrieve data
from Database(TimeData). You can check the starttime and endtime to know the total time for executing a report.
SELECT TOP1000 *FROM[ReportServer].[dbo].[ExecutionLog2]
More details information, please reference to similar thread below:
Steps for troubleshooting a slow SSRS 2014 server
Troubleshooting Reports: Report Performance
In SQL Server Reporting Services, a job will be created by SQL Server Agent if any of the following processes is underway:
query execution on a remote or local database server
report processing
report rendering
To cancel a job that is running on the report server, we can cancel the job directly or reduce the report execution time-out value in the SQL Server Management Studio and then will stop query execution. Please refer to the steps below:
Open SQL Server Management Studio, and connect to "Reporting Services".
Under the Report Server node, right-click on the "Jobs" folder and select "Refresh". Then, right-click on "Jobs" again and click "Cancel All Jobs".
Right-click on the Report Server node and open the "Server Properties" dialog.
Click the "Execution" option, and set the "Limit report execution to the following number of seconds:" to a much smaller number. After this issue is resolved, this configuration should revert to the previous state.
Reference:
Managing a Running Process
Setting Time-out Values for Report and Shared Dataset Processing
In addition, we can also use the KILL Transact-SQL statement to terminate a normal connection by terminating the transactions that are associated with the specified session ID. For the details information, you can refer to:
KILL (Transact-SQL)
If you still have any problem, please feel free to ask.
Regards,
Vicky Liu
Vicky Liu
TechNet Community Support -
How to stop and start process SAPOSCOL
Hi, i have a problem with write access for saposcol program. I see that the file saposcol is read the file but its unable to wirte the same.
Collector : running
Start time coll. : Mon May 21 17:49:49 2007
Current Time : Mon Jun 11 13:27:51 2007
Last write access : Tue May 29 06:23:46 2007
Last Read Access : Mon Jun 11 13:26:24 2007
When i try to stop the saposcol i get the following error:
igzadm> saposcol -k
Setting Stop Flag :
13:24:44 11.06.2007 LOG: ==== Stop Flag was set by saposcol (kill_collector()).
13:24:44 11.06.2007 LOG: ==== The collection process will stop as soon as possible
can't kill process 409656.
kill: No such process
ERROR:No reaction from collecting process 409656.
Please kill collecting process.exes.
Am doing this command through SID<ADM> from change directory /run.
Please help me how to check the permission of the SIDADM to stop the services.
I also try the same from root user but now use..
Please guide me how to stop and start the SAPOSCOL in AIX 5.3.
Advance Thanks.
Suri TysonHi, i have the following permission for saposcol
imserv:/ # ps -ef | grep saposcol | more
root 118842 528422 0 14:02:17 pts/2 0:00 grep saposcol
I have changed the ownership as you mentioned....
imserv:/usr/sap/IGZ/SYS/exe/run # ./saproot.sh igz
Preparing /usr/sap/IGZ/SYS/exe/run/brbackup ...
Preparing /usr/sap/IGZ/SYS/exe/run/brarchive ...
Preparing /usr/sap/IGZ/SYS/exe/run/brconnect ...
Preparing /usr/sap/IGZ/SYS/exe/run/brtools ...
Preparing saposcol ...
Preparing icmbnd ...
done
However, i still get the error as:
igzadm> saposcol -k
Setting Stop Flag :
14:12:13 11.06.2007 LOG: ==== Stop Flag was set by saposcol (kill_collector()).
14:12:13 11.06.2007 LOG: ==== The collection process will stop as soon as possible
can't kill process 409656.
kill: No such process
ERROR:No reaction from collecting process 409656.
Please kill collecting process.
Now the permission are set in my system as:
igzadm> ps -ef |grep saposcol|more
igzadm 729196 983058 0 14:13:25 pts/2 0:00 grep saposcol -
Have to Stop and start "Apple Mobile Device EVERY time
I have an iPad and an iPod which I sync every morning through iTunes with Outlook. And each morning I must stop and start "Apple mobile device" in the Services to get iTunes to recognize my devices.
I have recently uninstalled iTunes,QuickTime, Bonjour.................................and reinstalled the latest version of iTunes and the latest versions for my iPad and iPod.
Nothing has changed. Any other advice.Apple Mobile Device not Starting
· Windows Vista or Windows 7
In the Start SearchServices.
In the Programs
Select Apple Mobile DeviceStop the service
After the service has stopped, click Start the service.
After the Apple Mobile Device service has started again, open iTunes and connect the device. -
Script to stop and start Business Object and its components
Hi Guru
I have installed Business Objects and few of its componenents.
Please assist where I can find a proper script to do a clean stop and start of its services.
My server is Windows 2008 SP2.
Target services to have a scripts are;
1. MySQL server 5.1.
2. Apache Tomcat 5.5.20.
3. BW Publisher Service 12.
4. Server Intelegence Agent.
Appreciate some assistance here. Thanks!
-Ace-All of those components are available as Windows services. You can use the relevant
net stop
commands to stop them.
Regards,
Stratos -
Reset (stop and start) Apple Remote Desktop
Log in SSH to my xServe, I want to reset (stop and start) the Apple Remote Desktop service of the sharing system preferences of my server. I'm looking for a command: systempsetup -set...
kickstart can do this and much much more.
http://docs.info.apple.com/article.html?artnum=108030 -
Stopping and starting database in 10G OEM
Hello, has anyone run into an issue trying to stop and then start a database within the OEM console in 10G? We are able to stop and start the db with sql and windows services. We can stop the db in OEM but can't start it.
When you come to the startup/shutdown:confirmation page before actually starting up the db, does the Operation parameter say "startup database in open mode" or is it "... in mount mode"?
Maybe you are looking for
-
How to Convert Simple Report into ALV...
Hi All, i have developed Simple now i want to convert this report in ALV grid Report. how can i do it please Help.. my code is.. REPORT ZGSTT_YVENDORDTL_REPORT. Tables :ZMSEG,LFA1. DATA: BEGIN OF struct occurs 100, MBLNR Type ZMSEG-MBLNR, BLDAT Typ
-
Hi, I am getting the error while uploading images to SAP Mobile Documents from custom iOS(iPad )application using ObjectiveCMIS library. My Custom method is as follows: - (void)createSalesOrderRouteMapImageInFolder:(NSString*)salesOrderRouteMapFolder
-
When on a phone call and a second call rings in you do not see who it is or given the option to answer or ignore the call. My phone did that previously. Why would this be?
-
Windows Live Messenger for 5800 problem
Hi, I installed the new FW 40.0.005 for Nokia 5800 and then Windows Live Mesenger and Hotmail disappeared. I went to Ovi Store to download it again (Ovi Store) but now it says "Sorry, this item is not available for the Nokia 5800 XpressMusic.Browse
-
How do I open Multiple JPG files in RAW with Elements 11
I choose OpenAs in the editor, and set to Raw, but I can only open one file at a time. Am I doing something wrong? Dennis