activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vaggelis Atlidakis (JIRA)" <>
Subject [jira] [Commented] (APLO-305) Wrong exist status codes in the init scripts!
Date Fri, 15 Mar 2013 13:18:12 GMT


Vaggelis Atlidakis commented on APLO-305:

Hi Hiram,

Are you sure that you added this line? I install the "mig-apollo-1.6-0.20130307.165856.208.el6.noarch.rpm"
version of and it is not there. 
The script under /etc/init.d/ is actually a soft link to the base script of the broker under
"${APOLLO_BASE}/bin/apollo-broker-service. Any call to chkconfig will check if the aforementioned
script complies with SysV, and will fail if this line is missing. Both of them are created
when I create a new broker. 

I think that the script "/usr/share/apollo/bin/apollo" exports them, so maybe you should specify
through this the extra line in need, i.e., "#chkconfig: 2345 55 25"

> Wrong exist status codes in the init scripts!
> ---------------------------------------------
>                 Key: APLO-305
>                 URL:
>             Project: ActiveMQ Apollo
>          Issue Type: Bug
>          Components: apollo-cli, apollo-distro
>    Affects Versions: 1.6
>            Reporter: Vaggelis Atlidakis
>            Assignee: Hiram Chirino
>             Fix For: 1.7
> Hello,
> I would like to report that the init.d scripts for the apollo broker returns incorrect
exit codes.
> # service apollo-mcollect-broker status; echo $?
> apollo-mcollect-broker is running (23403)
> 0
> According to:
> the return code when the service is not running should be: 3
> Best Regards,
> --
> aV

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message