Starting Athena

Athena TXT?

If you are using Athena TXT, choose the executables without _sql.

Windows:

wxp-runserver:
Start all servers by clicking runserver_sql.bat

Start individual server by clicking login-server_sql.exe, char-server_sql.exe or map-server_sql.exe.

The order of starting those servers is immaterial. However, some believe that if should be started in certain order. The order as listed is the default order used by runserver_sql.bat.


DOS:

dos-pane: DOS
Launch DOS (Start > Run > cmd > Enter)


dos-cd2athena: Switching to Athena directory
Switch to Athena directory:
cd \
cd athena



dos-runserv: Starting Athena login server
Start all Athena servers:
runserver_sql
Note: You can omit the .exe file extension.



dos-logsrv: Starting Athena login server
Launch servers individually
login server:
login-server_sql
Note: You can omit the .exe file extension.

Repeat for char and map server:
char-server_sql

map-server_sql


Debug?

At times, one of the servers may quit and close the DOS windows on exit, leaving no clue whatsoever.

dos-logsrv-pipe: The DOS pipe command
To obtain a startup log:
You can use any file name in place of login-log.txt.
login-server_sql > login-log.txt

Commands for char and map server:
char-server_sql > char-log.txt

map-server_sql > map-log.txt

where [servername]-log.txt is the name of log (debug) file.


dos-logsrv-pipefile: The DOS pipe command
The log file is located in C:\Athena.

To read a log file, open it with Notepad.






Q&A

Can I run Athena as a service?

Athena does not run as a Windows service. You can buy a third party application which will let you do that.

How do start Athena with Windows?

You can create a shortcut of runserver_sql.bat and put it in the Startup folder of the All User Start Menu. However this method will only work when there is no need for log in password i.e. auto-login.

How do I create Windows auto-login?

Delete all accounts, leaving only one administrator user and remove its password. Server 2K3 (outside the scope) users should use security policy setting to do that.

Can I use an Athena server manager?

You should not, at least not without thorough testing. I think that Athena server managers are not mature enough to do a satisfactory job. However, those managers are good helpers to new hosts.