Stopping NT Service Server

Hello All,
My question concerns stopping a managed server once it has been installed and
started as an NT Service. What we want to do is to shutdown our server at night
in order to do database backups. Once we have our managed server running as a
managed service we can issue a stop service command. It looks like that shuts
down the server, but it looks like it does it very abruptly. Is this an OK method
for shutting down a managed server? The reason we're doing this is so that we
can have the command issued automatically by our database server. Is there some
other automated method which we can use for shutting down the server? What are
other people doing for a problem like this where backups are done at night?
Thanks In Advance,
Rich

The WebLogic docs describe how to shut down a server from the command line:
http://edocs.bea.com/wls/docs61/adminguide/startstop.html#1028914
This is perhaps more gentle than stopping the service.
"Rich Llaca" <[email protected]> wrote:
>
Hello All,
My question concerns stopping a managed server once it has been installed
and
started as an NT Service. What we want to do is to shutdown our server
at night
in order to do database backups. Once we have our managed server running
as a
managed service we can issue a stop service command. It looks like that
shuts
down the server, but it looks like it does it very abruptly. Is this
an OK method
for shutting down a managed server? The reason we're doing this is so
that we
can have the command issued automatically by our database server. Is
there some
other automated method which we can use for shutting down the server?
What are
other people doing for a problem like this where backups are done at
night?
Thanks In Advance,
Rich

Similar Messages

  • 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?
    Rahul

    See 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

  • Stop systemd.service by other systemd.service (nfs)

    Hi there,
    I'm currently tweaking my nfs setup.
    What do I want
    Mount my exported directories via bind to export, when the nfs-server starts. And unmount the directories on stop of the nfs-server
    Approach
    /etc/systemd/system/nfs.target
    [Unit]
    Description=Network File System Server
    Wants=export-daten.mount export-daten-Downloads.mount export-portage.mount export-root.mount export-root-boot.mount
    Requires=nfs-server.service
    BindsTo=nfs-server.service
    [Install]
    WantedBy=multi-user.target
    /etc/systemd/system/export-daten.mount
    [Unit]
    Description=/home/blubb/Daten nach /export/daten
    BindsTo=nfs-server.service
    StopWhenUnneeded=true
    [Mount]
    What=/home/blubb/Daten
    Where=/export/daten
    Options=bind
    [Install]
    WantedBy=nfs.target
    ls nfs.target.wants
    export-daten-Downloads.mount export-daten.mount export-portage.mount export-root-boot.mount export-root.mount
    nfs-server.service is the original one shipped by Arch in /usr/lib/systemd/system.
    Current behaviour
    start nfs.target: mounts directories, starts nfs-server
    stop nfs.target: unmounts directories,  doesn't stop nfs-server
    start nfs-server.service fails, because can't export /export/daten/Downloads, which doesn't exist, because the mount-units were not processed.
    stop nfs-server.service: umount directories (due to the BindsTo directive) and stops the nfs.target.
    Desired behaviour
    The current behaviour works, but isn't very clean. Would be nice, if nfs.target stops the nfs-server.service too. I don't want nfs-server.service copy to /etc and modify as I will miss any updates of the original unit in /usr/lib.
    Is it possible to stop nfs-server.service in/by nfs.target?

    Tanks, works so far. One problem is left.
    For some reason, nfs option nohide doesn't work. So I have to export other filesystems in subtree too. My 2 units:
    export-daten.mount
    [Unit]
    Description=/home/sm/Daten nach /export/daten
    BindsTo=nfs-server.service
    StopWhenUnneeded=true
    [Mount]
    What=/home/sm/Daten
    Where=/export/daten
    Options=bind
    [Install]
    WantedBy=nfs.target
    and the filesystem, which is mounted in there:
    export-daten-Downloads.mount
    [Unit]
    Description=/home/sm/Daten/Downloads nach /export/daten/Downloads
    BindsTo=nfs-server.service
    Requires=export-daten.mount
    StopWhenUnneeded=true
    [Mount]
    What=/home/sm/Daten/Downloads
    Where=/export/daten/Downloads
    Options=bind
    [Install]
    WantedBy=nfs.target
    According to the Manpage I'm not sure, if the Requires option is even recognized. Mounting works. But when I stop my nfs-server, I get this message:
    journalctl
    Feb 12 07:23:53 Nas systemd[1]: Stopping Network File System Server.
    Feb 12 07:23:53 Nas systemd[1]: Stopped target Network File System Server.
    Feb 12 07:23:53 Nas systemd[1]: Unit export-daten-Downloads.mount is not needed anymore. Stopping.
    Feb 12 07:23:53 Nas systemd[1]: Unit export-portage.mount is not needed anymore. Stopping.
    Feb 12 07:23:53 Nas systemd[1]: Unit export-root-boot.mount is not needed anymore. Stopping.
    Feb 12 07:23:53 Nas systemd[1]: Unmounting /boot nach /export/root/boot...
    Feb 12 07:23:53 Nas systemd[1]: Unit export-root.mount is not needed anymore. Stopping.
    Feb 12 07:23:53 Nas systemd[1]: Unmounting /var/portage nach /export/portage...
    Feb 12 07:23:53 Nas systemd[1]: Stopping NFS server and services...
    Feb 12 07:23:53 Nas systemd[1]: Unmounting /home/sm/Daten/Downloads nach /export/daten/Downloads...
    Feb 12 07:23:53 Nas systemd[1]: Unit export-daten.mount is not needed anymore. Stopping.
    Feb 12 07:23:53 Nas systemd[1]: Unit export-root-home-sm-Daten-Downloads.mount entered failed state.
    Feb 12 07:23:53 Nas kernel: nfsd: last server has exited, flushing export cache
    Feb 12 07:23:53 Nas systemd[1]: Unmounted /boot nach /export/root/boot.
    Feb 12 07:23:53 Nas systemd[1]: Unit export-root.mount is not needed anymore. Stopping.
    Feb 12 07:23:53 Nas systemd[1]: Unmounted /var/portage nach /export/portage.
    Feb 12 07:23:53 Nas systemd[1]: Unmounted /home/sm/Daten/Downloads nach /export/daten/Downloads.
    Feb 12 07:23:53 Nas systemd[1]: Unit export-daten.mount is not needed anymore. Stopping.
    Feb 12 07:23:53 Nas systemd[1]: Stopped NFS server and services.
    Feb 12 07:23:53 Nas systemd[1]: Stopping NFS Mount Daemon...
    Feb 12 07:23:53 Nas rpc.mountd[21709]: Caught signal 15, un-registering and exiting.
    Feb 12 07:23:53 Nas systemd[1]: Unmounting /home/sm/Daten nach /export/daten...
    Feb 12 07:23:53 Nas systemd[1]: Unmounting / nach /export/root...
    Feb 12 07:23:53 Nas systemd[1]: Stopped NFS Mount Daemon.
    Feb 12 07:23:53 Nas systemd[1]: Unmounted /home/sm/Daten nach /export/daten.
    Feb 12 07:23:53 Nas systemd[1]: Unmounted / nach /export/root.
    Manpage:
    If a mount point is beneath another mount point in the file system hierarchy, a dependency between both units is created automatically.
    It seems, that works for mounting, but not for the umount.
    Can I do something to unmount that stuff cleaner?

  • WDS Server Service won't start - 'An error occurred trying to start the Windows Deployment Services Server.'

    I'm having issues installing starting the WDS server service on Win 2008 R2,  this is happening on multiple (all 2008 R2) systems on this domain so I'm beginning to think it's either AD or network related, in event viewer I get the following error.
    'An error occurred trying to start the Windows Deployment Services Server.'
    Error Information: 0x0906
    EventID : 257 
    single domain, single forest, 2008 R2 functional level, both system are virtual plugged into same vswitch on a flat network.
    any ideas what might be the issue?  I've never had an issue getting this working on many occasions before today and I've come to many a dead end looking at other articles thus far... 
    With WDS tracing enabled I get the following error information:
    [4304] 09:22:11: ===>Starting logging of module [WDSServer]
    [4304] 09:22:11: [UDPPorts] Policy: 1, Dynamic Port Range: 64001-65000.
    [4304] 09:22:11: [RPC] Using Tcp Port 5040 for Rpc Calls.
    [4304] 09:22:11: [RPC] Client Impersonation Logging=Disabled
    [4304] 09:22:11: [RPC] Host Name: sccm.domain.local
    [4304] 09:22:11: [RPC] NTLM/Kerberos Spn: ldap/sccm.domain.local
    [4304] 09:22:11: [RPC] Initialized
    [3756] 09:22:11: [RPC] Server Started.
    [4304] 09:22:11: [BINLSVC][RPC][Ep={5F4FB9F0-C0E3-41C1-AA00-9A7C690AC3A3}] Registered
    [4304] 09:22:11: [BINLSVC] Provider Initialized.
    [4304] 09:22:11: [WDSDDPS][RPC][Ep={FA0A27E1-C2BA-4B3B-94B2-025E82FFAA6D}] Registered
    [4304] 09:22:11: [WDSDDPS][RPC][Ep={011D24AC-CB3A-4739-A339-5D2E1B5306CE}] Registered
    [4304] 09:22:11: [51][WDSDDPS] [d:\w7rtm\base\ntsetup\opktools\wds\ddp\server\ddpprovider.cpp:196] Expression: , Win32 Error=0x906
    [4304] 09:22:11: [WDSDDPS][RPC][Ep={FA0A27E1-C2BA-4B3B-94B2-025E82FFAA6D}] Closed
    [4304] 09:22:11: [WDSDDPS][RPC][Ep={011D24AC-CB3A-4739-A339-5D2E1B5306CE}] Closed
    [4304] 09:22:11: [d:\w7rtm\base\ntsetup\opktools\wds\wdssrv\server\src\wdsprovider.cpp:144] Expression: , Win32 Error=0x906
    [4304] 09:22:11: [WDSDDPS] Initialization Failed (rc=2310)
    [4304] 09:22:11: [d:\w7rtm\base\ntsetup\opktools\wds\wdssrv\server\src\wdsprovhdl.cpp:172] Expression: , Win32 Error=0x906
    [4304] 09:22:11: [WDSDDPS] Deleted.
    [4304] 09:22:11: [d:\w7rtm\base\ntsetup\opktools\wds\wdssrv\server\src\wdsservice.cpp:178] Expression: , Win32 Error=0x906
    [4304] 09:22:11: [Udp] Listen Shutdown.
    [3756] 09:22:11: [RPC] Server terminated (rc=0)
    [4304] 09:22:11: [RPC] Listen Stopped.
    [4304] 09:22:11: [BINLSVC] Shutting down
    [4304] 09:22:11: [BINLSVC][RPC][Ep={5F4FB9F0-C0E3-41C1-AA00-9A7C690AC3A3}] Closed
    [4304] 09:22:11: [BINLSVC] Deleted.

    It seems I've found out the solution myself,  the issue seems to be caused when DHCP and WDS are on the same server, The installation must identify this during the first installation of WDS but not on subsequent installations, the method to
    get it working again is:
    1.      
    Install WDS Role (using defaults)
    2.      
    Make the following registry change:
    HKLM\SYSTEM\CurrentControlSet\services\WDSServer\Providers\WDSPXE\UseDhcpPorts  =  0
    3.      
    Run the following command line to initialize Windows Deployment Services:
    wdsutil /initialize-server /reminst:D:\RemoteInstall
    4.      
    Run the following command to enable the DHCP port registry setting
    wdsutil /Set-Server /UseDHCPPorts:No /DHCPOption60:Yes

  • How to stop sql services and sql agent services on multiple servers

    Looking for a t-sql/powershell script to stop/start sql services on multiple servers. Plan is to execute script from centralized server.
    Rahul

    see
    http://www.databasejournal.com/features/mssql/article.php/3644906/Automatically-Stopping-and-Restarting-SQL-Server.htm
    http://sqlpowershell.wordpress.com/2013/04/11/powershell-check-start-and-stop-sql-services-of-a-remote-servers/
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • DistributedCOM errors from Reporting Services server on Primary

    I have a SCCM 2012 SP1 CU4 environment with a dedicated Reporting Services server next to my Primary.
    On the primary i see in the system event viewer every hh:31 2 alerts and every hh:01 about 15 alerts and i can't find how to stop these alerts. The SCCM environment is working properly, als reporting is working properly..but how to solve these erros in my
    system event log on the primary server.
    Below the error:
    The description for Event ID 10009 from source Microsoft-Windows-DistributedCOM cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:
    <reportingserver fqdn>

    Hi,
    Please try the troubleshooting suggestions the following TechNet article provides.
    Event ID 10009 — COM Remote Service Availability
    http://technet.microsoft.com/en-us/library/cc774368(WS.10).aspx
    Best Regards,
    Joyce
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Stop weblogic services using StartStopServices.xml parameter leaves cmd.exe

    When using the "Start > All Programs > Oracle Business Intelligence > Stop BI services" function it calls the StartStopServices.cmd file. This file then references the StartStopServices.xml file using the following statement;
    <target name="stop_all" depends="set.is.stop.all, opmn.stop, wls.mgd.stop, wls.wait.mgd.shutdown, del.generated.managed.server.credentials, wls.stop, wls.wait.admin.shutdown, del.generated.admin.server.credentials">
         </target>
         <target name="set.is.stop.all">
         <property name="is.stop.all" value="true"/>
         </target
    The problem that I'm having is that when the weblogic services are successfully stopped, 2 cmd.exe windows are left open on the server. I've created a batch file to call the StartStopServices.cmd and added parameters such as
    Sleep.exe 30
    c:\windows\system32\TASKKILL.exe /F /IM cmd.exe /T
    Theoretically this should pause for a few, and then close the open cmd windows. However whenever the StartStopServices.cmd is called it closes the original command window before any statements are executed. So essentially I don't get to the taskkill or sleep parameters. I'm assuming that I need to edit the XML file somewhere to make it so it doesn't stop_all and close, but simply stops all and allows my added entries in the cmd windows to execute so ALL cmd windows are closed.
    I'm scheduling a backup using RMAN in NOARCHIVELOG mode, and need to stop the weblogic processes in order to complete this backup function. However I need to end these cmd windows otherwise over the course of time they will be cascaded everywhere. Has anybody accomplished this?

    Hope still you need a solution for your question.
    Follow these steps to achive as expected file using StartStopServices.xml, do let me know for any questions.
    File loc: MW_HOME\instances\instance3\bifoundation\OracleBIApplication\coreapplication
    1) I've added a new target attribute( as 'veera' to existing code) at the end of the tag
    <target name="stop_all" depends="determine.language, set.is.stop.all,find.or.get.credentials, opmn.stop, wls.mgd.stop, wls.wait.mgd.shutdown, del.generated.managed.server.credentials, wls.stop, wls.wait.admin.shutdown, del.generated.admin.server.credentials, veera">
    </target>
    2) Added new code as show below
    <target name="veera" if="wls.domain.exists" depends="wls.check.exists" description="Stop WLS">
    <echo message="Srini..." />
    <exec spawn="true" executable="cmd.exe" osfamily="windows" dir="${DOMAIN_HOME}/bin">
    <arg value="/c" />
    <arg value="taskkill /f /IM cmd.exe" />
    </exec>
    </target>
    If it is helpful, please mark as correct or helpful
    Cheers,
    Veeravalli
    Edited by: svee on Jul 5, 2012 3:09 PM
    Edited by: svee on Jul 5, 2012 3:12 PM

  • Error in coherence-- stopping cluster service.

    i do have found the error in one of my coherence server log files can some one explain me what does it mean?
    Coherence Logger@9272718 3.4.2/411 ERROR 2009-06-01 16:08:31.396/1217.130 Oracle Coherence GE 3.4.2/411 <Error> (thread=Cluster, member=3): Received cluster heartbeat from the senior Member(Id=7, Timestamp=2009-04-24 12:29:25.802, Address=xx.xxx.xx.xxx:8093, MachineId=55400, Location=machine:server72,process:11324, Role=WeblogicServer) that does not contain this Member(Id=3, Timestamp=2009-06-01 15:48:09.18, Address=xx.xxx.xxx.xx:8091, MachineId=47428, Location=site:ops.company.org,machine:cohserverbox1,process:14401, Role=CoherenceServer); stopping cluster service.
    Thanks Much

    Hi,
    This error essentially means what it says: The process received a cluster heartbeat that did not include the process as a member of the cluster. The process, therefore, stops its cluster service and will attempt to join the cluster again when appropriate. There are few reasons that the senior member may not have included the process in its heartbeat. Based on the timestamps and roles, I would first want to confirm the intent to cluster these processes. If the intent is not to cluster these processes, I would adjust their configurations appropriately (eg. use a distinct port) to form separate clusters. If the intent is to cluster these processes and the error (with the timestamp spread) reproduces, I would want to examine the network topology and look for reasons the members are being dropped from the cluster.
    Regards,
    Harv

  • [svn:bz-trunk] 8731: Bug: BLZ-251 - Destination.stop() and Service.stop() don't seem to do anything

    Revision: 8731
    Author:   [email protected]
    Date:     2009-07-22 07:08:20 -0700 (Wed, 22 Jul 2009)
    Log Message:
    Bug: BLZ-251 - Destination.stop() and Service.stop() don't seem to do anything
    QA: Yes
    Doc: No
    Details: Reintroduced the change 7370 that fixed this problem but broke the LCDS Edge server; there will be another check-in in the LCDS branch to make sure this fix doesn't break the Edge server again.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/BLZ-251
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/MessageBroker.java

    Hi Ingrid
    Thanks a lot for the response.
    That parameter is right now set to "0".
    But on reading the documentation for that parameter, it says you should change it only if SAP recommends you to do so.
    We checked in our other systems as well and all that is set to "0" as well.
    Will that be Ok to change the parameter to a different value?
    If yes, what is the value to be used?
    Thanks a lot

  • 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 -X

    SREE400,
    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.

  • 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,
    Anat

    Look 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();
    }

  • Stop SCOM services before installing UR5 for SCOM 2012 SP1?

    Hello,
    Shall I stop SCOM services on management server before upgrade to UR5?
    ENV: 3 SCOM 2012 SP1 management servers without UR.

    You didn't need to stop services within upgrade.
    To upgrade to UR5, you can refer below link
    http://www.ms-opsmgr.eu/?p=488
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"
    Mai Ali | My blog: Technical

  • Error while stopping Apache Services.

    Hi partners,
    I am having a problem while I want to stop Apache Service using "standard" script "adapcctl.sh".
    I am getting next error message, when I execute "adapcctl.sh stop apps/<apps_password>
    /d03/applmgr/prodcomn/admin/scripts/PROD_gamhap22/adapcctl.sh stop
    Timeout specified in context file: 100 second(s)
    script returned:
    adapcctl.sh version 115.53
    Apache Restricted Web Server Listener :httpd ( pid 7244 ) is running.
    Service can not be stopped using this script
    Apache Restricted Web Server Listener (PLSQL) :httpd ( pid 7522 ) is running.
    Service can not be stopped using this script
    adapcctl.sh: exiting with status 1
    .end std out.
    .end err out.
    GSM Enabled profile is setted to "Y", but I have similar "TEST" environments where GSM is enabled and Apache Server is shutted down without any problem.
    Any advice or help will be really appreciated.
    Thanks in advance.
    Kind regards,
    Francisco Mtz.

    Hi list,
    I have the solution to this problem.
    I have taken a llok inside of the <b>adapcctl.sh</b> script and I have found next lines:
    elif [ "$control_code" = "stop" ]; then
    if [ "$RUNNING" = "0" ]; then
    exit_code=2;
    elif [ "$RUNNING" = "1" -a "$RESTRICT_RUNNING" = "1" ]; then
    STATUSMSG="Service can not be stopped using this script\n"
    printf "$STATUSMSG"
    printf "$STATUSMSG" >> $OUTFILE
    exit_code=1;
    else
    RUNNING is equal to 1 and RESTRICT_RUNNING is equal to 1 when next condition is meet:
    if [ -f $RESTRICT_PIDFILE ] ; then
    restrict_pid=`cat $RESTRICT_PIDFILE | grep -i "TRUE"`
    if [ "x$restrict_pid" != "x" -a "$RUNNING" = "1" ] ; then
    RESTRICT_RUNNING=1
    RESTRICT_FILE is pointing to file "$IAS_HOME/Apache/Apache/logs/apache_runmode.properties" which was created in this environment (I don't know who created it).
    Kind regards,
    Francisco Mtz.

  • Stop of Weblogic Server- WLS_Forms !

    Hi all,
    I m working on Forms/reports 11gr2 64-bit with Weblogic Server 10.3.6.
    To stop of Weblogic Server - WSL_Forms/Reports, it has two option;
    1. Stop Weblogic Server - WLS_FORMS    (option under Classic Instance/Form Services)., which asks for username & password,process successfully without
        any error/message, but actually Forms are not stopped, what does it mean. So I use second option.
    2. Close button of Start Weblogic Server - WLS_FORMS window, which doesn't ask for username & password and suddenly stops it.
    (same in case of REPORTS)
    Is there any difference and which option is better ?
    Thanks.
    TekMilan.

    Hi Roberto!
    First thing is that I want to stop my managed weblogic server.
    Secondly,I have two options to stop my WLS_FORMS or WLS_REPORTS;
    1. No, path is $WLHOME/domains/ClassicDomain/bin/stopManagedWebLogic.cmd.
         it runs successfully, but doesn't stop my FORMS.
    2. Yes, Windows (of above script) menu option  to stop WLS_Forms.
         it stops FORMS suddenly & successfully without asking for username/password ?
    I m using 2. option successfully without any problem.
    I want to know about the followings;
    -- Is 2.option is ok ?
    -- Why FORMS are now stopped by above 1. option ?
    Thanks/Regards.
    Milan

  • Can not stop ocfs service

    I tried to use "service ocfs stop" to stop ocfs service. The command has no error. But the ocfs service still loaded and runing.
    I have to comment them from /etc/fstab and reboot the server to stop ocfs.
    Can you help me why ocfs can not be stopped gracefully?

    ocfs just long time to stop

Maybe you are looking for