Essbase services from remote machine

Hi,
Can anyone suggest if we can start all the essbase services(like foundation services, essbase server, etc) from a remote machine or client machine? Please advice. Can we write a script or is there any other option available?
Thanks in advance.

If you want to script it, I can think of three ways (there are probably more):
1) SC.exe -- http://ryepup.unwashedmeme.com/blog/2007/01/04/restart-a-windows-service-remotely/
2) psexec.exe -- http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx
3) VBScript (and probably PowerShell but I've never used that) can remotely stop services through WMI -- http://www.computerperformance.co.uk/vbscript/wmi_services.htm
Regards,
Cameron Lackpour

Similar Messages

  • Launch exe from remote machine

    Hi All,
    How can I launch an executable residing in machine A from machine B?
    I'm trying web services but no luck.
    Am I the wrong track?
    Thanks a lot

    What does "I'm trying web services but no luck." mean? As I see it, you have two separate things to accomplish here. One is the launchiing of the executable locally. The other is the triggering of that event remotely. Deal with one, then the other. Much simpler. That is, encapsulate the launching in a single method call, then work on calling it remotely. Then your problem is simply "How do I call a method remotely?", and entirely decoupled from details such as "launch exe from remote machine"

  • How to read file from remote machine

    Hello,
    Hi, i would like to know how to read text file from remote machine using java source code, any code ?
    Thanks very much;
    Best regards
    Kim

    On the server, perform the following steps:
    Parse the request and determine the file to serve
    Open a FileInputStream to the appropriate file
    Obtain a reference to the Servlet OutputStream
    Pipe the bytes from the file to the output stream
    Flush and close the streamYou might want to call HttpServletResponse.setContentType("application/octet") to indicate to the browser that a file download will be occurring. Do so before getting the reference to the Servlet's OutputStream.
    - Saish

  • Error in calling EJB Client from Remote Machine.

    While running the client from local machine, it works perfectly.
    But when I try to run the same client from remote machine it gives me the error.
    I deployed the ejb in sun server 1.4 with jndi as "xxx.xxx.xxx.xxx/MyTemperature".
    Following is the code snippet from the clint.
    Context initial = new InitialContext();
              Object objref = initial.lookup("192.168.0.20/MyTemperature");
              home = (TemperatureHome) PortableRemoteObject.narrow(objref, TemperatureHome.class);
              Temperature degreeConverter = home.create();Following is the error
    E:\EJBRemoteTest>java TempClient.TemperatureClient
    May 14, 2008 10:00:24 AM com.sun.corba.ee.impl.legacy.connection.SocketFactoryCo
    nnectionImpl <init>
    WARNING: ORBUTIL.connectFailure
    org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: No
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(O
    RBUtilSystemException.java:1739)
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(O
    RBUtilSystemException.java:1757)
            at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.<
    init>(SocketFactoryConnectionImpl.java:74)
            at com.sun.corba.ee.impl.legacy.connection.SocketFactoryContactInfoImpl.
    createConnection(SocketFactoryContactInfoImpl.java:77)
            at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.begin
    Request(CorbaClientRequestDispatcherImpl.java:152)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaC
    lientDelegateImpl.java:121)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClie
    ntDelegateImpl.java:214)
            at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
            at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java
    :69)
            at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.jav
    a:58)
            at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:126
            at javax.naming.InitialContext.lookup(InitialContext.java:347)
            at TempClient.TemperatureClient.main(TemperatureClient.java:17)
    Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection ref
    used: connect
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSock
    etFactory.java:520)
            at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.<
    init>(SocketFactoryConnectionImpl.java:58)
            ... 10 more
    Caused by: java.net.ConnectException: Connection refused: connect
            at sun.nio.ch.Net.connect(Native Method)
            at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:460)
            at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSock
    etFactory.java:511)
            ... 11 more
    Caught an unexpected Exception!
    javax.naming.CommunicationException: Can't find SerialContextProvider [Root exce
    ption is org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: N
    o]
            at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.jav
    a:66)
            at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:126
            at javax.naming.InitialContext.lookup(InitialContext.java:347)
            at TempClient.TemperatureClient.main(TemperatureClient.java:17)
    Caused by: org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed:
    No
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(O
    RBUtilSystemException.java:1739)
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(O
    RBUtilSystemException.java:1757)
            at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.<
    init>(SocketFactoryConnectionImpl.java:74)
            at com.sun.corba.ee.impl.legacy.connection.SocketFactoryContactInfoImpl.
    createConnection(SocketFactoryContactInfoImpl.java:77)
            at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.begin
    Request(CorbaClientRequestDispatcherImpl.java:152)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaC
    lientDelegateImpl.java:121)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClie
    ntDelegateImpl.java:214)
            at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
            at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java
    :69)
            at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.jav
    a:58)
            ... 3 more
    Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection ref
    used: connect
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSock
    etFactory.java:520)
            at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.<
    init>(SocketFactoryConnectionImpl.java:58)
            ... 10 more
    Caused by: java.net.ConnectException: Connection refused: connect
            at sun.nio.ch.Net.connect(Native Method)
            at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:460)
            at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSock
    etFactory.java:511)
            ... 11 moreThis is a stateless session bean.
    Can anybody provide me solution for this
    I also tried with java.util.Properties class but result is same.

    You are running on Windows 9x or Me, right? The darn OS has 300 or so bytes allocated for environment by default.
    Try setting the Initial environment to 4096 in the Properties|Memory tab for the batch file. That will get rid of "Out of environment space". The syntax error is another matter; Windows (except NT and derivatives) shells do not allow '=' in an environment variables value. You cannot overcome that. Some software (Sybase for instance) interprets # as = just because of that. Unfortunately, the JVM doesn't take such an approach.
    Better, grab copies of Unix utilities for Windows (www.gnu.org) including the wonderful shell 'bash' and write .sh scripts, which are inherently more powerful.

  • Linked server problem, its works locally but not from remote machine

    Hi,
    i am using the application NAV and have written the query in the application. am using automation variable to link to the SQL Server.
    The problem is that , the query which i have written executes only when i am working on local machine .
    I mean when i want to execute the same query from remote machine through my app Dynamics NAV then its not getting executed.
    Thanks in advance

    Depends on what you are trying to do and what security you are using.
    What error did you get?
    If you are using windows authentication then take a look at delegation
    http://www.databasejournal.com/features/mssql/article.php/3696506/Setting-Up-Delegation-for-Linked-Servers.htm
    Regards, Ashwin Menon My Blog - http:\\sqllearnings.com

  • Tail command to read httpd log from remote machine

    hi!
    does anyone know how to read the httpd log file using the tail command froma remote machine?
    i have a mac using osx sharing the internect connection to other machines. this machine has the http server running on it and i would like to check the httpd log file (from this server) from my computer in the same LAN.
    can anyone help please??
    G5 2.5ghz dual   Mac OS X (10.4.4)  

    As Ashish rightly said, you need to use ftp/scp.
    You can create a shell script on unix machine. Which shall copy the file from Windows machine to Unix machine on particular directory. Then you may need to change permissions of the file.
    Once that is done, same shell script can call procedure in oracle.
    You can schedule this shell script in Crontab to run at specified time daily, if you the timing of availability of file.
    Regards,
    Arpit

  • Using MS Access as Database from Remote Machine

    Hi All
    I am trying to use MS access as Data base, I have done the following.
    1. I have Added the mdb file on a remote machines DSN.(Control Panel->Admin Tools->ODBC->System Tools)
    2. In xMII data services->Data Servers, Copied the Default IDBC Server, renamed it and updated the ServerURL as  jdbc:inetdae:<IP of Remote machine>:1433?database=<DB Name>&sql7=true.
    With these things done, I am not able to get the Data Server Accesible.
    Please correct what mistake I have made.
    Thanks and Regards
    Rupesh

    Rupesh,
    First Access is not a very good database... I would suggest using MSSQL, MySQL, or some other 'real' database. But I digress...
    The only supported way to get the data you want from Access is by... you guessed it... the <b>xMII OLEDB UDS</b>. Sure you could try the JDBC - ODBC bridge, but this seems to be shaky.
    Martin - seriously... I'm trying to get the UDSs out to all of you!

  • How can I migrate an Essbase Appl. from one machine to another?

    We uses 3 computers to cover our development cycle: one for developing, one for testing with almost real data (integration test) and a production machine.I created a new Essbase appl. and want to transfer it from one machine to another, but only using batch scripts (ESSCMD) due to company policy. I don't know where the name of the application is stored. (I thought it is essbase.sec, but I believe is not true)I transfer all the files that belongs to an appl. (the list of them I get using BEGINARCHIVE) but is not enough.Does anyone have a hint?

    If you can map a drive to each to the servers, then:1. Create an application/database on the new server with the same names as those on the old server.2. Use Windows/DOS, copy the outline (.otl), calc scripts (.csc) and load rules (.rul) to the new server.3. Export the database from the old server to a file(s) on the new server.4. Stop/start the new database/app.5. Import the data into the new server (no load rule needed).

  • How to start/stop/restart a java desktop application from remote machine

    Hi,
    I want to know is there a way in java where i can start/stop/restart a java desktop application running on a remote machine through another java desktop application?
    For e.g i have an Admin console which monitors its clients based on socket communication, all of them are java desktop applications. I want to also give start/stop remote clients through my Admin console.
    I am thinking in terms of windows system service which can start/restart/stop my clients on request of Admin console, but how can i call this system service remotely?
    How can i do it?

    I got it. its about connection...

  • Running ldifmigrator/ldapadd from remote machine

    Hi,
    I installed Infra with OID on machine-1. I am now trying to run ldifmigrator on machine-2 while doing a lookup on the oid on the first machine. Is there some problem with this ?
    The command works fine when I run it locally on machine-1. The command is:
    <--------------------------------------------------------
    ldifmigrator "input_file=d:/config/ldap/system-oid.sbs" "output_file=d:/config/ldap/system-oid.ldif" -lookup "host=machine-1" "port=333" "subscriber=idc" "s_UserCommonNamingAttribute=cn" dn="cn=orcladmin" password=welcome1
    -------------------------------------------------------->
    When I run this command on a remote machine say machine-2 then i get the error:
    <----------------------------------------------------
    Unable to establish connection to directory. Please verify the input parameters:
    host, port, dn & password
    returnInitialLdapContext() times out after 10000 ms - JNDI initialization method
    not returning
    ----------------------------------------------------->
    My http port is 777 and oid port is 333. Another strange thing is that I can only access http://machine-1:777/oiddas from machine-1. This is not possible from machine-2 even though ping works fine.. Hoping for some help !
    Thanks !

    It sounds like your firewall could be preventing external connections. How is that configured?

  • Unable to connect to APEX from remote machine.

    Hi All,
    I have installed APEX 4.2.2 on Oracle 10g XE , the installation was successful and I am able to see the apex home page.
    I have used the port 1234 for the same.
    http://127.0.0.1:1234/apex/f?p=4550:1:14917953436987
    Now I have configured web listener apex_listener2.0.3 for remote machines and used port 8086.
    The listener was started on standalone mode successfully, but when I am trying to access below URL :
    http://localhost:8086/apex/
    I am getting 503 - Service unavailable error.
    I have disabled local listener also , but still it is not woking .
    SQL> exec dbms_xdb.setListenerLocalAccess (l_access => FALSE) ;
    commit;
    Please help .

    Getting below message in console whenever I am trying to access http://localhost:8086/apex/
    SEVERE: The pool named: apex is not correctly configured, error: Connection Caching Not Enabled or Not a Valid Cache Enabled DataSource
    oracle.dbtools.common.jdbc.ConnectionPoolException: The pool named: apex is not correctly configured, error: Connection Caching Not Enabled
    Could you please help me on this.

  • Listener from remote machine

    Hi,
    I have a unix machine in which database is installed.
    Can I start the listener from other unix machine remotely like using any alias.
    Please let me know!
    Regards,

    Hi,
    If you connect from your remote machine to the Server Machine, then you can do this..!!
    I think it will work.. yes you can try it.. !!
    http://download.oracle.com/docs/cd/B10501_01/network.920/a96580/listener.htm
    - Pavan Kumar N

  • Starting Listener from Remote Machine

    Hi All,
    Can I start the listerner service from a remote server..
    Pls revert ASAP...

    hi still I m getting error.
    [oracle@backup admin]$ lsnrctl start lin14db2
    LSNRCTL for Linux: Version 9.2.0.1.0 - Production on 15-DEC-2005 14:37:37
    Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
    Starting /u01/oracle/product/9.2/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 9.2.0.1.0 - Production
    System parameter file is /u01/oracle/product/9.2/network/admin/listener.ora
    Log messages written to /u01/oracle/product/9.2/network/log/lin14db2.log
    TNS-01151: Missing listener name, lin14db2, in LISTENER.ORA
    Listener failed to start. See the error message(s) above...

  • Connection problems with DI-SERVER 2007 & B1WS from remote machine

    Hi,
    Can you please help us better understand what the issue is, and how to solve it?
    I am seeking to get B1WS working on remote machines.
    I have built a small test application, which works fine on the server which also hosts the SQL Server instance and IIS.
    When I move the application to another machine, no connection happens, and it always throws this error:
    Message: 
    "Unable to connect to the remote server"
    Inner Exception:
    "No connection could be made because the target machine actively refused it 127.0.0.1:80"
    Error Code:
    10061
    This configuration works:
    Licensing Server:  Server A
    Database Server:  Server B
    IIS Server (B1WS):  Server B
    Running App:  Server B
    This configuration does not work:
    Licensing Server:  Server A
    Database Server:  Server B
    IIS Server (B1WS): Server B
    Running App:  Workstation C
    I have checked permissions on the web services folder, and gave Everyone all permissions.  The same connection problems persists.
    All help is welcome!
    Thank you in advance,
    Mike

    Dear Michael Gurevich,
    Was resolved?
    Thanks.
    João Paulo

  • Can't call B1WS web services from other machines?

    Hi Everyone,
    We have come across a strange problem that I hope you might have the answer to.
    We are using B1WS and DISERVER on a Windows 2003 Server machine.  When I run code from within the machine that has DISERVER and B1WS running on it, it works fine.  It's really nice actually.  I register a web reference to the web service, and it connects and is able to process actions on SAP objects.
    The problem I have come into is when I do the same thing, but from another machine.  This means that I create a simple web app, make a web reference to the web service which is now running on another machine, and try to use the same code that works on the other machine.  It fails from this other machine, and when I look at the inner exception, this is what it says:
    "no connection could made because target machine actively refused 127.0 0.1 80"
    I am not sure what is happening.  We have reviewed the configuration, and it seems okay.
    Another way of describing this problem, in case this isn't clear yet, is  this:
    Machine A runs DISERVER and B1WS
    Running code which uses B1WS web service being hosted in Machine A works well.
    Running code in Machine B, which uses B1WS web service being hosted in Machine A does not work at all.
    Machine A and Machine B can see each other.  They can talk on port 80, no problems.
    IIS is running on Machine A, and is working fine.
    I am not sure where to turn next.  Please share your thoughts.
    Thank you very much,
    Mike

    Greetings everyone,
    We have found a solution to this problem, and it is very much like one offered by Trinidad, except there was some confusion in my understanding.
    http://sql-patch/B1WS/webreferences/LoginService.wsdl
    Indeed, the url http://localhost/Service.asmx appears in the WSDL files, as well as the web.config.
    I changed it to http://sql-patch/B1WS/webreferences/LoginService.wsdl in the WSDL files only.  This did not work.
    We then found it in the web.config file also, and changed it to http://sql-patch/B1WS/webreferences/LoginService.wsdl also.
    The reason I was using this URL is because the files exist there.  Looking at IIS, there is no Service.asmx anywhere in the B1WS path, and this confused me.
    This got us one step further, but now a new error was showing itself -- 405 Method Not Allowed.
    It turns out that the URL we needed to change it to is this:
    http://sql-patch/B1WS/Service.asmx
    That is, we replace localhost with the name of the machine, and NOTHING else.
    This seems to have solved it for us, and is hopefully useful for you.
    Thanks all,
    Mike

Maybe you are looking for

  • Airport Extreme Base Station not cooperating with Cable Modem

    The non-specific issues are by far the most frustrating and I can't make any sense of this. To be fair, this might not be a AEBS issue as much as a ISP issue, but any suggestions are much appreciated. History: My setup has worked great for about 6 mo

  • Error Records in BDC Call transaction

    Hi.....      I am new to BDC concept... Can any of u tell me how to collect error records in BDC  Call transaction... I already collected error messages through BDCMSGCOL... but  i dont know how to collect those error records... here i am using two d

  • Hex to decimal value

    Is there any method to convert a hex no to Decimal no.

  • Re: REUSE_ALV_GRID_DISPLAY

    Dear Experts,              Using REUSE_ALV_GRID_DISPLAY i am displaying the report.Now, My client wants to put select button at the beginning of each row.Client should be able to select morethan one row and i have to capture in one internal table for

  • JMS Cache updates in existing transactions

    We have two application instances running, with synchronization over JMS. In the following scenario what will be the outome? - AppInstance1 does changes to Object1 and commits. These changes are sent to the JMS queue. - AppInstance2 is in the middle