Cirkus Serveri Forum
    • CoD4xAdmin
    • Recent
    • Popular
    • Groups
    • Users
    • Register
    • Login

    Just When I Thought All Was .....

    Scheduled Pinned Locked Moved
    Support
    3
    21
    1.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • SMiLeYS
      SMiLeY
      last edited by

      Perfect Again..

      Please Help....

      Yesterday WebAdmin was up and running following a new install and new hard drive.

      I am using Apache and set up VHOST and all was good.

      Today I tried to screenshot two players but after clicking the camera icon I got an error message...

      The next thing I see is the server had gone down and then I cannot access the webadmin anymore.

      I CD the app and stop app and NPM start and get this:

      cod4x-webadmin@4.3.0 start /home/smiley/public/cod4xwebadmin
      node ./bin/www

      module.js:549
      throw err;
      ^

      Error: Cannot find module 'body-parser'
      at Function.Module._resolveFilename (module.js:547:15)
      at Function.Module._load (module.js:474:25)
      at Module.require (module.js:596:17)
      at require (internal/module.js:11:18)
      at Object.<anonymous> (/home/smiley/public/cod4xwebadmin/node_modules/express/lib/express.js:15:18)
      at Module._compile (module.js:652:30)
      at Object.Module._extensions..js (module.js:663:10)
      at Module.load (module.js:565:32)
      at tryModuleLoad (module.js:505:12)
      at Function.Module._load (module.js:497:3)

      npm ERR! Linux 4.15.0-140-generic
      npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "start"
      npm ERR! node v8.10.0
      npm ERR! npm v3.5.2
      npm ERR! code ELIFECYCLE
      npm ERR! cod4x-webadmin@4.3.0 start: node ./bin/www
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the cod4x-webadmin@4.3.0 start script 'node ./bin/www'.
      npm ERR! Make sure you have the latest version of node.js and npm installed.
      npm ERR! If you do, this is most likely a problem with the cod4x-webadmin package,
      npm ERR! not with npm itself.
      npm ERR! Tell the author that this fails on your system:
      npm ERR! node ./bin/www
      npm ERR! You can get information on how to open an issue for this project with:
      npm ERR! npm bugs cod4x-webadmin
      npm ERR! Or if that isn't available, you can get their info via:
      npm ERR! npm owner ls cod4x-webadmin
      npm ERR! There is likely additional logging output above.

      npm ERR! Please include the following file with any support request:
      npm ERR! /home/smiley/public/cod4xwebadmin/npm-debug.log

      1 Reply Last reply Reply Quote 0
      • SMiLeYS
        SMiLeY
        last edited by

        The error message after clicking the icon was connection refused or something like that. I did not see in time.

        1 Reply Last reply Reply Quote 0
        • NeHoN
          NeHo Administrators
          last edited by

          make sure you cd to application root and then start it

          I keep hitting the 'Escape' key - but I'm still here. ...

          1 Reply Last reply Reply Quote 0
          • SMiLeYS
            SMiLeY
            last edited by

            Hi Neho, I am already CD into the app.

            This has just come out the blue not sure what has happened.

            1 Reply Last reply Reply Quote 0
            • SMiLeYS
              SMiLeY
              last edited by

              OK does not matter what browser I use cannot reply 'fully' only quick reply...So I cant add an image .Maybe I am banned for posting to much haha. Cant even add a Smiley 🙂

              Anyway I used a back up of my cod4xwebamin folder and managed to get the page up again....It was at the state I left it when I screenshot a player..I clicked on the camera icon again and the error I got I would like to show in an image....so try this https://ibb.co/9tWghvK

              1 Reply Last reply Reply Quote 0
              • NeHoN
                NeHo Administrators
                last edited by

                Your rcon password is wrong so it can not execute rcon commands, make sure that your rcon password is the same as in the startline (admin page server edit part)

                I keep hitting the 'Escape' key - but I'm still here. ...

                1 Reply Last reply Reply Quote 0
                • SMiLeYS
                  SMiLeY
                  last edited by

                  RCON password is correct......I have always been able to call the server fmjcod4.com:28980 but.....now I have to call it by its local IP 192.168.1.4 (what is used in start up line - local server)

                  Then I can take a screen shot...... I had created a vhost with apache.....I dont know if I can somehow go back to calling it fmjcod4.com again??

                  1 Reply Last reply Reply Quote 0
                  • SMiLeYS
                    SMiLeY
                    last edited by

                    Call it fmjcod4.com:28980 in this part..now it has to look like this * Server IP 192.168.1.4 * Server Port 28990

                    1 Reply Last reply Reply Quote 0
                    • SMiLeYS
                      SMiLeY
                      last edited by

                      https://ibb.co/x2Bym4G

                      1 Reply Last reply Reply Quote 0
                      • SMiLeYS
                        SMiLeY
                        last edited by

                        Removing the VHOST and going back to port 3000 produces same results...Cannot do anything unless server IP is set to local.

                        1 Reply Last reply Reply Quote 0
                        • W
                          wkuzma
                          last edited by

                          just curious is this an typo in two different ports?

                          Call it fmjcod4.com:28980 in this part..now it has to look like this * Server IP 192.168.1.4 * Server Port 28990

                          1 Reply Last reply Reply Quote 0
                          • SMiLeYS
                            SMiLeY
                            last edited by

                            Hi wkuzma, yeah part was a typo....talking of typos..I managed to find the problem..... guess what a typo grrrrrrr so angry with myself...

                            I checked /etc/hosts and it was there!!! The answer is actually right in front of my eyes when you read the error message....another day fresh and you see it...late last night its a problem grrrrrrr

                            Sorry to bombard the forum @Neho ..You can delete this if you wish 🙂 Next thing is maybe you can do a tutorial for the http plugin & gsc for getting the messages on screen...pretty please 🙂 I think wkuzma may be interested in that too???

                            Smiley

                            1 Reply Last reply Reply Quote 0
                            • W
                              wkuzma
                              last edited by

                              No I just noticed the two different port numbers and was curious.
                              However since I am here I was wondering - must players are used to b3' s !fps function to change the fps fov etc
                              and now since I no longer use b3 and have the New experience installed which uses the $ key as in $fps is there a command that when someone uses !fps they are told to use $fps instead?

                              1 Reply Last reply Reply Quote 0
                              • W
                                wkuzma
                                last edited by

                                I just found this - I will have to try it out
                                https://forum.cirkus-serveri.com/topic/68/server-commands

                                1 Reply Last reply Reply Quote 0
                                • W
                                  wkuzma
                                  last edited by

                                  wow it works perfectly allows both ! and $ to be used in the admin commands
                                  Thanks Neho for implementing that

                                  1 Reply Last reply Reply Quote 0
                                  • NeHoN
                                    NeHo Administrators
                                    last edited by

                                    There is a line for that in server cfg, fraggy posted it on cod4x, i am on phone later tonight i will post the line here

                                    I keep hitting the 'Escape' key - but I'm still here. ...

                                    1 Reply Last reply Reply Quote 0
                                    • NeHoN
                                      NeHo Administrators
                                      last edited by

                                      There is a line for that in server cfg, fraggy posted it on cod4x, i am on phone later tonight i will post the line here

                                      I keep hitting the 'Escape' key - but I'm still here. ...

                                      1 Reply Last reply Reply Quote 0
                                      • NeHoN
                                        NeHo Administrators
                                        last edited by

                                        //Disable $ and use ! prefix for commands
                                        set g_disabledefcmdprefix 0

                                        I keep hitting the 'Escape' key - but I'm still here. ...

                                        1 Reply Last reply Reply Quote 0
                                        • W
                                          wkuzma
                                          last edited by

                                          yes I found that and addded it to my server.cfg
                                          however it does not disable the $ witch is fine since they both work perfectly and is controlled by the webadmin
                                          just another question since the admins commands are controlled by cod4xwebadmin do we still need nvconfig_v3.dat
                                          and will that overwrite the admin commands if used?

                                          1 Reply Last reply Reply Quote 0
                                          • NeHoN
                                            NeHo Administrators
                                            last edited by

                                            You dont need it, it will not overwrite the admin commands

                                            I keep hitting the 'Escape' key - but I'm still here. ...

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            0

                                            Online

                                            191

                                            Users

                                            268

                                            Topics

                                            1.2k

                                            Posts
                                            Powered & Designed by NeHo