Stendhal server trouble shooting: Difference between revisions
Content deleted Content added
imported>Kymara make bold name and a correctoion |
imported>Hendrik Brummermann |
||
| (25 intermediate revisions by 2 users not shown) | |||
Line 1:
{{Navigation for Stendhal Top|Building & Hosting}}
==Out of memory error / Lagging / Turn overflows==
Line 20 ⟶ 22:
Caused by: java.lang.<something>Error: <name>
And ''doesn't'' say InvocationTargetError, then you have a version mismatch between what
==log4j:ERROR setFile(null,true) call failed==
Line 35 ⟶ 37:
== Can't create admin ==
Want to be an admin? Now you can! It's easy!
Now restart the server.
== Character encoding ==
On some systems, after launching marauroad you may get error like:
<pre>
ERROR [main ] AdapterFactory (68 ) - marauroa.server.db.DatabaseConnectionException: Unable to create a
connection to: jdbc:mysql://localhost/marauroa
marauroa.server.db.DatabaseConnectionException: Unable to create a connection to: jdbc:mysql://localhost/marauroa
... <skipped>
Caused by: java.sql.SQLException: Unknown initial character set index '192' received from server. Initial client character set
can be forced via the 'characterEncoding' property.
... <skipped>
</pre>
What you can do in this case: open your mysqld configuration file ( /etc/my.cnf for *nix or \my.ini for Windows) and
edit these settings:
<pre>
collation_server = <...>
character_set_server = <...>
</pre>
Change them to:
<pre>
collation_server = latin1_swedish_ci
character_set_server = latin1
</pre>
then restart mysqld.
<pre>
#/service mysqld restart (for Red Hat clones)
#/etc/rc.d/rc.mysqld restart (for Slackware)
$/sudo /etc/init.d/mysqld restart (for Debian/Ubuntu)
stop and start mysqld service (in Windows services window)
</pre>
Or you can reboot your system.
For learning more about character sets in mysql, see
http://dev.mysql.com/doc/refman/5.0/en/charset.html
== Anything else ==
| |||