Page 1 of 1

eAthena Server - help!

Posted: 12 Jul 2011, 19:10
by rootwo_62
People can login on my server and create users but when they goto join it says :

Error
No servers available.

I changed all of the map, login, char to correspond with each other. I don't know what the problem is. Could someone help me please.

Re: eAthena Server - help!

Posted: 12 Jul 2011, 19:55
by meway
can you connect to this server yourself? It sounds like you failed to forward one or two of your ports. Just because it works for you won't necessarily mean anyone can connect to your network. If you can't connect to the network yourself than you messed up on one of the conf files. On conf files even a space in the wrong spot can cause issues.

Re: eAthena Server - help!

Posted: 13 Jul 2011, 01:08
by Jaxad0127
meway wrote:can you connect to this server yourself? It sounds like you failed to forward one or two of your ports. Just because it works for you won't necessarily mean anyone can connect to your network. If you can't connect to the network yourself than you messed up on one of the conf files. On conf files even a space in the wrong spot can cause issues.
"No servers available" means the login-server doesn't have any char-servers.
rootwo_62 wrote:People can login on my server and create users but when they goto join it says :

Error
No servers available.

I changed all of the map, login, char to correspond with each other. I don't know what the problem is. Could someone help me please.
Run each server in it's own console so we can get the output. Post the output for the login- and char-servers.

Re: eAthena Server - help!

Posted: 13 Jul 2011, 11:00
by rootwo_62
[10:55:48.72] State: CONNECT SERVER
[10:55:48.72] Network::Connecting to frostysocks.dyndns.org:6901
[10:55:48.73] Window::Window("")
[10:55:48.78] Network::Started session with 69.175.32.234:62746
[10:55:48.79] Window::~Window("")
[10:55:48.79] State: LOGIN
[10:55:48.79] Window::Window("Login")
[10:55:48.82] Received packet 0x7531 of length 10
[10:55:50.47] Window::~Window("Login")
[10:55:50.47] State: LOGIN ATTEMPT
[10:55:50.47] Username is rootwo62
[10:55:50.47] Window::Window("")
[10:55:50.52] Received packet 0x63 of length 36
[10:55:50.52] Received update host "http://updates.themanaworld.org/" from login server.
[10:55:50.52] Received packet 0x81 of length 3
[10:55:50.52] Connection problem: 1
[10:55:50.54] Window::~Window("")
[10:55:50.54] State: ERROR
[10:55:50.54] Error: No servers available.
[10:55:50.54] Window::Window("Error")

i said that they could create chars but they can't they can only create users, also the same is happening for me i think i may have missed a step.

Re: eAthena Server - help!

Posted: 13 Jul 2011, 11:48
by Freeyorp101
Please post the server output, not the client logs.


---Freeyorp

Re: eAthena Server - help!

Posted: 13 Jul 2011, 17:06
by rootwo_62
i think this is what you wanted?

server isn't starting
./eathena.sh: fork: Resource temporarily unavailable


eathena-data.log
[30309][2011-07-13 21:03:49] NOTICE: Char server is dead - restarting
[30309][2011-07-13 21:03:49] NOTICE: Map server is dead - restarting
[30309][2011-07-13 21:04:00] NOTICE: Login server is dead - restarting

Re: eAthena Server - help!

Posted: 14 Jul 2011, 00:24
by Jaxad0127
jaxad0127 wrote:Run each server in it's own console so we can get the output. Post the output for the login- and char-servers.

Re: eAthena Server - help!

Posted: 14 Jul 2011, 01:16
by Frost
rootwo_62 wrote: server isn't starting
./eathena.sh: fork: Resource temporarily unavailable
Are you running the server as root, as yourself, or as a dedicated account?

There are useful troubleshooting tips at http://wiki.themanaworld.org/index.php/ ... shooting_2

Re: eAthena Server - help!

Posted: 14 Jul 2011, 01:54
by o11c
rootwo_62 wrote:./eathena.sh: fork: Resource temporarily unavailable
This is because the eathena.sh contains the ulimit to prevent too many forks. This requires the assumption that the server is running as its own user, not as your user.
eathena.sh (and even eathena-monitor) is not used anymore, instead just run the individual servers.

If you *do* insist on running eathena-monitor, the version from the my rewrite branch is much better. Note however that the servers themselves are frequently broken, you should only use the eathena-monitor from it unless you are very daring.

It might also be helpful to know whether you are using your own content or the official content. I wouldn't recommend setting up your own server unless you are thoroughly familiar with how to develop for the official server (not just the instructions, but the reasoning behind them).

If you are running based on the official server data repositories (recommended), make sure you have a clone after the reorganization (which just got merged into the stable repositories, although it has been in -test for a few weeks), as it fixes various configuration defaults and improves tools.

If you are adding your own client content you'll need to change the submodule URL. You should have a separate checkout of the server-data for the actual running server versus the version that you use to make changes. The version actually used by the server must have the git hook to update the client-data submodule. (it is recommended that it be done also for every clone, but for testing you have to track the 'master' branch anyway, rather than the specific corresponding commit used by stable)