Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Description

      Jsvc is working fine on my machine and on other machines, however on a
      particular one, it is not working.

      In the logs I get "Service killed by signal 11".

      I am using a simple daemon for tests[1]. I compiled it
      with javac -cp /usr/share/java/commons-daemon.jar MyDaemon.java. Jsvc
      is installed on Ubuntu 16.04 LTS with apt-get and it is version
      1.0.15-dev.

      [1] http://mail-archives.apache.org/mod_mbox/commons-user/201706.mbox/raw/%3CCABxFBzGfNVFOzySFT1CTTwb56GXr1gLsdmU4vnJYKUUrexBzxQ%40mail.gmail.com%3E/3

      When I run it in the logs I only get "Service killed by signal 11". I am using
      /usr/bin/jsvc -home /usr/lib/jvm/java-8-oracle/ -cp
      /usr/share/java/commons-daemon.jar:$PWD/ -user myuser -pidfile
      /tmp/mydaemon.pid -outfile /tmp/test.out.log -errfile '&1' MyDaemon
      -one -two

      Starting it with -debug, I get no much more[2].

      [2] http://mail-archives.apache.org/mod_mbox/commons-user/201706.mbox/raw/%3CCABxFBzGfNVFOzySFT1CTTwb56GXr1gLsdmU4vnJYKUUrexBzxQ%40mail.gmail.com%3E/2

      I cannot stop it with -stop and I have to kill -9 it.

      What should I do?
      Do you have any idea?

      Thanks!

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                alopumo Andrea
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: