Announcement

Collapse
No announcement yet.

freaking linux

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • freaking linux

    Need some help... I got a linux server. When i try to put up a quake server with

    ./sqpro ........

    it comes back

    -bash: ./sqpro permission denied

    im logged in as root!

    WTF - any ideas?
    Cbuf_AddText (va("say ZeroQuake GL version 1.10\n"));

  • #2
    Originally posted by monoz View Post
    Need some help... I got a linux server. When i try to put up a quake server with

    ./sqpro ........

    it comes back

    -bash: ./sqpro permission denied

    im logged in as root!

    WTF - any ideas?
    chmod +x sqpro

    Comment


    • #3
      its been 10 years since I have used linux on a regular basis

      now i get


      error while loading shared libraries: libvga.so.1: cannot open shared object file: No such file or directory
      Cbuf_AddText (va("say ZeroQuake GL version 1.10\n"));

      Comment


      • #4
        nevermind fixed it
        Cbuf_AddText (va("say ZeroQuake GL version 1.10\n"));

        Comment


        • #5
          Originally posted by monoz View Post
          its been 10 years since I have used linux on a regular basis

          now i get


          error while loading shared libraries: libvga.so.1: cannot open shared object file: No such file or directory
          get sqpro dedicated, if you cant find it let me know i'll send it to you.

          Comment


          • #6
            yah, i got it working. dumb question, when i close ssh, the server crashes. how do i set it up to run on the server 24/7?
            Cbuf_AddText (va("say ZeroQuake GL version 1.10\n"));

            Comment


            • #7
              Originally posted by monoz View Post
              yah, i got it working. dumb question, when i close ssh, the server crashes. how do i set it up to run on the server 24/7?
              You can try usin the screen utility, it will allow you to create a terminal, start quake in it, and then you can disconnect from the terminal and reconnect to it at a later time. You can also close your ssh session, the screen terminal will still be there next time u log on.. in which case u will be able to reconnect to it once again and follow the chat on your server, chat back, issue commands, etc.

              Or you can make use of nohup, that will also take care of the issue but you will lose a direct connection to your quake server terminal. If you've configured rcon, that doesnt matter much though

              man screen
              (although i'd recommend google for some examples of using screen. man pages arn't that user friendly at times)

              man nohup

              Comment


              • #8
                no hup!
                Cbuf_AddText (va("say ZeroQuake GL version 1.10\n"));

                Comment


                • #9
                  Originally posted by monoz View Post
                  no hup!
                  screen -A -m -d -S server ./pqlinux -game cax -dedicated 16 -condebug -mem 64

                  for a sample... then screen -r server to bring it back if you need to

                  Comment


                  • #10
                    I used to use unix on Intertex and I may still have the script somewhere on cd but
                    it used the screen command and a command called "nice".
                    The script would run, and if the server EVERY crashed it would just reload the server automatically.
                    www.quakeone.com/qrack | www.quakeone.com/cax| http://en.twitch.tv/sputnikutah

                    Comment


                    • #11
                      Originally posted by R00k View Post
                      it used the screen command and a command called "nice"
                      Ya! nice is a nice command!
                      I remember one time back when qrf was a Pentium 120MHz with 64MB RAM (fall 2007/spring 2008?) and i was compiling a pretty heavy thing for my good old P120 (CLN - Class Library for Numbers), when i noticed there were people playing rocket arena on qrf at the same time!

                      So i quickly entered and apologized for the lag, and they were like: What lag?

                      Thank you, mr nice command!

                      Comment


                      • #12
                        Personally, I use the -L option when running screen with quake. It outputs a nice log file named screenlog.0 in the quake directory. Also, ctrl+a+d will detach your screen session so you can continue working in your shell.

                        If you don't like screen, you can always try script. It's similar to screen, though I prefer screen to script.

                        Comment

                        Working...
                        X