About
If you have installed the TimesTen Server, the daemon starts automatically when the TimesTen daemon is started otherwise it can be started and stopped using the ttDaemonAdmin utility
The daemon writes a timestend.pid file into the directory from which the daemon was started. By default, this is install_dir/info. This file contains the daemon's process ID. When you stop the daemon, this ID is used to determine the process to terminate. When the process terminates, the timestend.pid file is removed.
Articles Related
How to
Start
To start the daemon manually, use the utility command:
% ttDaemonAdmin -start
If a PID file exist, you can use the “force” option to start it:
% ttDaemonAdmin -start -force
Stop
The TimesTen main daemon process manages all databases under the same TimesTen installation, be sure to disconnect from all databases before running the above command.
If the main daemon process is stopped while there are active agent processes, connections and transactions, the database is invalidated and will require a recovery procedure upon restart.
To stop the daemon manually, use the utility command:
% ttdaemonadmin -stop -force
where:
- the option “-stop” indicates to kill the process indicated by the PID file even if ttDaemonAdmin cannot communicate with the daemon.
Example
[oracle@Exalytics-01 bin]$ ./ttDaemonAdmin -stop
TimesTen Daemon stopped.
[oracle@Exalytics-01 bin]$ ./ttStatus
ttStatus: Could not connect to the TimesTen daemon.
If the TimesTen daemon is not running, please start it
by running "ttDaemonAdmin -start".
[oracle@Exalytics-01 bin]$ ./ttDaemonAdmin -start
TimesTen Daemon startup OK.