Problem with running server on Linux

hello

i managed to install the 'bliss' server on my linux box (ubuntu server 12.10 64bit) and running it with 'wine'.
installed mysql-server, perl, wine, winetricks, directx9, vcrun2008, vcrun2010, dotnet40, xinit, fluxbox...
the server side 'game client' is patched to 99113 and it seems that server is starting normally without any visible errors

Code:
------------------
wineconsole cmd
CMD Version 1.4.1
Restarter.exe
 
Using..... \Expansion\beta\arma2oaserver.exe (99113) as server executable
Bliss: Starting with params "-beta=Expansion\beta;Expansion\beta\Expansion" "-nosplash" "-cpuCount=0" "-name=Bliss" "-profile=dayz_1.chernarus" "-cfg=dayz_1.chernarus\basic.cfg" "-config=dayz_1.chernarus\config_****.cfg" "-mod=@dayz;@bliss_1.chernarus" "-world=chernarus"
------------------
Arma 2 OA Console version 1.62 : port 2302
Dedicated host created.
BattlEye Server: Initialized (v. 1.169)
Host identity created.
------------------



I opened tcp/udp 2302-2305 ports with command:

Code:
iptables -A INPUT -p udp --dport 2302 -j ACCEPT
iptables -A OUTPUT -p udp --dport 2302 -j ACCEPT
iptables -A INPUT -p tcp --dport 2302 -j ACCEPT
iptables -A OUTPUT -p tcp --dport 2302 -j ACCEPT



also did: sudo nano /etc/services
and added:

Code:
wineserver      2302/tcp
wineserver      2302/udp
wineserver      2303/tcp
wineserver      2303/udp
wineserver      2304/tcp
wineserver      2304/udp
wineserver      2305/tcp
wineserver      2305/udp



and my server appears in the servers list.

The problem is that when i'm tryig to connect i got the welcome messages from my 'conf' + BattleEye scan msgs and 'Wait for Host' black screen infinitely...


Few checks:
Code:
~$ sudo netstat -ntlup
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address          Foreign Address        State      PID/Program name
tcp        0      0 0.0.0.0:22              0.0.0.0:*              LISTEN      801/sshd
tcp        0      0 0.0.0.0:3306            0.0.0.0:*              LISTEN      950/mysqld
tcp6      0      0 :::22                  :::*                    LISTEN      801/sshd
udp        0      0 0.0.0.0:68              0.0.0.0:*                          766/dhclient
udp        0      0 0.0.0.0:2302            0.0.0.0:*                          1796/wineserver
udp        0      0 0.0.0.0:2304            0.0.0.0:*                          1796/wineserver
udp        0      0 0.0.0.0:21471          0.0.0.0:*                          766/dhclient
udp        0      0 0.0.0.0:48097          0.0.0.0:*                          1796/wineserver
udp6      0      0 :::17400                :::*                                766/dhclient

when i type this cmd i got nothing:
~$ netstat -anltp|grep :2302



I dont understand - I can see the server in the servers list and added all ports to iptables (i don't have router), but still cant connect and not sure but it seems that ports are not 'listen' (im not linux guru mildly said).
Don't no what to do, I feel lost.




From the "Common Issues" in the Readme, it says to check the "arma2oaserver.RPT" for errors.

Code:
arma2oaserver.RPT
 
=====================================================================
== Z:\home\user\servers\arma2co-99113-dayz-bliss\expansion\beta\arma2oaserver.exe
== "-beta=Expansion\beta;Expansion\beta\Expansion" "-nosplash" "-cpuCount=0" "-name=Bliss" "-profiles=dayz_1.chernarus" "-cfg=dayz_1.chernarus\basic.cfg" "-config=dayz_1.chernarus\config_*******.cfg" "-mod=@dayz;@bliss_1.chernarus" "-w$
=====================================================================
Exe timestamp: 2012/11/28 01:48:57
Current time:  2012/11/28 01:52:02
 
Version 1.62.99113
SHIFT pressed during game start. No 'GameConfig'.cfg mods will be loaded!
Item str_actions_build listed twice
Item STR_EQUIP_NAME_41 listed twice
Item STR_EQUIP_DESC_41 listed twice
Updating base class ->Default, by ca\weapons\config.bin/CfgMagazines/CA_Magazine/
Updating base class ->PistolCore, by ca\weapons\config.bin/cfgWeapons/Pistol/
Updating base class ->Default, by ca\weapons\config.bin/cfgWeapons/ItemCore/
Updating base class ->Citizen, by ca\characters2\config.bin/CfgVehicles/Citizen1/
Updating base class ->SkodaBase, by ca\wheeled\config.bin/CfgVehicles/car_sedan/
...
 
and so on
 
at the end:
Unrecognized CfgVehicles simulation  in bin\config.bin/CfgVehicles/Offroad_SPG9_Gue/
Unrecognized CfgVehicles simulation  in bin\config.bin/CfgVehicles/HMMWV_Ambulance/
Unrecognized CfgVehicles simulation  in bin\config.bin/CfgVehicles/HMMWV_Avenger/
Unrecognized CfgVehicles simulation  in bin\config.bin/CfgVehicles/USMC_Soldier/
Unrecognized CfgVehicles simulation  in bin\config.bin/CfgVehicles/MTVR/
Unrecognized CfgVehicles simulation  in bin\config.bin/CfgVehicles/Profiteer2/
Unrecognized CfgVehicles simulation  in bin\config.bin/CfgVehicles/M119/
Unrecognized CfgVehicles simulation  in bin\config.bin/CfgVehicles/DSHkM_Mini_TriPod/
Unrecognized CfgVehicles simulation  in bin\config.bin/CfgVehicles/SearchLight/
Unrecognized CfgVehicles simulation  in bin\config.bin/CfgVehicles/Igla_AA_pod_East/
Unrecognized CfgVehicles simulation  in bin\config.bin/CfgVehicles/Metis/
Unrecognized CfgVehicles simulation  in bin\config.bin/CfgVehicles/2b14_82mm/
Unrecognized CfgVehicles simulation  in bin\config.bin/CfgVehicles/M252/
Unrecognized CfgVehicles simulation  in bin\config.bin/CfgVehicles/M2HD_mini_TriPod/
Unrecognized CfgVehicles simulation  in bin\config.bin/CfgVehicles/MK19_TriPod/
Unrecognized CfgVehicles simulation  in bin\config.bin/CfgVehicles/A10/
Unrecognized CfgVehicles simulation  in bin\config.bin/CfgVehicles/C130J/
Unrecognized CfgVehicles simulation  in bin\config.bin/CfgVehicles/T34/
Unrecognized CfgVehicles simulation  in bin\config.bin/CfgVehicles/M1A1/
Unrecognized CfgVehicles simulation  in bin\config.bin/CfgVehicles/MLRS/
Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/StreetLamp/
Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/StreetLamp_BaseWeakYellow/
Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/StreetLamp_BaseMediumOrange/
Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/StreetLamp_BaseMediumPale/
Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/StreetLamp_BaseStrongPale/
Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/StreetLamp_EP1/
Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/Land_Lamp_Cable_EP1/
Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/Land_Lamp_Street1_decor_EP1/
Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/Land_Lamp_Small_EP1/
Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/Land_Lamp_Street1_EP1/
Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/Land_Lamp_Street2_EP1/
Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/Land_Lampa_Ind_EP1/
------------------------------------

For me it doesn't seems to have some serious issues.



I don't have 'hiveext.log' in my '@bliss_1.chernarus' folder.


The readme says: "right-click on HiveExt.dll in @Bliss, If you see an Unblock button, click it and hit OK".
- I'm using Linux (Ubuntu) and I don't know how to do it.

I have working mysql server and dayz database installed and I checked all values for MySQL in "dayz_1.chernarus\HiveExt.ini" and they seems to be right.




Anyone have ideas?





P.S. I've noticed that the folders "@bliss_1.chernarus\addons" and "mpmissions" are epmty. Is this normal?
 
you are missing the mor important files

1) @dayz_1.chernarus\Addons\dayz_server.pbo

2) MPMIssion\dayz_1.chernarus.pbo
 
you are missing the mor important files

1) @dayz_1.chernarus\Addons\dayz_server.pbo

2) MPMIssion\dayz_1.chernarus.pbo

I dont have these files in my depot/ folder. Very strange.
A already have copied everything from /depot to my arma2oa/ folder...
Do I have to download "dayz_server.pbo & dayz_1.chernarus.pbo" from somewhere or the files are suppose to be compiled along with everything else?


I asked "ayan4m1" and he told me:

"You're not loading the DLL"
"Install the VC++ redist in the readme"
"And you didn't copy your deploy\ folder over which is a problem yes"

i installed "vcrun2010" which i thought is the linux equivalent of "Microsoft Visual C++ 2010 SP1 Redistributable", isn't it? or i'm mistaken.
I'm not sure how to install exact same file given in the DOCS (.exe), because i use linux as I said.

I already did:
setup_perl.sh
perl build.pl --world chernarus --instance 1
perl db_migrate.pl --password ...

configured HiveExt.ini
and config_****.cfg

copied everything (from deploy) to arma2 folder + @dayz mod additionally in the same folder.

What am I missing?



Edit: I'll make an attempt to compile the server on my windows pc and then uploading it to the linux box
 
I already did what I mentioned before - compiled the "bliss" core on my 'Win' PC, then uploaded it to the linux server.
Now it works like a charm. The problem is solved one way or another.

Thanks for the reply, Zedar.
 
I already did what I mentioned before - compiled the "bliss" core on my 'Win' PC, then uploaded it to the linux server.
Now it works like a charm. The problem is solved one way or another.

Thanks for the reply, Zedar.

;)
 
Managed to get it to run on ubuntu after some fighting...

In the end i went with PlayOnLinux http://www.playonlinux.com/en
Basicly its a python wrapper & uses static compiled versions of wine.

It should regardless of distros + since it is using a static compiled version of wine.

Also allowing u to pick & choose different versions of wine, if 1 doesn't work just a matter of picking another one.

-----------------------
GUIDE THINGY
-----------------------

Started PlayOnLinux GUI + make a new prefix for Dayz & installed
Code:
directx9
vcrun2008
vcrun2010
dotnet4
steam

Used steam to download arma + arma oa, attempted to start each one. All crashed on me (don't worry)

Then i ftp'ed the expansion/beta folder from windows machine -> ftp server (basicly u patch your win box + upload the files to the server).

Next to i created some symlinks
Arma 2 Operation Arrowhead/Addons + dta --->> Arma 2/Addons + dta
server1.exe --->> Expansion/beta/arma2oaserver.exe
server2.exe --->> Expansion/beta/arma2oaserver.exe
(recommend created the serverX.exe symlinks, makes it easier to kill the server since process is named serverX.exe)


Next step i did was create some scripts for PlayOnLinux so i could launch armaserver from console etc
And not needing to use the PlayOnLinux GUI App.

Code:
#!/bin/bash
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
export WINEDLLOVERRIDES=""
POL_Wine_SelectPrefix "DayZ"
POL_Wine "C:\Games\Arma 2 Operation Arrowhead\IE10.exe" "-port=2302" "-config=C:\Games\Server\YY\config_xxxxx" "-cfg=C:\Games\Server\YY\basic.cfg" "-profiles=C:\Games\Server\YY" "-BEpath=C:\Games\Server\YY\BattlEye" "-name=Bliss" "-mod=@Taviana;@bliss_1.tavi;" -noPause -noSound -cpuCount=4 -maxMem=4096 -bandwidthAlg=2 -exThreads=7"

Call the file whatever u want i.e server1.pol

To launch the script u need to run the following

Code:
/usr/share/playonlinux/playonlinux-bash /path/to/server.pol &

Server = running :)

-----------------------
SCRIPTS FOR LAUNCHING FROM CONSOLE
-----------------------

Now since am awkward & running on headless server...

I created a script to call on to start the servers, the export DISPLAY is tell it which display for wine to use.
Since i am gonna be launchin it from a rc.local i tell it use the tightvncserver display :1

Code:
#!/bin/sh
export DISPLAY=localhost:1
/usr/share/playonlinux/playonlinux-bash /home/dayzserver/Dayz/Server/Scripts/ie10.pol &

Edited my /etc/rc.local
Code:
su <user> -c "tightvncserver -geometry 1024x768 :1"
sleep 10
su <user> -c "/home/<user>/Dayz/Server/start-server1.sh"
su <user> -c "/home/<user>/Dayz/Server/start-server2.sh"
su <user> -c "/home/<user>/Dayz/Server/start-server3.sh"

Check your distro / in regards to rc.local maybe a different file depending on setup.
Basicly the above launchs an vnc server running as <user>, waits 10 seconds & then launchs the servers.

-----------------------
DONT FORGET
-----------------------

Use SSH Tunnels for connecting to VNC + MYSQL
Don't forget to block of ports etc... etc...

-----------------------
MISC
-----------------------

Note i use a windows machine to build bliss, haven't worked out all the requirements i need for perl yet to run bliss scripts.
i.e use ssh tunnels to server to connect to MYSQL

Setup pyBEscanner to scan server logs (has linux support via Mono)
edit:- Shameless Plug :)

Next todo is create some / use some sort of heartbeat to restart servers if they crash + auto do restarts...
If anyone has some suggestions / tips, would be nice thx
 
Next todo is create some / use some sort of heartbeat to restart servers if they crash + auto do restarts...
If anyone has some suggestions / tips, would be nice thx

Do you know which wine release you are using with PlayOnLinux? I have my servers running on Ubuntu 12.10 and have had some problems with the latest BlissHive.dll build crashing the server process.

With regards to server monitoring, I've knocked up a c# / mono app to manage my server instances. It currently monitors the server processes via the Process object or Arma rcon. I can share some of the code if it's any help?
 
Currently i am using 1.5.10 release...

Fairly stable, atm i only noticed the odd crash...

But it only happens when i kill a server process, or just now when i started PlayOnLinux GUI.
But not always... atm i doing manual restarts till i get autorestarts setup...

Basicly the crash results in vncserver dieing on me & taking down all servers :(

Haven't had time to trace the problem down yet
 
I cant seem to connect, all i keep getting on the server console is an error related to read mission from bank and it spams it constantly until the player disconnects
 
Check you copied over the deploy directory correctly
Check your config files @ the bottom for the mission part & your launch -mod option = correct
 
Well so I started fresh and re-uploaded my deploy folder completely, and made sure everything was setup correctly.(Ive setup many arma servers, but never on linux before. I am very familiar with linux, however) But now I've managed to fix the spamming read from bank error, and now I can get into the lobby fine, but once i start to connect to the game, after im almost done loading in, and after the Mission Read goes by in the server console, and Game Started is about to pop up in the server console, it just crashes and the little white console window is just gone.

Any thoughts? All searches I've made points to this crash being related to HiveExt.dll in the wrong place or missing, but I've checked it multiple times, and its definitely there.
 
Linux distro / Wine / POL version ?

Did u install
directx9
vcrun2008
vcrun2010
dotnet4
steam
On Wine / POL ?

The command u are using to launch arma server ?
Wine's error info it outputs to console when it crashs ? i.e pastebin it
 
Ubuntu 12.04
Wine 1.5.10
POL version: Couldnt find it, I'm pretty sure its the latest from the site.

Installed all components you listed.

My start script is,
@echo
arma2oaserver.exe "-port=2302" "-config=dayz_1.tavi\config_xxxxxx.cfg" "-cfg=dayz_1.tavi\basic.cfg" "-profiles=dayz_1.tavi" "-world=tavi" "-name=Bliss" "-mod=@Taviana;@bliss_1.tavi"

I will pastebin the error output in just a moment

Here ya go: http://pastebin.com/ZD6K3qKP
Call from 0x7b83bed2 to unimplemented function msvcp100.dll
Does this have to do with vcrun 08 or 10 being incorrectly installed?
 
Looks like it...

Not exactly sure how u are running the server, i am assuming u are using the command window in POL & launchin a bat file ?
Also u are launching Expansion/beta/arma2oaserver.exe & not arma2oaserver.exe ?

-------------
-------------

Besides that u could look @ my post...
Its the same distro + POL + same POL wine version ( i am running 101245 beta patch atm)

Edit:-
Might want to XXX out your config file name + change it when u are up and running to something else.
Just to be on safe side
 
Yes, i am using the command line window to launch my Bat file, also i copied my arma20aserver.exe file to the Main OA directory that way i didn't have to launch from Expansion/beta executable. Note that I have tried running from Expansion/beta and from main OA directory with same results.
 
I have no idea what is wrong, im literally to my last point with this damned server. I've spent like 5 days working on this. Ugh, im so friggin irritated. Reglardless this time wine reported a different error to me after re-installing both vcruns.

err:seh:raise_exception Unhandled exception code c0000094 flags 0 addr 0x9f0d9e

any idea?
 
Sorry got no idea...

U could always make a new wine prefix with POL
Test out a newer wine version i.e 1.5.22 & install all the requirements again...
Symlink / move the arma files over & test it again...

Only other thing i forgot to mention, was i am using the x86 version of 1.5.10.
Anyway goodluck
 
Back
Top