Page 1 of 1

Trouble running server

Posted: 29 Mar 2015, 16:08
by toplomj3r
Hi guys,

I've been handed ManaWorld server to install db,some custom scripts and few other things so I stopped manaworld .
After I finished with my stuff I tried to run ./run-all script to start server again and I got an error .
I havent modified any of server config files or deleted anything.

Code: Select all

 % ./run-all
./run-all: line 6: tmwa-login: command not found
./run-all: line 7: tmwa-char: command not found
./run-all: line 8: tmwa-map: command not found
this is how run-all script looks like

Code: Select all

 % cat ./run-all
#!/bin/bash
SELF=$(realpath $(which "$0"))
cd "$(dirname "$SELF")"

trap 'kill %1 %2 %3' SIGHUP SIGINT SIGQUIT SIGABRT SIGTERM
( cd login && tmwa-login ) &
( cd world && tmwa-char ) &
( cd world/map && tmwa-map ) &

wait

I haven't installed server by myself so I don't really know what was done properly and what was not been done but the thing is I need to make it running.

I really don't know what could I do to make that happen so if anyone knows what could I do to fix this problem (or at least where to start)
I would be very gratefull to share it with me.

:(

Re: Trouble running server

Posted: 29 Mar 2015, 16:09
by wushin
If the person that installed it did it correctly it should be in their ~/bin/ local only to that user.

i.e. /home/user/bin/tmwa-login

which needs to be added to your path if you are a different user on the server.

Re: Trouble running server

Posted: 29 Mar 2015, 16:21
by gumi
make sure to add --user when you do ./configure and do not do make or make install with sudo

Re: Trouble running server

Posted: 29 Mar 2015, 16:22
by toplomj3r
Yeah, I've found it (tmwa-login).

It's under root/bin/.
And when I try to run it it says:

Code: Select all

Unable to open file: conf/tmwa-login.conf
***WARNING: 'To GM become' password is void (gm_pass).
            We highly recommend that you set one password.
LAN test of LAN IP of the char-server: LAN test (result): LAN source.
read_gm_account: GM accounts file [save/gm_account.txt] not found.
                 Actually, there is no GM accounts on the server.
mmo_auth_init: Accounts file [save/account.txt] not found.
The login-server is ready (Server is listening on the port 6900).

Fatal error during startup; exiting
I don't have permission to enter root directory so it's kinda black box to me but I've found gm file(gm_account.txt) in another location which is not under root directory so I'm guessing they are not linked properly.

God knows what was done here.

:?

Re: Trouble running server

Posted: 29 Mar 2015, 16:29
by toplomj3r
meko wrote:make sure to add --user when you do ./configure and do not do make or make install with sudo
That was done already.The server was up and running, so I guess that part was done and working but something is wrong.

I'm not in position to run fresh installation so I'm just gonna try to make this thing work somehow.

Re: Trouble running server

Posted: 29 Mar 2015, 16:30
by gumi
toplomj3r wrote:
meko wrote:make sure to add --user when you do ./configure and do not do make or make install with sudo
That was done already.The server was up and running, so I guess that part was done and working but something is wrong.

I'm not in position to run fresh installation so I'm just gonna try to make this thing work somehow.
no, this obviously wasn't done if it was installed under root

Re: Trouble running server

Posted: 29 Mar 2015, 16:40
by toplomj3r
meko wrote: no, this obviously wasn't done if it was installed under root
Ok, then I will report that so it colud be fixed.

Tnx for your help.