How to start a custom serviceUpstart: How to run a “stop” before stopping other services?Standard...

If two black hole event horizons overlap (touch) can they ever separate again?

How to describe POV characters?

How do I ensure my employees don't abuse my flexible work hours policy?

Do the 26 richest billionaires own as much wealth as the poorest 3.8 billion people?

Put my student loan in parents’ second mortgage - help?

Could human civilization live 150 years in a nuclear-powered aircraft carrier colony without resorting to mass killing/ cannibalism?

What exactly did Ant-Man see that made him say that their plan worked?

Single level file directory

Different budgets within roommate group

Who voices the character "Finger" in The Fifth Element?

What do you call a notepad used to keep a record?

How is this practical and very old scene shot?

Can one use the present progressive or gerund like an adjective?

What kind of jet plane is this?

Are the requirements of a Horn of Valhalla cumulative?

How receiver knows the exact frequency in the channel to "listen to"?

Losing queen and then winning the game

How can a valley surrounded by mountains be fertile and rainy?

Just graduated with a master’s degree, but I internalised nothing

Are all commands with an optional argument fragile?

What will happen if I checked in for another room in the same hotel, but not for the booked one?

How do I organize members in a struct to waste the least space on alignment?

Who are these Discworld wizards from this picture?

How could a satellite follow earth around the sun while staying outside of earth's orbit?



How to start a custom service


Upstart: How to run a “stop” before stopping other services?Standard convention installation folder for GitEye on Linux and how to start itHow to copy files from local datacenter to local datacenter and have some failover cases?How to create a virtual systemd service to stop/start several instances together?Creating bash service on Ubuntu 17.04 with systemdHow can I launch gnome-terminal remotely on my headless server? (fails to launch over X11 forwarding)Nginx service misbehaving, systemd vs upstart?Ubuntu 18.04 is taking too long to bootSecurely Piping String in Local Text File to Remote Command using SSHIn X11 SSH forwarding, keyboard isn't working properly (Only Ctrl + .. and numeric keypad works!)






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







1















I'm very new to Linux and the solution might be easy so excuse me for that.



I'm trying to run an application called EnCase Remote Recovery, which basically takes a remote image of a system. In order to that, a "servlet" must be deployed on the remote machine. I don't care if the servlet started automatically or manually.



Here is what the guide says: (P.S: the servlet name is enlinuxpc)




  • Method 1: To start it manually:

    • 1.a: Copy the servlet to the machine (Done that).

    • 1.b Insert the following before the STARTX command:LOAD




I have no idea what that means and as far as I know STARTX is something for GUI.
I tried executing this: STARTX LOAD enlinuxpc and what I get is this:



/usr/bin/xterm: No absolute path found for shell: LOAD
xinit: connection to x server lost




  • Method 2: Starting it using xinetd




    • 2.a: Create a configuration file named enlinuxpc in the /etc/xinetd.d directory.


    • 2.b: Using a text editor such as vi, insert the following text into the file, then save and close it.



      service enlinuxpc



      {

      socket_type = stream

      protocol = tcp

      port = 4445

      type = UNLISTED

      wait = yes

      user = root

      server = /usr/local/encase/enlinuxpc

      server_args = -i -p /usr/local/encase

      }



    • 2.c: Restart the xinetd service.





I've done all these steps, however the servlet still not running.




  1. So how can I start it manually?

  2. Is there something missing for method 2?


I'm using Ubuntu.










share|improve this question
















bumped to the homepage by Community 10 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






















    1















    I'm very new to Linux and the solution might be easy so excuse me for that.



    I'm trying to run an application called EnCase Remote Recovery, which basically takes a remote image of a system. In order to that, a "servlet" must be deployed on the remote machine. I don't care if the servlet started automatically or manually.



    Here is what the guide says: (P.S: the servlet name is enlinuxpc)




    • Method 1: To start it manually:

      • 1.a: Copy the servlet to the machine (Done that).

      • 1.b Insert the following before the STARTX command:LOAD




    I have no idea what that means and as far as I know STARTX is something for GUI.
    I tried executing this: STARTX LOAD enlinuxpc and what I get is this:



    /usr/bin/xterm: No absolute path found for shell: LOAD
    xinit: connection to x server lost




    • Method 2: Starting it using xinetd




      • 2.a: Create a configuration file named enlinuxpc in the /etc/xinetd.d directory.


      • 2.b: Using a text editor such as vi, insert the following text into the file, then save and close it.



        service enlinuxpc



        {

        socket_type = stream

        protocol = tcp

        port = 4445

        type = UNLISTED

        wait = yes

        user = root

        server = /usr/local/encase/enlinuxpc

        server_args = -i -p /usr/local/encase

        }



      • 2.c: Restart the xinetd service.





    I've done all these steps, however the servlet still not running.




    1. So how can I start it manually?

    2. Is there something missing for method 2?


    I'm using Ubuntu.










    share|improve this question
















    bumped to the homepage by Community 10 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      1












      1








      1








      I'm very new to Linux and the solution might be easy so excuse me for that.



      I'm trying to run an application called EnCase Remote Recovery, which basically takes a remote image of a system. In order to that, a "servlet" must be deployed on the remote machine. I don't care if the servlet started automatically or manually.



      Here is what the guide says: (P.S: the servlet name is enlinuxpc)




      • Method 1: To start it manually:

        • 1.a: Copy the servlet to the machine (Done that).

        • 1.b Insert the following before the STARTX command:LOAD




      I have no idea what that means and as far as I know STARTX is something for GUI.
      I tried executing this: STARTX LOAD enlinuxpc and what I get is this:



      /usr/bin/xterm: No absolute path found for shell: LOAD
      xinit: connection to x server lost




      • Method 2: Starting it using xinetd




        • 2.a: Create a configuration file named enlinuxpc in the /etc/xinetd.d directory.


        • 2.b: Using a text editor such as vi, insert the following text into the file, then save and close it.



          service enlinuxpc



          {

          socket_type = stream

          protocol = tcp

          port = 4445

          type = UNLISTED

          wait = yes

          user = root

          server = /usr/local/encase/enlinuxpc

          server_args = -i -p /usr/local/encase

          }



        • 2.c: Restart the xinetd service.





      I've done all these steps, however the servlet still not running.




      1. So how can I start it manually?

      2. Is there something missing for method 2?


      I'm using Ubuntu.










      share|improve this question
















      I'm very new to Linux and the solution might be easy so excuse me for that.



      I'm trying to run an application called EnCase Remote Recovery, which basically takes a remote image of a system. In order to that, a "servlet" must be deployed on the remote machine. I don't care if the servlet started automatically or manually.



      Here is what the guide says: (P.S: the servlet name is enlinuxpc)




      • Method 1: To start it manually:

        • 1.a: Copy the servlet to the machine (Done that).

        • 1.b Insert the following before the STARTX command:LOAD




      I have no idea what that means and as far as I know STARTX is something for GUI.
      I tried executing this: STARTX LOAD enlinuxpc and what I get is this:



      /usr/bin/xterm: No absolute path found for shell: LOAD
      xinit: connection to x server lost




      • Method 2: Starting it using xinetd




        • 2.a: Create a configuration file named enlinuxpc in the /etc/xinetd.d directory.


        • 2.b: Using a text editor such as vi, insert the following text into the file, then save and close it.



          service enlinuxpc



          {

          socket_type = stream

          protocol = tcp

          port = 4445

          type = UNLISTED

          wait = yes

          user = root

          server = /usr/local/encase/enlinuxpc

          server_args = -i -p /usr/local/encase

          }



        • 2.c: Restart the xinetd service.





      I've done all these steps, however the servlet still not running.




      1. So how can I start it manually?

      2. Is there something missing for method 2?


      I'm using Ubuntu.







      linux ubuntu






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 17 '15 at 2:22









      Hauke Laging

      59k12 gold badges93 silver badges138 bronze badges




      59k12 gold badges93 silver badges138 bronze badges










      asked Jan 17 '15 at 1:43









      MagioMagio

      62 bronze badges




      62 bronze badges





      bumped to the homepage by Community 10 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 10 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          2 Answers
          2






          active

          oldest

          votes


















          0














          If type is stream, wait should always be no.



          http://linux.die.net/man/5/xinetd.conf



          under "SENSOR", last sentence.






          share|improve this answer
























          • wait just determines how to handle subsequent connections - no mean xinetd will spawn new threads of the server for each new connection, while yes means xinetd will stop listening on that port and all future connections are expected to be handled by the server.

            – Dani_l
            Nov 22 '16 at 15:14



















          0














          It is also possible to simply run the servlet from the command shell as a daemon using;



          ./enlinux64 -d



          Add -p to specify a port other than the default.






          share|improve this answer


























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "106"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f179515%2fhow-to-start-a-custom-service%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            If type is stream, wait should always be no.



            http://linux.die.net/man/5/xinetd.conf



            under "SENSOR", last sentence.






            share|improve this answer
























            • wait just determines how to handle subsequent connections - no mean xinetd will spawn new threads of the server for each new connection, while yes means xinetd will stop listening on that port and all future connections are expected to be handled by the server.

              – Dani_l
              Nov 22 '16 at 15:14
















            0














            If type is stream, wait should always be no.



            http://linux.die.net/man/5/xinetd.conf



            under "SENSOR", last sentence.






            share|improve this answer
























            • wait just determines how to handle subsequent connections - no mean xinetd will spawn new threads of the server for each new connection, while yes means xinetd will stop listening on that port and all future connections are expected to be handled by the server.

              – Dani_l
              Nov 22 '16 at 15:14














            0












            0








            0







            If type is stream, wait should always be no.



            http://linux.die.net/man/5/xinetd.conf



            under "SENSOR", last sentence.






            share|improve this answer













            If type is stream, wait should always be no.



            http://linux.die.net/man/5/xinetd.conf



            under "SENSOR", last sentence.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Aug 19 '15 at 2:24









            asdfasdf

            1




            1













            • wait just determines how to handle subsequent connections - no mean xinetd will spawn new threads of the server for each new connection, while yes means xinetd will stop listening on that port and all future connections are expected to be handled by the server.

              – Dani_l
              Nov 22 '16 at 15:14



















            • wait just determines how to handle subsequent connections - no mean xinetd will spawn new threads of the server for each new connection, while yes means xinetd will stop listening on that port and all future connections are expected to be handled by the server.

              – Dani_l
              Nov 22 '16 at 15:14

















            wait just determines how to handle subsequent connections - no mean xinetd will spawn new threads of the server for each new connection, while yes means xinetd will stop listening on that port and all future connections are expected to be handled by the server.

            – Dani_l
            Nov 22 '16 at 15:14





            wait just determines how to handle subsequent connections - no mean xinetd will spawn new threads of the server for each new connection, while yes means xinetd will stop listening on that port and all future connections are expected to be handled by the server.

            – Dani_l
            Nov 22 '16 at 15:14













            0














            It is also possible to simply run the servlet from the command shell as a daemon using;



            ./enlinux64 -d



            Add -p to specify a port other than the default.






            share|improve this answer




























              0














              It is also possible to simply run the servlet from the command shell as a daemon using;



              ./enlinux64 -d



              Add -p to specify a port other than the default.






              share|improve this answer


























                0












                0








                0







                It is also possible to simply run the servlet from the command shell as a daemon using;



                ./enlinux64 -d



                Add -p to specify a port other than the default.






                share|improve this answer













                It is also possible to simply run the servlet from the command shell as a daemon using;



                ./enlinux64 -d



                Add -p to specify a port other than the default.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 22 '16 at 14:34









                forensic_guyforensic_guy

                1




                1






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Unix & Linux Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f179515%2fhow-to-start-a-custom-service%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

                    Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

                    Ciclooctatetraenă Vezi și | Bibliografie | Meniu de navigare637866text4148569-500570979m