LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-25-2011, 08:28 AM   #1
Fetrimo
LQ Newbie
 
Registered: Sep 2011
Posts: 5

Rep: Reputation: Disabled
Exclamation [Server] Gaming server problems


Hello guys,
I am making project with my friend.
We are running vServer and we want set up two gaming servers.
I don't know but it's still saying some craps.
I am doing it like in vids but .. nothing.
So I tried to upload Minecraft server on it.
I must do :
java -Xms1024M -Xmx1024M -jar minecraft_server.jar

Problem: -bash: java: command not found

So I discovered one vid which says to do:
apt-get install screen
Than
screen -S minecraft java -Xms1024M -Xmx1024M -jar minecraft_server.jar

And problem: [screen is terminating]


______________________________________________
GTA SA SERVER
______________________________________________

I need to do ./samp03svr
Problem: -bash: ./samp03svr: No such file or directory


Guys,please help me.
Help me fastest you can
Greetings #F
 
Old 09-25-2011, 08:35 AM   #2
zackwasa
Member
 
Registered: Sep 2011
Posts: 52

Rep: Reputation: Disabled
You need to either specify the full path to the java binary or set up the JAVA_HOME environment variable

RMI

Last edited by zackwasa; 01-12-2012 at 01:06 AM.
 
Old 09-25-2011, 08:47 AM   #3
ComputerErik
Member
 
Registered: Apr 2005
Location: NYC
Distribution: Debian, RHEL
Posts: 269

Rep: Reputation: 54
Another possibility depending on the distro you are using, and the options selected at install time is that Java isn't installed. Even if it is installed it might be an incorrect version. Most Linux distros if they do have Java installed will have some GNU Java version, and in my experience a lot of Java applications will require Sun (now Oracle) Java to function properly. Make sure Java is installed, and then as mentioned above specify the full path to the Java binary when starting, or put it in your path.
 
Old 09-25-2011, 09:40 AM   #4
Fetrimo
LQ Newbie
 
Registered: Sep 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
Thumbs up I will try..

Ok,I will try it.
Thank you both guys.
And now any help with ./samp03srv ? :/
 
Old 09-25-2011, 10:16 AM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
./samp03srv will try to execute the file samp03srv in the current directory. The error message indicates that the file is not in the current directory, try ls to see the contents of the actual directory.
 
Old 09-25-2011, 10:20 AM   #6
Fetrimo
LQ Newbie
 
Registered: Sep 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TobiSGD View Post
./samp03srv will try to execute the file samp03srv in the current directory. The error message indicates that the file is not in the current directory, try ls to see the contents of the actual directory.
It is in.
 
Old 09-25-2011, 10:22 AM   #7
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
May it be possible that you have a 64 bit server and try to run a 32 bit executable?
 
Old 09-25-2011, 10:26 AM   #8
Fetrimo
LQ Newbie
 
Registered: Sep 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
Going to try.
 
Old 09-25-2011, 11:08 AM   #9
Fetrimo
LQ Newbie
 
Registered: Sep 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
So..I am totally lost.
If you want I can give you info + password and you can take a look.
I am new here.
 
Old 09-25-2011, 12:29 PM   #10
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Please post the output of
Code:
uname -a
and
Code:
file samp03srv
when in the right directory.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to set up a server for gaming, file etc... Bl00m Linux - Server 3 04-01-2009 03:18 AM
Opinion On Best Linux For a LAMP Or Gaming Server jtatarin Linux - Server 3 03-13-2007 04:38 PM
*Newbie* Gaming Server Suggestions Jason999 Linux - Newbie 4 09-30-2004 09:02 PM
Linux FTP server for gaming. Terroth Linux - Software 1 07-23-2004 04:59 AM
Best for Gaming Server chargitt Linux - Games 8 02-07-2004 09:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration