Working with the timesten daemon and server, Uninstalling timesten – Oracle Audio Technologies B31679-01 User Manual

Page 73

Advertising
background image

TimesTen Installation

65

• If there are other instances of the same patch release of TimesTen

installed on the same machine, prompts you to provide a unique port
to be used by the TimesTen daemon.

• If the TimesTen Server is being installed, prompts you to configure

the Server: server name, port number and logging options.

• Prompts you to install the TimesTen documentation.

The daemon writes a timestend.pid file into the directory the
daemon was started from:

/var/TimesTen/

TTinstance

/

if installed

by the user

root

or

install_dir/info

if installed by a non-root user.

This file contains the daemon’s process ID. When the script to stop the
daemon is run, this ID is used to determine the process to terminate.
When the process terminates, the

timestend

.pid

file is removed.

Working with the TimesTen daemon and Server

The TimesTen main daemon (

timestend

) starts automatically when the

operating system is booted and operates continually in the background.
Application developers do not interact with

timestend

directly; no

application code runs in the daemon and application developers do not,
in general, have to be concerned with it. Application programs that use
TimesTen data stores communicate with the daemon transparently by
using TimesTen internal routines.

There are situations, however, when you may have to start and stop the
daemon manually, using the TimesTen main daemon startup script. This
section explains how to start and stop the daemon. If you have installed
the TimesTen Server, it starts automatically when the TimesTen daemon
is started and stops automatically when the TimesTen daemon is
stopped.

Note: You must have root privileges or be the

TimesTen instance

administrator

to interact with the TimesTen daemon.

To stop the daemon manually, use the utility command:

ttDaemonAdmin -stop

To start the daemon manually, use the utility command:

ttDaemonAdmin -start

Uninstalling TimesTen

To uninstall all TimesTen components, follow these steps:

Advertising