Starting EAServer, SQL Anywhere, and the Management Console

This section describes how to start EAServer, the SQL Anywhere database, and the Management Console.

StepsStarting the server

  1. Change to the EAServer bin directory, and run start-server; for example:

    cd /work/Sybase/EAServer/bin
    start-server.sh
    

    The server starts and runs as a foreground process in the current console window. To start the server in a separate window, use the -xterm option; for example:

    cd /work/Sybase/EAServer/bin
    start-server.sh -xterm
    

    The server starts in a new X terminal window. To use this option, you must have installed and configured X-Windows. In other words, the xterm command must successfully launch a terminal window in the shell where you start the server.

There are other ways to start the server. For details, see “Starting the server” in Chapter 3, “Creating and Configuring Servers,” in the EAServer System Administration Guide.

With EAServer running, you can start the Management Console to configure new servers, packages, components, and so on.

StepsStarting the Management Console

The Management Console allows you to configure servers, packages, and components. To start the Management Console:

  1. With EAServer running, launch a Web browser and enter the URL of the Sybase Management Console Login (http://hostname:port/console, where hostname is the host on which EAServer resides and port is the HTTP port used to receive client connections). Enter admin as the user name, and the password that you established for this user during the installation, then click Login. You can reset this password using the set-admin-password command, which is located in the bin subdirectory of your EAServer installation.

  2. Select any of the installed plug-ins to access EAServer resources.

NoteWhen you install EAServer, the default host name for all listeners is set to the name of the host machine and the default IIOP port number to 2000. After connecting to EAServer, you can use the Web Console to edit the listener properties and change the default host name and port numbers. Some of the sample programs use “localhost” as the host name when connecting to EAServer. See “Configuring listeners” in Chapter 3, “Creating and Configuring Servers,” in the EAServer System Administration Guide for more information.

StepsStarting SQL Anywhere

After you have started EAServer, you must start SQL Anywhere before you can run any sample application.

  1. Make sure the xterm utility runs in your environment.

  2. To start the SQL Anywhere database server, go to the bin subdirectory of your EAServer installation and run:

    ./asa-start.sh