Author Topic: linux server issues  (Read 4441 times)

vLaD

  • Autococker
  • Posts: 536
linux server issues
« on: December 26, 2009, 06:46:06 PM »
i'm trying to start a pb server in Ubuntu server edition,
and im running into a few issues. one is when i try to do
./paintball2 +set dedicated 1 it says no such file or directory.

i hit ls and i see paintball2 and it is set to be executable.
searched forums and cannot find something to resolve this issue.

tried to do it the way jitspoe sets it up. works  fine at my school server that's running fedora but it can't execute it on mine. i can chmod it but cant run it

vLaD

  • Autococker
  • Posts: 536
Re: linux server issues
« Reply #1 on: December 26, 2009, 11:30:05 PM »
vlad@server1:~$ ls
Music  paintball2  paintball2_build026_linux_full.tar.gz
vlad@server1:~$ cd paintball2
vlad@server1:~/paintball2$ ls -l
total 1100
drwxr-xr-x  3 vlad vlad   4096 2009-03-01 20:42 ace
drwxr-xr-x  2 vlad vlad   4096 2009-03-01 20:42 baseq2
drwxr-xr-x  2 vlad vlad   4096 2009-03-01 20:42 docs
drwxr-xr-x  2 vlad vlad   4096 2009-03-01 20:42 locs
-rwxr-xr-x  1 vlad vlad 547188 2009-03-01 17:06 paintball2
-rwxr--r--  1 vlad vlad     90 2009-12-26 15:52 pb
drwxr-xr-x 13 vlad vlad   4096 2009-03-01 20:46 pball
-rwxr--r--  1 vlad vlad    103 2009-12-26 16:38 pb.sh
-rw-r--r--  1 vlad vlad  31174 2009-02-25 20:09 README_Paintball2_alpha026.txt
-rwxr-xr-x  1 vlad vlad 483157 2009-03-01 17:07 ref_pbgl.so
-rwxr-xr-x  1 vlad vlad  13790 2009-03-01 17:06 snd_alsa.so
-rwxr-xr-x  1 vlad vlad  12704 2009-03-01 17:06 snd_oss.so
vlad@server1:~/paintball2$ ./paintball2 +set dedicated 1 +set map blitz
-bash: ./paintball2: No such file or directory
vlad@server1:~/paintball2$

vLaD

  • Autococker
  • Posts: 536
Re: linux server issues
« Reply #2 on: December 27, 2009, 02:07:07 AM »

vlad@server1:~/paintball2$ screen -S v1ad
vlad@server1:~/paintball2$ gdb paintball2
GNU gdb (GDB) 7.0-ubuntu
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/vlad/paintball2/paintball2...done.
(gdb) +set dedicated 1
Undefined command: "+set".  Try "help".
(gdb) run +set dedicated 1 +set public 1 +set maxclients 22 +exec server +map midnight
Starting program: /home/vlad/paintball2/paintball2 +set dedicated 1 +set public 1 +set maxclients 22 +exec server +map midnight
/bin/bash: /home/vlad/paintball2/paintball2: No such file or directory
/bin/bash: /home/vlad/paintball2/paintball2: Success
During startup program exited with code 1.
(gdb)

Cameron

  • Global Moderator
  • Autococker
  • Posts: 2686
Re: linux server issues
« Reply #3 on: December 27, 2009, 03:24:52 AM »
Wait, in your second post you didn't give it a config file to exec.  I recall a server needs a config file? :P

ViciouZ

  • Map Committee
  • Autococker
  • Posts: 2227
Re: linux server issues
« Reply #4 on: December 27, 2009, 08:00:18 AM »
I have had this problem on several occasions, I know I've fixed it a couple of times but I don't remember how :(


vLaD

  • Autococker
  • Posts: 536
Re: linux server issues
« Reply #5 on: December 27, 2009, 11:08:34 AM »
i tried it in all ways... still does the same thing.

ViciouZ

  • Map Committee
  • Autococker
  • Posts: 2227
Re: linux server issues
« Reply #6 on: December 27, 2009, 11:20:19 AM »
Try updating it with the build 27 serverupdate just in case, if you haven't already done that.

vLaD

  • Autococker
  • Posts: 536
Re: linux server issues
« Reply #7 on: December 27, 2009, 12:12:58 PM »

did that was using built 27 and 26.. this is what it does in debian
vlad@server1:~/paintball2$ ./paintball2 +set dedicated 1 +exec server.cfg +map midnight                          
 ./paintball2: error while loading shared libraries: libvorbisfile.so.3: cannot open shared object file: No such file or directory

vLaD

  • Autococker
  • Posts: 536
Re: linux server issues
« Reply #8 on: December 27, 2009, 12:23:54 PM »
built 18 works fine :[

Kyuuchi

  • Autococker
  • Posts: 1183
Re: linux server issues
« Reply #9 on: December 27, 2009, 12:59:11 PM »
try this:
sudo apt-get install libvorbisfile3

I'm not good with debian, but I think thats some command that works.. If it doesn't, contact your host and they'll manually install it for you like they did for me ^_^

ViciouZ said it's his fault why this happens and that he should fix it. :P

ViciouZ

  • Map Committee
  • Autococker
  • Posts: 2227
Re: linux server issues
« Reply #10 on: December 27, 2009, 01:01:15 PM »
try this:
sudo apt-get install libvorbisfile3

I'm not good with debian, but I think thats some command that works.. If it doesn't, contact your host and they'll manually install it for you like they did for me ^_^

ViciouZ said it's his fault why this happens and that he should fix it. :P

It is fixed, just waiting on a new serverbuild :)

T3RR0R15T

  • Map Committee
  • Autococker
  • Posts: 2593
Re: linux server issues
« Reply #11 on: December 27, 2009, 01:56:54 PM »
Same problem as on OTB servers. U have a x64 Ubuntu, right?

Build 23 is the last working one until jitspoe releases build 28 or 29.

vLaD

  • Autococker
  • Posts: 536
Re: linux server issues
« Reply #12 on: December 27, 2009, 05:02:20 PM »
yea 64 ubuntu. alright thanks for the info. it was driving me crazy

vLaD

  • Autococker
  • Posts: 536
Re: linux server issues
« Reply #13 on: December 27, 2009, 09:40:38 PM »
k i set it up in fedora but i have one problem.y does it not exec my configs.

Paintball 2 -- Version 2.0
execing configs/default.cfg
[********] Date: 2009-12-28
[03:39:21] ====== Paintball II Initialized ======

[03:39:21] couldn't exec configs/server
[03:39:21] ------- Loading gamei386.so -------
[03:39:21] LoadLibrary(./pball/gamei386.so)
[03:39:21] -------------------------
[03:39:21] 49 CMDlist entrys found.
[03:39:21] -------------------------

vLaD

  • Autococker
  • Posts: 536
Re: linux server issues
« Reply #14 on: December 27, 2009, 11:08:34 PM »
got it to work nvrm

vLaD

  • Autococker
  • Posts: 536
Re: linux server issues
« Reply #15 on: December 27, 2009, 11:25:27 PM »
but stilll can't wait till builld 27 or 28 will work with ubuntu 64