mleb-49 10 Posted August 23, 2014 Hi, I have some troubles with the installation and the configuration of the server. It runs on an Ubuntu Server 14.04 amd64. My Arma 2 CO version is 1.62. I download the arma2oaserver v1.62. When I launch : "./server -cfg=arma2oa.cfg -config=server.cfg -name=server -port=2302 -mod=expansion" I have an error : "Data file too short '' /opt/arma2server/pmc\addons\modules_pmc.pbo'. Expected -1509106028 B, got 77762 B" I have compared checksums between the local modules_pmc.pbo and the file on the server. And they are the same. And I have found some links about my problem on Google but it's for steam version and I have a non-steam version :( If it helps I post my arma2oa.cfg, server.cfg and arma2oaserver file : arma2oa.cfg : // These options are created by default language="French"; adapter=-1; 3D_Performance=1.000000; Resolution_W=800; Resolution_H=600; Resolution_Bpp=32; // These options are important for performance tuning MinBandwidth = 131072; // Bandwidth the server is guaranteed to have (in bps). This value helps server to estimate bandwidth available. Increasing it to too optimistic values can increase lag and CPU load, as too many messages will be sent but discarded. Default: 131072 MaxBandwidth = 10000000000; // Bandwidth the server is guaranteed to never have. This value helps the server to estimate bandwidth available. MaxMsgSend = 128; // Maximum number of messages that can be sent in one simulation cycle. Increasing this value can decrease lag on high upload bandwidth servers. Default: 128 MaxSizeGuaranteed = 512; // Maximum size of guaranteed packet in bytes (without headers). Small messages are packed to larger frames. Guaranteed messages are used for non-repetitive events like shooting. Default: 512 MaxSizeNonguaranteed = 256; // Maximum size of non-guaranteed packet in bytes (without headers). Non-guaranteed messages are used for repetitive updates like soldier or vehicle position. Increasing this value may improve bandwidth requirement, but it may increase lag. Default: 256 MinErrorToSend = 0.001; // Minimal error to send updates across network. Using a smaller value can make units observed by binoculars or sniper rifle to move smoother. Default: 0.001 MinErrorToSendNear = 0.01; // Minimal error to send updates across network for near units. Using larger value can reduce traffic sent for near units. Used to control client to server traffic as well. Default: 0.01 MaxCustomFileSize = 0; // (bytes) Users with custom face or custom sound larger than this size are kicked when trying to connect. server.cfg : hostname="Serveur"; password="***"; passwordAdmin="****"; logFile="server.log"; motd[]= { "", "Hello Word !", "" }; motdInterval=2; checkfiles[]={}; maxPlayers=10; kickDuplicate=1; verifySignatures=2; equalModRequired=0; voteMissionPlayers=1; voteThreshold=0.33000001; disableVoN=1; vonCodecQuality=0; persistent=1; timeStampFormat="short"; BattlEye=1; allowedLoadFileExtensions[]= { "hpp", "sqs", "sqf", "fsm", "cpp", "paa", "txt", "xml", "inc", "ext", "sqm", "ods", "fxy", "lip", "csv", "kb", "bik", "bikb", "html", "htm", "biedi" }; allowedPreprocessFileExtensions[]= { "hpp", "sqs", "sqf", "fsm", "cpp", "paa", "txt", "xml", "inc", "ext", "sqm", "ods", "fxy", "lip", "csv", "kb", "bik", "bikb", "html", "htm", "biedi" }; allowedHTMLLoadExtensions[]= { "htm", "html" }; onUserConnected=""; onUserDisconnected=""; doubleIdDetected=""; onUnsignedData="kick (_this select 0)"; onHackedData="ban (_this select 0)"; onDifferentData=""; class Missions { }; Windowed=0; arma2oaserver file : #!/bin/bash # # armaserver: ArmA 2 Linux Dedicated Server Control Script # (c) 2010 BIStudio # ArmA 2 binary version must be 1.04 or later # #======================================================================= #======== CONFIGURATION PARAMETERS ======== #======== MUST BE EDITED MANUALLY TO FIT YOUR SYSTEM PARAMETERS ======== #======================================================================= ARMA_DIR=/opt/arma2server CONFIG=server.cfg PORT=2302 PIDFILE=${ARMA_DIR}/${PORT}.pid RUNFILE=${ARMA_DIR}/${PORT}.run LOGFILE=${ARMA_DIR}/log.${PORT}.txt SERVER=${ARMA_DIR}/server OTHERPARAMS=-cpucount=2 #======================================================================= ulimit -c 1000000 case "$1" in start) if [ -f ${RUNFILE} ]; then $0 stop fi echo "Starting ArmA 2 server..." # file to mark we want server running... echo "go" >${RUNFILE} # launch the background watchdog process to run the server nohup </dev/null >/dev/null $0 watchdog & ;; stop) echo "Stopping ArmA 2 server..." if [ -f ${RUNFILE} ]; then # ask watcher process to exit by deleting its runfile... rm -f ${RUNFILE} fi # and terminate ArmA 2 server process if [ -f ${PIDFILE} ]; then kill -TERM $(< ${PIDFILE}) if [ -f ${PIDFILE} ]; then rm -f ${PIDFILE} fi fi ;; status) if [ -f ${RUNFILE} ]; then echo "Server should be running..." else echo "Server should not be running..." fi if [ -f ${PIDFILE} ]; then PID=$(< ${PIDFILE}) echo "PID file exists (PID=${PID})..." if [ -f /proc/${PID}/cmdline ]; then echo "Server process seems to be running..." fi fi ;; check) echo -n "ArmA 2 directory: ${ARMA_DIR} " if [ -d ${ARMA_DIR} ]; then echo "OK" else echo "MISSING!" fi echo -n "Server executable: ${SERVER} " if [ -x ${SERVER} ]; then echo "OK" else echo "ERROR!" fi echo "Port number: ${PORT}" echo -n "Config file: ${CONFIG} " if [ -f ${CONFIG} ]; then echo "OK" else echo "MISSING!" fi echo "PID file: ${PIDFILE}" echo "RUN file: ${RUNFILE}" ;; restart) $0 stop $0 start ;; watchdog) # this is a background watchdog process. Do not start directly while [ -f ${RUNFILE} ]; do # launch the server... cd ${ARMA_DIR} echo >>${LOGFILE} "WATCHDOG ($$): [$(date)] Starting server (port ${PORT})..." ${SERVER} >>${LOGFILE} 2>&1 -server -config=${CONFIG} -port=${PORT} -pid=${PIDFILE} ${OTHERPARAMS} if [ -f ${RUNFILE} ]; then echo >>${LOGFILE} "WATCHDOG ($$): [$(date)] Server died, waiting to restart..." sleep 5s else echo >>${LOGFILE} "WATCHDOG ($$): [$(date)] Server shutdown intentional, watchdog terminating" fi done ;; *) echo "$0 (start|stop|restart|status|check)" ;; esac Any idea ? Thank you. Share this post Link to post Share on other sites
IT07 10 Posted August 24, 2014 The file might be corrupt. Try and rsync the file in question from another pc/mac using Putty(Windows) or the regular Terminal(Mac). Before you do this, make sure that the file used for rsync to your server is not corrupt of course. Best would be to copy the file from a steam version. (after verifying game integrity) rsync -rvv /location/of/modules_pmc.pbo yourserverusername@yourserveriporaddress:/opt/arma2server/pmc\addons\ Share this post Link to post Share on other sites
mleb-49 10 Posted August 24, 2014 I found how to resolve my problem. I have read on an other topic that folders PMC, BAF and ACR shouldn't be present on the server. I have deleted all of them and I have no more problem ! Share this post Link to post Share on other sites