Jump to content
TrinityCore
Sign in to follow this  
Billy

Starting up auth and world servers under debian

Recommended Posts

Is there a particular way to start world and auth servers for 3.3.5a on Linux so that you can execute commands like adduser in the command line or something?

On winblows 7 there was a dos box that started up when starting up the servers, and I could add users and use other commands in the worldserver's dos box.

TrinityCore rev. a10870571558 2018-09-03 22:06:51 +0200 (3.3.5 branch) (Unix, RelWithDebInfo, Static) (worldserver-daemon)

Share this post


Link to post
Share on other sites
6 hours ago, dane said:

I just open a terminal window, cd to the server directory, and enter "authserver & worldserver".

I tried that, but it comes back with:

[email protected]:~/server/bin$ authserver
bash: authserver: command not found
 

Share this post


Link to post
Share on other sites
1 hour ago, Aokromes said:

PS. start worldserver before authserver.

Same result. I can get them running when I use the Files window and navigate to the /trinity/server/bin folder and double click on them.

I'll try re-pulling from repo and go through the process once again.

*Going to play with the CMAKE switches. I used the default according to the wiki, but I also noticed -DSERVERS=1 not set.

Share this post


Link to post
Share on other sites

Well, I'm starting to think it may be something to do with debian. I rebooted and logged into the user account Trinity to redo all this with.

I then started by pulling a fresh new pull from the repo using "git clone -b 3.3.5 git://github.com/TrinityCore/TrinityCore.git"

And followed the rest of the steps 1 at a time.

I did the cmake configuration and generation, then used 'make' and when it was finished hit the return key for the 'make install' part.

Tried to run servers and still get the "bash: worldserver: command not found" error.

[email protected]:~/server/bin$ worldserver
bash: worldserver: command not found
[email protected]:~/server/bin$ dir
authserver    mmaps_generator  vmap4extractor
mapextractor  vmap4assembler   worldserver
[email protected]:~/server/bin$ 

The funny thing though, is I can still run the servers. I see them listed as running on the System Monitor, and can log in with my client straight to my character.

Share this post


Link to post
Share on other sites
29 minutes ago, Billy said:

Well, I'm starting to think it may be something to do with debian. I rebooted and logged into the user account Trinity to redo all this with.

I then started by pulling a fresh new pull from the repo using "git clone -b 3.3.5 git://github.com/TrinityCore/TrinityCore.git"

And followed the rest of the steps 1 at a time.

I did the cmake configuration and generation, then used 'make' and when it was finished hit the return key for the 'make install' part.

Tried to run servers and still get the "bash: worldserver: command not found" error.

[email protected]:~/server/bin$ worldserver
bash: worldserver: command not found
[email protected]:~/server/bin$ dir
authserver    mmaps_generator  vmap4extractor
mapextractor  vmap4assembler   worldserver
[email protected]:~/server/bin$ 

The funny thing though, is I can still run the servers. I see them listed as running on the System Monitor, and can log in with my client straight to my character.

ls -lh better than dir. also, i use debian to run trinitycore since the 1st year.

Share this post


Link to post
Share on other sites
On 9/6/2018 at 1:13 PM, Billy said:

Is there a particular way to start world and auth servers for 3.3.5a on Linux so that you can execute commands like adduser in the command line or something?

On winblows 7 there was a dos box that started up when starting up the servers, and I could add users and use other commands in the worldserver's dos box.

TrinityCore rev. a10870571558 2018-09-03 22:06:51 +0200 (3.3.5 branch) (Unix, RelWithDebInfo, Static) (worldserver-daemon)

./worldserver in the directory where the file is located in terminal, is the same as worldserver.exe in a dos box

Share this post


Link to post
Share on other sites
6 hours ago, skipperheartbeat said:

./worldserver in the directory where the file is located in terminal, is the same as worldserver.exe in a dos box

You are correct! Was just doing some duckduckgo on my problem and it has something to do with my paths, but as you stated ./authserver and ./worldserver in the bin folder worked like a champ.

Thanks for the help every one and the linux commands as well.

Close this please, Aokromes.

Share this post


Link to post
Share on other sites
On 9/7/2018 at 7:44 AM, Aokromes said:

PS. start worldserver before authserver.

Is this important? I've always done it the other way round with authserver redirected to /dev/null, but it's easy enough to change the script.

Share this post


Link to post
Share on other sites
Just now, dane said:

Is this important? I've always done it the other way round with authserver redirected to /dev/null, but it's easy enough to change the script.

on 1st install yes,

  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...