Community Forums Today's Posts     Member List     Archive    
Page 1 of 2 12 LastLast
Results 1 to 15 of 18
  1. #1
    Craiger Guest

    Need Help Stoping server.

    In ssh i do the command

    ./tss.minimal_startscript stop

    but i notice i can still access my teamspeak server from teamspeak client, how do i make it so it doesnt run at all, i dont understand?

  2. #2
    Join Date
    Jan 2003
    Location
    Germany
    Posts
    4,140
    shutdown -h now

    Then buy and read this book

  3. #3
    Join Date
    Dec 2003
    Location
    holland
    Posts
    703
    good tip, i've ordered it

  4. #4
    Join Date
    Jan 2003
    Location
    Germany
    Posts
    4,140
    Yeah, it's really good. I'd say it's a must-have for anybody who wants to operate Linux for running www-accessible services.

  5. #5
    Join Date
    Dec 2003
    Location
    holland
    Posts
    703
    Does it give a good overview on issueing and managing rights?, 'cause that's what I am really struggling with

    Guess that's the fate of every Linux n00b before he becomes an ex-n00b

  6. #6
    Join Date
    Nov 2003
    Location
    who cares
    Posts
    61
    actually that is a rather harsh way to kill the service. Shutting the server down? I think that I would do this

    TYPE
    ps -A

    Locate the "server_linux" line and note the PID

    TYPE
    kill -9 PID#

    Replace PID# with the actual number you found with previous command.

    TYPE
    ps -A (up arrow a couple times will also do the trick) and see that the "server_linux" line is now gone.




    This will stop only the active process and not shut down your server.
    Last edited by Randall_James; 07-02-2004 at 08:03.

  7. #7
    Join Date
    Jun 2003
    Location
    La Coruņa, Spain
    Posts
    20
    But, how could I shoot down the server?.

  8. #8
    Join Date
    Nov 2003
    Location
    who cares
    Posts
    61
    Originally posted by Ciberputa
    But, how could I shoot down the server?.
    shutdown -h now

    is a server shutdown command

    The -h switch is especially tough as if this is a remote server it is going to "halt" This means someone is going to need to physically restart it for you ......

    shutdown -r would at least reboot the thing.

    Last edited by Randall_James; 07-02-2004 at 22:31.

  9. #9
    Join Date
    Nov 2003
    Location
    who cares
    Posts
    61
    Originally posted by pim
    Does it give a good overview on issueing and managing rights?, 'cause that's what I am really struggling with

    Guess that's the fate of every Linux n00b before he becomes an ex-n00b
    If this is a pure linux server then you should not have too much problem with rights.

    drwxdrwdrw <--what you see for rights (777)

    d rwx XXXXXX- this is the "User" set, the first charactor (d) indicates this is in fact a directory. There are a number of other tags for links etc but this is not of much concern.

    XXXX rwx XXX <-- this is the "Group" rights

    If you do a "ll" command or a "la" you will see 2 names for each folder or file. First one is the "User" the second is the "Group"

    XXXX XXX rwx <-- finally this is the "Others" permissions. Everyone that does not fall into either the "User" or "Group" list gets these.

    Now how do the numbers work in?

    Permissions are set to binary bits

    r w x - r w x - r w x
    4 2 1 - 4 2 1 - 4 2 1 add them together to get setting

    r = read
    w= write
    x=execute

    644 would be rw-r--r--

    To change any of these there are a couple ways.

    chmod 755 [filename]
    or
    chmod u+x, g+x, o+x [filename]

    The u+x translates to "user add execute"
    You can also use the "minus" "-" to subtract rights

    same result just different command line.


    There is lots more but that is the bare bone basics.

  10. #10
    Join Date
    Dec 2003
    Location
    holland
    Posts
    703
    James,

    Thanks for this, this surely helps me discovering the ins and outs of the OS

  11. #11
    Join Date
    Jun 2003
    Location
    La Coruņa, Spain
    Posts
    20
    but I can't shoot down a server which is not mine , I could be killed for it

  12. #12
    Join Date
    Dec 2003
    Location
    holland
    Posts
    703
    maybe try a shutdown instead then, thats no capital offence

  13. #13
    Join Date
    Nov 2003
    Location
    who cares
    Posts
    61
    Originally posted by pim
    maybe try a shutdown instead then, thats no capital offence
    As a system admin if I caught you sending shutdown commands on a shared server you would find yourself looking for a new place to stay.

    The fact that they even give you the rights to run TS is pretty suprising, I would not abuse this by issuing commands that could adversly affect other residents of the server. I would not call it capitol but it will surely get you booted off the server.

    EDIT:
    Oh and yes there is a log of everything you type into a shell session. I review my servers daily for guys trying to do stuff like that. Luckily I dont find them very often.
    Last edited by Randall_James; 08-02-2004 at 23:59.

  14. #14
    Join Date
    Jun 2003
    Location
    La Coruņa, Spain
    Posts
    20
    All I can do is talking with the server admin, he's a reasonable guy, but I can't shutdown the server, I want to live

  15. #15
    Join Date
    Nov 2003
    Location
    who cares
    Posts
    61
    Sorry hadnt seen you fragmented this thread into another one, Bad posting habit by the way.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. TS2 Server on client/network, lan, XP????
    By Lomez in forum [TeamSpeak 2] Server Support
    Replies: 2
    Last Post: 17-09-2002, 16:45
  2. Server not accessable from WAN/WAN address
    By wepspec in forum [TeamSpeak Classic] General Questions
    Replies: 2
    Last Post: 14-09-2002, 04:14
  3. Scheisse habe QDSL alles geht nur keine REG
    By Creeper in forum [TeamSpeak 2] Server Support
    Replies: 6
    Last Post: 29-08-2002, 09:06

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •