[screen is terminating]

Added by sharka about 8 years ago

hello community!
I wanted to know how to solve my little problem launching the shard:

when I type:

shard start 
(in the folder ../scripts/linux) I have the following message:

No command 'shard' found, Did You mean:
Command 'shar' from package 'sharutils' (hand)
shard: command not found

but when I type:

sudo ./shard start
(in the folder ../scripts/linux) I have the following message:
[screen is terminating]

I redo the same thing with screen exactly the same problem

Can you help me?

Cordially


Replies (9)

RE: [screen is terminating] - Added by kerozcak about 8 years ago

try this (change PATH of course), and don't use sudo...

export RYZOM_PATH="/home/user/ryzom/code/ryzom" 
$RYZOM_PATH/tools/server/scripts/linux/shard start

RE: [screen is terminating] - Added by sharka about 8 years ago

-bash: /home/annabelle/ryzom/code/ryzom/tools/server/scripts/linux/shard: Aucun fichier ou dossier de ce type 

:s

with the correct folder :

/home/annabelle/ryzom/code/ryzom/tools/scripts/linux/shard 

Screen sessions currently running:
No Sockets found in /var/run/screen/S-annabelle.

Commands:
  'start' to start the shard
  'stop'  to stop the shard
  'join'  to join the shard's screen session
  'share' to join the screen session in shared mode
  'state' to view state information for the shard

Enter a command: start
[screen is terminating]

RE: [screen is terminating] - Added by Minthos about 8 years ago

Try:
./shard start
./shard state
./shard join

RE: [screen is terminating] - Added by RavonTUS about 8 years ago

Greetings,

I am stuck at the same place.

root@test-desktop:/home/test/ryzom/code/ryzom/tools/scripts/linux# ./make_all
*********************** BUILD INIT NEL SUCCESS !
*********************** BUILD NEL SUCCESS !
*********************** BUILD NEL INSTALL SUCCESS !
rm: cannot remove `/home/test/ryzom/code/ryzom/server/src/*/*.packed_sheets': No such file or directory
*********************** UPDATE RYZOM MAKEFILE COMMON SUCCESS !
*********************** BUILD RYZOM COMMON SUCCESS !
*********************** UPDATE RYZOM MAKEFILE SUCCESS !
*********************** BUILD RYZOM SUCCESS !
root@test-desktop:/home/test/ryzom/code/ryzom/tools/scripts/linux# ./shard

Screen sessions currently running:
No Sockets found in /var/run/screen/S-root.

Commands:
  'start' to start the shard
  'stop'  to stop the shard
  'join'  to join the shard's screen session
  'share' to join the screen session in shared mode
  'state' to view state information for the shard

Enter a command: start
[screen is terminating]

root@test-desktop:/home/test/ryzom/code/ryzom/tools/scripts/linux# sudo dpkg-reconfigure dash
root@test-desktop:/home/test/ryzom/code/ryzom/tools/scripts/linux# ./shard start
[screen is terminating]

Any suggestions? Anybody?

-Ravon

RE: [screen is terminating] - Added by Minthos about 8 years ago

I believe adding ryzom to your $PATH is required, not optional.

For you, I think the correct $PATH should be "/home/test/ryzom/code/ryzom/tools/scripts/linux"

RE: [screen is terminating] - Added by kerozcak about 8 years ago

Yes. It seems there is something missing in shard.screen.rc
Add this:

PATH=$PATH:$RYZOM_PATH/tools/server/scripts/linux/

after
chdir $RYZOM_PATH/server

in code/ryzom/server/shard.screen.rc and see if it helps.

RE: [screen is terminating] - Added by RavonTUS about 8 years ago

kerozcak,

Thank you. It is the actual "PATH", not the previously listed paths ($RYHOME, $RYZOM_PATH). That put me on the right track.

Here's what fixed it for me. In ubuntu terminal I typed.

echo $PATH
export PATH=$PATH:$RYZOM_PATH/tools/server/scripts/linux
echo $PATH
./shard start

Results:

test@test-desktop:~$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
test@test-desktop:~$ export PATH=$PATH:$RYZOM_PATH/tools/server/scripts/linux
test@test-desktop:~$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/test/ryzom/code/ryzom/tools/scripts/linux
test@test-desktop:~$ 

I did not change code in /ryzom/server/shard.screen.rc.

Thank you,
-Ravon

RE: [screen is terminating] - Added by sharka about 8 years ago

it does not work, I tried to install a minimal Debian 5.0 without GUI and install the packets as a measure that does not work yet!

Is that a nice person could give me a full tutorial that works? I know what to do.

What distribution of Linux works perfectly?

Sincerely,

RE: [screen is terminating] - Added by RavonTUS about 8 years ago

Greetings,

I am using ubuntu 10.4 32-bit desktop. I have been able to get the server to compile and run. I have not had a chance to compile the client and the "open client" crashes when I run it. Hopefully with in the next couple of days I will be able to figure out the client.

-Ravon

NOTE: To fix the client, I needed to update DirectX (http://www.microsoft.com/downloads/details.aspx?FamilyID=2da43d38-db71-4c1b-bc6a-9b6652cd92a3&displaylang=en) on both my Windows 7 and my ubuntu 10.4 (Wine). For ubuntu, of course install Wine (sudo apt-get wine) and the download the DirectX file (not the web setup) and run something like wine dxsetup.exe

(1-9/9)