Stop/Start Services
Dears:
I have one question which is can I to stop and start service on windows 2003, such as Windows Audio service
If yes please provide me with how...
Thanks and best regards.
Hello:
what you answer is correct if i want to kill processes from task manager, but what i wanna do is to stop the service and start it again.
When you click right click on My Computer and choose manage -> services; this what i meant by services
Thanks and best regards
Similar Messages
-
Stop/Start service of Ear application from Jboss AS using JMX Mbean API.
Hi Frendz,
Please help me on this issue :)
I would like to stop/start my ear applcation from JMX Client which is deployed on jboss server 4.2.0.
Code:
ObjectName name = new ObjectName("jboss.j2ee:service=EARDeployment,url='rr-jms-ejb3.ear' ");
MBeanServerConnection connection = (MBeanServerConnection) ctx.lookup(invoker);
connection.invoke(name, "stop", null, null);
I can see the status(stared/stopped) on JMX Console based on my operation(stop/start).
But my application is always running irrespective of operation i have provided to invoke method.
My ear has both web and ejb modules and i would like to stop both modules services.
Any idea? ...please help me on this.
Cheers,
Capwow, you waited all of half an hour before becoming inpatient when noone dropped what they were doing to come at your beg and call?
-
Steps to stop & Start servicesservices
Hi ,
we r doing SAN migration next week,
i'll giv u a brief about my setup. It is 2 node RAC connected to a SAN storage and size of DB is 500GB on Windows 2003. So now they r asking me to move this database to a new SAN storage box with 3TB and they asked to migrate this entire setup to new one. So please provide me the steps with scripts to full fill this.
So please provide me the steps(commands on windows cmd prompt) to stop & start services like cluster,asm and instances....etc what are the services to stop and copy database to new one and how to start the services with scripts to complete this task.
Actually some of our frns told me that there is no much downtime required but my comp asked me to do like stop services and shut down down DB and migrate then start services.
Pls help me out on this. i am very new t pls pls pls pls.. help me out
Regards
PoornaPls help me out on this. i am very new t pls pls pls pls.. help me outthen maybe someone else should do it
sorry but providing scripts for this task is just impossible, there are too many factors
its all written in the documentation
one possible scenario, that we did last week on a 11gR2 OEL5 RAC:
1. attach the new storage, create disks/volumes, make the hosts recognize them
2. add the new disks to the ASM diskgroup, and drop the old disks from the ASM diskgroup - this will cause a rebalance, that will take some time depending on the rebalance power and the size of the database
[3. you can do the same with OCR/votedisk, with the proper commands, if they are located in ASM]
4. remove the old storage
zero downtime needed -
How to create a batch file to stop/start only essbase services 11.1.2.2
Hi,
I have a requirement to build a batch file to schedule stop or start essbase. This batch files should run daily once. Version 11.1.2.2.
I have tried to prepare a batch file which is calling the default service restart batch StartEssbase.bat and stopEssbase.bat.
Stop process is running fine. But, Start is not success. When I run StartEssbase.bat and stopEssbase.bat manually essbase is restarting successfully.
I tried with the command like START ESSCMD.exe "Password" also. Still it is not working.
Could any one please help with the batch scrpit how can I build to start or stop essbase.
Thanks
Srilatha DasariHi,
You can use these...
Start essbase-------------------------------
REM ----------EssbaseAgent Start----------
net start HyS9ESBAgent11.1.1_hypservice_1
SET CHK46=%ERRORLEVEL%
IF "%CHK46%" NEQ "0" (
ECHO "ERROR IN STARTING THE ESSBASE SERVICE"
EXIT /B 46
) ELSE (
ECHO "STARTING ESSBASE SERVICE WAS SUCCESSFUL"
EXIT /B 0
PAUSE
Stop essbase----------------------------------------
REM ----------Stopping of ESSBASE Service----------
SET ESB_BIN_DIR=E:\Hyperion\products\Essbase\EssbaseServer\bin
SET SRCDIR=F:\Essbase\bin
SET MSHSRC=%SRCDIR%\ShutdownServer.msh
SET SERVERNAME=XXXXXXXX
SET USERNAME=XXXXXX
SET PASSWORD=XXXXX
REM *****************CALLING ESSBASE ENVIRONMENT SCRIPT***********************
CALL %ESB_BIN_DIR%\setEssbaseEnv.cmd
CALL %ESB_BIN_DIR%\ESSMSH %MSHSRC% %USERNAME% %PASSWORD% %SERVERNAME%
SET CHK10=%ERRORLEVEL%
IF "%CHK10%" NEQ "0" (
ECHO ------------------------------------------------------
ECHO [%DATE% %TIME%] ERROR IN STOPPING THE ESSBASE SERVICE
ECHO ------------------------------------------------------
EXIT /B 10
) ELSE (
ECHO ------------------------------------------------------
ECHO [%DATE% %TIME%] STOPPING ESSBASE SERVICE WAS SUCCESSFUL
ECHO ------------------------------------------------------
EXIT /B 0
The maxl is like
login $1 $2 on $3;
alter system shutdown;
exit;
Regards
Snehasis -
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,
KumarHi 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 -
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 -
Script to Stop/Start Oracle Apps windows services
Hello,
I am trying to script 2 batch files, one to stop services and one to
start services.
So far I have the folloing for the stop script:
Stop services:
set ORACLE_HOME=e:\oracle\<sid>ora\8.0.6
set ORACLE_SID=<SID>
NET STOP "Oracle Reports Server [Rep60_HPP1]"
NET STOP OracleApacheServerHPP1_spud
NET STOP OracleFulfillmentServerHPP1_spud
NET STOP OracleMetricsClientHPP1_spud
NET STOP OracleMetricsServerHPP1_spud
NET STOP OracleConcMgrHPP1_spud
NET STOP OracleHPP1Ora806_1TNSListener80APPS_HPP1
However sometimes the concurrent manager fails to stop correctly and I
have to issue a 2nd command to forcefully shut it down. Does anyone
know how I can write this into my script? before it moves onto the
Apps Listener?
Any advise would be appreciated.
Thank you
SarahThe error we sometimes get is that the concurrent manager was unable to stop we have to then use the following command to shut them down:
CONCSUB.EXE APPS/appspassword@PROD SYSADMIN "System Administrator" SYSADMIN WAIT=Y CONCURRENT FND ABORT
I was trying to use net stop in the script and if this didn't work, the script would issue the command above.
Thank you -
SQL Command to Start/Stop SQL services for multiple server
From Central server I want to Start/Stop SQL services and SQL Agent service. Is there any SQL command which I can execute on query analyzer which can Start/Stop SQL services?
RahulSee command line options here using net start
http://msdn.microsoft.com/en-IN/library/hh403394.aspx
You can invoke them using xp_cmdshell from management studio as
ie like below for default instance
EXEC xp_cmdshell 'net start MSSQLSERVER'
EXEC xp_cmdshell 'net start SQLSERVERAGENT'
etc
and below for named instance
EXEC xp_cmdshell 'net start MSSQLSERVER$instancename'
EXEC xp_cmdshell 'net start SQLSERVERAGENT$instancename'
etc
and use net stop for stopping services
EXEC xp_cmdshell 'net start MSSQLSERVER' EXEC xp_cmdshell 'net start SQLSERVERAGENT' etc
EXEC xp_cmdshell 'net start MSSQLSERVER' EXEC xp_cmdshell 'net start SQLSERVERAGENT' etc
EXEC xp_cmdshell 'net start MSSQLSERVER' EXEC xp_cmdshell 'net start SQLSERVERAGENT' etc
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
Hi,
Not a problem, please post the KJS error logs for me to hunt the
exact reason for the error.
Thanks & Regards
Raj
Neel John wrote:
To run an application on iAS6sp1 on HP-Unix, while starting the kjs
from command line, it gives a GDS error and crashes. Subsequently,
after stopping all services and restarting iAS wouldnot come up.
Try our New Web Based Forum at http://softwareforum.sun.com
Includes Access to our Product Knowledge Base! -
Starting and Stopping ALM Services in linux
How to stop and Start ALM Services linux.
I have installed new ALM application in my linux as root user. Now i am trying to stop the service using command HPALM. When i check the status it show not running and i can see script located in app/wapper and deployment/wrapper.
So please help how to stop the service and is there any env i have to set.
Below are the details
Install Folder Details
Install Folder: /u01/ALM/app
Deployment path: /u01/ALM/deployment
Repository Path: /u01/ALM/repository
Script Details:
/u01/ALM/app/wrapper
sh HPALM status
HP Application Lifecycle Management is not running.
/u01/ALM/deployment/wrapper
sh HPALM status
HP Application Lifecycle Management is not running.
root 25657 1 0 Oct29 ? 00:01:27 /u01/ALM/deployment/wrapper/wrapper /u01/ALM/deployment/wrapper/wrapper.conf wrapper.syslog.ident=HPALM wrapper.pidfile=/var/opt/HP/ALM/runtime/HPALM
root 25660 25657 99 Oct29 ? 2-23:16:23 /u01/ALM/app/java/bin/ALM -server -XX:+PrintCommandLineFlags -XX:+UseConcMarkSweepGC -XX:+ExplicitGCInvokesConcurrent -XX:+PrintCommandLineFlags -XSREE400,
You are in the consumer end products forum. You will also want to ask your question over at the Enterprise Business Community.
Click the plus sign (+) next to Discussion Boards to drop down all the options for server, networking and any other professional equipment problem.
http://h30499.www3.hp.com/
For Linux:
http://h30499.www3.hp.com/t5/Linux/ct-p/itrc-118
Good luck. -
Srvctl start service/stop throwing error ORA-01031: insufficient privileges
Hi Gurus,
When i try to start/stop the service getting below error.Please help me troubleshoot it.
AIX-6.1
11.2.0.1
Plato1:/u01/app/11.2.0/grid/network/admin>srvctl start service -d maxcv
PRCR-1079 : Failed to start resource ora.maxcv.maxcv.svc
CRS-2680: Clean of 'ora.maxcvuat.svc' on 'Plato1' failed
CRS-5807: Agent failed to process the message
ORA-01031: insufficient privileges
ORA-01031: insufficient privileges
ORA-01031: insufficient privileges
ORA-01031: insufficient privileges
CRS-2680: Clean of 'ora.maxcvuat.svc' on 'Plato1' failed
ThanksSQL> execute dbms_service.start_service('maxcvuat');PL/SQL procedure successfully completed.
Output from alert.log
EMNC started with pid=32, OS id=1384660
2011-09-09 09:32:09.820000 -04:00
Starting background process CJQ0
CJQ0 started with pid=53, OS id=1429756
2011-09-09 09:37:00.698000 -04:00
Starting background process SMCO
SMCO started with pid=33, OS id=1687726
2011-09-09 09:52:59.212000 -04:00
ALTER SYSTEM SET service_names='maxcvuat' SCOPE=MEMORY SID='maxcv2';
~crsctl stat output:
plato2:/home/grid>crsctl stat res -t
NAME TARGET STATE SERVER STATE_DETAILS
Local Resources
ora.CRS.dg
OFFLINE OFFLINE plato1
OFFLINE OFFLINE plato2
ora.CRS_DATA.dg
ONLINE OFFLINE plato1
ONLINE ONLINE plato2
ora.CRS_DATA1.dg
ONLINE OFFLINE plato1
ONLINE ONLINE plato2
ora.CRS_VDISK.dg
OFFLINE OFFLINE plato1
ONLINE ONLINE plato2
ora.LISTENER.lsnr
ONLINE ONLINE plato1
ONLINE ONLINE plato2
ora.maxcv_DATA.dg
ONLINE INTERMEDIATE plato1
ONLINE ONLINE plato2
ora.maxcv_REC.dg
ONLINE INTERMEDIATE plato1
ONLINE ONLINE plato2
ora.asm
ONLINE OFFLINE plato1
ONLINE ONLINE plato2
ora.eons
ONLINE ONLINE plato1
ONLINE ONLINE plato2
ora.gsd
OFFLINE OFFLINE plato1
OFFLINE OFFLINE plato2
ora.net1.network
ONLINE ONLINE plato1
ONLINE ONLINE plato2
ora.ons
ONLINE ONLINE plato1
ONLINE ONLINE plato2
Cluster Resources
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE plato2
ora.LISTENER_SCAN2.lsnr
1 ONLINE ONLINE plato1
ora.LISTENER_SCAN3.lsnr
1 ONLINE ONLINE plato1
ora.plato1.vip
1 ONLINE ONLINE plato1
ora.plato2.vip
1 ONLINE ONLINE plato2
ora.maxcv.db
1 ONLINE ONLINE plato2 Open
2 ONLINE ONLINE plato1 Open
ora.maxcv.maxcvuat.svc
1 OFFLINE UNKNOWN plato1
2 OFFLINE UNKNOWN plato1
ora.coscv.db
1 ONLINE ONLINE plato1 Open
2 ONLINE ONLINE plato2 Open
ora.coscv.coscvuat.svc
1 ONLINE UNKNOWN plato1
2 ONLINE UNKNOWN plato1
ora.oc4j
1 OFFLINE OFFLINE
ora.scan1.vip
1 ONLINE ONLINE plato2
ora.scan2.vip
1 ONLINE ONLINE plato1
ora.scan3.vip
1 ONLINE ONLINE plato1
plato2:/home/grid>Stopping of database:
plato2:/home/oracle>srvctl stop database -d maxcv
PRCD-1124 : Failed to stop database maxcv and its services
PRCR-1065 : Failed to stop resource (((((NAME STARTS_WITH ora.maxcv.) && (NAME ENDS_WITH .svc)) && (TYPE == ora.service.type)) && ((STATE != OFFLINE) || (TARGET != OFFLINE))) || (((NAME == ora.maxcv.db) && (TYPE == ora.database.type)) && (STATE != OFFLINE)))
CRS-2680: Clean of 'ora.maxcv.maxcvuat.svc' on 'plato1' failed
CRS-5807: Agent failed to process the message
ORA-01031: insufficient privileges
ORA-01031: insufficient privileges
ORA-01031: insufficient privileges
ORA-01031: insufficient privileges
CRS-2680: Clean of 'ora.maxcv.maxcvuat.svc' on 'plato1' failed
ORA-01031: insufficient privileges
ORA-01031: insufficient privileges
CRS-2675: Stop of 'ora.maxcv.db' on 'plato1' failed
CRS-2680: Clean of 'ora.maxcv.maxcvuat.svc' on 'plato1' failed
CRS-5807: Agent failed to process the message
ORA-01031: insufficient privileges
ORA-01031: insufficient privileges
ORA-01031: insufficient privileges
ORA-01031: insufficient privileges
CRS-2680: Clean of 'ora.maxcv.maxcvuat.svc' on 'plato1' failed
ORA-01031: insufficient privileges
ORA-01031: insufficient privileges
CRS-2675: Stop of 'ora.maxcv.db' on 'plato1' failed
plato2:/home/oracle>ps -ef |grep pmon
oracle 892946 1818664 0 09:30:35 pts/0 0:00 grep pmon
grid 1360080 1 0 Sep 06 - 1:23 asm_pmon_+ASM2
oracle 1376428 1 0 Sep 06 - 1:42 ora_pmon_coscv2
plato2:/home/oracle>Thanks -
Start / Stop Window services
Hi,
I would like to start and stop window services on remote computer.
Do you know if there is a package API in java to do it?
How can I do it?
Thanks,
AnatLook for www.jscape.com
you can ftp or telnet to the computer, then start the command for that service
this is the code for ftp
* FtpExample.java
* Created on 01 March 2007, 10:30
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
package testing;
* @author Administrator
import com.jscape.inet.ftp.*;
import java.io.*;
import java.util.Enumeration;
public class FtpExample extends FtpAdapter {
private String hostname;
private String username;
private String password;
public FtpExample(String hostname, String username, String password) {
this.hostname = hostname;
this.username = username;
this.password = password;
// print out directory listing
public void getListing() throws FtpException {
Ftp ftp = new Ftp(hostname,username,password);
//capture Ftp related events
ftp.addFtpListener(this);
ftp.connect();
ftp.setDir("www");
String results = ftp.getDirListingAsString();
System.out.println(results);
ftp.disconnect();
// captures connect event
public void connected(FtpConnectedEvent evt) {
System.out.println("Connected to server: " + evt.getHostname());
// captures disconnect event
public void disconnected(FtpDisconnectedEvent evt) {
System.out.println("Disconnected from server: " + evt.getHostname());
public static void main(String[] args) {
String hostname;
String username;
String password;
try {
FtpExample example = new FtpExample("ftplocation e.g 192.168.0.1","username","password");
example.getListing();
}catch(Exception e) {
e.printStackTrace();
} -
How to check/start/stop hardening Service?
Dear All,
I want to check on Solaris 10 whether it has hardening service or not, and also want to start/stop this service.
Please give any idea or advice.
Thanks and regards,
HengHi Heng,
System hardening requirements changes from environment. So It should be designed to suit your infrastructure. The topic is too big to discuss here.
I will give some examples of major things done in hardening.
User level Security.
1) Password complexity
2) Restrict multiple login attempts.
3) Log all failed login attempts
4) configure pam module
5) Use RBAC to deligate
6) Restrict root login to console only.
7) disable passwordless logins to any users
8) disable services like rsh rlogin and related services and restrict access through ssh only.
9) ENABLE & Configure BSM
10) Enable Auditing
11) disable/lock all unused system accounts.
12) enable password encryption (/etc/shadow)
Network Security
1) Disable all unwanted services. (svcadm disable service on solaris 10)
2) disable unused nonsecure services like telnet, ftp etc.
3) tcpwrapers (restrict the network communication to the required subnets only)
4) disable unwanted inetd services
etc etc etc... discussed very few things from the normal hardening, and these things vary from environment to environment.
Regards
JKGN
Edited by: 878434 on May 25, 2012 1:16 AM -
Starting and stopping hyperion services
Version: 11.1.2.1
Server: 2008 MS SQL Server R2
Is there any way I can stop and start services for hyperion (esp. essbase) if I am not an admin on the server?
Things I've tried:
1) stop.bat/start.bat. Does not work.
2) net stop/ net start. Access is denied.
3) Maxl. Ok I do an alter shutdown but I can't start the server afterwards. The EAS Console used to use the option to start the server but on 11 my option is missing.
The client won't give me access to do anything on the box with admin privileges. What can I do?The client should be able to change the group policy on your account to allow to restart services without making you an admin, well that's if they want to allow you to restart services.
Cheers
John
http://john-goodwin.blogspot.com/ -
Essbase services stop&start order
Hi all,
I want to knowthe order to stop&start essbase services
STOP:
administration servicese
Essbase services
Foundation
Openldap
but we have 3 batch script its stoping 4 services
and wat is HYS9ESBAgent11.1.1.1_Hypservice_1??
where should i find thid in which folder
can any one tell me
Edited by: user8815661 on 15 nov. 2010 01:36What you have written is the stop order and the reverse is start order.
and wat is HYS9ESBAgent11.1.1.1_Hypservice_1??It is the essbase agent running in the background services and available in
$Hyperion Home\products\Essbase\EssbaseServer\bin\ESSBASE.exe
Maybe you are looking for
-
I have a Macbood 10.6.8 and did not elect to add the iCloud when Mobile Me went away. I am now purchasing an iPhone5 and am wondering how to use iCloud with the two devices to sync photos, contacts etc.
-
[nForce] no audio on disk or image when burning a dvd movie
i've recently bought a K7N2 Delta I lsr and since i've had this i have never been able to burn a dvd movie no matter what i try. I've started from scratch trying with just the AC-97 audio drivers installed and downloaded the latest nforce audio drive
-
Password protecting documents?
Note: If this is in the wrong section I do apologise, I wasn't sure where to put it so opted to take it to the hardware section. In a nutshell, is there a way to password protect documents or folders? I'm working on an iMac G4 and I was wondering if
-
Javascript pop-ups - Classic ASP
Anyone ever have a problem with javascript pop-up windows no longer keeping focus after upgrading to 5.0? We recently upgraded, and this is one of the quirky things that's come up... Wendy Ramsaur, KSA
-
JSP compliance of Oracle 9i App Server
Can anyone tell me what version of JSP is implemented by Oracle 9i App Server? Is it 1.1 or 1.2?