Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-8745

AMQ Service status is not validating if the pid is from Artemis

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • AMQ 7.11.5.GA
    • management
    • None

      In a rare condition, an old artemis.pid file is pointing to an existing process that is not Artemis, causing the provisioning tools to believe that Artemis process is running. 

       

      It is just a matter of improving the Artemis-service status script by removing this check:
      if [ $? -eq 0 ] ; then
       this:
      if [ $? -eq 0 ] && [ `pwdx ${pid} | awk '{print $2}'` == "$ARTEMIS_INSTANCE" ]; then

            Unassigned Unassigned
            Asouza@redhat.com Angelo Souza
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: