Jump to content
  • 0

How to see script errors after exit on centos


Kido

Question


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

Hello, everytime i open putty to run my server, it loads and shows all files loaded, so when i test npcs and so on, there i can see the errors and fix them, however, when i type exit, the window cloases leaving the server online, that's fine, that's no the problem, the problem is that when i log again in putty i can't see any file loaded (it stays black), even if i do reloaditemdb or something, files that are loaded aren't shown

 

i would like to know if is there any command that i can write on black linux window that will show me any errores when a script is loaded or a file is loaded, just like when you just start the server

 

thank you so mnuch in advance!

Link to comment
Share on other sites

10 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  135
  • Reputation:   41
  • Joined:  02/05/14
  • Last Seen:  

Download and install screen, then run your server from a screen session.

sudo apt-get install screen
screen -S server
cd path/to/server/files/
./athena-start start
To detach from screen, press Ctrl A D simultaneously; to resume our screen session named "server", type this:

screen -R server
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

Download and install screen, then run your server from a screen session.

sudo apt-get install screen
screen -S server
cd path/to/server/files/
./athena-start start
To detach from screen, press Ctrl A D simultaneously; to resume our screen session named "server", type this:

screen -R server

 

thank you so much o:! i won't need a test server at all o:!

 

it sayd

 

"

sudo: apt-get: command not found

"

 

D:

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  135
  • Reputation:   41
  • Joined:  02/05/14
  • Last Seen:  

CentOS...maybe you need to use yum.

yum install screen
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

oh i got it right, thank you again o:!!!

 

edit:

i did it as told and then this appears, i guessed was ok so i loaded a script with error but there wre no messages of errors abotu the script D:

AoFA9of.png

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  146
  • Reputation:   11
  • Joined:  11/20/11
  • Last Seen:  

run the *top* command, and check if you have login, char and map running


and you can use apt-get, this link will help you.

 

http://everyday-tech.com/apt-get-on-centos/

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

thank you, i'm going to try it o:

 

lol at your signature, really true

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  146
  • Reputation:   11
  • Joined:  11/20/11
  • Last Seen:  

did it work.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

sorry i was short of time server things DD: i'll edit/answer when i do the test

 

:DD

 

huh question, the }"top" command is 

 

screen -S server

 

right o: ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  146
  • Reputation:   11
  • Joined:  11/20/11
  • Last Seen:  

no the top command of the centos server will show you running processes

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

the top command? i'm confused now D: sry i hardly know fe commands on centos D:!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...