Launch Server in JBuilder

Hi,
I try to launch a managed Weblogic Server in JBuilder (to debug)
and I have this error:
Starting WebLogic Server ....
Connecting to http://localhost:7001...
The WebLogic Server did not start up properly.
Exception raised: java.lang.ArrayIndexOutOfBoundsException
java.lang.ArrayIndexOutOfBoundsException
     at java.lang.System.arraycopy(Native Method)
     at weblogic.logging.LogManager.removeLogger(LogManager.java:169)
     at weblogic.logging.LogManager.initialize(LogManager.java:64)
     at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:322)
     at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
     at weblogic.Server.main(Server.java:35)
Reason: Fatal initialization exception
Have you seen this error before? It'a memory problem?
Thanks - Pierre

Actually I have.
I just forgot about it. Jbuilder comes installed with a Java Virtual
Machine. It's actually IBM's VirtualMachine. I think when you start weblogic
from Jbuilder, it tries to use that virtual machine.
You can test this by trying to start webloigc from the comand line and use the
Java Virtual machine that's located in your $JBUILDER_HOME/jdkx.x directory
fro me it's the jdk1.3 which works fine for me, but than again I am on linux.
Hope this helps.
Tony McClay
"Mr. BigMAN"
Pierre Parisot wrote:
Hi,
I try to launch a managed Weblogic Server in JBuilder (to debug)
and I have this error:
Starting WebLogic Server ....
Connecting to http://localhost:7001...
The WebLogic Server did not start up properly.
Exception raised: java.lang.ArrayIndexOutOfBoundsException
java.lang.ArrayIndexOutOfBoundsException
at java.lang.System.arraycopy(Native Method)
at weblogic.logging.LogManager.removeLogger(LogManager.java:169)
at weblogic.logging.LogManager.initialize(LogManager.java:64)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:322)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
at weblogic.Server.main(Server.java:35)
Reason: Fatal initialization exception
Have you seen this error before? It'a memory problem?
Thanks - Pierre--
Mr.BigMAN Lives!
[email protected]
"Big By Nature!" dot com :)
"Technology By Choice" dot com :)
"Lead By Example" dot com :)
"Life is Too Short, not to have fun"
< BAD TO THE BONE! > dot net
[att1.html]
[mrbigman.vcf]

Similar Messages

  • Forte Launch Server Shutdown

     

    There should be a file named: <reposname>.rop in the repos directory of your
    Forte environment. It is a log of the repository operations. You may get some
    clue as to what is happening there.
    Thanks
    Amos.G.Radfordbankofamerica.com wrote:
    Do you do rpcleans on your reposity on a regular basis. It sounds like your
    repository is starting to roll over. Check it's size, right before it's
    ready to blow it will start to grow abnormally.
    "Jones, Kerreck" <Kerreck.JonesGD-ES.COM> on 03/07/2001 07:31:28 AM
    To: forte-users-digestlists.xpedior.com
    cc:
    Subject: (forte-users) Hanging Save in partition workspace.
    I have my workspace preferences set to "save before running"
    Now when I run in the partition workshop, I get the message "Saving
    Workspace" in the
    Workshop status line, and then it saves.... And saves..... and saves until
    finally I have to
    Kill forte by going to the forte menu and selecting launch server shutdown.
    Anyone else been having this problem with forte 3.5 on NT?
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

  • Transaction Launcher " server could not be found" error

    Hi Gurus,
    i have created a transaction launcher and maintain all necessary connectivity settings required, but now when i execute this transaction launcher link in CRM webui screen , it processes and throws error" firefox could not find server at "my server name".
    some more information:
    sicf service object like webgui and few more are activated and published in se 80.
    anything else i should check or maintain please help it is critical.
    Thanks,
    G.One

    hi,
    i checked in txn:crms_IC_cross_sys, all details are maintained.
    Anything else do i need to checked.
    Thanks,
    G.One

  • Cloud apps not launching - Server Error

    Need help. Have downloaded Creative Cloud apps like Illustrator CS6 and they won't launch. It gives me an error that tells me it could not find the server. But, I am not connected to my server. I am running my laptop from home. Have talked to Adobe, Mac and Synology and none of them can figure this out. Please help!!!

    Hi Lamslink,
    A few questions:
    What OS are you on?
    Can you post a screen shot of the error?
    Has it ever worked?
    What troubleshooting have you tried already?
    -Dave

  • OEPE can't launch server that uses custom Security provider

    I recently migrated a Weblogic 8.1 server that we had a custom security provider for, to 10.3.2. It works fine when started with the startWeblogic.cmd file but when I try to start it using OEPE in eclipse it starts fine and runs fine but OEPE reports that
    "Unable to validate WebLogic domain.Please make sure the running WebLogic instance is an Administration Server"
    When I look at the Error Log it appears that it thinks one of my custom security classes is not found. But the server is running fine, so it is fine, it's on the classpath via the use of the EXT_PREPEND_CLASSPATH environment variable.
    I am running Weblogic 10.3.2 on Windows XP using eclipse Ganymede 3.5.2 and OEPE version 1.5.0.201003170852
    Here's the Error Log:
    eclipse.buildId=
    java.version=1.6.0_03
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Framework arguments: -product org.eclipse.epp.package.jee.product
    Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product
    This is a continuation of log file C:\tools\eclipse-workspaces\galileo\.metadata\.bak_3.log
    Created Time: 2010-05-12 14:04:01.549
    Error
    Thu May 13 14:25:11 EDT 2010
    Server Weblogic 10.3 failed to start.
    eclipse.buildId=
    java.version=1.6.0_03
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Framework arguments: -product org.eclipse.epp.package.jee.product
    Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product
    This is a continuation of log file C:\tools\eclipse-workspaces\galileo\.metadata\.bak_3.log
    Created Time: 2010-05-12 14:04:01.549
    Error
    Thu May 13 14:25:10 EDT 2010
    Another server (or another process) is running on the same TCP/IP port '7001'.
    eclipse.buildId=
    java.version=1.6.0_03
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Framework arguments: -product org.eclipse.epp.package.jee.product
    Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product
    This is a continuation of log file C:\tools\eclipse-workspaces\galileo\.metadata\.bak_3.log
    Created Time: 2010-05-12 14:04:01.549
    Warning
    Thu May 13 14:25:10 EDT 2010
    Unable to validate WebLogic domain.
    Please make sure the running WebLogic instance is an Administration Server
    eclipse.buildId=
    java.version=1.6.0_03
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Framework arguments: -product org.eclipse.epp.package.jee.product
    Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product
    This is a continuation of log file C:\tools\eclipse-workspaces\galileo\.metadata\.bak_3.log
    Created Time: 2010-05-12 14:04:01.549
    Error
    Thu May 13 14:25:10 EDT 2010
    java.io.IOException
         at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:187)
         at weblogic.management.remote.common.ClientProviderBase.newJMXConnector(ClientProviderBase.java:81)
         at javax.management.remote.JMXConnectorFactory.newJMXConnector(Unknown Source)
         at javax.management.remote.JMXConnectorFactory.connect(Unknown Source)
         at oracle.eclipse.tools.weblogic.server.internal.WlsJMXHelper.createConnector(WlsJMXHelper.java:269)
         at oracle.eclipse.tools.weblogic.server.internal.WlsJMXHelper.connectToJMX(WlsJMXHelper.java:76)
         at oracle.eclipse.tools.weblogic.server.internal.WlsJMXHelper.getDomainAttribute(WlsJMXHelper.java:139)
         at oracle.eclipse.tools.weblogic.server.internal.WlsJ2EEDeploymentHelper.validateRemote(WlsJ2EEDeploymentHelper.java:1687)
         at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.validateRemote(WeblogicServerBehaviour.java:2646)
         at oracle.eclipse.tools.weblogic.server.internal.ServerWatcher.runOnce(ServerWatcher.java:574)
         at oracle.eclipse.tools.weblogic.server.internal.ServerWatcher.run(ServerWatcher.java:482)
         at java.lang.Thread.run(Unknown Source)
    Caused by: javax.naming.CommunicationException [Root exception is weblogic.rjvm.PeerGoneException: ; nested exception is:
         weblogic.utils.NestedException: java.lang.AssertionError: Exception creating response stream]
         at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:74)
         at weblogic.jndi.internal.WLContextImpl.translateException(WLContextImpl.java:452)
         at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:408)
         at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:393)
         at javax.naming.InitialContext.lookup(Unknown Source)
         at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:170)
         ... 11 more
    Caused by: weblogic.rjvm.PeerGoneException: ; nested exception is:
         weblogic.utils.NestedException: java.lang.AssertionError: Exception creating response stream
         at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
         at weblogic.jndi.internal.ServerNamingNode_1032_WLStub.lookup(Unknown Source)
         at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:405)
         ... 14 more
    Caused by: weblogic.utils.NestedException: java.lang.AssertionError: Exception creating response stream
         at weblogic.rjvm.RJVMImpl.gotExceptionReceiving(RJVMImpl.java:957)
         at weblogic.rjvm.ConnectionManager.gotExceptionReceiving(ConnectionManager.java:1030)
         at weblogic.rjvm.MsgAbbrevJVMConnection.gotExceptionReceiving(MsgAbbrevJVMConnection.java:459)
         at weblogic.rjvm.t3.MuxableSocketT3.hasException(MuxableSocketT3.java:327)
         at weblogic.socket.SocketMuxer.deliverExceptionAndCleanup(SocketMuxer.java:784)
         at weblogic.socket.SocketMuxer.deliverHasException(SocketMuxer.java:724)
         at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:359)
         at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:29)
         at weblogic.work.ExecuteRequestAdapter.execute(ExecuteRequestAdapter.java:21)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
    Caused by: java.lang.AssertionError: Exception creating response stream
         at weblogic.rjvm.MsgAbbrevJVMConnection.readMsgAbbrevs(MsgAbbrevJVMConnection.java:238)
         at weblogic.rjvm.MsgAbbrevInputStream.init(MsgAbbrevInputStream.java:173)
         at weblogic.rjvm.MsgAbbrevJVMConnection.dispatch(MsgAbbrevJVMConnection.java:439)
         at weblogic.rjvm.t3.MuxableSocketT3.dispatch(MuxableSocketT3.java:322)
         at weblogic.socket.BaseAbstractMuxableSocket.dispatch(BaseAbstractMuxableSocket.java:298)
         at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:915)
         at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:844)
         at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:335)
         ... 4 more
    Caused by: java.lang.ClassNotFoundException: com.companyname.security.principal.CompanyNameWebLogicPrincipal
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at java.io.ObjectInputStream.resolveClass(Unknown Source)
         at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
         at java.io.ObjectInputStream.readClassDesc(Unknown Source)
         at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
         at java.io.ObjectInputStream.readObject0(Unknown Source)
         at java.io.ObjectInputStream.readObject(Unknown Source)
         at java.util.LinkedList.readObject(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at java.io.ObjectStreamClass.invokeReadObject(Unknown Source)
         at java.io.ObjectInputStream.readSerialData(Unknown Source)
         at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
         at java.io.ObjectInputStream.readObject0(Unknown Source)
         at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
         at java.io.ObjectInputStream.readSerialData(Unknown Source)
         at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
         at java.io.ObjectInputStream.readObject0(Unknown Source)
         at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
         at java.io.ObjectInputStream.defaultReadObject(Unknown Source)
         at weblogic.security.acl.internal.AuthenticatedSubject.readObject(AuthenticatedSubject.java:406)
         at sun.reflect.GeneratedMethodAccessor57.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at java.io.ObjectStreamClass.invokeReadObject(Unknown Source)
         at java.io.ObjectInputStream.readSerialData(Unknown Source)
         at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
         at java.io.ObjectInputStream.readObject0(Unknown Source)
         at java.io.ObjectInputStream.readObject(Unknown Source)
         at weblogic.rjvm.InboundMsgAbbrev.readObject(InboundMsgAbbrev.java:65)
         at weblogic.rjvm.InboundMsgAbbrev.read(InboundMsgAbbrev.java:37)
         at weblogic.rjvm.MsgAbbrevJVMConnection.readMsgAbbrevs(MsgAbbrevJVMConnection.java:227)
         ... 11 more

    I am also facing the same issue.
    i am running my web service program on tomcat. the server is weblogic 9.1. I am trying to invoke the EJBs running on the server from the tomcat.
    i am getting similar exception. anyone got a solution for this ?
    Caused by: weblogic.rjvm.PeerGoneException: ; nested exception is:weblogic.utils.NestedException: java.lang.AssertionError: Exception creating response stream at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
    thanks
    Kiranlal.

  • SharePoint Product configuration wizard cannot Register "Document conversion Launcher Server"

    Each time I run the SharePoint configuration wizard, it stop at the following step:-
    It will mentioned that it install the document conversion service, but while registering it , the wizard will stop and it will raise a timeout exception.
    Also when I tried to start the Document conversion related services from central administration, it showed that they are stopped and I cannot start them:-
    Can anyone advice about this problem ?
    Thanks

    Hi john,
    Please provide more detailed information about the error you met,  and you can check the log file to find more information about this issue. The path of the log file is : C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\LOGS.
    In addition, in Registry, Add a new key named "AcknowledgedRunningOnAppServer" of DWORD type at the below mentioned locations.
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\version\LauncherSettings
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\version\LoadBalancerSettings
    Set the value to 1.
    Restart the System.
    More inforamtion, please refer to the link:
    http://stackoverflow.com/questions/23184703/sharepoint-2013-sp1-install-error-during-product-configuration-step-5-failed-t
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • Server Preferences spins when I launch it

    Hi there,
    I have a Mac Mini server with Snow Leopard Server and I've been using it with no problems until now. Server Admin works great, remote access via VNC and ssh are just fine. However when I launch Server Preferences (whether it's from the same machine or a laptop in the same local network) it spins forever with the infamous beach ball.
    A quick grep over ssh shows servermgrd -x running fine on the background.
    More info:
    * Snow Leopard Server 10.6.6
    * system.log shows no easy to spot errors
    * Running with a static IP, DNS enabled (named running)
    * Server DNS name set as <servername>.local
    Any ideas on what could be causing this?
    Thanks in advance!
    This is what I get when I Force Quit Server Preferences, it seems to be stuck in a loop waiting for a network response:
    11 -[ODQuery resultsAllowingPartial:error:] + 119 (in OpenDirectory) [0x7fff88f70e23]
    11 _ODQueryCopyResults + 700 (in CFOpenDirectory) [0x7fff857b7b8d]
    11 dsDoAttributeValueSearchWithData + 1218 (in DirectoryService) [0x7fff883f6b40]
    11 DSTCPEndpoint::GetReplyMessage(sComData**) + 62 (in DirectoryService) [0x7fff88404bfe]
    11 DSTCPEndpoint::SyncToMessageBody(unsigned char, unsigned int*) + 68 (in DirectoryService) [0x7fff88404976]
    Carles
    Message was edited by: poldybloom

    MrHoffman wrote:
    First, allow me to confirm that you have absolutely no references to any DNS servers off of the 10.0.0.50 LAN? (Whether that's in a DNS server list, as a second DNS server entered in a list, or in a DHCP server, or anywhere here. Again, +no other DNS servers referenced+ here?)
    Let's see, in my client laptop, in System Preferences > Network > network controller > Advanced > DNS, the only DNS server is 10.0.0.50. However, under "Search Domains" there is "lan", and I cannot remove it even after authenticating.
    Does your DNS server reference only itself (and here, as the 127.0.0.1 host) and reference no other DNS servers? (This via System Preferences > Network > network controller > Advanced > DNS setting.)
    In my server, in System Preferences > Network > network controller > Advanced > DNS, all I have is 127.0.01. The "Search Domains" list is empty here.
    What do you get when you dig the client from itself, and dig the client from the server?
    Hmmm... The client I assume is in a .local domain, since there is no DNS record for it in my server and therefore it is not part of the polyglee.org domain, so I get no answer:
    castorp:~ carles$ dig castorp.local
    ; <<>> DiG 9.6.0-APPLE-P2 <<>> castorp.local
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 18523
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
    ;; QUESTION SECTION:
    ;castorp.local. IN A
    ;; AUTHORITY SECTION:
    . 589 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2011022801 1800 900 604800 86400
    ;; Query time: 5 msec
    ;; SERVER: 10.0.0.50#53(10.0.0.50)
    ;; WHEN: Tue Mar 1 00:08:56 2011
    ;; MSG SIZE rcvd: 106
    Same thing from the server:
    fyodor:~ carles$ dig castorp.local
    ; <<>> DiG 9.6.0-APPLE-P2 <<>> castorp.local
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 3486
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
    ;; QUESTION SECTION:
    ;castorp.local. IN A
    ;; AUTHORITY SECTION:
    . 518 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2011022801 1800 900 604800 86400
    ;; Query time: 0 msec
    ;; SERVER: 127.0.0.1#53(127.0.0.1)
    ;; WHEN: Tue Mar 1 00:12:16 2011
    ;; MSG SIZE rcvd: 106
    Do you think I should add a record for my laptop in the DNS server? An "A" record in the zone I assume.
    Thanks,
    Carles

  • Distributed system concept, how 2 server link up and serve a client

    here are my code...
    import java.io.*;
    import java.net.*;
    import java.awt.*;
    import javax.swing.*;
    import java.util.*;
    public class Server extends JFrame{
         private JTextArea jta=new JTextArea();
         public static void main (String[] args){
              new Server(); //launch server
         public Server(){//construct a server class
         getContentPane().setLayout (new BorderLayout());
         getContentPane().add(new JScrollPane(jta), BorderLayout.CENTER);
         setTitle("Server");
         setSize(500,300);
         setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
         setVisible(true);
         try{
         //create a server socket
              ServerSocket serverSocket=new ServerSocket(8000); //server scoket
              jta.append("Server started" +"........"+'\n');
              //listen for a connection request
              Socket socket=serverSocket.accept(); //connect client
              //create data input and output stream
         DataInputStream inputFromClient=new DataInputStream(socket.getInputStream());//input from client
         DataOutputStream outputToClient=new DataOutputStream(socket.getOutputStream());//output to client
         while(true){ // while true, server wait user input
              jta.append("Server waiting input from client" +"........"+'\n');
              Calendar calendar = Calendar.getInstance();
             int GMT = calendar.get(Calendar.HOUR_OF_DAY); //time
             long totalMilliseconds=System.currentTimeMillis();
             long totalSeconds=totalMilliseconds/1000;
             int currentSecond=(int)(totalSeconds%60); //GMT seconds
              long totalMinutes=totalSeconds/60;
              int currentMinute=(int)(totalMinutes%60);     //GMT minutes
              long totalHours=(totalMinutes/60);
              int currentHour=(int)(totalHours%24);
              int Hour=(currentHour+8)%24; // GMT HOUR
             String c=""; // c for country
              int option = inputFromClient.read();//getinput perform country selection
              if(option==1){
                   c="Africa";
              if(option==2){
                   c="Australia";
              if(option==3){
                   c="Adelaide";
              if(option==4){
                   c="Chaina";
              if(option==5){
                   c="Korea";
              if(option==6){
                   c="Chicago";
              if(option==7){
                   c="New York";
              if(option==8){
                   c="Caracas";
              if(option==9){
                   c="Rio De Janeira";
              if(option==10){
                   c="Racife";
              if(option==11){
                   c="Azores";
              if(option==12){
                   c="London";
              if(option==13){
                   c="Paris";
              if(option==14){
                   c="Cairo";
              if(option==15){
                   c="Moscow";
              if(option==16){
                   c="Baku";
              if(option==17){
                   c="Karachi";
              if(option==8){
                   c="Dhaka";
              if(option==19){
                   c="Bangkok";
              if(option==20){
                   c="Tokyo";
              jta.append("Client select: " + c +'\n');
    switch(option)//read desire destination, and perform calculation, GMT time base on LONDON
             case 1:
             GMT=currentHour+1;
             jta.append("Africa time now is " + GMT+ ":" + currentMinute + ":" + currentSecond +"\n");
             outputToClient.writeInt(GMT);     
                 break;
                 case 2:
             GMT=currentHour+8;
             outputToClient.writeInt(GMT);
                 jta.append("Australia time now is " + GMT + ":" + currentMinute + ":" + currentSecond +"\n");
             break;
             case 3:
             GMT=currentHour+9;
             outputToClient.writeInt(GMT);
             jta.append("Adelaide time now is " + GMT + ":" + currentMinute + ":" + currentSecond +"\n");
             break;
             case 4:
             GMT=currentHour+8;
             outputToClient.writeInt(GMT);
             jta.append("Chaina time now is " + GMT + ":" +currentMinute + ":" + currentSecond +"\n");
             break;
             case 5:
             GMT=currentHour+9;
             outputToClient.writeInt(GMT);
             jta.append("Korea time now is " + GMT + ":" + currentMinute + ":" + currentSecond +"\n");     
              break;
             case 6:
             GMT=currentHour-6;
             outputToClient.writeInt(GMT);
             jta.append("Chicago time now is " + GMT + ":" + currentMinute + ":" + currentSecond +"\n");        
              break;
             case 7:
              GMT=currentHour-5;
             jta.append("New York time now is " + GMT + ":" +currentMinute + ":"+currentSecond +"\n");
             outputToClient.writeInt(GMT);
              break;
             case 8:
             GMT=currentHour-4;
             outputToClient.writeInt(GMT);
             jta.append("Caracas time now is " + GMT + ":"+ currentMinute + ":"+currentSecond +"\n");
                break; 
             case 9:
             GMT=currentHour-3;
             outputToClient.writeInt(GMT);
             jta.append("Rio De Janeiro time now is " + GMT + ":" + currentMinute + ":" + currentSecond +"\n");        
              break;
             case 10:
             GMT=currentHour-2;
             outputToClient.writeInt(GMT);
             jta.append("Recife time now is " + GMT + ":"  + currentMinute + ":" + currentSecond +"\n");
              break;
             case 11:        
             GMT=currentHour-1;
             outputToClient.writeInt(GMT);
             jta.append("Azores time now is " + GMT + ":" + currentMinute + ":" + currentSecond +"\n");
                break;
             case 12:
             GMT=currentHour;
             outputToClient.writeInt(GMT);
                 jta.append("London time now is " + GMT + ":"+ currentMinute + ":" + currentSecond +"\n");
              break;
             case 13:
             GMT=currentHour+1;
             outputToClient.writeInt(GMT);
             jta.append("Paris time now is " + GMT + ":" + currentMinute + ":" + currentSecond +"\n");
              break;
             case 14:        
             GMT=currentHour+2;
             outputToClient.writeInt(GMT);
             jta.append("Cairo time now is " + GMT + ":" + currentMinute + ":" + currentSecond +"\n");        
              break; 
             case 15:       
             GMT=currentHour+3;
             outputToClient.writeInt(GMT);
             jta.append("Moscow time now is " + GMT + ":" + currentMinute + ":" + currentSecond +"\n");        
                 break;
             case 16:       
             GMT=currentHour+4;
             jta.append("Baku time now is " + GMT + ":" + currentMinute + ":" + currentSecond +"\n");
             outputToClient.writeInt(GMT);        
                 break;
             case 17:
                 GMT=(currentHour+5)%24;
             jta.append("Karachi time now is " + GMT + ":" + currentMinute + ":" + currentSecond +"\n");
             outputToClient.writeInt(GMT);
                 break;
             case 18:
             GMT=(currentHour+6)%24;
             jta.append("Dhaka time now is " + GMT + ":" + currentMinute + ":" + currentSecond +"\n");
             outputToClient.writeInt(GMT);
              break;
             case 19:
             GMT=(currentHour+8)%24;
             jta.append("Hong Kong time now is " + GMT + ":" + currentMinute + ":" + currentSecond +"\n");
              outputToClient.writeInt(GMT);
              break;
             case 20:
             GMT=(currentHour+9)%24;
             jta.append("Tokyo time now is " + GMT + ":" + currentMinute + ":" + currentSecond +"\n");
             outputToClient.writeInt(GMT);
                 break;
             }//end switch
                //export HOUR, minute,second to client side
             outputToClient.writeInt(GMT);
             outputToClient.writeInt(currentMinute);  
             outputToClient.writeInt(currentSecond);
              jta.append("Option Found "+ c +'\n');
              catch(IOException ex){
              System.err.println(ex);
      }//end constructor
    }//end server class
    //server 2
    import java.io.*;
    import java.net.*;
    import java.awt.*;
    import javax.swing.*;
    import java.util.*;
    public class Server2 extends JFrame{
         private JTextArea jta=new JTextArea();
         public static void main (String[] args){
              new Server(); //launch server
         public Server2(){//construct a server class
         getContentPane().setLayout (new BorderLayout());
         getContentPane().add(new JScrollPane(jta), BorderLayout.CENTER);
         setTitle("Server");
         setSize(500,300);
         setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
         setVisible(true);
         try{
         //create a server socket
              ServerSocket serverSocket1=new ServerSocket("127.0.0.2",8001); //server scoket
              jta.append("Server2 started" +"........"+'\n');
              //listen for a connection request
              Socket socket=serverSocket1.accept(); //connect client
         //     Socket socket1=serverSocket.accept();
              //create data input and output stream
         DataInputStream inputFromClient=new DataInputStream(socket.getInputStream());//input from client
         DataOutputStream outputToClient=new DataOutputStream(socket.getOutputStream());//output to client
         while(true){ // while true, server wait user input
              jta.append("Server waiting input from client" +"........"+'\n');
              Calendar calendar = Calendar.getInstance();
             int GMT = calendar.get(Calendar.HOUR_OF_DAY); //time
             long totalMilliseconds=System.currentTimeMillis();
             long totalSeconds=totalMilliseconds/1000;
             int currentSecond=(int)(totalSeconds%60); //GMT seconds
              long totalMinutes=totalSeconds/60;
              int currentMinute=(int)(totalMinutes%60);     //GMT minutes
              long totalHours=(totalMinutes/60);
              int currentHour=(int)(totalHours%24);
              int Hour=(currentHour+8)%24; // GMT HOUR
             String c=""; // c for country
              int option = inputFromClient.read();//getinput perform country selection
              if(option==1){
                   c="Africa";
              if(option==2){
                   c="Australia";
              if(option==3){
                   c="Adelaide";
              if(option==4){
                   c="Chaina";
              if(option==5){
                   c="Korea";
              if(option==6){
                   c="Chicago";
              if(option==7){
                   c="New York";
              if(option==8){
                   c="Caracas";
              if(option==9){
                   c="Rio De Janeira";
              if(option==10){
                   c="Racife";
              if(option==11){
                   c="Azores";
              if(option==12){
                   c="London";
              if(option==13){
                   c="Paris";
              if(option==14){
                   c="Cairo";
              if(option==15){
                   c="Moscow";
              if(option==16){
                   c="Baku";
              if(option==17){
                   c="Karachi";
              if(option==8){
                   c="Dhaka";
              if(option==19){
                   c="Bangkok";
              if(option==20){
                   c="Tokyo";
              jta.append("Client select: " + c +'\n');
    switch(option)//read desire destination, and perform calculation, GMT time base on LONDON
             case 1:
             GMT=currentHour+1;
             jta.append("Africa time now is " + GMT+ ":" + currentMinute + ":" + currentSecond +"\n");
             outputToClient.writeInt(GMT);     
                 break;
                 case 2:
             GMT=currentHour+8;
             outputToClient.writeInt(GMT);
                 jta.append("Australia time now is " + GMT + ":" + currentMinute + ":" + currentSecond +"\n");
             break;
             case 3:
             GMT=currentHour+9;
             outputToClient.writeInt(GMT);
             jta.append("Adelaide time now is " + GMT + ":" + currentMinute + ":" + currentSecond +"\n");
             break;
             case 4:
             GMT=currentHour+8;
             outputToClient.writeInt(GMT);
             jta.append("Chaina time now is " + GMT + ":" +currentMinute + ":" + currentSecond +"\n");
             break;
             case 5:
             GMT=currentHour+9;
             outputToClient.writeInt(GMT);
             jta.append("Korea time now is " + GMT + ":" + currentMinute + ":" + currentSecond +"\n");     
              break;
             case 6:
             GMT=currentHour-6;
             outputToClient.writeInt(GMT);
             jta.append("Chicago time now is " + GMT + ":" + currentMinute + ":" + currentSecond +"\n");        
              break;
             case 7:
              GMT=currentHour-5;
             jta.append("New York time now is " + GMT + ":" +currentMinute + ":"+currentSecond +"\n");
             outputToClient.writeInt(GMT);
              break;
             case 8:
             GMT=currentHour-4;
             outputToClient.writeInt(GMT);
             jta.append("Caracas time now is " + GMT + ":"+ currentMinute + ":"+currentSecond +"\n");
                break; 
             case 9:
             GMT=currentHour-3;
             outputToClient.writeInt(GMT);
             jta.append("Rio De Janeiro time now is " + GMT + ":" + currentMinute + ":" + currentSecond +"\n");        
              break;
             case 10:
             GMT=currentHour-2;
             outputToClient.writeInt(GMT);
             jta.append("Recife time now is " + GMT + ":"  + currentMinute + ":" + currentSecond +"\n");
              break;
             case 11:        
             GMT=currentHour-1;
             outputToClient.writeInt(GMT);
             jta.append("Azores time now is " + GMT + ":" + currentMinute + ":" + currentSecond +"\n");
                break;
             case 12:
             GMT=currentHour;
             outputToClient.writeInt(GMT);
                 jta.append("London time now is " + GMT + ":"+ currentMinute + ":" + currentSecond +"\n");
              break;
             case 13:
             GMT=currentHour+1;
             outputToClient.writeInt(GMT);
             jta.append("Paris time now is " + GMT + ":" + currentMinute + ":" + currentSecond +"\n");
              break;
             case 14:        
             GMT=currentHour+2;
             outputToClient.writeInt(GMT);
             jta.append("Cairo time now is " + GMT + ":" + currentMinute + ":" + currentSecond +"\n");        
              break; 
             case 15:       
             GMT=currentHour+3;
             outputToClient.writeInt(GMT);
             jta.append("Moscow time now is " + GMT + ":" + currentMinute + ":" + currentSecond +"\n");        
                 break;
             case 16:       
             GMT=currentHour+4;
             jta.append("Baku time now is " + GMT + ":" + currentMinute + ":" + currentSecond +"\n");
             outputToClient.writeInt(GMT);        
                 break;
             case 17:
                 GMT=(currentHour+5)%24;
             jta.append("Karachi time now is " + GMT + ":" + currentMinute + ":" + currentSecond +"\n");
             outputToClient.writeInt(GMT);
                 break;
             case 18:
             GMT=(currentHour+6)%24;
             jta.append("Dhaka time now is " + GMT + ":" + currentMinute + ":" + currentSecond +"\n");
             outputToClient.writeInt(GMT);
              break;
             case 19:
             GMT=(currentHour+8)%24;
             jta.append("Hong Kong time now is " + GMT + ":" + currentMinute + ":" + currentSecond +"\n");
              outputToClient.writeInt(GMT);
              break;
             case 20:
             GMT=(currentHour+9)%24;
             jta.append("Tokyo time now is " + GMT + ":" + currentMinute + ":" + currentSecond +"\n");
             outputToClient.writeInt(GMT);
                 break;
             }//end switch
                //export HOUR, minute,second to client side
             outputToClient.writeInt(GMT);
             outputToClient.writeInt(currentMinute);  
             outputToClient.writeInt(currentSecond);
              jta.append("Option Found "+ c +'\n');
              catch(IOException ex){
              System.err.println(ex);
      }//end constructor
    }//end server2 class
    //client class
    import java.io.*;
    import java.net.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.util.*;
    public class Client extends JFrame implements ActionListener{
         private JTextField jtf =new JTextField();//text feild for receiving option
         private JTextArea jta=new JTextArea();//text area display contents
         private JButton btnDownload=new JButton("Download");
         //IO stream
         private DataOutputStream toServer;
         private DataInputStream fromServer;
         public static void main(String [] args){
              new Client();        //launch client
         public Client(){//construct a client class
             //display layout
              JPanel p=new JPanel();
              p.setLayout(new GridLayout(1,3));
             p.add(new JLabel("Select file name:"));
             p.add(jtf, BorderLayout.NORTH);
             p.add (btnDownload);
              p.add (new JButton("RESUME"));
              p.add(new JButton("STOP"));
             jtf.setHorizontalAlignment(JTextField.LEFT);
             getContentPane().setLayout(new BorderLayout()); //set borderlayout
            getContentPane().add(p, BorderLayout.NORTH);
             getContentPane().add(new JScrollPane(jta), BorderLayout.CENTER);
             //     btnDownload.addActionListener(this);
             jtf.addActionListener(this); //perform action
             setTitle("Client"); //interface title
             setSize(600,300); //interface size
             setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
             setVisible(true);
             try{
              //create a client socket
              Socket socket=new Socket("localhost",8000);
        //      Socket socket1=new Socket("127.0.0.2",8001);
              jta.append("Client started.....\n" +"your locale time is " + new Date()+ '\n');
              fromServer=new DataInputStream(socket.getInputStream()); //initialize get from server
              toServer=new DataOutputStream(socket.getOutputStream()); //initialize to server
              catch(IOException ex){ //error if server timeout
                   jta.append(ex.toString()+'\n');
         public void actionPerformed(ActionEvent e){ //action perform when user hit enter
              String actionCommand=e.getActionCommand();
              if(e.getSource() instanceof JTextField){
                   try{
                        int option=Integer.parseInt(jtf.getText().trim());//convert text to integer
                        String c=""; //c for country list
                        toServer.write(option);//write selection and sent to server
                        toServer.flush(); //server refresh
                        int inputFromServer = fromServer.readInt();//initilize read data from server, integer format
              //if ...selection to determine the country user desire     
              if(option==1){
                   c="Africa";
              if(option==2){
                   c="Australia";
              if(option==3){
                   c="Adelaide";
              if(option==4){
                   c="Chaina";
              if(option==5){
                   c="Korea";
              if(option==6){
                   c="Chicago";
              if(option==7){
                   c="New York";
              if(option==8){
                   c="Caracas";
              if(option==9){
                   c="Rio De Janeira";
              if(option==10){
                   c="Racife";
              if(option==11){
                   c="Azores";
              if(option==12){
                   c="London";
              if(option==13){
                   c="Paris";
              if(option==14){
                   c="Cairo";
              if(option==15){
                   c="Moscow";
              if(option==16){
                   c="Baku";
              if(option==17){
                   c="Karachi";
              if(option==8){
                   c="Dhaka";
              if(option==19){
                   c="Bangkok";
              if(option==20){
                   c="Tokyo";
              jta.append("Selected: "+ c +'\n');     
                        int GMT = fromServer.readInt();     //hour import from server     
                      int currentMinute = fromServer.readInt();//minute import from server
                        int currentSecond = fromServer.readInt();// second from server
                        //print full time format in JtextArea
                        jta.append("Time is >>"+GMT+ ":" +currentMinute+ ":" +currentSecond+'\n');
                   catch (IOException ex){
                        System.err.println(ex);
              }// end if ..true
         }// end actiond
    }//end client class

    here i attach my similar code again, which can compile..
    problem is, how to let this server to communicate with each other, if i duplicate my server code. Which mean 2 server.
    import java.io.*;
    import java.net.*;
    import java.awt.*;
    import javax.swing.*;
    import java.util.*;
    public class Server extends JFrame{
         private JTextArea jta=new JTextArea();
         public static void main (String[] args){
              new Server(); //launch server
         public Server()
         {//construct a server class
         getContentPane().setLayout (new BorderLayout());
         getContentPane().add(new JScrollPane(jta), BorderLayout.CENTER);
         setTitle("Server");
         setSize(500,300);
         setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
         setVisible(true);
         try{
         //create a server socket
              ServerSocket serverSocket=new ServerSocket(8000); //server scoket
              jta.append("Server started" +"........"+'\n');
              //listen for a connection request
              Socket socket=serverSocket.accept(); //connect client
         DataInputStream inputFromClient=new DataInputStream(socket.getInputStream());//input from client
         DataOutputStream outputToClient=new DataOutputStream(socket.getOutputStream());//output to client
         while(true){ // while true, server wait user input
              jta.append("Server waiting input from client" +"........"+'\n');
                         jta.append("Option Found "+ '\n');     
              catch(IOException ex){
              System.err.println(ex);
    }

  • Upgrading to Mountain Lion server and all services breaks down...

    Hi!
    I have, after endless hours of scanning logs and .plist and other files' content and permission settings found why Mountain Lion Server.app in some cases doesn't seem to be able to take control over all service, stating it can't read or write its own setting files etc.
    As a Swede I of course run a system set in the Swedish language. Mountain Lion can't upgrade a Swedish system, only fore languages are accepted !!!
    See Migration Logs!
    //Excerpt from the Mail Migration log:
    Begin Mail Migration: Thu Aug  2 19:34:24 2012
    purge: 0
    sourceRoot: /Library/Server/Previous
    sourceType: System
    sourceVersion: 10.7.4
    targetRoot: /
    language: sv
    Did not supply a valid language for the --language parameter, needs to be one of [en | fr | de | ja]
    As you can see, it can only upgrade in English, French, German and Japanese system language. With no inital warnings the system crashes and causes a true mess half the way through its installation when you start Server.app.
    Solution:
    Throw Server.app in the trash or move it outside the Application folder, to force the computer to realized "its not a server". It can take half a minute or so for the system to realize it is no longer a server. You will see a sign.
    Change the language setting to English in your system preferences and restart your computer. Move back Server.app from the trash (or where you put it) and start Server.app, thereby initiating a new Servers installation. I was happy to find that all mail accounts etc was found again. I thought for several hours they where lost.
    The various sites hosted by the server did however not appear in their correct new location (when I tryed this). I had to manually move them from the "Previous" folder in /Library/Server/Previous/Library/Server/Web/Data/Sites/   to    /Library/Server/Web/Data/Sites/
    I hope this helps anyone out there....
    Cheers!
    Stefan

    Please explain.... when are you stoped from upgrading?
    I haven't actually had problems with the actual OS upgrade it is when you launch Server.app the first time everything goes to f-n h....
    Server.app should reconfigure and move around a lot of files and it does, but not succeeding doing it correctly. Many services can't read their config files and have them in two places. I trying to figure out which ones are being used. Somethime both locations are used but only parts of the settings in the files !?!?
    I am soon giving up...

  • Open Directory server on two Private IP addresses - acting slow

    We have an OS X Open Directory server that has two non-routable IP addresses.
    Primary - 10.0.0.x (LAN) with 10.0.0.x gateway
    Secondary - 172.16.0.x (SAN) with no gateway
    When it is plugged in to both networks, Server Admin responds very slowly. If the server is just on the primary interface, Server Admin responds normally.
    We also have a replica that is on the two private networks.
    Primary - 10.0.0.x (LAN) with 10.0.0.x gateway
    Secondary - 172.16.0.x (SAN) with no gateway
    When we launch Server Admin on the replica, Server Admin says there's no server found at this address, even when it is looking for server.local, as opposed to server.domain.com.
    Again, if you put this server on the primary 10. network, it works fine.
    What's going on?

    For anyone else interested, I eventually decided that a fully-qualified domain name seems to be necessary for some services, and that OS X Server doesn't seem to know exactly when that is the cause of problems, and the documentation doesn't really specify exactly what it is necessary for. So I had my organization set up a FQDN for the server, even though it's only meant to be used internally, and that seems to fix things.
    Greg

  • OS X Lion Server hangs on install ("authenticating")

    I'm trying to update my headless/keyboardless/mouseless Mac Mini Server (mid-2010) running OS X 10.6.8 Snow Leopard Server. I've been able to download Server.app from the App Store without problem, but when I run it, it asks for my admin password and hangs at the "Configuring Services" dialog with an "Authenticating" message in the bottom left corner. It appears to be hanging at this authentication bit.
    WHAT I DID
    Installed Lion.
    Downloaded Lion Server from App Store.
    Launched Server.app.
    WHAT I EXPECTED
    Lion Server to install.
    WHAT HAPPENED
    Hangs at "Configuring Services" dialog with an "Authenticating" message in bottom left corner.
    Eventually times out with a "The request timed out" error message.
    Help?

    I had the same ""The request timed out" error message", with Mac mini server 2010 version.
    I'm going to crazy for this strange bug.
    It still can login OS succesfully, but the server app seemed something wrong on my system.
    (Now, I can't login the Server even the correct password is entried)
    You can see the Server app is not "INSTALLED" situation from the following photo.
    but when I click "INSTALL" server app,
    It didn't have any help if I choose Software Update frim Apple menu.
    So I tried to delete the server app, the click "INSTALL" again,
    such texts shown,
    Since both Lion & Lion Server already purchased on 19 July,
    I just click "Buy Both",  I remembered it seemed both apps begin re-download,
    but the Server app still not work, can't login anymore(my password unrecognized),
    still "not INSTALLED" on Mac app store Purchase record,
    Then I got another receipt from Apple, the purchase became double-counted.
    After reporting the problem to Apple, refund was done.
    But My Server.app was still in a very strange situation.....
    I only tried re-install server.app but without whole system re-install in the above case,
    maybe I will try to click "Buy Both" again,
    try to Re-install the whole system later to see if the bug disappears.

  • Mavericks OS X Server won't install

    Server 3.0.2 stalls when Preparing services.  I'm running 10.9.1 on a Mac Mini.  Anyone else experincing this any idea how to get the install to finish?

    Is OS X Server setup on your MBP as an actual Server running the Services or are you just using it so you can remotely manage another Mac running OS X Server services?
    VPN Update for Mavericks Server
    Note: the update will only install if you have already launched Server app and used it to set up services.

  • What documentation do I need to set up a second file server?

    I have a 10.4 server that used to be my OD master...  but I'm setting up a new Mac Pro to be the master (running 10.6) but would like the old 10.4 server to handle some of the network software.  I don't mind doing a bit of reading to set this up, but I couldn't find any documentation to help me.  The File Server Administration PDF doesn't talk about a second server for AFP or how to get the second server to look up user information on a different server running as the OD Master...
    Thanks in advance for any help or direction!  (either would be great!)
    Kevin

    Hi
    Launch Directory Access (/Applications/Utilities) on your 10.4 Server, click on the LDAPv3 Plug-in and create a New Entry. Add the fully qualified domain name of your 10.6 OD Master. There's no need to provide authentication unless you're disallowing anonymous binding on your 10.6 OD Master?
    Assuming everything is as it should be regarding internal DNS Services and that the 10.4 Server is referencing the correct DNS Server, the 10.4 Server should now be reading from the OD Master's LDAP Database - essentially your Users and Groups. Launch WorkGroup Manager on the 10.4 Server and you should see those Users and Groups.
    All of the above absolutely depends on properly working and configured DNS Services. You may want to add an A Record for the 10.4 Server in whatever you've designated as your DNS Server for your private network. Presumably this will be the 10.6 Server? For SSO (Kerberos) Authentication to work properly - assuming this is what you want? All Servers and Clients must be referencing the same NTP Server.
    Assuming all has gone well with the 'join', launch Server Admin and click on the Open Directory Service. This should report its role as "Connected to a Directory Service". Now start the AFP Service. Use WorkGroup Manager to define shares and access. I would enable Access Control Lists for volumes you wish to designate shares on. Once enabled restart the 10.4 Server. Use the ACL Permissions Model rather than the POSIX one. Make sure you propagate permissions afterwards. Don't share Volumes. Share folders instead.
    You can have as many Servers as you like presenting AFP Shares to as many clients as you like. There is no restriction. Basically it's just another server offering shares. The documentation you've read does not mention multiple servers probably because - no offence intended - it's kind of obvious and fairly straightforward.
    HTH?
    Tony

  • Server Monitor can't see server

    Machine and OS specs:
    2 x 2GHz Dual Core Intel Xserve using 1 x ethernet port
    OS X 10.4.10
    I have just installed a new Xserve set up with mirrored RAID drives which is working perfecty apart from the Server Monitor will not connect just giving the message 'waiting for response'. I have tried all the various admin and root passwords and even tried to connect from my older G4 Xserve with the LOM password, but get the same result. All other administration software works fine.
    I have searched various forums and advice sites, but the suggestions I've found have not worked. I read that the com.apple.hwmond.plist can be edited to <false/> from <default/>, but when I open the file in a text editor I get this:
    <?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>com.apple.hwmond</string>
    <key>OnDemand</key>
    <false/>
    <key>Program</key>
    <string>/usr/sbin/hwmond</string>
    <key>ProgramArguments</key>
    <array>
    <string>hwmond</string>
    </array>
    <key>ServiceIPC</key>
    <false/>
    </dict>
    </plist>
    - already set to <false/>!
    When I try to connect to the server via it's Terminal by typing ssh -l adminuser (my IP address) I get the message: 'The authenticity of host '(my IP address) (my IP address) can't be established'. This leads me to think something else is up. I can ping it OK.
    I have tried pretty much everything I can think of including manually setting IP addresses etc, but I would really appreciate any help or advice with this one.
    Thanks.
    G3 • G4 • G5 • Intel - You name it!   Mac OS X (10.4.10)  
    G3 • G4 • G5 • Intel - You name it!   Mac OS X (10.4.10)  
    G3 • G4 • G5 • Intel - You name it!   Mac OS X (10.4.10)  

    Hi
    On the XServe launch Server Monitor, select Add Server and in the IP Address field key in 127.0.0.1 or localhost. In the Name and Password fields key in the default System Administrator account details. Click on Save password in keychain and select a suitable Update every settiing. If you launch WGM you will see the System Administrator account already listed in the local NetInfo node (UID 501). Use the short name as listed in WGM.
    Although I have not had the chance to do this yet, but enabling Lights Out Management (LOM) opens port 623 which Server Monitor can use. This may allow for remotely using Server Monitor to monitor the XServe.
    Hope this helps – Tony

  • Single Sign-On for OS X 10.8 Server/AD

    Hi All -
    I know that in OS 10.7 Server it was possible to bind my Mac Mini running Lion Server to an AD Domain Controller, set up Open Directory and then Kerberize the Open Directory Master in order to give Mac clients single sign-on access to resources normally managed by AD. Without the Server Admin Tools, it appears this functionality is non-existent in Mountain Lion server? Is this the case, and if not, how would I go about doing this? I am somewhat new to the Mac Server Administration world, thanks in advance for your help.

    Yes it is still possible.  And the process and tools are just a bit different.  My process is:
    1:  Make sure your Mac and your AD controller agree on time.  Either set both to an common external time server or point your Mac at the AD controller if you are running NTP services on it.
    2:  Make sure DNS is correct all around.  Your Mac should have an A and PTR record and be configured with a fixed IP address.  Running sudo changeip -checkhostname should return good results.  You must complete a first run of Server.app to run the command as shown about or you will need to path to inside the Server.app applications bundle with sudo /Applications/Server.app/Contents/ServerRoot/usr/sbin/changeip -checkhostname  A reboot seems to be required to allow the updated classpath.
    3:  Launch Server.app and choose Directory Utility from the Tools menu.
    4:  Bind the server to AD much like you would a client.  However, since no one is logging in directly to this machine, settings like Mobile account and UNC path can be disabled.
    5:  Once bound to the domain, disable machine record password reset (sudo dsconfigad -passinterval 0)
    6:  Then kerberize your services with sudo dsconfigad --enablesso
    That will get your Mac Server ready to participate in AD for compatible services.  I will always try to get the AD admins to create the needed groups for me.  And now with the deprecation of MCX and the promotion of Profiles, I see less of a need for OD groups.  Your experience may be different.  If you still need OD. Use Server.app to enable OD and then follow the wizard to create a new OD master.  This will allow you to manage proxy groups containing AD users and groups.

Maybe you are looking for

  • Design choice between ArrayList and LinkedList

    Can someone clarify me which is better suited (efficient) for use? It appears to me that both can be used very much interchangeably at least from functionality point of view. :(

  • XML Syntax not translated correctly by BI Publisher.

    We have issues when we are calling a web service that returns a xml tag with predefined formatting. Such as <b>text</b> within the xml tag. When we use microsoft word (bi publisher addon) to translate the xml into a pdf document, it ignores this form

  • Flash to Illustrator - colors change!

    Flash CS3: I export an image in Flash as Illustrator file (6 or 88). When I open such an AI file in Illustrator CS3, it keeps the shapes and layers from Flash, but turns out to have lost the brillant RGB colors and shows very "greyish" CMYK colors! I

  • [solved-ish] banshee problem with daps

    I'm having a problem with Banshee. I have an Ipod shuffle and a cowon 7. Both devices are detected and mounted by gnome just fine, but banshee doesn't see them. I get the following output from banshee: Debug: [10/14/2007 12:53:34 PM] (Testing device

  • Convert txt file to pdf using Acrobat Distiller

    Hi, We purchase years ago Distiller 8.1.0. Now, I try to convert txt file to pdf files, but I always get an error. Please Help, Hezi