This trouble shooting section relates to the web-based JACL interpreters.
| Problem | Solution |
|---|---|
| The game has started, but after each move the game just starts again from the beginning. | Check in the configuration file (/etc/cgijacl.conf by default), for the current setting for temp. This directive indicates the directory where all saved-games are placed. This directory must exist and the user cgijacl is running as, or the user the web server is running as when using fcgijacl, must have write access to this directory. |
| I receive an Internal Server Error whenever I try to access my game. | This problem can be caused by your game not having the execute bit set. It can also be caused by a variety of different bugs in your game such as infinite loops. Set the debug flag in the configuration file to help track the location of the offending line of code. |
FastCGI: can't start server
"/usr/local/fastcgi-bin/game.jacl"
(pid 2539), exec le() failed:
No such file or directory
|
This line will appear in the Apache error log if the file line of the game points to the interpreter in the wrong location. The line can be misleading as it is not the file grail.jacl that cannot be found but the interpreter binary it is attempting to run itself using. |
WebJACL server configured on TOSHIBA:8080
WebJACL:wj_listen(): Address already in use
|
This indicates that there is already a game running on port 8080. To solve this problem either kill the process belonging to the previously run game or use the -p option to specify a different port to run this game on. |