Page 1 of 1

dsconnect will not launch via terminal. Ubuntu 14.04

Posted: Mon May 05, 2014 9:39 pm
by Korietsu
Hi All,

I've built DSP in Ubuntu 14.04 LTS through Oracle VMBox.

I have the search and game running, but can't get the login server to boot. Goal right now is to just have it locally set up in my network as a VM to learn on.

Here's the error I've run into.

ffxi@ffxidsp:~/darkstar$ ./dsconnect
[Status] Memory manager initialised: log/DSP.leaks
[Info] DarkStar - Git Revision Hash: Unknown.
[05/May 21:11][Info] Console Silent Setting: 0
[05/May 21:11][Error] make_listen_bind: bind failed (socket #3, code 98)!

Zone IP is default 127.0.0.1, I've edited all the .conf's to use the correct DB. Followed the guide on the wiki/ here.

Do I need to push any firewall settings? Do I need to bring up the login on a second IP?

Here's the startup log for the other two.

Search:

ffxi@ffxidsp:~$ cd darkstar/
ffxi@ffxidsp:~/darkstar$ ./dssearch
pthread_attr_init: Success
========================================================

DSSearch-server

========================================================


ffxi@ffxidsp:~/darkstar$ ./dsgame
[Status] Memory manager initialised: log/DSP.leaks
[Info] DarkStar - Git Revision Hash: Unknown.
[Status] do_init: begin server initialization...
[21:06:10][Info] Console Silent Setting: 0 - [OK]
[21:06:10][Status] do_init: map_config is reading - [OK]
[21:06:10][Status] luautils::init:lua initializing... - [OK]
[21:06:10][Status] do_init: sqlhandle is allocating - [OK]
[21:06:10][Status] do_init: zlib is reading - [OK]
[21:06:10][Status] do_init: loading items - [OK]
[21:06:10][Status] do_init: loading spells - [OK]
[21:06:11][Status] do_init: loading zones[21:06:16][Debug] UpdateWeather Finished
- [OK]
[21:06:16][Status] do_init: server is binding with port 54230 - [OK]
[21:06:16][Status] The map-server is ready to work...

Thanks in advance for all the help!

Re: dsconnect will not launch via terminal. Ubuntu 14.04

Posted: Mon May 05, 2014 10:35 pm
by kjLotus
error 98 is "address in use", you either have dsconnect open already or something else using the port

Re: dsconnect will not launch via terminal. Ubuntu 14.04

Posted: Mon May 05, 2014 11:30 pm
by Korietsu
Right. So, I can't alias 127.0.0.1 for the server, so I should recalculate and set up for my wan IP?

Re: dsconnect will not launch via terminal. Ubuntu 14.04

Posted: Tue May 06, 2014 12:00 am
by kjLotus
Korietsu wrote:Right. So, I can't alias 127.0.0.1 for the server, so I should recalculate and set up for my wan IP?
its your port, not IP

Re: dsconnect will not launch via terminal. Ubuntu 14.04

Posted: Tue May 06, 2014 12:35 am
by Korietsu
kjLotus wrote:
Korietsu wrote:Right. So, I can't alias 127.0.0.1 for the server, so I should recalculate and set up for my wan IP?
its your port, not IP
Sorry, let me edit this.

I have the login server up, just having issues connecting via the VM.

Generally I'd just connect to the VM via IP address, but Im assuming I'll have to pull some trickery to test from my machine. I'll play around and see if I can get it to work.

More Edits:

Had to move the VM to bridge mode in order to connect.

Stuck on downloading data/ 3301 connection timed out. Good news is being able to have my account stored on the db and actually being able to connect. Guess that's the next step.

Re: dsconnect will not launch via terminal. Ubuntu 14.04

Posted: Tue May 06, 2014 1:27 am
by kjLotus
oh, not sure then for VMs, i don't really do any networking through my VMs

Re: dsconnect will not launch via terminal. Ubuntu 14.04

Posted: Tue May 06, 2014 1:41 am
by Korietsu
kjLotus wrote:oh, not sure then for VMs, i don't really do any networking through my VMs

I managed to get it to talk to the game server. Ended up changing zone IP to the new IP address generated after I put the VM in bridged mode.

Now I need to figure out why I was getting client cannot recieve packet/invalid packet after zone counter was increased :O.

I'll sleep on it for now. Thanks for the help. prodded me enough in the right direction to have a guide for Ubuntu done.

Re: dsconnect will not launch via terminal. Ubuntu 14.04

Posted: Tue May 06, 2014 1:08 pm
by Korietsu
I've completed the setup for vm.

Install VM Software of Choice and set lan to bridged mode.
Install Ubuntu 14.04
Follow the Regular and Linux guides (on wiki and this forum) to get package installs corrected.
Install/Update via git.

Update zoneIP to use VM Bridged IP address, not 127.0.0.1, commit the change.

restart login/search/game.

Create account and log in! Thanks for the help. You guys can close/lock this.